/* ==========================================================================
   IVY LUXE SPA - MASSAGE BODY & WELLNESS
   Official Theme Stylesheet (48 Hà Trung, Hoàn Kiếm, Hà Nội)
   Designed precisely to match client layout specifications:
   - Header with Centered Logo and 2-Side Navigation
   - Hero with Centered Instant Booking Box
   - Section 2: Locations 3-Card Carousel Layout (Screenshot 2)
   - Section 3: Map Section with "MAKE A RESERVATION" & 48 Hà Trung Pin (Screenshot 3)
   - Section 4: Special Promotions 4-Card Layout (Screenshot 4)
   - Section 5: What Guests Are Saying (Reviews)
   - Section 6: Our Happy Guests (Gallery)
   - Full Footer & Floating Quick Action Dock
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,400;0,500;0,600;0,700;0,800;1,600;1,700&family=Arimo:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --color-primary: #123023;       /* Imperial Deep Emerald */
  --color-primary-light: #2A5A44;
  --color-olive-btn: #7DA37C;      /* Orient signature soft olive green */
  --color-olive-btn-hover: #698F68;
  --color-gold: #C59B27;          /* Classic Warm Gold */
  --color-gold-light: #ECC876;
  --color-gold-bright: #D4AF37;
  --color-bg-cream: #FAF8F5;
  --color-bg-white: #FFFFFF;
  --color-bg-warm: #F4EFE6;
  --color-text-main: #242424;
  --color-text-muted: #666666;
  --color-border: #E8E2D8;

  --font-serif: 'Be Vietnam Pro', 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans', 'Apple SD Gothic Neo', system-ui, sans-serif;
  --font-display: 'Be Vietnam Pro', 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans', 'Apple SD Gothic Neo', system-ui, sans-serif;
  --font-sans: 'Arimo', 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans', 'Apple SD Gothic Neo', system-ui, -apple-system, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.12);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 18px; /* cỡ chữ gốc 18px — mọi cỡ chữ rem trên web tăng theo, giống nhau ở mọi ngôn ngữ */
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-cream);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Ambient Three.js Particle Background (Fixed to background, 0px space in document flow) */
#three-canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

#three-canvas-container canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  pointer-events: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   1. HEADER & TOP NOTICE BAR WITH RUNNING TEXT (LEFT TO RIGHT)
   ========================================================================== */
.top-notice-bar {
  background: #11281E;
  color: #ECE5D8;
  font-size: 0.8rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  position: relative;
  z-index: 1001;
  overflow: hidden;
}

.top-notice-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* Marquee wrapper with luxury fade effect at edges */
.top-notice-marquee-wrapper {
  overflow: hidden;
  flex: 1;
  min-width: 0;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, #000 24px, #000 calc(100% - 24px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 24px, #000 calc(100% - 24px), transparent 100%);
}

/* Marquee Track running seamlessly from Left to Right */
.top-notice-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-ltr 28s linear infinite;
  will-change: transform;
}

.top-notice-marquee-wrapper:hover .top-notice-marquee-track {
  animation-play-state: paused;
}

.top-notice-marquee-content {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
  flex-shrink: 0;
  white-space: nowrap;
}

.top-notice-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ECE5D8;
  font-size: 0.82rem;
}

.top-notice-item i {
  color: var(--color-gold-bright);
}

.top-notice-sep {
  color: #ECC876;
  font-size: 0.65rem;
  opacity: 0.75;
}

/* Continuous infinite animation moving from Left to Right */
@keyframes marquee-ltr {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

.top-notice-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.top-hotline-link {
  font-weight: 700;
  color: #FFF;
  background: rgba(212, 175, 55, 0.2);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-gold);
  white-space: nowrap;
  font-size: 0.8rem;
  transition: all 0.25s ease;
}

.top-hotline-link:hover {
  background: var(--color-gold);
  color: #11281E;
}

.top-zen-btn {
  background: none;
  border: none;
  color: #ECC876;
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.top-zen-btn:hover {
  color: #FFF;
}

.main-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: all 0.3s ease;
}

.main-header .container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 clamp(10px, 1.6vw, 24px) !important;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  position: relative;
  gap: clamp(6px, 1vw, 14px);
  width: 100%;
}

/* Left & Right Nav Menu - Cân đối, chuyên nghiệp, KHÔNG BAO GIỜ TRÀN MÀN HÌNH */
.nav-menu-left, .nav-menu-right {
  display: flex;
  align-items: center;
  gap: clamp(6px, 0.85vw, 15px);
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 0 1 auto;
}

.nav-menu-left {
  justify-content: flex-end;
  padding-right: clamp(4px, 0.8vw, 12px);
}

.nav-menu-right {
  justify-content: flex-start;
  padding-left: clamp(4px, 0.8vw, 12px);
}

.nav-item-link {
  font-family: var(--font-sans);
  font-size: clamp(0.72rem, 0.78vw, 0.81rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #222222;
  padding: 6px 0;
  position: relative;
  white-space: nowrap; /* Tuyệt đối không để chữ bị gãy thành nhiều dòng dọc */
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.25s ease;
}

.nav-item-link:hover, .nav-item-link.active {
  color: var(--color-primary);
}

.nav-item-link.nav-affiliate-link {
  color: #000000 !important;
  font-weight: 700;
}

.nav-item-link.nav-affiliate-link:hover {
  color: var(--color-primary) !important;
}

/* Nút Đặt Lịch Trực Tuyến: Nổi bật, sang trọng, ấn tượng ngay mắt nhìn */
.nav-item-link.js-open-booking {
  background: linear-gradient(135deg, #071F14 0%, #123826 100%);
  color: #ECC876 !important;
  padding: 6px clamp(10px, 1vw, 14px);
  border-radius: 9999px;
  font-weight: 700;
  font-size: clamp(0.72rem, 0.76vw, 0.78rem);
  box-shadow: 0 2px 10px rgba(7, 31, 20, 0.25);
  transition: all 0.25s ease;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.nav-item-link.js-open-booking:hover {
  background: linear-gradient(135deg, #ECC876 0%, #D4AF37 100%);
  color: #071F14 !important;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
  transform: translateY(-1px);
}

.nav-item-link.js-open-booking::after {
  display: none;
}

.nav-item-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-item-link:hover::after, .nav-item-link.active::after {
  transform: scaleX(1);
}

/* Center Logo */
.header-logo-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  padding: 0 14px;
  flex-shrink: 0;
  z-index: 2;
}

.header-logo-img {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--color-gold);
  margin-bottom: 2px;
  transition: transform 0.3s ease;
}

.header-logo-center:hover .header-logo-img {
  transform: scale(1.05);
}

.header-logo-text {
  font-family: var(--font-display);
  font-size: 1.52rem;
  font-weight: 800;
  letter-spacing: 2.8px;
  color: #071F14;
  line-height: 1.1;
  text-transform: uppercase;
}

/* CHỮ MASSAGE BODY & WELLNESS: ĐẬM LÊN VÀ CHUYỂN MÀU TÍM */
.header-logo-sub {
  font-family: 'Arimo', var(--font-sans);
  font-style: normal;
  font-weight: 800 !important;
  font-size: 0.82rem;
  color: #7B1FA2 !important; /* Màu tím quý phái đậm nét, cực kỳ bắt mắt và ấn tượng */
  letter-spacing: 2px;
  margin-top: 3px;
  text-transform: uppercase;
  white-space: nowrap;
  display: block;
}

/* Language selector & Auth button in header */
.header-auth-item {
  white-space: nowrap;
  flex-shrink: 0;
}

.header-auth-btn {
  white-space: nowrap;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid #D4AF37;
  color: #071F14;
  background: rgba(212, 175, 55, 0.12);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.header-auth-btn:hover {
  background: #D4AF37;
  color: #071F14;
}

.lang-dropdown-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-size: 0.82rem;
  color: #555;
  white-space: nowrap;
  flex-shrink: 0;
}

.lang-dropdown-wrap select {
  cursor: pointer;
  background: #F8FAFC;
  font-weight: 600;
  font-size: 0.8rem;
  color: #333;
}

.mobile-nav-toggle {
  display: none;
  font-size: 1.4rem;
  color: #333;
  cursor: pointer;
}

/* ==========================================================================
   MOBILE PROMINENT LANGUAGE SELECTOR & QUICK FLAG STRIP
   Designed for foreign travelers & international guests
   ========================================================================== */
.mobile-header-lang-wrap {
  display: none;
  position: relative;
}

.mobile-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #FFFFFF;
  border: 1.5px solid var(--color-gold);
  border-radius: 22px;
  padding: 6px 12px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
  color: #123023;
  -webkit-tap-highlight-color: transparent;
}

.mobile-lang-btn:active, .mobile-lang-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: #B38E22;
  transform: translateY(-1px);
}

.mobile-lang-btn .mobile-lang-flag {
  font-size: 1.25rem;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

.mobile-lang-btn .mobile-lang-name {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #123023;
}

.mobile-lang-btn .fa-angle-down {
  font-size: 0.75rem;
  color: var(--color-gold);
  transition: transform 0.2s ease;
}

.mobile-header-lang-wrap.open .mobile-lang-btn .fa-angle-down {
  transform: rotate(180deg);
}

/* Mobile Popover Menu */
.mobile-lang-popover {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 230px;
  background: #FFFFFF;
  border: 1.5px solid var(--color-gold);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  overflow: hidden;
  animation: mobileLangPopFade 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-header-lang-wrap.open .mobile-lang-popover {
  display: block;
}

@keyframes mobileLangPopFade {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mobile-lang-popover-title {
  padding: 9px 14px 7px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #8C7B5D;
  background: #FDFBF7;
  border-bottom: 1px solid #EFE8DC;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mobile-lang-list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  max-height: 320px;
  overflow-y: auto;
}

.mobile-lang-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 0.92rem;
  color: #2D3732;
  transition: background 0.15s ease, color 0.15s ease;
  border-bottom: 1px solid #F8F8F8;
  -webkit-tap-highlight-color: transparent;
}

.mobile-lang-list li:last-child {
  border-bottom: none;
}

.mobile-lang-list li:active, .mobile-lang-list li:hover {
  background: rgba(212, 175, 55, 0.12);
  color: #123023;
}

.mobile-lang-list li.active {
  background: rgba(212, 175, 55, 0.18);
  color: #123023;
  font-weight: 700;
}

.mobile-lang-list li .flag-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.mobile-lang-list li .lang-title {
  flex: 1;
}

.mobile-lang-list li .lang-code {
  font-size: 0.76rem;
  color: #888;
  font-weight: 600;
}

.mobile-lang-list li .lang-check {
  color: #B38E22;
  font-size: 0.85rem;
  display: none;
}

.mobile-lang-list li.active .lang-check {
  display: inline-block;
}

/* DÒNG NGÔN NGỮ NỔI BẬT TRÊN MOBILE (TO BÊN TRÁI KÈM CỜ CÁC NƯỚC) */
.mobile-lang-strip {
  display: none;
  background: linear-gradient(90deg, #0A1C14 0%, #123023 55%, #163829 100%);
  border-bottom: 2px solid var(--color-gold);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  padding: 7px 0;
  position: relative;
  z-index: 95;
}

.mobile-lang-strip-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-lang-strip-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--color-gold);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  padding-left: 2px;
}

.mobile-flags-track {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 3px 6px 3px 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.mobile-flags-track::-webkit-scrollbar {
  display: none;
}

.mobile-flag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 18px;
  padding: 6px 12px;
  color: #F0F4F2;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.22s ease;
  -webkit-tap-highlight-color: transparent;
}

.mobile-flag-pill .flag-symbol {
  font-size: 1.18rem;
  line-height: 1;
}

.mobile-flag-pill .flag-text {
  font-size: 0.82rem;
  font-weight: 600;
}

.mobile-flag-pill:hover, .mobile-flag-pill:active {
  background: rgba(212, 175, 55, 0.22);
  border-color: var(--color-gold);
  color: #FFFFFF;
}

.mobile-flag-pill.active {
  background: var(--color-gold);
  border-color: #FFFFFF;
  color: #0F241A;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(212, 175, 55, 0.45);
  transform: translateY(-1px);
}

.mobile-flag-pill.active .flag-text {
  font-weight: 800;
}

/* ==========================================================================
   HERO SECTION (THEO HÌNH ẢNH 1 - CHẬU NƯỚC HOA & THANH BOOKING NẰM NGAY GIỮA)
   ========================================================================== */
.hero-orient-style {
  position: relative;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 30px;
  color: #FFF;
  overflow: hidden;
  background: #0B1E15;
}

/* Background Slideshow (Transitions automatically, Booking bar remains fixed on top) */
.hero-slides-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.3s cubic-bezier(0.4, 0, 0.2, 1), transform 6.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

/* Centered Floating Booking Box (Nền trắng sang trọng, tinh tế) */
.hero-booking-box {
  position: relative;
  z-index: 10;
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 980px;
  width: 92%;
  margin-bottom: 25px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.hero-booking-box:hover {
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.4);
}

.hero-booking-field {
  flex: 1;
  border-right: 1px solid #E0E0E0;
  padding: 6px 12px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.hero-booking-field:last-of-type {
  border-right: none;
}

.hero-booking-field-date,
.hero-booking-field-time {
  cursor: pointer;
}

.booking-field-caption {
  font-size: 0.72rem;
  color: #888888;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}

.hero-booking-field select, .hero-booking-field input {
  font-size: 0.92rem;
  font-weight: 600;
  color: #222222;
  cursor: pointer;
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
}

.hero-booking-field select option {
  background: #FFFFFF;
  color: #111111;
  font-weight: 600;
}

.hero-time-input-wrap,
.hero-guest-input-wrap {
  width: 100%;
  display: flex;
  align-items: center;
}

.hero-guest-input-wrap input[type="number"] {
  font-family: inherit;
  width: 100%;
  font-size: 0.95rem;
  font-weight: 700;
  color: #123023;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--color-olive-btn);
  padding: 2px 4px;
  outline: none;
}

.hero-guest-input-wrap input[type="number"]::placeholder {
  font-size: 0.8rem;
  font-weight: 400;
  color: #888888;
}

.time-mode-btn {
  background: rgba(125, 163, 124, 0.12);
  border: 1px solid rgba(125, 163, 124, 0.35);
  color: #123023;
  font-size: 0.65rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 7px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  line-height: 1.2;
}

.time-mode-btn:hover {
  background: var(--color-olive-btn);
  color: #FFF;
  border-color: var(--color-olive-btn);
}

.hero-custom-time-input {
  width: 100%;
  font-size: 0.95rem;
  font-weight: 700;
  color: #123023;
  cursor: pointer;
  background: transparent;
  border: none;
  outline: none;
}

.hero-booking-field-date input[type="date"]::-webkit-calendar-picker-indicator,
.hero-custom-time-input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.8;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-booking-field-date input[type="date"]::-webkit-calendar-picker-indicator:hover,
.hero-custom-time-input::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
  transform: scale(1.15);
}

.btn-book-now-green {
  background: var(--color-olive-btn);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  border: none;
  transition: background 0.25s ease, transform 0.2s ease;
}

.btn-book-now-green:hover {
  background: var(--color-olive-btn-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Slider Dots */
.hero-slider-dots {
  position: relative;
  z-index: 10;
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: scale(1.25);
}

.hero-dot.active {
  background: #FFFFFF;
  transform: scale(1.4);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
}

.hero-welcome-text {
  position: relative;
  z-index: 10;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #FFFFFF;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
  margin-bottom: 10px;
}

/* Sub-Hero Description Strip */
.sub-hero-strip {
  background: #EFE9DE;
  padding: 35px 20px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.sub-hero-title {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 700;
  color: #2B2E2C;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.sub-hero-desc {
  font-size: 1.05rem;
  color: #555555;
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.7;
}

.sub-hero-desc strong {
  color: var(--color-primary);
}

/* ==========================================================================
   2. BỐ CỤC ĐỊA CHỈ SPA: OUR LOCATIONS (THEO HÌNH ẢNH 2)
   ========================================================================== */
.section-orient-locations {
  padding: 70px 0;
  background: #FFFFFF;
  position: relative;
}

.orient-section-header {
  text-align: center;
  margin-bottom: 45px;
}

.orient-section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #1A1A1A;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.orient-section-subtitle {
  font-size: 1.05rem;
  color: #666666;
}

.locations-carousel-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}

.location-orient-card {
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  border: 1px solid #ECECEC;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-orient-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.location-img-wrap {
  position: relative;
  height: 290px;
  overflow: hidden;
  background: #F0F0F0;
}

.location-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.location-orient-card:hover .location-img-wrap img {
  transform: scale(1.05);
}

/* Dots inside Image */
.location-inner-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.loc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.loc-dot.active {
  background: #8DB88C;
}

.location-card-content {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.location-card-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 4px;
}

.location-card-address {
  font-size: 0.88rem;
  color: #777777;
  margin-bottom: 16px;
}

.location-specs-list {
  list-style: none;
  margin-bottom: 20px;
  flex-grow: 1;
}

.location-specs-list li {
  font-size: 0.88rem;
  color: #444444;
  margin-bottom: 6px;
  position: relative;
  padding-left: 14px;
}

.location-specs-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #333333;
}

.location-specs-list li strong {
  color: #111111;
}

.location-link-discover {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #1E3D2F;
  border-bottom: 1px solid #1E3D2F;
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.location-link-discover:hover {
  color: var(--color-gold);
  border-color: var(--color-gold);
}

/* ==========================================================================
   3. VỊ TRÍ MAP TRÊN BẢN ĐỒ (THEO HÌNH ẢNH 3 - NÚT MAKE A RESERVATION & MAP)
   ========================================================================== */
.section-orient-map {
  padding: 60px 0 80px;
  background: #FAF8F5;
  text-align: center;
}

.btn-make-reservation-pill {
  display: inline-block;
  background: var(--color-olive-btn);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 44px;
  border-radius: var(--radius-sm);
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(125, 163, 124, 0.35);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-make-reservation-pill:hover {
  background: var(--color-olive-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(125, 163, 124, 0.45);
}

.map-card-wrapper {
  max-width: 1140px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #E4DDD0;
  position: relative;
  background: #FFFFFF;
}

.map-card-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.map-overlay-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1.5px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  text-align: left;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.map-overlay-badge h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.map-overlay-badge p {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 8px;
}

.btn-open-google-maps {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #B22222;
  text-transform: uppercase;
}

/* ==========================================================================
   4. BẢNG GIÁ GÓI DỊCH VỤ: PROMOTIONS (THEO HÌNH ẢNH 4)
   ========================================================================== */
.section-orient-promotions {
  padding: 80px 0;
  background: #FFFFFF;
}

.promotions-grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.promo-orient-card {
  background: #FFFFFF;
  border: 1px solid #EAEAEA;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-orient-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
  border-color: #D4AF37;
}

.promo-img-holder {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.promo-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.promo-orient-card:hover .promo-img-holder img {
  transform: scale(1.06);
}

/* Dark bar on bottom of image showing duration & price (Exact Screenshot 4) */
.promo-bar-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(18, 30, 24, 0.82);
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
}

.promo-bar-time {
  display: flex;
  align-items: center;
  gap: 6px;
}

.promo-bar-price {
  font-weight: 700;
  color: #F8E298;
}

.promo-card-body {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.promo-card-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 14px;
  line-height: 1.35;
}

.promo-steps-list {
  list-style: none;
  margin-bottom: 20px;
  flex-grow: 1;
}

.promo-steps-list li {
  font-size: 0.82rem;
  color: #555555;
  margin-bottom: 6px;
  position: relative;
  padding-left: 14px;
  line-height: 1.4;
}

.promo-steps-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #777777;
}

.promo-read-more-link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #2F4F3E;
  border-bottom: 1px solid #2F4F3E;
  padding-bottom: 2px;
  align-self: flex-start;
  cursor: pointer;
  transition: all 0.2s ease;
}

.promo-read-more-link:hover {
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.promotions-bottom-action {
  text-align: center;
  margin-top: 45px;
}

.btn-view-spa-menu {
  display: inline-block;
  background: #FFFFFF;
  color: #1A1A1A;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 13px 36px;
  border: 1.5px solid #2B4537;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-view-spa-menu:hover {
  background: #2B4537;
  color: #FFFFFF;
}

/* Badges for Promo Cards */
.promo-badge-hot, .promo-badge-tag, .promo-badge-vip {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.promo-badge-hot {
  background: linear-gradient(135deg, #FF416C, #FF4B2B);
  color: #FFF;
}

.promo-badge-tag {
  background: linear-gradient(135deg, #1B4D3E, #2A7B62);
  color: #F8E298;
}

.promo-badge-vip {
  background: linear-gradient(135deg, #D4AF37, #A37E1C);
  color: #11281E;
}

.btn-view-board-menu {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1B4D3E;
  color: #F8E298;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 13px 32px;
  border: 1.5px solid var(--color-gold);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
  margin-left: 14px;
}

.btn-view-board-menu:hover {
  background: var(--color-gold);
  color: #11281E;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.3);
}

/* ==========================================================================
   FULL SPA MENU SECTION & PRICING GRID
   ========================================================================== */
.section-spa-menu {
  padding: 80px 0;
  background: #FAF8F5;
  border-top: 1px solid #E8E2D8;
}

.menu-board-banner-box {
  background: #FFFFFF;
  border: 1.5px solid #E0D7C6;
  border-left: 5px solid var(--color-gold);
  border-radius: var(--radius-sm);
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  gap: 20px;
  flex-wrap: wrap;
}

.menu-board-banner-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.btn-open-menu-board-modal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #11281E;
  color: #F3E5AB;
  border: 1px solid var(--color-gold);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-open-menu-board-modal:hover {
  background: var(--color-gold);
  color: #11281E;
}

.currency-switch-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.currency-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #666;
}

.currency-pill-btn {
  background: #FFFFFF;
  border: 1.5px solid #D1C7B7;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: #444;
  cursor: pointer;
  transition: all 0.2s ease;
}

.currency-pill-btn.active, .currency-pill-btn:hover {
  background: #1B4D3E;
  color: #FFFFFF;
  border-color: #1B4D3E;
}

.menu-tabs-wrapper {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.menu-tab-btn {
  background: #FFFFFF;
  border: 1px solid #DCD5C9;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: #444444;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.menu-tab-btn:hover {
  background: #F3EFEA;
  border-color: #1B4D3E;
  color: #1B4D3E;
}

.menu-tab-btn.active {
  background: #1B4D3E;
  color: #F8E298;
  border-color: #1B4D3E;
  box-shadow: 0 4px 14px rgba(27, 77, 62, 0.25);
}

.menu-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.menu-item-card {
  background: #FFFFFF;
  border: 1px solid #E8E2D7;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.menu-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border-color: var(--color-gold);
}

.menu-item-thumb {
  width: 170px;
  min-width: 170px;
  height: 100%;
  object-fit: cover;
  background: #EEE;
}

.menu-item-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.menu-item-name {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: #111111;
  line-height: 1.35;
}

.menu-item-price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #B22222;
  white-space: nowrap;
}

.menu-item-meta {
  font-size: 0.8rem;
  color: #777777;
  display: flex;
  gap: 14px;
  margin-bottom: 10px;
  font-weight: 600;
}

.menu-item-desc {
  font-size: 0.86rem;
  color: #555555;
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.menu-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px dashed #EDE6D8;
  padding-top: 12px;
}

.btn-book-service-now {
  background: #1B4D3E;
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-book-service-now:hover {
  background: var(--color-gold);
  color: #11281E;
}

.btn-service-details {
  font-size: 0.8rem;
  color: #777;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.btn-service-details:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   MODAL WINDOWS & LIGHTBOX
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-box {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  position: relative;
  border: 1.5px solid var(--color-gold);
  animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-box-large {
  max-width: 900px;
}

@keyframes modalPopIn {
  from {
    transform: scale(0.92) translateY(20px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: #11281E;
  color: #FFFFFF;
  border-bottom: 2px solid var(--color-gold);
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #FFFFFF;
}

.modal-close-btn {
  font-size: 1.8rem;
  color: #F8E298;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

.modal-close-btn:hover {
  transform: rotate(90deg);
  color: #FFF;
}

.modal-body {
  padding: 24px;
}

.modal-form-group {
  margin-bottom: 16px;
}

.modal-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #D5CEBF;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: #222222;
  background: #FAF8F5;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.modal-input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #FFFFFF;
}

.modal-confirm-btn {
  background: linear-gradient(135deg, #ECC876, #D4AF37, #A4791E);
  color: #051A12;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.modal-confirm-btn:hover {
  background: linear-gradient(135deg, #FFE082, #ECC876, #D4AF37);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
  transform: translateY(-2px);
}

/* Modal Payment & 15% Discount QR Section */
.modal-payment-section {
  background: #0B1C14;
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.modal-pay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.modal-pay-header .field-label {
  color: #ECC876 !important;
  margin-bottom: 0;
}

.pay-discount-pill {
  background: linear-gradient(135deg, #E65100, #F57C00);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(230, 81, 0, 0.4);
  animation: pulseDiscount 2s infinite ease-in-out;
}

@keyframes pulseDiscount {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.modal-pay-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.modal-pay-option-card {
  display: block;
  position: relative;
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  background: rgba(18, 48, 35, 0.85);
  border-radius: 10px;
  padding: 12px 10px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.modal-pay-option-card input[type="radio"] {
  position: absolute;
  top: 12px;
  right: 12px;
  accent-color: #D4AF37;
  width: 16px;
  height: 16px;
}

.modal-pay-option-card.active,
.modal-pay-option-card:hover {
  border-color: #D4AF37;
  background: rgba(26, 68, 50, 0.95);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
}

.pay-opt-top {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
  padding-right: 22px;
}

.pay-opt-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.2);
  color: #ECC876;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.pay-opt-title {
  display: block;
  font-size: 0.84rem;
  color: #FFFFFF;
  line-height: 1.3;
}

.pay-opt-badge-hot {
  display: inline-block;
  font-size: 0.68rem;
  color: #25D366;
  font-weight: 700;
  margin-top: 2px;
}

.pay-opt-badge-norm {
  display: inline-block;
  font-size: 0.68rem;
  color: #A3B5AD;
  margin-top: 2px;
}

.pay-opt-desc {
  font-size: 0.74rem;
  color: #B2C4BC;
  line-height: 1.4;
}

/* Price summary card */
.qr-price-summary-card {
  background: rgba(5, 18, 12, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 12px;
}

.qr-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #CCD8D2;
  padding: 3px 0;
}

.qr-price-orig {
  text-decoration: line-through;
  color: #8C9E96;
}

.discount-row {
  color: #25D366;
  font-weight: 700;
}

.qr-price-discount {
  color: #25D366;
  font-weight: 800;
}

.qr-price-divider {
  height: 1px;
  background: rgba(212, 175, 55, 0.2);
  margin: 6px 0;
}

.total-row {
  padding-top: 4px;
}

.qr-price-lbl-bold {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.92rem;
}

.qr-price-final {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ECC876;
  letter-spacing: 0.5px;
}

/* QR code and bank details */
.qr-bank-details-wrapper {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 14px;
  background: rgba(14, 38, 27, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
}

.qr-code-img-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #FFFFFF;
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.modal-qr-real-img {
  width: 100%;
  max-width: 145px;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: contain;
  display: block;
}

.qr-scan-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: #123023;
  margin-top: 4px;
  text-align: center;
}

.qr-bank-info-table {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #DDE5E1;
}

.bank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 3px 0;
  border-bottom: 1px dashed rgba(212, 175, 55, 0.15);
}

.bank-row:last-child {
  border-bottom: none;
}

.bank-lbl {
  color: #8FA299;
  font-size: 0.76rem;
}

.bank-val {
  color: #FFFFFF;
  font-weight: 700;
}

.bank-val-copy {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bank-acc-highlight {
  font-family: monospace;
  font-size: 0.95rem;
  color: #ECC876;
  letter-spacing: 1px;
}

.bank-amount-highlight {
  color: #25D366;
  font-weight: 800;
}

.bank-memo-highlight {
  font-family: monospace;
  color: #FFE082;
  font-weight: 700;
}

.btn-copy-mini {
  background: rgba(212, 175, 55, 0.2);
  color: #ECC876;
  border: 1px solid rgba(212, 175, 55, 0.4);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-copy-mini:hover {
  background: #D4AF37;
  color: #051A12;
}

.qr-helper-tip {
  font-size: 0.74rem;
  color: #A3B5AD;
  line-height: 1.45;
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.25);
  border-radius: 6px;
  padding: 8px 10px;
}

.qr-helper-tip i {
  color: #25D366;
}

.cash-notice-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  padding: 12px 14px;
  color: #DDE5E1;
  font-size: 0.82rem;
  line-height: 1.5;
}

.cash-notice-card i {
  color: #ECC876;
  font-size: 1.1rem;
  margin-top: 2px;
}

@media (max-width: 600px) {
  .modal-pay-options-grid {
    grid-template-columns: 1fr;
  }
  .qr-bank-details-wrapper {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .qr-code-img-frame {
    width: 160px;
  }
}

.menu-board-tabs-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.board-tab-btn {
  background: rgba(18, 48, 35, 0.9);
  color: #DDE5E1;
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  padding: 10px 18px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.board-tab-btn:hover,
.board-tab-btn.active {
  background: linear-gradient(135deg, #ECC876, #D4AF37, #A4791E);
  color: #051A12;
  border-color: #D4AF37;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
  transform: translateY(-2px);
}

.menu-board-display-wrap {
  position: relative;
  margin-bottom: 16px;
}

.board-view-pane {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.board-zoom-hint {
  font-size: 0.78rem;
  color: #ECC876;
  margin-top: 8px;
  font-style: italic;
}

.menu-board-action-cta {
  margin: 16px 0;
  display: flex;
  justify-content: center;
}

.menu-board-lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border: 2px solid var(--color-gold);
  transition: transform 0.25s ease;
}

.menu-board-lightbox-img:hover {
  transform: scale(1.01);
}

.menu-board-lightbox-contact {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  color: #E0DACB;
  font-size: 0.88rem;
}

/* Responsive adjustment for menu items */
@media (max-width: 900px) {
  .menu-items-grid {
    grid-template-columns: 1fr;
  }
  .menu-item-card {
    flex-direction: column;
  }
  .menu-item-thumb {
    width: 100%;
    min-width: 100%;
    height: 180px;
  }
}

/* ==========================================================================
   5. ĐÁNH GIÁ KHÁCH HÀNG (REVIEWS SECTION)
   ========================================================================== */
.section-orient-reviews {
  padding: 80px 0;
  background: #FAF8F5;
  border-top: 1px solid var(--color-border);
}

.reviews-carousel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.review-orient-card {
  background: #FFFFFF;
  border: 1px solid #EAEAEA;
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-orient-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.review-star-rating {
  color: #E6A218;
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.96rem;
  color: #333333;
  line-height: 1.65;
  margin-bottom: 22px;
}

.review-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px dashed #E2D9CC;
  padding-top: 14px;
}

.review-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--color-gold);
}

.review-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: #111111;
}

.review-meta {
  font-size: 0.78rem;
  color: #777777;
}

/* ==========================================================================
   6. HÌNH ẢNH KHÁCH ĐÃ TRẢI NGHIỆM: OUR HAPPY GUESTS (THEO HÌNH ẢNH MỤC 6)
   ========================================================================== */
.section-orient-guests {
  padding: 80px 0;
  background: #FFFFFF;
}

.guests-photo-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.guest-photo-item {
  position: relative;
  height: 220px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: #000;
}

.guest-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.guest-photo-item:hover img {
  transform: scale(1.08);
  opacity: 0.85;
}

.guest-insta-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  font-size: 1.8rem;
  color: #FFFFFF;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
}

.guest-photo-item:hover .guest-insta-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ==========================================================================
   FOOTER CHUẨN ORIENT SPA
   ========================================================================== */
.orient-footer {
  background: #11281E;
  color: #E2DBD0;
  padding: 70px 0 25px;
  border-top: 3px solid var(--color-gold);
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 50px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #FFF;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--color-gold);
}

.footer-branches-block dl {
  margin-bottom: 16px;
}

.footer-branches-block dt {
  font-weight: 700;
  color: #FFFFFF;
  font-size: 0.95rem;
}

.footer-branches-block dd {
  font-size: 0.85rem;
  color: #A3B5AD;
  margin-top: 2px;
}

.footer-branches-block dd a {
  color: var(--color-gold-light);
  text-decoration: underline;
}

.footer-links-list {
  list-style: none;
}

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-links-list a {
  font-size: 0.88rem;
  color: #BAC8C1;
}

.footer-links-list a:hover {
  color: var(--color-gold-light);
  padding-left: 4px;
}

.footer-social-row {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.footer-social-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.footer-social-circle:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #11281E;
}

.footer-copyright-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #8C9F96;
}

/* ==========================================================================
   FLOATING SPEED DIAL DOCK (THEO CẠNH PHẢI SCREENSHOT 1)
   ========================================================================== */
.orient-floating-dock {
  position: fixed;
  bottom: 30px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.orient-dock-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.25s ease;
  position: relative;
}

.orient-dock-btn:hover {
  transform: scale(1.1);
}

.dock-btn-top {
  background: #FFFFFF;
  color: #333333;
  border: 1px solid #CCC;
}

/* Google Maps White Dock Button (Yêu cầu 1) */
.dock-btn-map {
  background: #FFFFFF !important;
  color: #EA4335 !important;
  border: 1.5px solid #E5E5E5 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.25s ease;
}

.dock-btn-map i {
  font-size: 1.45rem !important;
  color: #EA4335 !important;
  line-height: 1;
}

.dock-btn-map:hover {
  transform: scale(1.15) !important;
  box-shadow: 0 6px 20px rgba(234, 67, 53, 0.45) !important;
  border-color: #EA4335 !important;
}

.dock-btn-kakao {
  background: #FFE812;
  color: #3C1E1E;
  font-weight: 800;
  font-size: 0.65rem;
}

.dock-btn-whatsapp {
  background: #25D366;
}

.dock-btn-zalo {
  background: #0068FF;
  font-weight: 800;
  font-size: 0.68rem;
}

.dock-btn-phone {
  background: #5D4037;
  display: flex;
  align-items: center;
}

.dock-phone-pill {
  position: absolute;
  right: 50px;
  background: #FFFFFF;
  color: #333333;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  white-space: nowrap;
  border: 1px solid #E0E0E0;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-menu-left, .nav-menu-right {
    gap: 16px;
  }
  .locations-carousel-wrap {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }
  .promotions-grid-4col {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-carousel-grid {
    grid-template-columns: 1fr;
  }
  .guests-photo-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-columns-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu-left, .nav-menu-right {
    display: none !important;
  }
  .header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 6px 12px !important;
    position: relative !important;
    min-height: 52px !important;
    width: 100% !important;
  }
  .mobile-header-lang-wrap {
    display: flex !important;
    align-items: center !important;
    position: static !important;
    transform: none !important;
    flex: 0 0 auto !important;
    z-index: 60;
  }
  .mobile-lang-btn {
    padding: 5px 9px !important;
    gap: 5px !important;
    font-size: 0.78rem !important;
  }
  .header-logo-center {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding: 0 4px !important;
    text-align: center !important;
  }
  .header-logo-img {
    width: 44px !important;
    height: 44px !important;
    margin: 0 auto !important;
  }
  .header-logo-text {
    font-size: 1.18rem !important;
    letter-spacing: 1.2px !important;
    white-space: nowrap !important;
    line-height: 1.15 !important;
  }
  .header-logo-sub {
    font-size: 0.62rem !important;
    letter-spacing: 0.8px !important;
    white-space: nowrap !important;
    line-height: 1.15 !important;
    color: #7B1FA2 !important;
    font-weight: 800 !important;
  }
  .mobile-header-right-group {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    position: static !important;
    transform: none !important;
    flex: 0 0 auto !important;
    z-index: 60;
  }
  .mobile-header-auth-pill {
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1.5px solid var(--color-gold) !important;
    background: rgba(212, 175, 55, 0.18) !important;
  }
  .mobile-header-auth-pill span {
    display: none !important;
  }
  .mobile-header-auth-pill i {
    font-size: 1.15rem !important;
    color: #123023 !important;
    margin: 0 !important;
  }
  .mobile-nav-toggle {
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: static !important;
    transform: none !important;
    font-size: 1.25rem !important;
    color: #123023 !important;
  }
  .mobile-lang-strip {
    display: none !important;
  }
  .mobile-header-lang-wrap {
    display: none !important;
  }
  .hero-booking-box {
    flex-direction: column;
    padding: 16px;
  }
  .hero-booking-field {
    border-right: none;
    border-bottom: 1px solid #EEE;
    width: 100%;
    padding: 8px 0;
  }
  .btn-book-now-green {
    width: 100%;
    text-align: center;
  }
  .promotions-grid-4col {
    grid-template-columns: 1fr;
  }
  .guests-photo-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-columns-grid {
    grid-template-columns: 1fr;
  }
  .footer-copyright-bar {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .top-notice-inner {
    gap: 10px;
  }
  .top-notice-actions {
    gap: 10px;
  }
  .top-hotline-link {
    font-size: 0.72rem;
    padding: 2px 8px;
  }
  .top-zen-btn span {
    display: none;
  }
}

/* ==========================================================================
   DEEP HEALING VIBES - ZEN SOUNDSCAPE & FLOATING PLAYER
   Integrated for IVY LUXE SPA (48 Hà Trung, Hoàn Kiếm, Hà Nội)
   Official Channel: https://www.youtube.com/@DeepHealingVibes86
   ========================================================================== */

/* 1. DEDICATED ZEN SOUND SANCTUARY SECTION */
.section-orient-music {
  padding: 85px 0 95px;
  background: linear-gradient(180deg, #0A1C14 0%, #123023 50%, #0F241A 100%);
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}

.section-orient-music::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -100px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(18, 48, 35, 0) 70%);
  pointer-events: none;
}

.section-orient-music::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 163, 124, 0.1) 0%, rgba(18, 48, 35, 0) 70%);
  pointer-events: none;
}

.music-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ECC876;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-orient-music .orient-section-title {
  color: #FFFFFF;
}

.section-orient-music .orient-section-subtitle {
  color: #A3B5AD;
  max-width: 760px;
  margin: 0 auto 48px;
}

.music-sanctuary-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: stretch;
}

/* Master Video Showcase Card */
.music-showcase-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.music-showcase-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.5);
}

.music-video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #000000;
}

.music-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.music-showcase-content {
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(10, 28, 20, 0.85);
  flex-wrap: wrap;
}

.music-channel-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.music-channel-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4AF37, #9B7D1A);
  color: #123023;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.music-channel-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 2px;
}

.music-channel-sub {
  font-size: 0.82rem;
  color: #ECC876;
  margin: 0;
}

.music-channel-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #CC0000;
  color: #FFFFFF;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(204, 0, 0, 0.35);
  transition: all 0.25s ease;
}

.music-channel-cta-btn:hover {
  background: #E60000;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(204, 0, 0, 0.5);
  color: #FFFFFF;
}

/* Right Tracks Column */
.music-tracks-column {
  display: flex;
  flex-direction: column;
}

.music-tracks-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.music-tracks-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.music-tracks-count {
  font-size: 0.78rem;
  color: #ECC876;
  background: rgba(212, 175, 55, 0.12);
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 600;
}

.music-track-cards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.music-track-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
  cursor: pointer;
  position: relative;
}

.music-track-card:hover {
  background: rgba(212, 175, 55, 0.09);
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateX(4px);
}

.music-track-card.active {
  background: rgba(212, 175, 55, 0.14);
  border-color: var(--color-gold);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.18);
}

.music-track-card-thumb {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.music-track-card-info {
  flex: 1;
  min-width: 0;
}

.music-track-card-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: #ECC876;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.music-track-card-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music-track-card-desc {
  font-size: 0.78rem;
  color: #9CB2A7;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.music-track-card-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--color-gold);
  background: rgba(212, 175, 55, 0.12);
  color: #ECC876;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.music-track-card:hover .music-track-card-btn {
  background: var(--color-gold);
  color: #123023;
}

.music-track-card.active .music-track-card-btn {
  background: var(--color-gold);
  color: #123023;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
}

/* 2. FLOATING LUXURY ZEN MUSIC DOCK (ẨN HOÀN TOÀN THEO YÊU CẦU 3) */
.ivy-zen-dock,
#ivy-zen-dock {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: -1;
}

/* Minimized Pill Mode */
.zen-min-pill {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 6px 18px 6px 6px;
  background: rgba(15, 36, 26, 0.94);
  border: 1.5px solid var(--color-gold);
  border-radius: 9999px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4), 0 0 16px rgba(212, 175, 55, 0.25);
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.zen-min-pill:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 22px rgba(212, 175, 55, 0.4);
}

.ivy-zen-dock.is-minimized .zen-min-pill {
  display: inline-flex;
}

.ivy-zen-dock.is-minimized .zen-full-player {
  display: none;
}

.zen-min-label {
  display: flex;
  flex-direction: column;
}

.zen-min-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ECC876;
  white-space: nowrap;
}

.zen-min-soundwave {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
  margin-bottom: 2px;
}

.zen-min-soundwave i {
  display: block;
  width: 2.5px;
  height: 4px;
  background: #ECC876;
  border-radius: 1px;
}

.ivy-zen-dock.is-playing .zen-min-soundwave i:nth-child(1) { animation: eqBounce1 0.7s infinite ease-in-out; }
.ivy-zen-dock.is-playing .zen-min-soundwave i:nth-child(2) { animation: eqBounce2 0.85s infinite ease-in-out; }
.ivy-zen-dock.is-playing .zen-min-soundwave i:nth-child(3) { animation: eqBounce3 0.65s infinite ease-in-out; }
.ivy-zen-dock.is-playing .zen-min-soundwave i:nth-child(4) { animation: eqBounce4 0.9s infinite ease-in-out; }

/* Full Player Box */
.zen-full-player {
  width: 350px;
  background: rgba(15, 36, 26, 0.95);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  border-radius: 18px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45), 0 0 20px rgba(212, 175, 55, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: #FFFFFF;
}

/* Header */
.zen-player-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.zen-brand-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ECC876;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.zen-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.zen-icon-btn {
  background: none;
  border: none;
  color: #A3B5AD;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.zen-icon-btn:hover {
  color: #FFFFFF;
}

/* Player Body */
.zen-player-body {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
}

/* Vinyl Disc */
.zen-vinyl-disc {
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), inset 0 0 8px rgba(0,0,0,0.8);
  border: 2px solid #D4AF37;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zen-disc-sm {
  width: 40px;
  height: 40px;
}

.zen-disc-lg {
  width: 60px;
  height: 60px;
}

.zen-vinyl-disc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.zen-disc-core {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #0F241A;
  border: 2px solid #D4AF37;
  border-radius: 50%;
  z-index: 2;
}

.zen-disc-sm .zen-disc-core {
  width: 10px;
  height: 10px;
}

.ivy-zen-dock.is-playing .zen-vinyl-disc img {
  animation: vinylSpin 8s linear infinite;
}

/* Meta wrap */
.zen-meta-wrap {
  flex: 1;
  min-width: 0;
}

.zen-track-marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.zen-track-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zen-artist-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.zen-artist-name {
  font-size: 0.74rem;
  color: #A3B5AD;
}

.zen-yt-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 6px;
  background: rgba(204, 0, 0, 0.85);
  color: #FFFFFF;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  text-decoration: none;
}

.zen-yt-badge:hover {
  background: #FF0000;
  color: #FFFFFF;
}

/* Equalizer Bars */
.zen-equalizer-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
}

.eq-bar {
  display: block;
  width: 3px;
  height: 4px;
  background: #ECC876;
  border-radius: 1px;
}

.ivy-zen-dock.is-playing .bar-1 { animation: eqBounce1 0.7s infinite ease-in-out; }
.ivy-zen-dock.is-playing .bar-2 { animation: eqBounce2 0.9s infinite ease-in-out; }
.ivy-zen-dock.is-playing .bar-3 { animation: eqBounce3 0.6s infinite ease-in-out; }
.ivy-zen-dock.is-playing .bar-4 { animation: eqBounce4 0.8s infinite ease-in-out; }

.eq-label {
  font-size: 0.68rem;
  color: #ECC876;
  margin-left: 6px;
  white-space: nowrap;
}

/* Controls */
.zen-player-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 14px;
  background: rgba(0, 0, 0, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.zen-main-ctrls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.zen-ctrl-btn {
  background: none;
  border: none;
  color: #C5D2CB;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.zen-ctrl-btn:hover {
  color: #ECC876;
  transform: scale(1.1);
}

.zen-play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ECC876, #C59B27);
  border: none;
  color: #123023;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.zen-play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.6);
}

.zen-volume-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.zen-mute-btn {
  font-size: 0.85rem;
  padding: 4px;
}

.zen-vol-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 75px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.zen-vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ECC876;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.zen-vol-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ECC876;
  cursor: pointer;
  border: none;
}

/* Playlist Drawer */
.zen-playlist-drawer {
  display: none;
  max-height: 210px;
  overflow-y: auto;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(8, 22, 16, 0.98);
}

.zen-playlist-drawer.is-open {
  display: block;
}

.zen-playlist-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  font-size: 0.72rem;
  color: #A3B5AD;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.zen-playlist-badge {
  background: rgba(212, 175, 55, 0.15);
  color: #ECC876;
  padding: 1px 6px;
  border-radius: 8px;
  font-weight: 700;
}

.zen-playlist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.zen-playlist-item:hover {
  background: rgba(212, 175, 55, 0.1);
}

.zen-playlist-item.active {
  background: rgba(212, 175, 55, 0.18);
}

.zen-playlist-item-idx {
  font-size: 0.72rem;
  font-weight: 700;
  color: #ECC876;
  width: 14px;
}

.zen-playlist-item-title {
  font-size: 0.78rem;
  color: #FFFFFF;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zen-playlist-item.active .zen-playlist-item-title {
  color: #ECC876;
  font-weight: 700;
}

.zen-playlist-item-status {
  font-size: 0.7rem;
  color: #ECC876;
}

/* Hidden YouTube target */
.ivy-zen-hidden-player {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0.01;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

/* Top button active state */
.top-zen-btn.playing {
  color: #FFF;
  background: rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  padding: 3px 10px;
  border: 1px solid #D4AF37;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* Equalizer keyframes */
@keyframes eqBounce1 {
  0%, 100% { height: 4px; }
  50% { height: 14px; }
}
@keyframes eqBounce2 {
  0%, 100% { height: 12px; }
  50% { height: 5px; }
}
@keyframes eqBounce3 {
  0%, 100% { height: 6px; }
  50% { height: 15px; }
}
@keyframes eqBounce4 {
  0%, 100% { height: 14px; }
  50% { height: 4px; }
}
@keyframes vinylSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .music-sanctuary-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ivy-zen-dock {
    bottom: 16px;
    left: 16px;
  }
  .zen-full-player {
    width: calc(100vw - 32px);
    max-width: 330px;
  }
}


/* ==========================================================================
   AFFILIATE PARTNER PROGRAM STYLES (IVY LUXE SPA 48 HÀ TRUNG)
   ========================================================================== */

/* Top VIP Welcome Referral Banner */
.aff-ref-banner {
  background: linear-gradient(90deg, #1b3d2b 0%, #0d271c 40%, #2e4d36 100%);
  border-bottom: 2px solid #D4AF37;
  color: #FFFFFF;
  padding: 10px 0;
  position: relative;
  z-index: 1005;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  animation: slideDownBanner 0.4s ease-out;
}

@keyframes slideDownBanner {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.aff-ref-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.aff-ref-banner-content {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.4;
  flex-wrap: wrap;
}

.aff-ref-tag {
  background: linear-gradient(135deg, #ECC876, #D4AF37);
  color: #051A12;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.35);
}

.aff-ref-banner-close {
  background: transparent;
  border: none;
  color: #D4AF37;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 5px;
  transition: transform 0.2s, color 0.2s;
}

.aff-ref-banner-close:hover {
  color: #FFFFFF;
  transform: scale(1.15);
}

/* Modal Referral Badge */
.modal-aff-badge {
  background: rgba(212, 175, 55, 0.12);
  border: 1px dashed #D4AF37;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0d271c;
  font-size: 0.86rem;
  line-height: 1.4;
}

.modal-aff-badge i {
  color: #A37E1C;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Affiliate Main Section */
.section-orient-affiliate {
  padding: 85px 0 95px;
  background: linear-gradient(180deg, #071911 0%, #0d271c 45%, #081a12 100%);
  position: relative;
  color: #FAF7F2;
  overflow: hidden;
}

.section-orient-affiliate::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
}

/* Perks Grid */
.aff-perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 45px;
}

.aff-perk-card {
  background: rgba(15, 38, 27, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}

.aff-perk-card:hover {
  transform: translateY(-5px);
  border-color: #D4AF37;
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15);
  background: rgba(18, 48, 35, 0.8);
}

.aff-perk-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
  border: 1px solid #D4AF37;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #ECC876;
}

.aff-perk-title {
  font-family: 'Be Vietnam Pro', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.aff-perk-desc {
  font-size: 0.85rem;
  color: #A3B5AD;
  line-height: 1.55;
  margin: 0;
}

/* Workspace Box (Tabs container) */
.aff-workspace-box {
  background: rgba(11, 28, 20, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Tabs Navigation */
.aff-tabs-nav {
  display: flex;
  background: rgba(6, 17, 12, 0.7);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  overflow-x: auto;
  scrollbar-width: none;
}

.aff-tabs-nav::-webkit-scrollbar {
  display: none;
}

.aff-tab-btn {
  flex: 1;
  min-width: 220px;
  padding: 18px 20px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: #A3B5AD;
  font-family: 'Arimo', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.aff-tab-btn i {
  font-size: 1.1rem;
}

.aff-tab-btn:hover {
  color: #ECC876;
  background: rgba(212, 175, 55, 0.05);
}

.aff-tab-btn.active {
  color: #FFFFFF;
  background: rgba(212, 175, 55, 0.12);
  border-bottom-color: #D4AF37;
  font-weight: 700;
}

.aff-tab-btn.active i {
  color: #ECC876;
}

/* Tab Panes */
.aff-tab-pane {
  display: none;
  padding: 35px 30px;
  animation: fadeInPane 0.3s ease-out;
}

.aff-tab-pane.active {
  display: block;
}

@keyframes fadeInPane {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Pane 1 Layout (Form + Preview) */
.aff-pane-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 35px;
  align-items: start;
}

.aff-col-header {
  margin-bottom: 22px;
}

.aff-col-title {
  font-family: 'Be Vietnam Pro', Georgia, serif;
  font-size: 1.3rem;
  color: #ECC876;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.aff-col-subtitle {
  font-size: 0.88rem;
  color: #A3B5AD;
  margin: 0;
  line-height: 1.5;
}

/* Form Styles */
.aff-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.aff-form-field {
  margin-bottom: 18px;
}

.aff-field-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: #E0E8E3;
  margin-bottom: 7px;
}

.aff-field-label .req {
  color: #FF5A5A;
}

.aff-input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(18, 48, 35, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 8px;
  color: #FFFFFF;
  font-size: 0.92rem;
  font-family: 'Arimo', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.aff-input:focus {
  outline: none;
  border-color: #D4AF37;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
  background: rgba(22, 58, 42, 0.9);
}

.aff-input::placeholder {
  color: #71887E;
}

select.aff-input option {
  background: #0d271c;
  color: #FFFFFF;
}

.aff-code-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(18, 48, 35, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.aff-code-input-wrap:focus-within {
  border-color: #D4AF37;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
}

.aff-code-prefix {
  background: rgba(212, 175, 55, 0.15);
  color: #ECC876;
  font-weight: 700;
  padding: 12px 12px;
  font-size: 0.9rem;
  border-right: 1px solid rgba(212, 175, 55, 0.25);
}

.aff-code-inner {
  border: none !important;
  background: transparent !important;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.aff-code-inner:focus {
  box-shadow: none !important;
}

.aff-field-hint {
  display: block;
  font-size: 0.78rem;
  color: #7E968C;
  margin-top: 5px;
}

.aff-submit-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #ECC876 0%, #D4AF37 50%, #A4791E 100%);
  color: #051A12;
  font-family: 'Be Vietnam Pro', Georgia, serif;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 1px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
  transition: all 0.3s ease;
}

.aff-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.5);
  background: linear-gradient(135deg, #FFF0B8 0%, #E5BF47 50%, #B88924 100%);
}

/* Result Card (Right Column) */
.aff-result-card {
  background: linear-gradient(145deg, rgba(16, 42, 30, 0.9), rgba(8, 22, 16, 0.95));
  border: 1px solid #D4AF37;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.aff-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding-bottom: 14px;
}

.aff-badge-live {
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.4);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.aff-result-title {
  font-family: 'Be Vietnam Pro', Georgia, serif;
  font-size: 1.05rem;
  color: #FFFFFF;
  margin: 0;
}

/* QR Code Preview Box */
.aff-qr-preview-box {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(6, 17, 12, 0.6);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.aff-qr-frame {
  background: #FFFFFF;
  padding: 8px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.aff-qr-frame img {
  width: 110px;
  height: 110px;
  display: block;
}

.aff-qr-meta {
  flex: 1;
}

.aff-qr-code-tag {
  font-size: 0.95rem;
  color: #ECC876;
  margin-bottom: 6px;
}

.aff-qr-code-tag strong {
  color: #FFFFFF;
  background: rgba(212, 175, 55, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.aff-qr-sub {
  font-size: 0.78rem;
  color: #98ADA3;
  line-height: 1.45;
  margin-bottom: 10px;
}

.aff-btn-download-qr {
  background: transparent;
  border: 1px solid #D4AF37;
  color: #ECC876;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.aff-btn-download-qr:hover {
  background: #D4AF37;
  color: #051A12;
}

/* Link Output Row */
.aff-link-output-box {
  margin-bottom: 20px;
}

.aff-output-label {
  display: block;
  font-size: 0.82rem;
  color: #ECC876;
  font-weight: 600;
  margin-bottom: 8px;
}

.aff-link-copy-row {
  display: flex;
  background: rgba(6, 17, 12, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  overflow: hidden;
}

.aff-output-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #FFFFFF;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-family: 'Arimo', sans-serif;
  outline: none;
}

.aff-btn-copy {
  background: linear-gradient(135deg, #ECC876, #D4AF37);
  border: none;
  color: #051A12;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
  white-space: nowrap;
}

.aff-btn-copy:hover {
  background: #FFF0B8;
}

/* Quick Share Buttons */
.aff-quick-share-row {
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding-top: 16px;
}

.aff-share-label {
  display: block;
  font-size: 0.8rem;
  color: #A3B5AD;
  margin-bottom: 10px;
}

.aff-share-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.aff-share-btn {
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.aff-share-zalo {
  background: #0068FF;
  color: #FFFFFF;
}

.aff-share-zalo:hover {
  background: #0053cc;
}

.share-icon-letter {
  background: #FFFFFF;
  color: #0068FF;
  font-weight: 900;
  font-size: 0.72rem;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.aff-share-wa {
  background: #25D366;
  color: #FFFFFF;
}

.aff-share-wa:hover {
  background: #1fa851;
}

/* TAB 2: TEMPLATES */
.aff-templates-header {
  margin-bottom: 25px;
}

.aff-templates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.aff-template-card {
  background: rgba(14, 36, 25, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 12px;
  padding: 20px 22px;
  transition: border-color 0.2s;
}

.aff-template-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
}

.aff-tpl-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 10px;
}

.aff-tpl-badge {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.aff-badge-vi {
  background: rgba(212, 175, 55, 0.15);
  color: #ECC876;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.aff-badge-en {
  background: rgba(0, 104, 255, 0.15);
  color: #82b5ff;
  border: 1px solid rgba(0, 104, 255, 0.3);
}

.aff-badge-sms {
  background: rgba(37, 211, 102, 0.15);
  color: #72e59e;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.aff-tpl-copy-btn {
  background: transparent;
  border: 1px solid #D4AF37;
  color: #ECC876;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.aff-tpl-copy-btn:hover {
  background: #D4AF37;
  color: #051A12;
}

.aff-tpl-body {
  background: rgba(6, 17, 12, 0.65);
  border-radius: 8px;
  padding: 16px 18px;
  font-size: 0.88rem;
  color: #DDE5E1;
  line-height: 1.65;
  white-space: pre-line;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* TAB 3: LOOKUP STATS & COMMISSION */
.aff-lookup-wrap {
  max-width: 850px;
  margin: 0 auto;
}

.aff-lookup-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
}

.aff-lookup-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.aff-lookup-input-wrap i {
  position: absolute;
  left: 16px;
  color: #ECC876;
  font-size: 1rem;
}

.aff-lookup-input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  background: rgba(18, 48, 35, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 10px;
  color: #FFFFFF;
  font-size: 0.95rem;
  font-family: 'Arimo', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.aff-lookup-input:focus {
  border-color: #D4AF37;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

.aff-lookup-submit {
  padding: 0 24px;
  background: linear-gradient(135deg, #ECC876, #D4AF37);
  border: none;
  border-radius: 10px;
  color: #051A12;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.2s;
}

.aff-lookup-submit:hover {
  background: #FFF0B8;
  transform: translateY(-2px);
}

/* Lookup Results */
.aff-partner-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(18, 48, 35, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 15px;
}

.aff-pi-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.aff-pi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ECC876, #D4AF37);
  color: #051A12;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.aff-pi-name {
  font-family: 'Be Vietnam Pro', Georgia, serif;
  font-size: 1.15rem;
  color: #FFFFFF;
  margin: 0 0 4px;
}

.aff-pi-meta {
  font-size: 0.82rem;
  color: #A3B5AD;
}

.aff-pi-badge {
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.35);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
}

/* Stats Cards Grid */
.aff-stats-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}

.aff-stat-card {
  background: rgba(14, 36, 25, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
}

.aff-stat-card.aff-sc-highlight {
  border-color: #D4AF37;
  background: rgba(22, 58, 42, 0.85);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.15);
}

.aff-sc-num {
  font-family: 'Be Vietnam Pro', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.aff-sc-label {
  font-size: 0.78rem;
  color: #A3B5AD;
  line-height: 1.35;
}

.aff-sc-label i {
  color: #ECC876;
}

.aff-payout-box {
  background: rgba(6, 17, 12, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 0.88rem;
  color: #DDE5E1;
}

.aff-payout-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .aff-perks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .aff-pane-layout {
    grid-template-columns: 1fr;
  }
  .aff-stats-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .aff-tab-btn {
    min-width: 170px;
    font-size: 0.88rem;
    padding: 14px 15px;
  }
}

@media (max-width: 600px) {
  .aff-perks-grid {
    grid-template-columns: 1fr;
  }
  .aff-form-row {
    grid-template-columns: 1fr;
  }
  .aff-lookup-bar {
    flex-direction: column;
  }
  .aff-lookup-submit {
    padding: 12px;
    justify-content: center;
  }
  .aff-stats-cards-grid {
    grid-template-columns: 1fr;
  }
  .aff-tab-pane {
    padding: 24px 16px;
  }
  .aff-share-btns {
    grid-template-columns: 1fr;
  }
  .aff-qr-preview-box {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   AUTHENTICATION, SEPAY SACOMBANK PAYMENT & INSTAGRAM INTEGRATION STYLES
   ========================================================================== */

/* Instagram Enhancements */
.guest-photo-overlay-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.65);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.guest-photo-item:hover .guest-photo-overlay-tag {
  opacity: 1;
  transform: translateY(0);
}

.btn-insta-follow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #FFFFFF !important;
  padding: 12px 24px;
  border-radius: 30px;
  font-family: 'Be Vietnam Pro', Georgia, serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(220, 39, 67, 0.35);
  transition: all 0.3s ease;
}

.btn-insta-follow:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(220, 39, 67, 0.5);
  filter: brightness(1.1);
}

.dock-btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 15px rgba(220, 39, 67, 0.4) !important;
}

.footer-social-insta:hover {
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888) !important;
  border-color: transparent !important;
  color: #FFF !important;
}

/* Header User Auth Button & Dropdown */
.auth-nav-item {
  position: relative;
  list-style: none;
}

.nav-auth-btn {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #ECC876;
  font-family: 'Arimo', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.25s ease;
}

.nav-auth-btn:hover {
  background: #D4AF37;
  color: #051A12;
  border-color: #D4AF37;
  transform: translateY(-1px);
}

.header-user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #0A2016;
  border: 1px solid #D4AF37;
  border-radius: 12px;
  width: 230px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  z-index: 1050;
  overflow: hidden;
  animation: fadeInDown 0.25s ease-out;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.user-dd-header {
  padding: 14px 16px;
  background: rgba(18, 48, 35, 0.8);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.user-dd-header strong {
  display: block;
  font-size: 0.9rem;
  color: #FFFFFF;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-dd-role-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: #25D366;
  background: rgba(37, 211, 102, 0.15);
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.user-dd-menu {
  list-style: none;
  padding: 8px 0;
  margin: 0;
}

.user-dd-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 0.85rem;
  color: #DDE5E1;
  text-decoration: none;
  transition: all 0.2s;
}

.user-dd-menu li a:hover {
  background: rgba(212, 175, 55, 0.15);
  color: #ECC876;
}

.user-dd-menu li a i {
  color: #ECC876;
  width: 16px;
  text-align: center;
}

.dd-divider {
  height: 1px;
  background: rgba(212, 175, 55, 0.15);
  margin: 6px 0;
}

/* Mobile Header Auth Button */
.mobile-header-right-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-auth-icon-btn {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #ECC876;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
}

/* Auth Modal Styles */
.modal-box-auth {
  max-width: 460px;
}

.auth-tabs-nav {
  display: flex;
  background: #06110C;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  margin: -15px -20px 20px;
}

.auth-tab-btn {
  flex: 1;
  padding: 14px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: #A3B5AD;
  font-family: 'Arimo', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.auth-tab-btn.active {
  color: #FFFFFF;
  background: rgba(212, 175, 55, 0.12);
  border-bottom-color: #D4AF37;
}

.auth-tab-btn.active i {
  color: #ECC876;
}

.auth-tab-pane {
  display: none;
  animation: fadeIn 0.25s ease-out;
}

.auth-tab-pane.active {
  display: block;
}

.auth-presets-box {
  background: rgba(18, 48, 35, 0.4);
  border: 1px dashed rgba(212, 175, 55, 0.25);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 15px;
}

.auth-presets-title {
  font-size: 0.78rem;
  color: #ECC876;
  margin-bottom: 8px;
  font-weight: 600;
}

.auth-presets-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.auth-preset-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #DDE5E1;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.auth-preset-btn:hover {
  background: #D4AF37;
  color: #051A12;
  border-color: #D4AF37;
}

.preset-admin {
  border-color: rgba(212, 175, 55, 0.4);
  color: #ECC876;
}

/* Google Sign-In Button */
.btn-social-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #FFFFFF;
  color: #3C4043;
  border: 1px solid #DADCE0;
  border-radius: 8px;
  padding: 11px 16px;
  font-family: 'Arimo', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
  transition: all 0.25s ease;
  margin-bottom: 12px;
}

.btn-social-google:hover {
  background: #F8F9FA;
  border-color: #C6C8CC;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

.btn-social-google:active {
  transform: translateY(0);
}

.auth-or-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 14px 0 16px;
}

.auth-or-divider::before,
.auth-or-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.auth-or-divider span {
  padding: 0 10px;
  color: #A3B5AD;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.auth-forgot-link {
  color: #ECC876;
  font-size: 0.82rem;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.auth-forgot-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* OTP Notice & Verification Box */
.auth-otp-notice {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid #D4AF37;
  border-radius: 8px;
  padding: 12px 14px;
  color: #FFFFFF;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 12px;
  animation: fadeIn 0.3s ease-out;
}

.auth-otp-code-highlight {
  display: inline-block;
  background: #D4AF37;
  color: #051A12;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 2px;
  margin-left: 4px;
}

/* Google Account Chooser Modal */
.google-account-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}

.google-account-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #FAF7F2;
  border: 1.5px solid #E5DEC9;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.google-account-item:hover {
  border-color: #4285F4;
  background: #F0F4FF;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.15);
}

.google-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #4285F4;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.google-account-info {
  flex: 1;
}

.google-account-name {
  font-weight: 700;
  color: #123023;
  font-size: 0.92rem;
}

.google-account-email {
  color: #5F6368;
  font-size: 0.8rem;
}

/* Payment Method Selector in Booking Modal */
.payment-method-selector {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.pay-method-option {
  cursor: pointer;
  display: block;
  margin: 0;
}

.pay-method-option input[type="radio"] {
  display: none;
}

.pay-method-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #FAF7F2;
  border: 1px solid #D5CEBF;
  border-radius: 10px;
  padding: 12px 14px;
  transition: all 0.25s ease;
  position: relative;
}

.pay-method-option.active .pay-method-card,
.pay-method-option input[type="radio"]:checked + .pay-method-card {
  border-color: #D4AF37;
  background: #FDF9F0;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.18);
}

.pay-method-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid #E2DCCF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.pay-method-info {
  flex: 1;
}

.pay-method-info strong {
  display: block;
  font-size: 0.9rem;
  color: #0d271c;
  margin-bottom: 2px;
}

.pay-method-info span {
  display: block;
  font-size: 0.78rem;
  color: #6C7A73;
  line-height: 1.35;
}

.pay-method-tag {
  background: linear-gradient(135deg, #ECC876, #D4AF37);
  color: #051A12;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  flex-shrink: 0;
}

/* SePay Checkout View in Modal */
.sepay-checkout-wrap {
  text-align: center;
  padding: 10px 0;
}

.sepay-checkout-header {
  margin-bottom: 18px;
}

.sepay-order-code-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid #D4AF37;
  color: #0A2E20;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.sepay-total-amount {
  font-family: 'Be Vietnam Pro', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: #B22222;
  margin: 0;
}

.sepay-qr-center {
  background: #FFFFFF;
  border: 2px solid #D4AF37;
  border-radius: 16px;
  padding: 16px;
  display: inline-block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  margin-bottom: 16px;
}

.sepay-qr-img {
  width: 210px;
  height: 210px;
  display: block;
  margin: 0 auto;
}

.sepay-qr-switch-btns {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.sepay-btn-toggle-qr {
  background: transparent;
  border: 1px solid #D4AF37;
  color: #0A2E20;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.sepay-btn-toggle-qr.active,
.sepay-btn-toggle-qr:hover {
  background: #D4AF37;
  color: #051A12;
}

.sepay-bank-details-box {
  background: #FAF7F2;
  border: 1px dashed #D4AF37;
  border-radius: 12px;
  padding: 16px 20px;
  text-align: left;
  max-width: 480px;
  margin: 0 auto 20px;
  font-size: 0.88rem;
}

.sepay-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.sepay-detail-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sepay-detail-label {
  color: #5A6560;
  font-weight: 500;
}

.sepay-detail-value {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #0d271c;
}

.sepay-btn-copy-sm {
  background: #E8E2D5;
  border: none;
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 0.72rem;
  cursor: pointer;
  color: #0d271c;
  transition: all 0.2s;
}

.sepay-btn-copy-sm:hover {
  background: #D4AF37;
  color: #FFF;
}

.sepay-pulsing-detector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #128C7E;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.sepay-pulsing-detector .fa-spinner {
  animation: spin 1.2s infinite linear;
}

.sepay-verify-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #FFFFFF;
  font-family: 'Be Vietnam Pro', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 800;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
}

.sepay-verify-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* My Bookings List */
.my-bookings-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.my-booking-card {
  background: #FAF7F2;
  border: 1px solid #D5CEBF;
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.mb-service {
  font-family: 'Be Vietnam Pro', Georgia, serif;
  font-size: 1.05rem;
  color: #0d271c;
  margin-bottom: 4px;
}

.mb-meta {
  font-size: 0.82rem;
  color: #5A6560;
  line-height: 1.4;
}

.mb-status-badge {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 20px;
}

.status-paid {
  background: #E8F8EE;
  color: #25D366;
  border: 1px solid #B8E8C8;
}

.status-pending {
  background: #FEF7E6;
  color: #B8860B;
  border: 1px solid #F5DEB3;
}

/* ==========================================================================
   FLOATING SPEED DIAL DOCK BUTTONS (FACEBOOK, INSTAGRAM, TIKTOK, WHATSAPP, ZALO)
   ========================================================================== */
.orient-floating-dock {
  bottom: 25px;
  right: 20px;
  gap: 8px;
}

.orient-dock-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  text-decoration: none;
}

.dock-btn-facebook {
  background: #1877F2 !important;
  color: #FFFFFF !important;
  font-size: 1.15rem;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.45) !important;
}

.dock-btn-facebook:hover {
  background: #1464cc !important;
  transform: scale(1.12);
}

.dock-btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  color: #FFFFFF !important;
  font-size: 1.15rem;
  box-shadow: 0 4px 14px rgba(220, 39, 67, 0.45) !important;
}

.dock-btn-instagram:hover {
  filter: brightness(1.15);
  transform: scale(1.12);
}

.dock-btn-tiktok {
  background: #000000 !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: -2px -2px 8px rgba(0, 242, 234, 0.5), 2px 2px 8px rgba(255, 0, 79, 0.5) !important;
}

.dock-btn-tiktok:hover {
  transform: scale(1.12);
  box-shadow: -3px -3px 12px rgba(0, 242, 234, 0.7), 3px 3px 12px rgba(255, 0, 79, 0.7) !important;
}

.dock-btn-whatsapp {
  background: #25D366 !important;
  color: #FFFFFF !important;
  font-size: 1.2rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45) !important;
}

.dock-btn-whatsapp:hover {
  background: #1fa851 !important;
  transform: scale(1.12);
}

.dock-btn-zalo {
  background: #0068FF !important;
  color: #FFFFFF !important;
  font-weight: 800;
  font-size: 0.68rem;
  box-shadow: 0 4px 14px rgba(0, 104, 255, 0.45) !important;
}

.dock-btn-zalo:hover {
  background: #0053cc !important;
  transform: scale(1.12);
}

.dock-btn-kakao {
  background: #FFE812 !important;
  color: #3C1E1E !important;
  font-weight: 800;
  font-size: 0.65rem;
  box-shadow: 0 4px 14px rgba(255, 232, 18, 0.4) !important;
}

/* Social Follow Buttons in Section Guests */
.btn-social-follow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 25px;
  font-family: 'Be Vietnam Pro', Georgia, serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: #FFFFFF !important;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.btn-social-follow:hover {
  transform: translateY(-2px);
  filter: brightness(1.12);
}

.btn-follow-fb {
  background: #1877F2;
}

.btn-follow-insta {
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
}

.btn-follow-tiktok {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: -2px -2px 6px rgba(0, 242, 234, 0.5), 2px 2px 6px rgba(255, 0, 79, 0.5);
}

.btn-follow-wa {
  background: #25D366;
}

.footer-social-fb:hover {
  background: #1877F2 !important;
  border-color: #1877F2 !important;
  color: #FFF !important;
}

.footer-social-tiktok:hover {
  background: #000000 !important;
  border-color: #00f2ea !important;
  color: #FFF !important;
  box-shadow: -2px -2px 6px rgba(0, 242, 234, 0.5), 2px 2px 6px rgba(255, 0, 79, 0.5) !important;
}

.footer-social-wa:hover {
  background: #25D366 !important;
  border-color: #25D366 !important;
  color: #FFF !important;
}

/* ==========================================================================
   DESKTOP HEADER AUTH & USER DROPDOWN (YÊU CẦU 2)
   ========================================================================== */
.header-auth-item {
  position: relative;
  display: flex;
  align-items: center;
}

.header-auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(212, 175, 55, 0.12);
  border: 1.5px solid var(--color-gold);
  border-radius: 20px;
  padding: 6px 14px;
  color: #123023;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.header-auth-btn i {
  color: #B38E22;
  font-size: 1rem;
}

.header-auth-btn:hover {
  background: var(--color-gold);
  color: #123023;
  box-shadow: 0 3px 12px rgba(212, 175, 55, 0.35);
}

.header-user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #11281E;
  border: 1px solid var(--color-gold);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  min-width: 220px;
  z-index: 1050;
  overflow: hidden;
}

.user-dd-header {
  padding: 12px 16px;
  background: rgba(212, 175, 55, 0.1);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-dd-avatar {
  font-size: 1.6rem;
  color: #ECC876;
}

.user-dd-info {
  display: flex;
  flex-direction: column;
}

.user-dd-info strong {
  color: #FFFFFF;
  font-size: 0.88rem;
}

.user-dd-badge {
  color: #ECC876;
  font-size: 0.72rem;
}

.user-dd-body {
  padding: 8px 0;
}

.user-dd-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  color: #ECE5D8;
  font-size: 0.82rem;
  width: 100%;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  border: none;
}

.user-dd-link:hover {
  background: rgba(212, 175, 55, 0.15);
  color: #D4AF37;
}

.user-dd-link.dd-logout {
  color: #FF8A80;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 4px;
}

/* ==========================================================================
   MOBILE AUTHENTICATION CONTROLS (YÊU CẦU 2: HIỂN THỊ TRÊN GIAO DIỆN ĐIỆN THOẠI)
   ========================================================================== */
.mobile-header-right-group {
  display: none;
}

.mobile-header-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #7DA37C 0%, #698F68 100%);
  border: 1.5px solid #ECC876;
  border-radius: 20px;
  padding: 5px 11px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(125, 163, 124, 0.4);
}

.mobile-header-book-btn i {
  color: #ECC876;
  font-size: 0.88rem;
}

.mobile-header-book-btn:active {
  transform: scale(0.96);
}

.mobile-header-auth-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18) 0%, rgba(212, 175, 55, 0.32) 100%);
  border: 1.5px solid var(--color-gold);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #123023;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.mobile-header-auth-pill i {
  color: #B38E22;
  font-size: 0.95rem;
}

.mobile-header-auth-pill:active {
  background: var(--color-gold);
}

/* Mobile User Dropdown Panel (Giao diện đồng nhất 100% với Web) */
.mobile-dropdown-panel {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  width: 230px !important;
  background: #11281E !important;
  border: 1px solid var(--color-gold) !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6) !important;
  z-index: 99999 !important;
  overflow: hidden !important;
}

/* Dedicated Mobile Booking Header Strip (Mục đặt lịch riêng nằm ở trên tiêu đề) */
.mobile-booking-header-strip {
  display: none;
  background: linear-gradient(90deg, #10261D 0%, #17382B 50%, #10261D 100%);
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.45);
  padding: 8px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  position: relative;
  z-index: 50;
  cursor: pointer;
}

.mobile-booking-header-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  padding: 8px 12px;
  transition: all 0.2s ease;
}

.mobile-booking-header-card:active {
  background: rgba(212, 175, 55, 0.15);
}

.mbh-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mbh-icon-pulse {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4AF37 0%, #ECC876 100%);
  color: #123023;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.55);
  animation: mbhPulse 2s infinite ease-in-out;
}

@keyframes mbhPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(212, 175, 55, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.mbh-text {
  min-width: 0;
}

.mbh-tag {
  font-size: 0.67rem;
  color: #ECC876;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.mbh-title {
  font-size: 0.84rem;
  color: #FFFFFF;
  font-weight: 700;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.mbh-sub {
  font-size: 0.72rem;
  color: #B4C6BF;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mbh-action-btn {
  background: linear-gradient(135deg, #D4AF37 0%, #ECC876 100%);
  color: #123023;
  border: none;
  border-radius: 18px;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.35);
  white-space: nowrap;
  cursor: pointer;
}

/* Security & Benefit Badges */
.auth-security-badge-note {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  padding: 8px 12px;
  margin: 10px 0;
  font-size: 0.78rem;
  color: #ECC876;
  line-height: 1.4;
}

.reg-customer-benefit-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: 8px;
  padding: 8px 12px;
  margin: 10px 0;
  font-size: 0.78rem;
  color: #DDE5E1;
  line-height: 1.4;
}

/* Hero Mobile CTA Button */
.hero-mobile-cta-wrap {
  display: none;
}

@media (max-width: 768px) {
  .mobile-booking-header-strip {
    display: block !important;
  }
  
  /* ẨN HOÀN TOÀN KHỐI ĐẶT LỊCH TO TRÊN ĐIỆN THOẠI ĐỂ KHÔNG CHE MÀN HÌNH */
  .hero-booking-box {
    display: none !important;
  }
  
  .hero-mobile-cta-wrap {
    display: block !important;
    text-align: center;
    margin-top: 14px;
    z-index: 10;
    position: relative;
  }
  
  .hero-mobile-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #7DA37C 0%, #698F68 100%);
    color: #FFFFFF;
    border: 1.5px solid #ECC876;
    border-radius: 24px;
    padding: 10px 22px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    cursor: pointer;
  }
  
  .hero-mobile-cta-btn:active {
    transform: scale(0.97);
  }
  
  .hero-orient-style {
    min-height: 520px !important;
    padding: 40px 16px 28px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: center !important;
  }
  
  .hero-welcome-text {
    font-size: 0.95rem !important;
    margin-bottom: 0 !important;
    text-align: center;
  }
  .menu-tabs-wrapper {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    padding: 6px 4px 12px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin;
  }
  .menu-tab-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }
}

/* ==========================================================================
   MOBILE & TOUCH ENHANCEMENTS FOR AUTH & ALL MODALS
   ========================================================================== */
.modal-overlay.active,
#auth-modal.active,
#google-auth-modal.active,
#my-bookings-modal.active,
#booking-modal.active,
#menu-board-modal.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 99999 !important;
}

@media (max-width: 600px) {
  .modal-overlay {
    padding: 12px 10px !important;
  }

  .modal-box {
    width: 96% !important;
    max-height: 92vh !important;
    border-radius: 12px !important;
  }

  .modal-box-auth {
    max-width: 100% !important;
    margin: auto !important;
  }

  .modal-header {
    padding: 14px 16px !important;
  }

  .modal-title {
    font-size: 0.98rem !important;
  }

  .modal-body.auth-modal-body {
    padding: 16px 14px 20px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .auth-tabs-nav {
    margin: -16px -14px 16px !important;
    display: flex !important;
  }

  .auth-tab-btn {
    padding: 12px 4px !important;
    font-size: 0.76rem !important;
    gap: 4px !important;
    white-space: nowrap !important;
  }

  .auth-tab-btn i {
    font-size: 0.82rem !important;
  }

  .modal-form-row {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  /* Prevent iOS Safari from auto-zooming input fields */
  .modal-input,
  .hero-custom-time-input,
  select.modal-input {
    font-size: 16px !important;
    padding: 11px 12px !important;
  }

  .btn-social-google {
    padding: 11px 10px !important;
    font-size: 0.85rem !important;
  }

  .auth-presets-box {
    padding: 10px 8px !important;
  }

  .auth-presets-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 6px !important;
  }

  .auth-preset-btn {
    padding: 6px 3px !important;
    font-size: 0.67rem !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .mobile-auth-strip {
    z-index: 100 !important;
  }

  .mobile-auth-bar-btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(212, 175, 55, 0.3);
  }
}

/* ========================================================================= */
/* MOBILE SERVICES & PRODUCTS CATALOGUE DRAWER (MENU 3 VẠCH CHO MOBILE) */
/* ========================================================================= */
.mobile-services-drawer {
  position: fixed;
  inset: 0;
  z-index: 10000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.mobile-services-drawer.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.ms-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.ms-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 480px;
  background: #051A12;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 35px rgba(0, 0, 0, 0.7);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.mobile-services-drawer.active .ms-drawer-panel {
  transform: translateX(0);
}

.ms-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: #0A2419;
  border-bottom: 2px solid var(--color-gold);
  flex-shrink: 0;
}

.ms-drawer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ms-drawer-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--color-gold);
  object-fit: contain;
  background: #FFFFFF;
  padding: 2px;
}

.ms-drawer-title {
  margin: 0;
  font-family: var(--font-playfair);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.5px;
}

.ms-drawer-sub {
  font-size: 0.72rem;
  color: #A3B5AD;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.ms-drawer-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #FFFFFF;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s ease;
}

.ms-drawer-close:hover {
  background: var(--color-gold);
  color: #051A12;
}

/* Promo Banner */
.ms-drawer-promo-banner {
  background: linear-gradient(90deg, #123023 0%, #1A4633 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ms-promo-badge {
  background: linear-gradient(135deg, #ECC876, #D4AF37);
  color: #051A12;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.ms-promo-text {
  font-size: 0.78rem;
  color: #DDE5E1;
  line-height: 1.3;
}

.ms-promo-text strong {
  color: #ECC876;
}

/* Category Filter Tabs */
.ms-drawer-tabs-wrap {
  background: #071E15;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 14px;
  flex-shrink: 0;
}

.ms-drawer-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}

.ms-drawer-tabs::-webkit-scrollbar {
  display: none;
}

.ms-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #DDE5E1;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.ms-tab-btn:hover,
.ms-tab-btn.active {
  background: linear-gradient(135deg, #ECC876, #D4AF37);
  border-color: #ECC876;
  color: #051A12;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* Drawer Body & Service Cards */
.ms-drawer-body {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ms-service-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ms-service-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.ms-service-thumb {
  width: 82px;
  height: 82px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  background: #0A2419;
}

.ms-service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ms-service-card:hover .ms-service-thumb img {
  transform: scale(1.08);
}

.ms-service-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.badge-hot {
  background: #E53935;
  color: #FFF;
}

.badge-vip {
  background: linear-gradient(135deg, #ECC876, #D4AF37);
  color: #051A12;
}

.badge-popular {
  background: #128C7E;
  color: #FFF;
}

.ms-service-content {
  flex: 1 1 auto;
  min-width: 0;
}

.ms-service-name {
  margin: 0 0 4px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
}

.ms-service-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  flex-wrap: wrap;
}

.ms-service-duration {
  font-size: 0.72rem;
  color: #A3B5AD;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.ms-service-tag {
  font-size: 0.68rem;
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.3);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.ms-service-desc {
  margin: 0 0 8px;
  font-size: 0.74rem;
  color: #8E9E96;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ms-service-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.ms-service-pricing {
  display: flex;
  flex-direction: column;
}

.ms-price-original {
  font-size: 0.72rem;
  color: #7A8B83;
  text-decoration: line-through;
  line-height: 1.1;
}

.ms-price-discounted {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ECC876;
  line-height: 1.2;
}

.ms-price-discounted small {
  font-size: 0.68rem;
  color: #25D366;
  font-weight: 700;
}

.ms-btn-book {
  background: linear-gradient(135deg, #ECC876 0%, #D4AF37 100%);
  color: #051A12;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ms-btn-book:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

/* Drawer Footer */
.ms-drawer-footer {
  background: #071E15;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 18px;
  flex-shrink: 0;
}

.ms-drawer-quicklinks {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.78rem;
}

.ms-qlink {
  color: #DDE5E1;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease;
}

.ms-qlink:hover {
  color: var(--color-gold);
}

.ms-drawer-lang-selector {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 10px;
}

.ms-lang-label {
  display: block;
  font-size: 0.72rem;
  color: #A3B5AD;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ms-lang-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.ms-lang-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #DDE5E1;
  padding: 4px 9px;
  border-radius: 4px;
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ms-lang-pill.active,
.ms-lang-pill:hover {
  background: var(--color-gold);
  color: #051A12;
  font-weight: 700;
  border-color: var(--color-gold);
}

/* ========================================================================= */
/* AFFILIATE SYSTEM - THEO CHUẨN 100% GIAO DIỆN ẢNH THAM CHIẾU (IMAGE 1 & 2)  */
/* ========================================================================= */

:root {
  --aff-primary: #123826;
  --aff-primary-dark: #0A2518;
  --aff-primary-light: #EBF4EE;
  --aff-gold: #D4AF37;
  --aff-gold-hover: #C59F2D;
  --aff-gold-light: #FDF9EE;
  --aff-gold-border: rgba(212, 175, 55, 0.35);
  --aff-navy-title: #0A2518;
  --aff-gray-text: #4E6054;
  --aff-gray-sub: #7D8F84;
  --aff-border: #E2E8E4;
  --aff-bg-card: #FFFFFF;
  --aff-bg-page: #F6F8F6;
  --aff-green: #15803D;
  --aff-orange: #D4AF37;
  --aff-orange-hover: #C59F2D;
  --aff-orange-light: #FDF9EE;
  --aff-blue-dark: #123826;
}

/* Page wrapper for affiliate.html */
.aff-page-body {
  background-color: var(--aff-bg-page);
  color: #1A2E22;
  font-family: 'Arimo', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.aff-topbar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--aff-border);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 18px rgba(18, 56, 38, 0.04);
}

.aff-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.aff-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.aff-brand-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--aff-gold-border);
}

.aff-brand-text {
  display: flex;
  flex-direction: column;
}

.aff-brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--aff-primary);
  letter-spacing: 0.5px;
  font-family: 'Arimo', sans-serif;
}

.aff-brand-sub {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--aff-gold);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.aff-topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.aff-btn-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: var(--aff-primary-light);
  color: var(--aff-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.aff-btn-home:hover {
  background: #DCEAE1;
  color: var(--aff-primary-dark);
}

.aff-mode-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--aff-primary) 0%, #1A4D35 100%);
  color: #ECC876;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid var(--aff-gold-border);
  cursor: pointer;
  transition: all 0.2s ease;
}

.aff-mode-switch-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(18, 56, 38, 0.25);
  background: linear-gradient(135deg, #18442F 0%, #226042 100%);
}

/* Container */
.aff-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 36px 20px 80px;
}

/* ========================================================================= */
/* VIEW 1: TRANG / MỤC ĐĂNG KÝ AFFILIATE                                    */
/* ========================================================================= */

/* 3 Benefit Cards Grid */
.aff-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.aff-benefit-card {
  background: var(--aff-bg-card);
  border: 1px solid var(--aff-border);
  border-radius: 20px;
  padding: 26px 24px;
  box-shadow: 0 6px 20px rgba(18, 56, 38, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.aff-benefit-card:hover {
  transform: translateY(-3px);
  border-color: var(--aff-gold-border);
  box-shadow: 0 10px 28px rgba(18, 56, 38, 0.08);
}

.aff-benefit-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--aff-primary-light);
  color: var(--aff-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
  border: 1px solid rgba(18, 56, 38, 0.1);
}

.aff-benefit-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--aff-navy-title);
  margin: 0 0 8px 0;
  font-family: 'Be Vietnam Pro', serif;
}

.aff-benefit-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--aff-gray-text);
  margin: 0;
}

/* Commission Calculator Box */
.aff-calc-box {
  background: linear-gradient(135deg, #0A2518 0%, #123826 100%);
  border: 1px solid var(--aff-gold-border);
  border-radius: 22px;
  padding: 30px;
  color: #FFFFFF;
  margin-bottom: 36px;
  box-shadow: 0 12px 36px rgba(10, 37, 24, 0.25);
}

.aff-calc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding-bottom: 16px;
}

.aff-calc-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--aff-gold);
  margin-bottom: 4px;
}

.aff-calc-title {
  font-family: 'Be Vietnam Pro', serif;
  font-size: 1.45rem;
  margin: 0;
  color: #FFFFFF;
}

.aff-calc-rate-pill {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--aff-gold-border);
  color: #ECC876;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.9rem;
}

.aff-calc-body {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
}

.aff-calc-slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: #DDE5E0;
}

.aff-calc-slider-label strong {
  font-size: 1.3rem;
  color: #ECC876;
}

.aff-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.aff-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--aff-gold);
  border: 3px solid #0A2518;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
  cursor: pointer;
}

.aff-calc-hints {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #9CB5A6;
  margin-top: 8px;
}

.aff-calc-note {
  margin-top: 18px;
  font-size: 0.82rem;
  color: #B5CCC0;
  line-height: 1.45;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 14px;
  border-radius: 10px;
}

.aff-calc-result-col {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 16px;
  padding: 20px 22px;
}

.aff-calc-res-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.92rem;
  color: #DDE5E0;
}

.aff-calc-res-item.highlight {
  border-top: 1px dashed rgba(212, 175, 55, 0.3);
  padding-top: 12px;
  margin-top: 12px;
}

.aff-calc-res-val {
  font-size: 1.15rem;
  color: #FFFFFF;
}

.aff-calc-res-val.gold {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ECC876;
}

.aff-calc-res-tier {
  margin-top: 14px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--aff-gold-border);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  color: #ECC876;
  text-align: center;
}

/* Center Form Card */
.aff-form-wrapper {
  display: flex;
  justify-content: center;
}

.aff-form-card {
  width: 100%;
  max-width: 520px;
  background: var(--aff-bg-card);
  border: 1px solid var(--aff-border);
  border-radius: 24px;
  padding: 34px 32px;
  box-shadow: 0 12px 36px rgba(18, 56, 38, 0.06);
}

/* Tab Switcher: [ Đăng ký Affiliate ] | [ Đăng nhập ] */
.aff-auth-tabs {
  display: flex;
  background: #EEF2EF;
  border-radius: 9999px;
  padding: 4px;
  margin-bottom: 24px;
}

.aff-auth-tab-btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--aff-gray-text);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.aff-auth-tab-btn.active {
  background: var(--aff-primary);
  color: #ECC876;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(18, 56, 38, 0.3);
}

/* Google Sign-in button */
.aff-btn-google {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid var(--aff-border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.aff-btn-google:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  transform: translateY(-1px);
}

.aff-google-icon {
  width: 20px;
  height: 20px;
}

/* Or divider */
.aff-divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
  color: var(--aff-gray-sub);
  font-size: 0.85rem;
}

.aff-divider::before,
.aff-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--aff-border);
}

.aff-divider span {
  padding: 0 12px;
}

/* Input groups */
.aff-input-group {
  margin-bottom: 16px;
}

.aff-input-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--aff-navy-title);
  margin-bottom: 6px;
}

.aff-input-label .aff-hint-gold {
  color: var(--aff-gold);
  font-weight: 600;
  font-size: 0.82rem;
}

.aff-input-field {
  width: 100%;
  padding: 12px 14px;
  background: #FFFFFF;
  border: 1px solid var(--aff-border);
  border-radius: 10px;
  font-size: 0.95rem;
  color: #0F172A;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.aff-input-field:focus {
  border-color: var(--aff-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.aff-input-field::placeholder {
  color: #94A3B8;
}

/* Primary Submit Button */
.aff-btn-submit {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid var(--aff-gold-border);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--aff-primary) 0%, #1A4D35 100%);
  color: #ECC876;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 12px;
  transition: all 0.2s ease;
  box-shadow: 0 6px 18px rgba(18, 56, 38, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.aff-btn-submit:hover {
  background: linear-gradient(135deg, #18442F 0%, #226042 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(18, 56, 38, 0.35);
}

/* Floating Cookie Notice at Bottom-Left */
.aff-cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 440px;
  background: #FFFFFF;
  border: 1px solid var(--aff-gold-border);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 12px 36px rgba(18, 56, 38, 0.15);
  z-index: 9990;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  animation: affSlideUp 0.3s ease;
}

@keyframes affSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.aff-cookie-icon {
  font-size: 1.4rem;
  color: var(--aff-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.aff-cookie-text {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--aff-gray-text);
  margin-bottom: 10px;
}

.aff-cookie-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.aff-btn-cookie-deny {
  padding: 6px 14px;
  border: 1px solid var(--aff-border);
  border-radius: 9999px;
  background: #FFFFFF;
  color: var(--aff-gray-text);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.aff-btn-cookie-deny:hover {
  background: #F1F5F9;
}

.aff-btn-cookie-accept {
  padding: 6px 16px;
  border: none;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--aff-primary) 0%, #1A4D35 100%);
  color: #ECC876;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid var(--aff-gold-border);
}

.aff-btn-cookie-accept:hover {
  background: linear-gradient(135deg, #18442F 0%, #226042 100%);
}

.aff-btn-large {
  padding: 10px 22px;
  font-size: 0.95rem;
}

/* ========================================================================= */
/* VIEW 2: TRANG DASHBOARD QUẢN LÝ AFFILIATE                                 */
/* ========================================================================= */

/* Header section */
.aff-dash-header {
  border: 1px solid var(--aff-gold-border);
  border-radius: 18px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F9FBF9 100%);
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 6px 24px rgba(18, 56, 38, 0.05);
}

.aff-dash-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #123826;
  background: var(--aff-gold-light);
  border: 1px solid var(--aff-gold-border);
  padding: 4px 10px;
  border-radius: 9999px;
  margin-bottom: 6px;
}

.aff-dash-header-info {
  display: flex;
  flex-direction: column;
}

.aff-dash-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--aff-primary);
  margin: 0;
  letter-spacing: -0.5px;
  font-family: 'Be Vietnam Pro', serif;
}

.aff-dash-sub {
  font-size: 0.92rem;
  color: var(--aff-gray-text);
  margin-top: 4px;
  font-weight: 500;
}

.aff-dash-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.aff-btn-copy-ref {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: var(--aff-gold-light);
  color: #9A7516;
  border: 1px solid var(--aff-gold-border);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.aff-btn-copy-ref:hover {
  background: var(--aff-gold);
  color: #123826;
}

.aff-btn-payout-quick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--aff-primary) 0%, #1A4D35 100%);
  color: #ECC876;
  border: 1px solid var(--aff-gold-border);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.aff-btn-payout-quick:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(18, 56, 38, 0.2);
}

.aff-btn-logout {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 9999px;
  background: #F1F5F9;
  color: #475569;
  border: 1px solid var(--aff-border);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.aff-btn-logout:hover {
  background: #E2E8F0;
  color: #0F172A;
}

/* Capsule Navigation Bar */
.aff-dash-capsule-nav {
  display: flex;
  align-items: center;
  background: #EEF2EF;
  border-radius: 9999px;
  padding: 6px;
  margin-bottom: 28px;
  overflow-x: auto;
  gap: 4px;
  scrollbar-width: none;
}

.aff-dash-capsule-nav::-webkit-scrollbar {
  display: none;
}

.aff-nav-pill {
  padding: 9px 18px;
  border: none;
  border-radius: 9999px;
  background: transparent;
  color: var(--aff-gray-text);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.aff-nav-pill.active {
  background: linear-gradient(135deg, var(--aff-primary) 0%, #1A4D35 100%);
  color: #ECC876;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(18, 56, 38, 0.25);
  border: 1px solid var(--aff-gold-border);
}

.aff-nav-pill:not(.active):hover {
  background: #E2E8E4;
  color: var(--aff-primary);
}

/* 4 Metric Stat Cards */
.aff-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.aff-stat-box {
  background: var(--aff-bg-card);
  border: 1px solid var(--aff-border);
  border-radius: 20px;
  padding: 22px 20px;
  box-shadow: 0 4px 18px rgba(18, 56, 38, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.aff-stat-box:hover {
  transform: translateY(-2px);
  border-color: var(--aff-gold-border);
}

.aff-stat-box.highlight-box {
  border-color: var(--aff-gold-border);
  background: linear-gradient(135deg, #FFFFFF 0%, #FDFBF5 100%);
}

.aff-stat-top-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--aff-gray-text);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
}

.aff-stat-top-label .stat-icon {
  color: var(--aff-gold);
  font-size: 1rem;
}

.aff-stat-big-val {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  color: var(--aff-primary);
}

.aff-stat-big-val.val-gold {
  color: #B88E18;
}

.aff-stat-big-val.val-green {
  color: var(--aff-green);
}

.aff-stat-sub-label {
  font-size: 0.82rem;
  color: var(--aff-gray-sub);
}

/* Performance Section */
.aff-performance-card {
  background: var(--aff-bg-card);
  border: 1px solid var(--aff-border);
  border-radius: 20px;
  padding: 26px 28px;
  box-shadow: 0 4px 18px rgba(18, 56, 38, 0.03);
  margin-bottom: 28px;
}

.aff-perf-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}

.aff-perf-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--aff-navy-title);
  margin: 0;
  font-family: 'Be Vietnam Pro', serif;
}

.aff-perf-title i {
  color: var(--aff-gold);
}

.aff-perf-sub {
  font-size: 0.95rem;
  color: var(--aff-gray-text);
  margin-top: 6px;
}

.aff-perf-sub strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--aff-primary);
}

.aff-time-pills {
  display: flex;
  background: #EEF2EF;
  border-radius: 9999px;
  padding: 3px;
  gap: 3px;
}

.aff-time-pill {
  padding: 6px 14px;
  border: none;
  border-radius: 9999px;
  background: transparent;
  color: var(--aff-gray-text);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.aff-time-pill.active {
  background: var(--aff-primary);
  color: #ECC876;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(18, 56, 38, 0.25);
}

.aff-chart-wrapper {
  width: 100%;
  height: 220px;
  position: relative;
  background: #FAFBF9;
  border: 1px dashed var(--aff-border);
  border-radius: 14px;
  padding: 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.aff-chart-svg {
  width: 100%;
  height: 160px;
  overflow: visible;
}

.aff-chart-x-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--aff-gray-sub);
  font-weight: 600;
  padding: 0 10px;
}

/* Quick Action Banner */
.aff-action-banner {
  background: linear-gradient(135deg, #123826 0%, #1A4D35 100%);
  border: 1px solid var(--aff-gold-border);
  border-radius: 18px;
  padding: 22px 28px;
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
  box-shadow: 0 8px 24px rgba(18, 56, 38, 0.15);
}

.aff-action-banner-text h3 {
  margin: 0 0 6px 0;
  font-size: 1.15rem;
  color: #ECC876;
  font-family: 'Be Vietnam Pro', serif;
}

.aff-action-banner-text p {
  margin: 0;
  font-size: 0.88rem;
  color: #D3E0D8;
  max-width: 600px;
}

.aff-btn-banner {
  padding: 10px 22px;
  border-radius: 9999px;
  background: var(--aff-gold);
  color: #123826;
  font-weight: 700;
  font-size: 0.88rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.aff-btn-banner:hover {
  background: #ECC876;
  transform: translateY(-1px);
}

/* Tab Panes */
.aff-dash-tab-pane {
  display: none;
  animation: affFadeIn 0.25s ease;
}

.aff-dash-tab-pane.active {
  display: block;
}

@keyframes affFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tab 2: Sales Tools (Công cụ bán) */
.aff-tools-card {
  background: #FFFFFF;
  border: 1px solid var(--aff-border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 18px rgba(18, 56, 38, 0.03);
}

.aff-tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.aff-tool-box {
  background: #F8FAF8;
  border: 1px solid var(--aff-border);
  border-radius: 18px;
  padding: 22px;
}

.aff-tool-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--aff-navy-title);
  margin-top: 0;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Be Vietnam Pro', serif;
}

.aff-tool-title i {
  color: var(--aff-gold);
}

.aff-tool-desc {
  font-size: 0.88rem;
  color: var(--aff-gray-text);
  margin-bottom: 14px;
  line-height: 1.45;
}

.aff-link-copy-group {
  display: flex;
  gap: 8px;
  margin-top: 6px;
  margin-bottom: 16px;
}

.aff-link-display-input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--aff-border);
  background: #FFFFFF;
  font-size: 0.88rem;
  color: #0F172A;
  font-family: monospace;
}

.aff-qr-center-box {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 14px;
  background: #FFFFFF;
  border: 1px solid var(--aff-border);
  border-radius: 14px;
  padding: 16px;
}

.aff-qr-preview-img {
  width: 130px;
  height: 130px;
  border-radius: 10px;
  border: 1px solid var(--aff-gold-border);
  padding: 4px;
  background: #FFFFFF;
}

.aff-qr-info {
  flex: 1;
}

.aff-qr-code-row {
  font-weight: 700;
  color: var(--aff-navy-title);
  margin-bottom: 6px;
}

.aff-code-pill {
  color: #9A7516;
  background: var(--aff-gold-light);
  border: 1px solid var(--aff-gold-border);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.85rem;
}

.aff-qr-hint {
  font-size: 0.8rem;
  color: var(--aff-gray-text);
  margin-bottom: 12px;
  line-height: 1.4;
}

.aff-btn-download-qr {
  padding: 6px 14px;
  border-radius: 9999px;
  background: var(--aff-primary-light);
  color: var(--aff-primary);
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid rgba(18, 56, 38, 0.15);
  cursor: pointer;
  transition: all 0.2s ease;
}

.aff-btn-download-qr:hover {
  background: var(--aff-primary);
  color: #ECC876;
}

.aff-share-buttons-row {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.aff-btn-social {
  padding: 8px 14px;
  border: none;
  border-radius: 9999px;
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease;
}

.aff-btn-social:hover {
  transform: translateY(-1px);
}

.btn-zalo { background: #0068FF; }
.btn-whatsapp { background: #25D366; }
.btn-fb { background: #1877F2; }

.aff-msg-preview-card {
  background: #FFFFFF;
  border: 1px solid var(--aff-border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.85rem;
  color: #334155;
  line-height: 1.5;
  margin-top: 4px;
}

.aff-btn-copy-tpl {
  margin-top: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid var(--aff-border);
  background: #FFFFFF;
  color: var(--aff-navy-title);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.aff-btn-copy-tpl:hover {
  background: #EEF2EF;
}

/* Digital VIP Voucher Preview Box */
.aff-voucher-preview-box {
  background: #FDFBF7;
  border: 1px solid var(--aff-gold-border);
  border-radius: 18px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.aff-voucher-card {
  background: linear-gradient(135deg, #0A2518 0%, #123826 100%);
  border: 2px solid var(--aff-gold);
  border-radius: 16px;
  padding: 18px 20px;
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(10, 37, 24, 0.3);
  position: relative;
  overflow: hidden;
}

.aff-voucher-gold-band {
  font-size: 0.75rem;
  letter-spacing: 1px;
  font-weight: 800;
  color: #ECC876;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.aff-voucher-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.aff-voucher-discount {
  font-family: 'Be Vietnam Pro', serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #ECC876;
  line-height: 1;
}

.aff-voucher-sub {
  font-size: 0.75rem;
  color: #DDE5E0;
  margin-top: 4px;
  font-weight: 600;
}

.aff-voucher-address {
  font-size: 0.72rem;
  color: #9CB5A6;
  margin-top: 8px;
}

.aff-voucher-ref {
  font-size: 0.75rem;
  color: #ECC876;
  margin-top: 4px;
}

.aff-voucher-right {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.aff-voucher-right img {
  width: 75px;
  height: 75px;
  border-radius: 8px;
  background: #FFFFFF;
  padding: 3px;
}

.aff-voucher-right span {
  font-size: 0.65rem;
  color: #DDE5E0;
  margin-top: 4px;
}

.aff-voucher-actions h4 {
  margin: 0 0 6px 0;
  font-size: 1.1rem;
  color: var(--aff-navy-title);
  font-family: 'Be Vietnam Pro', serif;
}

.aff-voucher-actions p {
  margin: 0 0 16px 0;
  font-size: 0.88rem;
  color: var(--aff-gray-text);
  line-height: 1.45;
}

/* Tab 3: Vinh danh (Leaderboard) */
.aff-rank-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.aff-bonus-pill {
  font-size: 0.82rem;
  background: var(--aff-gold-light);
  color: #92400E;
  border: 1px solid var(--aff-gold-border);
  padding: 6px 14px;
  border-radius: 9999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.aff-rank-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.aff-rank-table th {
  background: #EEF2EF;
  text-align: left;
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--aff-navy-title);
  border-bottom: 1px solid var(--aff-border);
}

.aff-rank-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #EEF2EF;
  font-size: 0.92rem;
  color: #1E293B;
}

.aff-rank-medal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.85rem;
}

.aff-rank-1 { background: #FEF3C7; color: #D97706; }
.aff-rank-2 { background: #E2E8F0; color: #475569; }
.aff-rank-3 { background: #FFEDD5; color: #C2410C; }

/* Tab 4: Mạng Lưới (Network) */
.aff-network-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 14px;
}

.aff-btn-test-booking {
  padding: 9px 18px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #0A2518 0%, #123826 100%);
  color: #ECC876;
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid var(--aff-gold-border);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(18, 56, 38, 0.2);
}

.aff-btn-test-booking:hover {
  background: linear-gradient(135deg, #18442F 0%, #226042 100%);
  transform: translateY(-1px);
}

.aff-status-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
}

/* Tab 5: Đối tác (Partner Info & Policy) */
.aff-policy-box {
  background: #FFFFFF;
  border: 1px solid var(--aff-border);
  border-radius: 20px;
  padding: 30px;
  line-height: 1.6;
}

.aff-policy-item {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.aff-policy-item i {
  color: var(--aff-gold);
  font-size: 1.35rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Tab 6: Thanh toán (Payout & Banking) */
.aff-bank-card {
  background: #FFFFFF;
  border: 1px solid var(--aff-border);
  border-radius: 20px;
  padding: 30px;
}

.aff-payout-overview-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--aff-border);
}

.aff-payout-label {
  font-size: 0.82rem;
  color: var(--aff-gray-text);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.aff-payout-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--aff-green);
  margin-top: 4px;
}

/* Toast Notification Styles */
.aff-toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.aff-toast {
  pointer-events: auto;
  min-width: 320px;
  max-width: 440px;
  background: #FFFFFF;
  border: 1px solid var(--aff-gold-border);
  border-left: 5px solid var(--aff-gold);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(18, 56, 38, 0.15);
  animation: affToastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transition: all 0.3s ease;
}

.aff-toast.aff-toast-hide {
  opacity: 0;
  transform: translateX(30px);
}

.aff-toast-error {
  border-left-color: #EF4444;
}

.aff-toast-error .aff-toast-icon {
  color: #EF4444;
}

.aff-toast-info {
  border-left-color: #3B82F6;
}

.aff-toast-info .aff-toast-icon {
  color: #3B82F6;
}

.aff-toast-icon {
  font-size: 1.25rem;
  color: var(--aff-gold);
  flex-shrink: 0;
}

.aff-toast-text {
  font-size: 0.88rem;
  line-height: 1.45;
  color: #1E293B;
  font-weight: 500;
}

@keyframes affToastSlideIn {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Modals */
.aff-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 37, 24, 0.6);
  backdrop-filter: blur(4px);
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.aff-modal-box {
  background: #FFFFFF;
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  animation: affModalScale 0.25s ease;
}

@keyframes affModalScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.aff-modal-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--aff-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.aff-modal-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #94A3B8;
  cursor: pointer;
}

.aff-modal-close:hover {
  color: #0F172A;
}

.aff-modal-body {
  padding: 22px;
}

.aff-modal-footer {
  padding: 14px 22px;
  background: #F8FAF8;
  border-top: 1px solid var(--aff-border);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.aff-google-account-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.aff-google-account-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--aff-border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.aff-google-account-item:hover {
  background: #F8FAF8;
  border-color: var(--aff-gold);
}

.aff-account-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--aff-primary);
  color: #ECC876;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.aff-payout-bank-summary {
  background: #FFFFFF;
  border: 1px solid var(--aff-border);
  border-radius: 10px;
  padding: 12px;
  margin-top: 12px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .aff-benefits-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .aff-calc-body {
    grid-template-columns: 1fr;
  }

  .aff-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .aff-tools-grid {
    grid-template-columns: 1fr;
  }

  .aff-voucher-preview-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .aff-dash-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .aff-dash-title {
    font-size: 1.5rem;
  }

  .aff-stat-big-val {
    font-size: 1.8rem;
  }

  .aff-stats-row {
    grid-template-columns: 1fr;
  }

  .aff-cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: calc(100vw - 24px);
  }

  .aff-toast {
    min-width: calc(100vw - 48px);
    right: 24px;
    left: 24px;
  }
}

/* =========================================================================
   FREE GUEST PERKS SECTION (ĐẶC QUYỀN MIỄN PHÍ TẠI IVY LUXE SPA)
   ========================================================================= */
.free-perks-section {
  background: linear-gradient(135deg, #061A11 0%, #0D2E20 50%, #061A11 100%);
  padding: 50px 0 55px;
  position: relative;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: inset 0 2px 20px rgba(0, 0, 0, 0.4);
}

.free-perks-header {
  text-align: center;
  margin-bottom: 35px;
}

.free-perks-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 175, 55, 0.15);
  color: #ECC876;
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 5px 16px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.free-perks-heading {
  color: #FFFFFF;
  font-size: 2rem;
  font-weight: 800;
  font-family: 'Arimo', sans-serif;
  margin: 0 0 10px;
  letter-spacing: -0.5px;
}

.free-perks-sub {
  color: #A3B5AD;
  font-size: 1rem;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

.free-perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.free-perk-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
}

.free-perk-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 15px rgba(212, 175, 55, 0.15);
}

.free-perk-icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0.08) 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ECC876;
  font-size: 1.5rem;
  margin-bottom: 18px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.free-perk-card:hover .free-perk-icon-circle {
  background: linear-gradient(135deg, #ECC876 0%, #D4AF37 100%);
  color: #071F14;
  transform: scale(1.08) rotate(4deg);
}

.free-perk-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: #25D366;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.free-perk-title {
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 10px;
  font-family: 'Arimo', sans-serif;
}

.free-perk-desc {
  color: #CBD5E1;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

.free-perk-desc em {
  color: #ECC876;
  font-style: normal;
  font-weight: 600;
  font-size: 0.85rem;
}

@media (max-width: 992px) {
  .free-perks-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .free-perks-heading {
    font-size: 1.6rem;
  }
}



/* ==========================================================================
   OPTIMIZED LANGUAGE SELECTORS (TOP BAR, HEADER & FLOATING QUICK TOGGLE)
   ========================================================================== */

/* 1. TOP NOTICE BAR QUICK LANGUAGE SWITCHER */
.top-lang-quick-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 2px 7px;
  border-radius: 9999px;
  margin-right: 4px;
}

.top-lang-label {
  color: #ECC876;
  font-size: 0.72rem;
  font-weight: 600;
  margin-right: 3px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.top-lang-pill {
  background: transparent;
  border: none;
  color: #DDE5E1;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.top-lang-pill:hover {
  color: #FFF;
  background: rgba(212, 175, 55, 0.35);
}

.top-lang-pill.active {
  background: #ECC876;
  color: #071F14;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* 2. HEADER LUXURY LANGUAGE PICKER (PILL BUTTON & POPOVER) */
.header-lang-item {
  position: relative;
  flex-shrink: 0 !important;
  white-space: nowrap;
}

.header-lang-btn {
  background: #FFFFFF;
  border: 1.5px solid #D4AF37;
  border-radius: 9999px;
  padding: 5px 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.78rem;
  color: #071F14;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.header-lang-btn:hover {
  background: #FDF9EE;
  border-color: #ECC876;
  box-shadow: 0 3px 12px rgba(212, 175, 55, 0.35);
  transform: translateY(-1px);
}

.header-lang-btn .hl-flag {
  font-size: 1.05rem;
  line-height: 1;
}

.header-lang-btn .hl-code {
  font-family: var(--font-sans);
  letter-spacing: 0.5px;
}

.header-lang-btn .hl-arrow {
  font-size: 0.75rem;
  color: #D4AF37;
  transition: transform 0.25s ease;
}

.header-lang-picker.open .hl-arrow {
  transform: rotate(180deg);
}

.header-lang-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 8px;
  min-width: 195px;
  display: none;
  z-index: 1200;
  animation: fadeInDown 0.2s ease;
}

.header-lang-picker.open .header-lang-popover {
  display: block;
}

.hl-pop-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #888;
  padding: 6px 10px 4px;
  border-bottom: 1px solid #EEE;
  margin-bottom: 4px;
}

.hl-opt-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  color: #222;
  transition: all 0.15s ease;
}

.hl-opt-item:hover {
  background: #F7F5EE;
  color: var(--color-primary);
}

.hl-opt-item.active {
  background: #071F14;
  color: #ECC876;
}

.hl-opt-item .hl-opt-flag {
  font-size: 1.15rem;
}

.hl-opt-item .hl-check {
  margin-left: auto;
  font-size: 0.75rem;
  color: #ECC876;
  display: none;
}

.hl-opt-item.active .hl-check {
  display: block;
}

/* 3. FLOATING QUICK LANGUAGE TOGGLE */
.floating-lang-toggle {
  position: fixed;
  bottom: 85px;
  right: 20px;
  background: #071F14;
  border: 1.5px solid #ECC876;
  color: #ECC876;
  border-radius: 9999px;
  padding: 8px 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  z-index: 998;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.25s ease;
  user-select: none;
}

.floating-lang-toggle:hover {
  background: #ECC876;
  color: #071F14;
  border-color: #FFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(212, 175, 55, 0.45);
}

.floating-lang-toggle .fl-globe {
  font-size: 0.9rem;
}

.floating-lang-toggle .fl-flag {
  font-size: 1.1rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .top-lang-quick-switch {
    display: none !important;
  }
  .floating-lang-toggle {
    bottom: 75px;
    right: 15px;
    padding: 6px 12px;
    font-size: 0.76rem;
  }
}

/* =========================================================================
   XÁC NHẬN ĐĂNG KÝ QUA GMAIL & THÔNG BÁO ĐĂNG NHẬP
   ========================================================================= */
.auth-verify-panel {
  text-align: center;
  padding: 6px 4px 4px;
  animation: fadeIn 0.3s ease-out;
}
.auth-verify-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ECC876, #D4AF37, #A4791E);
  color: #16271F;
  font-size: 1.7rem;
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.35);
}
.auth-verify-title {
  font-family: 'Be Vietnam Pro', serif;
  font-size: 1.15rem;
  letter-spacing: 1px;
  color: #16271F;
  margin: 0 0 8px;
}
.auth-verify-text {
  font-size: 0.92rem;
  color: #33413A;
  line-height: 1.55;
  margin: 0 0 14px;
}
.auth-verify-text strong {
  color: #16271F;
  word-break: break-all;
}
.auth-verify-steps {
  text-align: left;
  background: #F8F5EC;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 10px;
  padding: 12px 14px 12px 32px;
  margin: 0 0 16px;
  font-size: 0.84rem;
  color: #33413A;
  line-height: 1.55;
}
.auth-verify-steps li + li {
  margin-top: 6px;
}
.auth-verify-open-gmail {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-decoration: none;
  box-sizing: border-box;
}
.auth-verify-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  margin-top: 14px;
}
.auth-verify-link-btn {
  background: none;
  border: none;
  padding: 4px 2px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  color: #8A6A16;
  cursor: pointer;
}
.auth-verify-link-btn:hover {
  color: #16271F;
  text-decoration: underline;
}
.auth-verify-link-btn:disabled {
  color: #9AA59F;
  cursor: default;
  text-decoration: none;
}
.auth-login-notice {
  border-radius: 8px;
  padding: 11px 14px;
  margin: 0 0 14px;
  font-size: 0.86rem;
  line-height: 1.5;
  animation: fadeIn 0.3s ease-out;
}
.auth-login-notice.is-ok {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 160, 90, 0.45);
  color: #14532D;
}
.auth-login-notice.is-warn {
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(180, 140, 30, 0.5);
  color: #5C4510;
}
.auth-login-notice button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: #8A6A16;
  text-decoration: underline;
  cursor: pointer;
}
.modal-confirm-btn.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

/* =========================================================================
   CHỌN NGÔN NGỮ NỔI (LÁ CỜ + TAM GIÁC XỔ DANH SÁCH) & GOM NÚT LIÊN HỆ TRÊN ĐIỆN THOẠI
   ========================================================================= */
.floating-lang-wrap {
  position: fixed;
  left: 16px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 998;
}
.floating-lang-wrap .floating-lang-toggle {
  position: static;
  font-family: inherit;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}
.floating-lang-toggle .fl-caret {
  font-size: 0.85rem;
  margin-left: 2px;
  transition: transform 0.2s ease;
}
.floating-lang-wrap.open .fl-caret {
  transform: rotate(180deg);
}
.floating-lang-popover {
  display: none;
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  width: 236px;
  max-height: min(70vh, 420px);
  overflow-y: auto;
  background: #FFFFFF;
  border: 1.5px solid #D4AF37;
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  animation: flPopIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.floating-lang-wrap.open .floating-lang-popover {
  display: block;
}
@keyframes flPopIn {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.fl-pop-title {
  padding: 10px 14px 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #8C7B5D;
  background: #FDFBF7;
  border-bottom: 1px solid #EFE8DC;
  display: flex;
  align-items: center;
  gap: 6px;
}
.fl-opt-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 14px;
  background: none;
  border: none;
  border-bottom: 1px solid #F4EFE6;
  font-family: inherit;
  font-size: 0.92rem;
  color: #123023;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.fl-opt-item:last-child {
  border-bottom: none;
}
.fl-opt-item:hover,
.fl-opt-item:focus-visible {
  background: rgba(212, 175, 55, 0.12);
  outline: none;
}
.fl-opt-item.active {
  background: rgba(212, 175, 55, 0.18);
  font-weight: 700;
}
.fl-opt-flag {
  font-size: 1.3rem;
  line-height: 1;
}
.fl-opt-name {
  flex: 1;
}
.fl-opt-code {
  font-size: 0.75rem;
  color: #8C7B5D;
}
.fl-opt-check {
  display: none;
  color: #B38E22;
}
.fl-opt-item.active .fl-opt-check {
  display: inline-block;
}

/* Nút gom liên hệ: chỉ dùng trên điện thoại */
.orient-floating-dock .dock-btn-more {
  display: none;
  border: 1.5px solid #ECC876;
  background: #071F14;
  color: #ECC876;
  font-size: 1.15rem;
  padding: 0;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}
.dock-btn-more .dock-more-close {
  display: none;
}
.orient-floating-dock.dock-open .dock-btn-more .dock-more-open {
  display: none;
}
.orient-floating-dock.dock-open .dock-btn-more .dock-more-close {
  display: inline-block;
}

/* Máy tính: đã có nút chọn ngôn ngữ trên header → ẩn nút nổi */
@media (min-width: 992px) {
  .floating-lang-wrap {
    display: none;
  }
}

@media (max-width: 991px) {
  .floating-lang-wrap .floating-lang-toggle {
    padding: 9px 13px;
    font-size: 0.82rem;
  }
}

@media (max-width: 991px) {
  .orient-floating-dock {
    right: 12px !important;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    gap: 9px !important;
  }
  .orient-floating-dock .orient-dock-btn {
    width: 46px !important;
    height: 46px !important;
    order: 0;
  }
  /* Thu gọn: chỉ hiện Zalo, Gọi điện và nút mở thêm; bấm nút để xổ các kênh còn lại */
  .orient-floating-dock .orient-dock-btn:not(.dock-btn-more):not(.dock-btn-zalo):not(.dock-btn-phone) {
    display: none !important;
  }
  .orient-floating-dock.dock-open .orient-dock-btn:not(.dock-btn-more):not(.dock-btn-zalo):not(.dock-btn-phone) {
    display: flex !important;
    animation: flPopIn 0.2s ease;
  }
  .orient-floating-dock .dock-btn-more {
    display: flex;
    order: 1;
  }
  .orient-floating-dock .dock-btn-zalo {
    order: 2;
  }
  .orient-floating-dock .dock-btn-phone {
    order: 3;
  }
  .orient-floating-dock .dock-phone-pill {
    display: none !important;
  }
}

/* Thông báo nhỏ (đổi ngôn ngữ...) */
.ivy-toast {
  position: fixed;
  left: 50%;
  top: 92px;
  transform: translate(-50%, -12px);
  z-index: 100000;
  max-width: calc(100vw - 32px);
  padding: 10px 18px;
  border-radius: 9999px;
  background: #071F14;
  border: 1px solid #D4AF37;
  color: #ECC876;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ivy-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Chừa chỗ cuối trang cho nút ngôn ngữ & nút liên hệ nổi trên điện thoại */
@media (max-width: 991px) {
  body > footer,
  footer.main-footer,
  footer {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* =========================================================================
   MÁY TÍNH / MACBOOK (992px – 1439px): thu gọn thanh menu cho vừa màn hình
   ========================================================================= */
@media (min-width: 992px) and (max-width: 1439px) {
  .main-header .header-inner {
    gap: 10px;
  }
  .nav-menu-left,
  .nav-menu-right {
    gap: 9px !important;
    flex-wrap: nowrap !important;
    min-width: 0;
  }
  .nav-menu-left .nav-item-link,
  .nav-menu-right .nav-item-link {
    font-size: 11px !important;
    letter-spacing: 0.2px !important;
    white-space: nowrap;
  }
  .nav-menu-right .header-auth-btn {
    padding: 6px 10px !important;
    white-space: nowrap;
  }
  .nav-menu-right .header-auth-btn #header-auth-text {
    display: none;
  }
  .header-logo-center {
    flex: 0 0 auto;
  }
  .header-logo-center .header-logo-text {
    font-size: 0.76rem !important;
    letter-spacing: 1.4px !important;
  }
  .header-lang-popover {
    right: 0 !important;
    left: auto !important;
  }
}

/* Laptop nhỏ / iPad ngang (992px – 1199px): bỏ bớt mục phụ (vẫn có ở chân trang & menu dịch vụ) */
@media (min-width: 992px) and (max-width: 1199px) {
  .nav-menu-left > li:nth-child(4),
  .nav-menu-right > li:nth-child(3) {
    display: none !important;
  }
  .nav-menu-left .nav-item-link,
  .nav-menu-right .nav-item-link {
    font-size: 10.5px !important;
    letter-spacing: 0 !important;
  }
  .header-logo-center .header-logo-text {
    font-size: 0.76rem !important;
  }
}

/* Máy tính bảng dọc / cửa sổ MacBook thu nhỏ (769px – 991px): dùng thanh đầu trang kiểu điện thoại */
@media (min-width: 769px) and (max-width: 991px) {
  .nav-menu-left, .nav-menu-right {
    display: none !important;
  }
  .header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 20px !important;
    min-height: 60px !important;
    width: 100% !important;
  }
  .header-logo-center {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  .header-logo-img {
    width: 50px !important;
    height: 50px !important;
    margin: 0 0 0 34px !important;
  }
  .header-logo-text {
    font-size: 0.73rem !important;
    white-space: nowrap !important;
    line-height: 1.15 !important;
  }
  .header-logo-sub {
    white-space: nowrap !important;
  }
  .mobile-header-right-group {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex: 0 0 auto !important;
  }
  .mobile-header-auth-pill {
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1.5px solid var(--color-gold) !important;
    background: rgba(212, 175, 55, 0.18) !important;
  }
  .mobile-header-auth-pill span {
    display: none !important;
  }
  .mobile-header-auth-pill i {
    font-size: 1.2rem !important;
    color: #123023 !important;
    margin: 0 !important;
  }
  .mobile-nav-toggle {
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.3rem !important;
    color: #123023 !important;
  }
  .hero-booking-box {
    flex-wrap: wrap !important;
  }
  .hero-booking-field {
    flex: 1 1 45% !important;
    min-width: 0 !important;
  }
  .btn-book-now-green {
    flex: 1 1 100% !important;
    text-align: center;
  }
}

/* =========================================================================
   LOGO "IVYLUXE SPA & NAIL" (chữ = 1/2 cỡ gốc; dòng phụ co cho rộng bằng dòng chính – xem fitLogoSub trong app.js)
   ========================================================================= */
.header-logo-center .header-logo-text {
  font-size: 0.76rem;
  letter-spacing: 1.4px;
  white-space: nowrap;
}
.header-logo-center .header-logo-sub {
  white-space: nowrap;
  letter-spacing: 0.6px;
}
@media (max-width: 768px) {
  .header-logo-center .header-logo-text {
    font-size: 0.59rem !important;
    letter-spacing: 0.6px !important;
  }
}

/* =========================================================================
   NÚT CHỌN NGÔN NGỮ GÓC TRÊN BÊN PHẢI (thanh đen trên cùng) – điện thoại & máy tính bảng
   ========================================================================= */
.floating-lang-wrap.top-lang-wrap {
  position: relative;
  left: auto;
  bottom: auto;
  z-index: 1200;
  flex: 0 0 auto;
}
.top-lang-wrap .floating-lang-toggle {
  padding: 5px 10px !important;
  font-size: 0.78rem !important;
  gap: 5px;
  box-shadow: none;
}
.top-lang-wrap .floating-lang-toggle:hover {
  transform: none;
}
.top-lang-wrap .floating-lang-popover {
  top: calc(100% + 10px);
  bottom: auto;
  left: auto;
  right: 0;
}
.top-notice-actions {
  overflow: visible !important;
}
.top-notice-bar {
  position: relative;
  z-index: 1100;
  overflow: visible !important;
}
@media (max-width: 768px) {
  .top-lang-wrap .floating-lang-toggle .fl-globe {
    display: none;
  }
  .top-lang-wrap .floating-lang-toggle {
    padding: 4px 9px !important;
  }
}

/* =========================================================================
   ĐĂNG KÝ TƯ VẤN (LEADS)
   ========================================================================= */
.section-lead-capture {
  padding: 70px 0;
  background: linear-gradient(160deg, #071F14 0%, #0E3324 55%, #13402D 100%);
}
.lead-capture-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 36px;
  align-items: start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}
.lead-capture-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: #ECC876;
  border: 1px solid rgba(236, 200, 118, 0.5);
  border-radius: 9999px;
  padding: 5px 12px;
}
.lead-capture-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: #FFFFFF;
  margin: 14px 0 4px;
  line-height: 1.2;
}
.lead-capture-sub {
  color: #ECC876;
  font-size: 0.95rem;
  margin: 0 0 18px;
}
.lead-capture-points {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #DDE8E2;
  font-size: 0.92rem;
  line-height: 1.6;
}
.lead-capture-points li {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.lead-capture-points .fa {
  color: #ECC876;
  margin-top: 4px;
}
.lead-capture-points a {
  color: #ECC876;
  font-weight: 700;
}
.lead-capture-form {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 24px;
}
.lead-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.lead-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lead-field > span {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #123023;
  text-transform: uppercase;
}
.lead-field input,
.lead-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid #D9D2C3;
  border-radius: 10px;
  padding: 11px 13px;
  font: inherit;
  font-size: 0.95rem;
  color: #123023;
  background: #FDFBF7;
}
.lead-field input:focus,
.lead-field textarea:focus {
  outline: none;
  border-color: #D4AF37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
  background: #FFFFFF;
}
.lead-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}
.lead-chip {
  position: relative;
  cursor: pointer;
}
.lead-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.lead-chip span {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 9999px;
  border: 1.5px solid #D9D2C3;
  font-size: 0.84rem;
  color: #123023;
  background: #FFFFFF;
  transition: all 0.2s ease;
}
.lead-chip input:checked + span {
  background: #1B4332;
  border-color: #1B4332;
  color: #FFFFFF;
}
.lead-chip input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.35);
}
.lead-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.lead-submit-btn {
  width: 100%;
  margin-top: 16px;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font: inherit;
  font-weight: 800;
  letter-spacing: 1px;
  color: #071F14;
  background: linear-gradient(135deg, #ECC876, #D4AF37, #A4791E);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
}
.lead-submit-btn:disabled {
  opacity: 0.7;
  cursor: default;
}
.lead-form-msg {
  margin: 12px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.2em;
}
.lead-form-msg.is-ok {
  color: #1B6B3A;
}
.lead-form-msg.is-err {
  color: #9B1C2C;
}
@media (max-width: 991px) {
  .lead-capture-card {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .section-lead-capture {
    padding: 44px 0;
  }
  .lead-capture-card {
    padding: 16px;
    border-radius: 16px;
  }
  .lead-capture-title {
    font-size: 1.55rem;
  }
  .lead-capture-form {
    padding: 16px;
  }
  .lead-form-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   ƯU ĐÃI & KHUYẾN MÃI MỚI (Admin đăng ảnh + mô tả)
   ========================================================================= */
.section-live-promos {
  padding: 70px 0;
  background: linear-gradient(180deg, #FBF8EF 0%, #FFFFFF 100%);
}
.section-live-promos[hidden] {
  display: none !important;
}
.live-promos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 28px;
}
.live-promo-card {
  background: #FFFFFF;
  border: 1px solid #EDE5CF;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(18, 48, 35, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.live-promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(18, 48, 35, 0.14);
}
.live-promo-img {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #F1EEE4;
  overflow: hidden;
}
.live-promo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.live-promo-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #ECC876, #D4AF37, #A4791E);
  color: #071F14;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.live-promo-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.live-promo-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #123023;
  margin: 0;
  line-height: 1.3;
}
.live-promo-offer {
  font-weight: 800;
  color: #946C1E;
  font-size: 0.95rem;
}
.live-promo-desc {
  margin: 0;
  color: #33413A;
  font-size: 0.92rem;
  line-height: 1.6;
  white-space: pre-line;
  flex: 1;
}
.live-promo-until {
  font-size: 0.82rem;
  font-weight: 700;
  color: #7B1E2B;
}
.live-promo-btn {
  margin-top: 6px;
  border: none;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #FFFFFF;
  background: #1B4332;
  cursor: pointer;
}
.live-promo-btn:hover {
  background: #123023;
}
@media (max-width: 600px) {
  .section-live-promos {
    padding: 44px 0;
  }
  .live-promos-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* =========================================================================
   DASHBOARD ĐỐI TÁC — BẢNG MÀU 5 TÔNG (tone sur tone, 2 ô cạnh nhau không trùng màu)
   Xanh da trời → Royal blue → Vàng chanh → Vàng gold → Đỏ đô
   ========================================================================= */
#aff-view-dashboard {
  --c-sky: #4FB3F0; --c-sky-2: #8FD0F7; --c-sky-ink: #06375A; --c-sky-soft: #E4F4FE;
  --c-royal: #2747B8; --c-royal-2: #4169E1; --c-royal-ink: #FFFFFF; --c-royal-soft: #E6ECFB;
  --c-lime: #DDE85A; --c-lime-2: #EEF59A; --c-lime-ink: #343A00; --c-lime-soft: #F8FBDD;
  --c-gold: #D4AF37; --c-gold-2: #ECC876; --c-gold-ink: #2B2000; --c-gold-soft: #FBF4DF;
  --c-wine: #7B1E2B; --c-wine-2: #A33244; --c-wine-ink: #FFF1F3; --c-wine-soft: #F8E6E9;
}

/* Đầu trang: nền royal blue, nhấn vàng gold */
#aff-view-dashboard .aff-dash-header {
  background: linear-gradient(135deg, #1B3591 0%, var(--c-royal) 45%, var(--c-royal-2) 100%);
  border: none;
  box-shadow: 0 14px 34px rgba(39, 71, 184, 0.28);
  position: relative;
  overflow: hidden;
}
#aff-view-dashboard .aff-dash-header::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: linear-gradient(90deg, var(--c-sky), var(--c-royal-2), var(--c-lime), var(--c-gold), var(--c-wine));
}
#aff-view-dashboard .aff-dash-badge { background: var(--c-lime); color: var(--c-lime-ink); border-color: transparent; align-self: flex-start; }
#aff-view-dashboard .aff-dash-title { color: #FFFFFF; }
#aff-view-dashboard .aff-dash-sub { color: #D6E2FF; }
#aff-view-dashboard .aff-dash-sub strong { color: var(--c-gold-2) !important; }
#aff-view-dashboard .aff-btn-copy-ref { background: var(--c-sky); color: var(--c-sky-ink); border-color: transparent; }
#aff-view-dashboard .aff-btn-payout-quick { background: linear-gradient(135deg, var(--c-gold-2), var(--c-gold)); color: var(--c-gold-ink); border-color: transparent; }
#aff-view-dashboard .aff-btn-logout { background: var(--c-wine); color: var(--c-wine-ink); border-color: transparent; }

/* Thanh tab: mỗi tab một tông, tab đang mở tô đậm */
#aff-view-dashboard .aff-dash-capsule-nav { background: #FFFFFF; border: 1px solid #E3E8F3; gap: 6px; }
#aff-view-dashboard .aff-nav-pill { border: 1.5px solid transparent; font-weight: 700; }
#aff-view-dashboard .aff-nav-pill[data-dash-tab="overview"] { background: var(--c-sky-soft); color: var(--c-sky-ink); }
#aff-view-dashboard .aff-nav-pill[data-dash-tab="tools"] { background: var(--c-royal-soft); color: var(--c-royal); }
#aff-view-dashboard .aff-nav-pill[data-dash-tab="ranking"] { background: var(--c-lime-soft); color: var(--c-lime-ink); }
#aff-view-dashboard .aff-nav-pill[data-dash-tab="network"] { background: var(--c-gold-soft); color: #6B5310; }
#aff-view-dashboard .aff-nav-pill[data-dash-tab="partner"] { background: var(--c-wine-soft); color: var(--c-wine); }
#aff-view-dashboard .aff-nav-pill[data-dash-tab="payout"] { background: var(--c-sky-soft); color: var(--c-sky-ink); }
#aff-view-dashboard .aff-nav-pill.active { box-shadow: 0 6px 16px rgba(20, 30, 60, 0.18); border-color: transparent; }
#aff-view-dashboard .aff-nav-pill[data-dash-tab="overview"].active,
#aff-view-dashboard .aff-nav-pill[data-dash-tab="payout"].active { background: var(--c-sky); color: var(--c-sky-ink); }
#aff-view-dashboard .aff-nav-pill[data-dash-tab="tools"].active { background: var(--c-royal); color: #FFFFFF; }
#aff-view-dashboard .aff-nav-pill[data-dash-tab="ranking"].active { background: var(--c-lime); color: var(--c-lime-ink); }
#aff-view-dashboard .aff-nav-pill[data-dash-tab="network"].active { background: var(--c-gold); color: var(--c-gold-ink); }
#aff-view-dashboard .aff-nav-pill[data-dash-tab="partner"].active { background: var(--c-wine); color: var(--c-wine-ink); }
#aff-view-dashboard .aff-nav-pill:not(.active):hover { filter: brightness(0.96); }

/* 5 thẻ số liệu: xanh da trời · royal · vàng chanh · gold · đỏ đô */
#aff-view-dashboard .aff-stats-row.aff-stats-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
#aff-view-dashboard .aff-stat-box { border: none; box-shadow: 0 10px 24px rgba(20, 30, 60, 0.12); }
#aff-view-dashboard .aff-stat-box .aff-stat-top-label,
#aff-view-dashboard .aff-stat-box .aff-stat-top-label .stat-icon,
#aff-view-dashboard .aff-stat-box .aff-stat-big-val,
#aff-view-dashboard .aff-stat-box .aff-stat-sub-label { color: inherit; }
#aff-view-dashboard .aff-stat-box .aff-stat-sub-label { opacity: .85; }
#aff-view-dashboard .aff-stat-box:nth-child(1) { background: linear-gradient(140deg, var(--c-sky-2), var(--c-sky)); color: var(--c-sky-ink); }
#aff-view-dashboard .aff-stat-box:nth-child(2) { background: linear-gradient(140deg, var(--c-royal-2), var(--c-royal)); color: var(--c-royal-ink); }
#aff-view-dashboard .aff-stat-box:nth-child(3) { background: linear-gradient(140deg, var(--c-lime-2), var(--c-lime)); color: var(--c-lime-ink); }
#aff-view-dashboard .aff-stat-box:nth-child(4) { background: linear-gradient(140deg, var(--c-gold-2), var(--c-gold)); color: var(--c-gold-ink); }
#aff-view-dashboard .aff-stat-box:nth-child(5) { background: linear-gradient(140deg, var(--c-wine-2), var(--c-wine)); color: var(--c-wine-ink); }

/* Biểu đồ: đường royal blue, nền xanh da trời */
#aff-view-dashboard .aff-performance-card { border-top: 5px solid var(--c-royal); }
#aff-view-dashboard .aff-perf-title i { color: var(--c-royal); }
#aff-view-dashboard .aff-perf-sub strong { color: var(--c-royal); }
#aff-view-dashboard #chart-line-path { stroke: var(--c-royal-2); }
#aff-view-dashboard #chartGrad stop:first-child { stop-color: var(--c-sky); }
#aff-view-dashboard #chartGrad stop:last-child { stop-color: var(--c-sky-soft); }
#aff-view-dashboard #chart-points circle { fill: var(--c-royal); stroke: var(--c-gold-2); }
#aff-view-dashboard #chart-points circle:last-child { fill: var(--c-gold); stroke: #FFFFFF; }
#aff-view-dashboard .aff-time-pill.active { background: var(--c-royal); color: #FFFFFF; }

/* Băng gợi ý: đỏ đô, chữ gold */
#aff-view-dashboard .aff-action-banner { background: linear-gradient(135deg, #5E1420 0%, var(--c-wine) 55%, var(--c-wine-2) 100%); border: none; }
#aff-view-dashboard .aff-action-banner-text h3 { color: var(--c-gold-2); }
#aff-view-dashboard .aff-btn-banner { background: var(--c-lime); color: var(--c-lime-ink); }

/* Bảng: mỗi cột tiêu đề một tông, nối tiếp không trùng màu */
#aff-view-dashboard .aff-rank-table th { border-bottom: none; }
#aff-view-dashboard .aff-rank-table th:nth-child(5n+1) { background: var(--c-sky); color: var(--c-sky-ink); }
#aff-view-dashboard .aff-rank-table th:nth-child(5n+2) { background: var(--c-royal); color: #FFFFFF; }
#aff-view-dashboard .aff-rank-table th:nth-child(5n+3) { background: var(--c-lime); color: var(--c-lime-ink); }
#aff-view-dashboard .aff-rank-table th:nth-child(5n+4) { background: var(--c-gold); color: var(--c-gold-ink); }
#aff-view-dashboard .aff-rank-table th:nth-child(5n+5) { background: var(--c-wine); color: var(--c-wine-ink); }
#aff-view-dashboard .aff-rank-table th:first-child { border-radius: 10px 0 0 0; }
#aff-view-dashboard .aff-rank-table th:last-child { border-radius: 0 10px 0 0; }
#aff-view-dashboard .aff-rank-table tbody tr:nth-child(even) td { background: #F7F9FD; }

/* Khối thành viên F1 */
#aff-view-dashboard .aff-f1-card { border-top: 5px solid var(--c-gold); margin-bottom: 22px; }
#aff-view-dashboard .aff-f1-card .aff-tool-title i { color: var(--c-gold); }
.aff-f1-tag { display: inline-block; padding: 3px 10px; border-radius: 9999px; font-size: .78rem; font-weight: 700; background: var(--c-sky-soft, #E4F4FE); color: var(--c-sky-ink, #06375A); }
.aff-f1-tag.yes { background: var(--c-lime, #DDE85A); color: var(--c-lime-ink, #343A00); }

/* Công cụ bán, chính sách, thanh toán */
#aff-view-dashboard .aff-tool-box:nth-child(1) { border-top: 5px solid var(--c-sky); }
#aff-view-dashboard .aff-tool-box:nth-child(2) { border-top: 5px solid var(--c-royal); }
#aff-view-dashboard .aff-tool-box:nth-child(1) .aff-tool-title i { color: var(--c-sky); }
#aff-view-dashboard .aff-tool-box:nth-child(2) .aff-tool-title i { color: var(--c-royal); }
#aff-view-dashboard .aff-policy-box { border-top: 5px solid var(--c-wine); }
#aff-view-dashboard .aff-policy-item:nth-of-type(1) > i { color: var(--c-sky); }
#aff-view-dashboard .aff-policy-item:nth-of-type(2) > i { color: var(--c-royal); }
#aff-view-dashboard .aff-policy-item:nth-of-type(3) > i { color: #A9B320; }
#aff-view-dashboard .aff-policy-item:nth-of-type(4) > i { color: var(--c-wine); }
#aff-view-dashboard .aff-bank-card { border-top: 5px solid var(--c-sky); }
#aff-view-dashboard .aff-payout-overview-strip { background: linear-gradient(135deg, var(--c-gold-soft), #FFFFFF); border: 1px solid var(--c-gold-2); border-radius: 14px; padding: 18px 20px; }

@media (max-width: 1200px) {
  #aff-view-dashboard .aff-stats-row.aff-stats-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  #aff-view-dashboard .aff-stats-row.aff-stats-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  #aff-view-dashboard .aff-stats-row.aff-stats-5 { grid-template-columns: 1fr; }
}

/* =========================================================================
   TRANG AFFILIATE TRÊN ĐIỆN THOẠI (≤767px) — gọn như Dashboard máy tính:
   đầu trang 1 dòng, 3 nút + 6 tab dạng lưới, thẻ số liệu 2 cột, bảng kéo ngang
   ========================================================================= */
@media (max-width: 767px) {
  /* Đầu trang: logo + 2 nút trên 1 dòng */
  .aff-page-body .aff-topbar { padding: 8px 0; }
  .aff-page-body .aff-topbar-inner { padding: 0 12px; gap: 8px; }
  .aff-page-body .aff-brand { gap: 8px; min-width: 0; }
  .aff-page-body .aff-brand-img { width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0; }
  .aff-page-body .aff-brand-text { min-width: 0; }
  .aff-page-body .aff-brand-title { font-size: .92rem; white-space: nowrap; letter-spacing: .2px; }
  .aff-page-body .aff-brand-sub { font-size: .5rem; white-space: nowrap; letter-spacing: .2px; }
  .aff-page-body .aff-topbar-actions { gap: 6px; flex-shrink: 0; }
  .aff-page-body .aff-btn-home { width: 36px; height: 36px; padding: 0; justify-content: center; font-size: 1rem; }
  .aff-page-body .aff-btn-home span { display: none; }
  .aff-page-body .aff-mode-switch-btn { padding: 8px 10px; font-size: .66rem; white-space: nowrap; gap: 4px; }

  .aff-page-body .aff-container { padding: 14px 12px 90px; }

  /* Khối đầu Dashboard */
  #aff-view-dashboard .aff-dash-header { padding: 16px 14px 18px; border-radius: 16px; gap: 12px; margin-bottom: 14px; flex-direction: column; align-items: stretch; }
  #aff-view-dashboard .aff-dash-badge { font-size: .64rem; padding: 3px 9px; margin-bottom: 6px; }
  #aff-view-dashboard .aff-dash-title { font-size: 1.28rem; line-height: 1.25; }
  #aff-view-dashboard .aff-dash-sub { font-size: .76rem; line-height: 1.5; word-break: break-word; }
  #aff-view-dashboard .aff-dash-header-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; }
  #aff-view-dashboard .aff-dash-header-actions > button {
    flex-direction: column; justify-content: center; gap: 4px; width: 100%; min-height: 56px;
    padding: 8px 4px; border-radius: 12px; font-size: .7rem; line-height: 1.2; text-align: center; white-space: normal;
  }
  #aff-view-dashboard .aff-dash-header-actions > button i { font-size: 1rem; }

  /* 6 tab: lưới 3 × 2, thấy hết không phải kéo */
  #aff-view-dashboard .aff-dash-capsule-nav {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px;
    padding: 6px; border-radius: 16px; overflow: visible; margin-bottom: 14px;
  }
  #aff-view-dashboard .aff-nav-pill {
    justify-content: center; text-align: center; white-space: normal; line-height: 1.2;
    padding: 8px 4px; min-height: 44px; border-radius: 12px; font-size: .7rem; gap: 3px;
  }

  /* Thẻ số liệu: 2 cột, thẻ thứ 5 trải rộng */
  #aff-view-dashboard .aff-stats-row.aff-stats-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
  #aff-view-dashboard .aff-stats-row.aff-stats-5 .aff-stat-box:nth-child(5) { grid-column: 1 / -1; }
  #aff-view-dashboard .aff-stat-box { padding: 13px 12px; border-radius: 14px; min-width: 0; }
  #aff-view-dashboard .aff-stat-top-label { font-size: .62rem; letter-spacing: .3px; margin-bottom: 6px; gap: 4px; align-items: flex-start; }
  #aff-view-dashboard .aff-stat-top-label .stat-icon { font-size: .85rem; }
  #aff-view-dashboard .aff-stat-big-val { font-size: 1.45rem; margin-bottom: 4px; word-break: break-word; }
  #aff-view-dashboard .aff-stat-sub-label { font-size: .68rem; line-height: 1.35; }

  /* Biểu đồ */
  #aff-view-dashboard .aff-performance-card { padding: 14px 12px; border-radius: 14px; margin-bottom: 14px; }
  #aff-view-dashboard .aff-perf-header { flex-direction: column; align-items: stretch; gap: 10px; }
  #aff-view-dashboard .aff-perf-title { font-size: 1rem; }
  #aff-view-dashboard .aff-perf-sub { font-size: .76rem; }
  #aff-view-dashboard .aff-time-pills { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; }
  #aff-view-dashboard .aff-time-pill { padding: 6px 2px; font-size: .72rem; text-align: center; }
  #aff-view-dashboard .aff-chart-wrapper { padding: 10px 6px 6px; }
  #aff-view-dashboard .aff-chart-svg { height: 120px; }
  #aff-view-dashboard .aff-chart-x-labels { font-size: .6rem; }

  /* Băng gợi ý */
  #aff-view-dashboard .aff-action-banner { padding: 14px; border-radius: 14px; gap: 10px; margin-bottom: 14px; }
  #aff-view-dashboard .aff-action-banner-text h3 { font-size: .95rem; }
  #aff-view-dashboard .aff-action-banner-text p { font-size: .76rem; }
  #aff-view-dashboard .aff-btn-banner { width: 100%; justify-content: center; }

  /* Thẻ nội dung các tab */
  #aff-view-dashboard .aff-tools-card,
  #aff-view-dashboard .aff-policy-box,
  #aff-view-dashboard .aff-bank-card { padding: 14px 12px; border-radius: 14px; }
  #aff-view-dashboard .aff-tool-box { padding: 14px 12px; }
  #aff-view-dashboard .aff-tool-title { font-size: .98rem; line-height: 1.35; }
  #aff-view-dashboard .aff-network-header,
  #aff-view-dashboard .aff-rank-header { flex-direction: column; align-items: stretch; gap: 10px; }
  #aff-view-dashboard .aff-btn-test-booking { align-self: flex-start; }

  /* Bảng: giữ đủ cột như máy tính, vuốt ngang để xem */
  #aff-view-dashboard .aff-rank-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 10px; }
  #aff-view-dashboard .aff-rank-table th,
  #aff-view-dashboard .aff-rank-table td { padding: 9px 10px; font-size: .74rem; white-space: nowrap; }
  #aff-view-dashboard .aff-rank-table td:only-child { white-space: normal; min-width: 280px; }

  /* Công cụ bán: QR, chia sẻ, voucher */
  #aff-view-dashboard .aff-qr-center-box { flex-direction: column; align-items: center; text-align: center; }
  #aff-view-dashboard .aff-link-copy-group { flex-direction: column; align-items: stretch; }
  #aff-view-dashboard .aff-share-buttons-row { display: grid; grid-template-columns: 1fr; gap: 8px; }
  #aff-view-dashboard .aff-voucher-content { flex-direction: column; align-items: center; gap: 12px; text-align: center; }

  /* Thanh toán */
  #aff-view-dashboard .aff-payout-overview-strip { flex-direction: column; align-items: stretch; }
  #aff-view-dashboard .aff-payout-overview-strip .aff-btn-large { width: 100%; justify-content: center; }
  #aff-bank-info-form > div[style*="grid"] { grid-template-columns: 1fr !important; gap: 10px !important; }

  /* Thông báo cookie: dải gọn sát đáy, không che Dashboard */
  .aff-page-body .aff-cookie-banner {
    left: 8px; right: 8px; bottom: 8px; max-width: none; padding: 10px 12px; border-radius: 14px;
    align-items: center; gap: 10px;
  }
  .aff-page-body .aff-cookie-icon { display: none; }
  .aff-page-body .aff-cookie-text { font-size: .7rem; line-height: 1.35; margin-bottom: 6px; }
}

@media (max-width: 379px) {
  .aff-page-body .aff-mode-switch-btn span { display: none; }
  .aff-page-body .aff-mode-switch-btn { width: 36px; height: 36px; padding: 0; justify-content: center; }
}

/* ========================================================================= */
/* MÃ QR LINK GIỚI THIỆU Ở ĐẦU DASHBOARD ĐỐI TÁC                              */
/* ========================================================================= */
#aff-view-dashboard .aff-dash-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 28px;
  row-gap: 16px;
  align-items: center;
}
#aff-view-dashboard .aff-dash-header-info { grid-column: 1; grid-row: 1; }
#aff-view-dashboard .aff-dash-header-actions { grid-column: 1; grid-row: 2; }
.aff-hero-qr {
  grid-column: 2; grid-row: 1 / span 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  width: 188px; padding: 14px 14px 12px;
  background: #FFFFFF; border-radius: 16px;
  box-shadow: 0 8px 22px rgba(10, 20, 70, 0.28);
  text-align: center;
}
.aff-hero-qr-img { width: 132px; height: 132px; display: block; border-radius: 6px; image-rendering: pixelated; }
.aff-hero-qr-side { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.aff-hero-qr-title { font-size: .8rem; font-weight: 800; color: #1B3591; }
.aff-hero-qr-hint { font-size: .68rem; line-height: 1.35; color: #4A5A6A; }
.aff-hero-qr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; padding: 7px 10px; border: none; border-radius: 9999px; cursor: pointer;
  background: linear-gradient(135deg, #ECC876, #D4AF37); color: #2B2000;
  font-size: .74rem; font-weight: 800; font-family: inherit;
}
.aff-hero-qr-btn:hover { filter: brightness(1.06); }

@media (max-width: 767px) {
  #aff-view-dashboard .aff-dash-header { display: flex; flex-direction: column; align-items: stretch; }
  .aff-hero-qr { width: 100%; flex-direction: row; align-items: center; gap: 14px; padding: 12px; text-align: left; }
  .aff-hero-qr-img { width: 104px; height: 104px; flex-shrink: 0; }
  .aff-hero-qr-side { align-items: flex-start; flex: 1; min-width: 0; }
  .aff-hero-qr-btn { width: auto; padding: 8px 14px; }
}

/* =========================================================================
   TRANG CHỦ TRÊN ĐIỆN THOẠI (≤767px) — ít chữ, gọn: bỏ đoạn mô tả phụ,
   thẻ dài chuyển thành hàng vuốt ngang, bảng giá dạng danh sách gọn
   ========================================================================= */
@media (max-width: 767px) {
  /* Tiêu đề khối nhỏ lại, bỏ câu mô tả phụ dưới tiêu đề */
  #locations .orient-section-title, #promotions .orient-section-title, #menu .orient-section-title,
  #healing-music .orient-section-title, .section-orient-guests .orient-section-title,
  #affiliate .section-main-title, .sub-hero-title { font-size: 1.55rem !important; line-height: 1.25 !important; letter-spacing: .5px !important; }
  #locations .orient-section-subtitle, #promotions .orient-section-subtitle, #menu .orient-section-subtitle,
  #healing-music .orient-section-subtitle, .section-orient-guests .orient-section-subtitle,
  .free-perks-sub, #affiliate .section-desc-text, #affiliate .gold-leaf-divider, .lead-capture-points { display: none !important; }
  #locations, #promotions, #menu, #healing-music, .section-orient-guests, #affiliate, #tu-van, #free-perks { padding-top: 42px !important; padding-bottom: 42px !important; }
  #locations .orient-section-header, #promotions .orient-section-header, #menu .orient-section-header,
  #healing-music .orient-section-header, .section-orient-guests .orient-section-header { margin-bottom: 18px !important; }
  .sub-hero-strip { padding: 30px 0 !important; }
  .sub-hero-desc { font-size: .86rem !important; line-height: 1.55 !important; }

  /* Đặc quyền miễn phí: 3 ô nhỏ cạnh nhau, chỉ còn biểu tượng + tên */
  .free-perks-header { margin-bottom: 16px !important; }
  .free-perks-heading { font-size: 1.3rem !important; }
  .free-perks-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px !important; }
  .free-perk-card { padding: 14px 8px !important; text-align: center; min-height: 0 !important; }
  .free-perk-icon-circle { width: 44px !important; height: 44px !important; margin: 0 auto 8px !important; font-size: 1.1rem !important; }
  .free-perk-tag, .free-perk-desc { display: none !important; }
  .free-perk-title { font-size: .78rem !important; line-height: 1.3 !important; margin: 0 !important; }

  /* Hàng vuốt ngang dùng chung */
  .locations-carousel-wrap, #promotions .promotions-grid-4col, .guests-photo-gallery {
    display: flex !important; flex-wrap: nowrap !important; overflow-x: auto !important; gap: 12px !important;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 2px 2px 12px !important; margin: 0 !important;
    scrollbar-width: none;
  }
  .locations-carousel-wrap::-webkit-scrollbar, #promotions .promotions-grid-4col::-webkit-scrollbar, .guests-photo-gallery::-webkit-scrollbar { display: none; }

  /* Không gian spa: thẻ vuốt ngang, bỏ danh sách tiện nghi dài */
  .location-orient-card { flex: 0 0 80% !important; scroll-snap-align: start; margin: 0 !important; }
  .location-img-wrap, .location-img-wrap img { height: 190px !important; }
  .location-specs-list { display: none !important; }
  .location-card-content { padding: 14px !important; }

  /* Combo / ưu đãi: thẻ vuốt ngang */
  #promotions .promo-orient-card { flex: 0 0 78% !important; scroll-snap-align: start; margin: 0 !important; }
  #promotions .promo-img-holder { height: 160px !important; }
  #promotions .promo-card-body { padding: 14px !important; }
  #promotions .promo-steps-list { font-size: .8rem !important; }
  #promotions .promotions-bottom-action { margin-top: 10px !important; }

  /* Bảng giá: danh sách gọn (ảnh nhỏ bên trái, bỏ mô tả dài) */
  #menu .menu-free-perks-strip { display: none !important; }
  #menu .menu-board-banner-box { padding: 14px !important; margin-bottom: 14px !important; }
  #menu .menu-items-grid { display: flex !important; flex-direction: column !important; gap: 10px !important; }
  #menu .menu-item-card { display: grid !important; grid-template-columns: 84px minmax(0, 1fr); align-items: center; min-height: 0 !important; }
  #menu .menu-item-thumb { width: 84px !important; height: 100% !important; min-height: 96px; object-fit: cover; }
  #menu .menu-item-content { padding: 10px 12px !important; }
  #menu .menu-item-desc { display: none !important; }
  #menu .menu-item-header { margin-bottom: 4px !important; }
  #menu .menu-item-actions { margin-top: 6px !important; padding-top: 6px !important; gap: 8px !important; align-items: center; }
  #menu .menu-item-name { font-size: .86rem !important; line-height: 1.3 !important; }
  #menu .menu-item-price { font-size: .86rem !important; white-space: nowrap; }
  #menu .btn-book-service-now { white-space: nowrap !important; padding: 7px 12px !important; font-size: .72rem !important; flex-direction: row !important; }
  #menu .btn-service-details { font-size: .72rem !important; white-space: nowrap; }

  /* Khách thực tế: ảnh vuốt ngang */
  .guest-photo-item { flex: 0 0 62% !important; height: 200px !important; scroll-snap-align: start; }

  /* Affiliate trên trang chủ: chỉ mở khi khách bấm "ĐĂNG KÝ LÀM AFFILIATE" → hiện đủ form đăng ký */
  #affiliate .section-title-wrap { margin-bottom: 20px !important; }

  /* Form tư vấn */
  .lead-capture-intro { margin-bottom: 12px !important; }

  /* Chân trang: bỏ cột liên kết dài (đã có trong menu) */
  .footer-columns-grid > div:nth-child(2) { display: none !important; }
  .footer-columns-grid { gap: 22px !important; }
}

/* Nút chuyển EN ⇄ VI trên trang Affiliate (đồng bộ ngôn ngữ với trang chủ) */
.aff-lang-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 9999px; border: 1px solid var(--aff-gold-border);
  background: #FFFFFF; color: var(--aff-primary); font-size: .85rem; font-weight: 700; cursor: pointer; white-space: nowrap; font-family: inherit; }
.aff-lang-toggle:hover { background: var(--aff-gold-light); }
@media (max-width: 767px) {
  .aff-page-body .aff-lang-toggle { width: 36px; height: 36px; padding: 0; justify-content: center; font-size: 1rem; }
  .aff-page-body .aff-lang-toggle span { display: none; }
}
@media (max-width: 420px) {
  .aff-page-body .aff-brand-sub { display: none; }
}


/* =========================================================================
   KIỂU CHỮ TOÀN WEBSITE: tiêu đề Be Vietnam Pro, chữ thường Arimo, cỡ gốc 18px.
   Cùng một cỡ chữ cho mọi ngôn ngữ (không có quy tắc riêng theo ngôn ngữ).
   ========================================================================= */
body { font-family: var(--font-sans); line-height: 1.7; letter-spacing: 0; }
p, li, dd, label, input, select, textarea, button { font-family: var(--font-sans); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: .005em; line-height: 1.25; }
p { line-height: 1.7; }

/* Ưu đãi đặt lịch trực tuyến 15% — hiện rõ trên ảnh đầu trang (máy tính) và dải đặt lịch (điện thoại) */
.hero-booking-offer { position: relative; z-index: 10; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px;
  padding: 9px 20px; border-radius: 9999px; background: linear-gradient(135deg, #F6E3A6, #D4AF37 70%); color: #1B2A12;
  font-family: var(--font-sans); font-size: 1rem; font-weight: 600; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.hero-booking-offer b { font-family: var(--font-display); font-weight: 800; letter-spacing: .03em; }
.hero-booking-offer .fa { font-size: 1.1rem; color: #7B1E2B; }
@media (max-width: 991px) { .hero-booking-offer { display: none; } }
.mbh-title { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; line-height: 1.3 !important; }
.mbh-sub { white-space: normal !important; }

/* Dòng chào mừng trên ảnh: chữ đậm, bóng rõ để tương phản với nền ảnh */
.hero-welcome-text { font-family: var(--font-display) !important; font-weight: 700 !important; letter-spacing: .12em !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .55), 0 4px 22px rgba(0, 0, 0, .65) !important; }

/* =========================================================================
   ĐIỆN THOẠI (≤767px): KHỐI TRÀN VIỀN — thẻ trải sát mép màn hình, bỏ bo góc,
   hàng vuốt ngang chạy từ mép, bảng giá dạng danh sách có kẻ phân cách
   ========================================================================= */
@media (max-width: 767px) {
  /* Dải đặt lịch: bỏ khung, chữ ưu đãi hiện đủ */
  .mobile-booking-header-card { background: transparent !important; border: 0 !important; border-radius: 0 !important; padding: 6px 0 !important; }

  /* Thẻ lớn tràn viền (khung .container lề 20px) */
  .map-card-wrapper, .menu-board-banner-box, .music-showcase-card, .lead-capture-card {
    margin-left: -20px !important; margin-right: -20px !important; border-radius: 0 !important;
    border-left: 0 !important; border-right: 0 !important; box-shadow: none !important;
  }
  .lead-capture-card { padding-left: 20px !important; padding-right: 20px !important; }
  .lead-capture-form { border-radius: 14px !important; }

  /* Bảng giá: danh sách tràn viền, ngăn cách bằng đường kẻ */
  #menu .menu-items-grid { margin: 0 -20px !important; gap: 0 !important; }
  #menu .menu-item-card { border-radius: 0 !important; box-shadow: none !important; border: 0 !important;
    border-bottom: 1px solid rgba(18, 56, 38, .1) !important; background: #fff; }
  #menu .menu-item-card:first-child { border-top: 1px solid rgba(18, 56, 38, .1) !important; }
  #menu .menu-item-thumb { width: 96px !important; min-height: 104px; }
  #menu .menu-tabs-wrapper { margin-left: -20px !important; margin-right: -20px !important; padding-left: 20px !important; }

  /* Hàng vuốt ngang chạy từ mép màn hình */
  .locations-carousel-wrap, #promotions .promotions-grid-4col, .guests-photo-gallery {
    margin-left: -20px !important; margin-right: -20px !important;
    padding-left: 20px !important; padding-right: 20px !important; scroll-padding-left: 20px;
  }

  /* Thoáng hơn: chữ đoạn văn dễ đọc */
  .sub-hero-desc, .free-perk-title, .location-card-title, .promo-card-title { line-height: 1.45 !important; }
}

/* Trang Affiliate trên điện thoại: khối Dashboard & các thẻ nội dung tràn viền (khung lề 12px) */
@media (max-width: 767px) {
  #aff-view-dashboard .aff-dash-header, #aff-view-dashboard .aff-dash-capsule-nav,
  #aff-view-dashboard .aff-performance-card, #aff-view-dashboard .aff-action-banner,
  #aff-view-dashboard .aff-tools-card, #aff-view-dashboard .aff-policy-box, #aff-view-dashboard .aff-bank-card,
  .aff-page-body .aff-calc-box, .aff-page-body .aff-spa-showcase-box, .aff-page-body .aff-form-card {
    margin-left: -12px !important; margin-right: -12px !important; border-radius: 0 !important;
    border-left: 0 !important; border-right: 0 !important;
  }
  #aff-view-dashboard .aff-dash-header { margin-top: -14px !important; }
  #aff-view-dashboard .aff-stats-row.aff-stats-5 { gap: 8px; }
}
@media (max-width: 767px) {
  .mobile-booking-header-card { gap: 10px !important; }
  .mbh-icon-pulse { width: 38px !important; height: 38px !important; min-width: 38px; font-size: 1rem !important; }
  .mbh-tag { font-size: .62rem !important; white-space: nowrap !important; letter-spacing: .02em !important; }
  .mbh-title { font-size: .84rem !important; margin-top: 2px; }
  .mbh-sub { display: none !important; }
  .mbh-action-btn { padding: 8px 12px !important; font-size: .72rem !important; white-space: nowrap; }
}
@media (max-width: 767px) {
  .aff-page-body .aff-brand-title { font-size: .8rem !important; }
  #aff-view-dashboard .aff-nav-pill { font-size: .64rem !important; }
}
@media (max-width: 767px) {
  /* Nút đặt lịch trên ảnh: chừa chỗ cho nút chat nổi bên phải */
  .hero-mobile-cta-wrap { padding-right: 62px !important; box-sizing: border-box; }
  .hero-mobile-cta-btn { font-size: .74rem !important; padding-left: 14px !important; padding-right: 14px !important; white-space: nowrap; max-width: 100%; }
}

/* =========================================================================
   QUY TRÌNH ĐẶT & THANH TOÁN: thanh tiến trình, hoá đơn (trừ 15% khi trả trước QR),
   màn đặt dịch vụ thành công + lời cảm ơn
   ========================================================================= */
.ivy-steps { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 auto 16px; max-width: 420px; }
.ivy-step { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 64px; }
.ivy-step span { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: #EEF2EF; color: #7E968C; font-weight: 800; font-size: .85rem; border: 2px solid #DDE5E0; }
.ivy-step small { font-size: .7rem; font-weight: 700; color: #7E968C; letter-spacing: .02em; }
.ivy-step.on span { background: #D4AF37; color: #1B2A12; border-color: #D4AF37; box-shadow: 0 0 0 4px rgba(212,175,55,.2); }
.ivy-step.on small { color: #123826; }
.ivy-step.done span { background: #2E9E4F; color: #fff; border-color: #2E9E4F; }
.ivy-step.done small { color: #2E9E4F; }
.ivy-step-line { flex: 1; height: 2px; background: linear-gradient(90deg, #2E9E4F, #D4AF37); margin-bottom: 18px; border-radius: 2px; }

.ivy-invoice { background: #FAF7F2; border: 1px dashed #D4AF37; border-radius: 12px; padding: 12px 16px; text-align: left; max-width: 480px; margin: 0 auto 18px; }
.ivy-inv-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid rgba(18,56,38,.07); font-size: .88rem; color: #33443B; }
.ivy-inv-row:last-child { border-bottom: 0; }
.ivy-inv-row b { text-align: right; color: #123826; }
.ivy-inv-discount b { color: #2E9E4F; }
.ivy-inv-total { margin-top: 4px; padding-top: 10px; border-top: 1.5px solid #D4AF37 !important; font-size: 1rem; }
.ivy-inv-total b { color: #8B1A2B; font-size: 1.15rem; font-family: var(--font-display); }

.ivy-success { text-align: center; padding: 22px 14px 26px; }
.ivy-success-icon { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2E9E4F, #128C7E); color: #fff; font-size: 2rem; box-shadow: 0 0 30px rgba(46,158,79,.35); }
.ivy-success-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 9999px; margin-bottom: 10px;
  background: #E8F8EE; color: #1F7A3E; border: 1px solid #B8E8C8; font-size: .8rem; font-weight: 800; }
.ivy-success-title { font-family: var(--font-display); font-size: 1.6rem; color: #0A2E20; margin: 0 0 14px; }
.ivy-thanks { max-width: 480px; margin: 0 auto 20px; padding: 16px 18px; border-radius: 14px; text-align: center;
  background: linear-gradient(135deg, #123826, #1B4D36); color: #F6EED6; box-shadow: 0 10px 26px rgba(18,56,38,.25); }
.ivy-thanks .fa { color: #ECC876; font-size: 1.2rem; margin-bottom: 6px; display: block; }
.ivy-thanks p { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.55; color: #FFF6DA; }

/* =========================================================================
   DASHBOARD ĐỐI TÁC: DOANH SỐ AFFILIATE · HỒ SƠ HIỂN THỊ · BẢNG VINH DANH TOP 20
   ========================================================================= */
#aff-view-dashboard .aff-sales-card { background: #fff; border-radius: 20px; padding: 22px; margin-bottom: 24px; border-top: 5px solid var(--c-gold);
  box-shadow: 0 10px 28px rgba(20, 30, 60, .08); }
#aff-view-dashboard .aff-sales-head { margin-bottom: 16px; }
#aff-view-dashboard .aff-sales-head .aff-perf-title i { color: var(--c-gold); }
#aff-view-dashboard .aff-sales-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
#aff-view-dashboard .aff-sale-box { border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
#aff-view-dashboard .aff-sale-box span { font-size: .7rem; font-weight: 800; letter-spacing: .06em; opacity: .9; }
#aff-view-dashboard .aff-sale-box b { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.1; }
#aff-view-dashboard .aff-sale-box small { font-size: .75rem; opacity: .85; }
#aff-view-dashboard .aff-sale-box.s1 { background: linear-gradient(140deg, var(--c-royal-2), var(--c-royal)); color: #fff; }
#aff-view-dashboard .aff-sale-box.s2 { background: linear-gradient(140deg, var(--c-gold-2), var(--c-gold)); color: var(--c-gold-ink); }
#aff-view-dashboard .aff-sale-box.s3 { background: linear-gradient(140deg, var(--c-sky-2), var(--c-sky)); color: var(--c-sky-ink); }
#aff-view-dashboard .aff-sales-chart { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; align-items: end; height: 170px;
  padding: 10px 6px 0; border-bottom: 1px solid #E6EAF2; }
#aff-view-dashboard .aff-sale-col { display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; gap: 4px; }
#aff-view-dashboard .aff-sale-col em { font-style: normal; font-size: .7rem; font-weight: 800; color: var(--c-royal); min-height: 1em; }
#aff-view-dashboard .aff-sale-bars { display: flex; align-items: flex-end; gap: 4px; height: 120px; width: 100%; justify-content: center; }
#aff-view-dashboard .aff-sale-bars i { display: block; width: 38%; max-width: 26px; min-height: 3px; border-radius: 6px 6px 0 0; }
#aff-view-dashboard .aff-sale-bars .b-total { background: linear-gradient(180deg, var(--c-royal-2), var(--c-royal)); }
#aff-view-dashboard .aff-sale-bars .b-conf { background: linear-gradient(180deg, var(--c-gold-2), var(--c-gold)); }
#aff-view-dashboard .aff-sale-col small { font-size: .68rem; color: var(--aff-gray-sub); font-weight: 700; }
#aff-view-dashboard .aff-sales-legend { display: flex; gap: 18px; justify-content: center; margin: 10px 0 14px; font-size: .78rem; font-weight: 700; color: var(--aff-gray-text); }
#aff-view-dashboard .aff-sales-legend span::before { content: ''; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
#aff-view-dashboard .aff-sales-legend .lg-total::before { background: var(--c-royal); }
#aff-view-dashboard .aff-sales-legend .lg-conf::before { background: var(--c-gold); }
#aff-view-dashboard .aff-sales-recent h4 { margin: 0 0 8px; font-size: .95rem; color: var(--aff-primary); }
#aff-view-dashboard .aff-sale-item { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #F7F9FD; margin-bottom: 8px; }
#aff-view-dashboard .aff-sale-item small { display: block; font-size: .75rem; color: var(--aff-gray-sub); margin-top: 2px; }
#aff-view-dashboard .aff-sale-item .r { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
#aff-view-dashboard .aff-sale-item .r b { color: var(--c-wine); font-family: var(--font-display); }
#aff-view-dashboard .aff-status-pill { font-size: .66rem; font-weight: 700; padding: 3px 8px; border-radius: 9999px; background: var(--c-sky-soft); color: var(--c-sky-ink); }
#aff-view-dashboard .aff-status-pill.st-hold { background: var(--c-lime-soft); color: var(--c-lime-ink); }
#aff-view-dashboard .aff-status-pill.st-done { background: #E5F6EA; color: #1F7A3E; }
#aff-view-dashboard .aff-status-pill.st-cancel { background: var(--c-wine-soft); color: var(--c-wine); }

/* Hồ sơ hiển thị */
#aff-view-dashboard .aff-profile-card { border-top: 5px solid var(--c-sky); margin-bottom: 22px; }
#aff-view-dashboard .aff-profile-row { display: flex; gap: 28px; align-items: flex-start; margin-top: 14px; }
#aff-view-dashboard .aff-profile-avatar-col { display: flex; flex-direction: column; align-items: center; gap: 12px; flex-shrink: 0; }
#aff-view-dashboard .aff-profile-avatar { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; border: 4px solid var(--c-gold-2);
  box-shadow: 0 0 0 4px rgba(39, 71, 184, .15); background: #fff; }
#aff-view-dashboard .aff-btn-avatar { cursor: pointer; padding: 8px 18px; border-radius: 9999px; border: 1.5px solid #E1E6F2; color: var(--c-royal); font-weight: 700; font-size: .85rem; background: #fff; }
#aff-view-dashboard .aff-profile-form { flex: 1; display: flex; flex-direction: column; gap: 10px; }
#aff-view-dashboard .aff-btn-save-profile { align-self: flex-start; padding: 11px 26px; border-radius: 14px; border: 0; cursor: pointer; font-weight: 800;
  background: linear-gradient(135deg, var(--c-gold-2), var(--c-gold)); color: var(--c-gold-ink); font-size: .95rem; }
#aff-view-dashboard .aff-profile-note { margin: 0; font-size: .8rem; color: var(--aff-gray-sub); }

/* Bảng vinh danh Top 20 */
#aff-view-dashboard .aff-leader-board { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 10px 28px rgba(20, 30, 60, .08); }
#aff-view-dashboard .aff-leader-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 22px 24px;
  background: linear-gradient(100deg, var(--c-gold) 0%, #C99A6B 30%, var(--c-royal-2) 62%, var(--c-royal) 100%); color: #fff; }
#aff-view-dashboard .aff-leader-head h3 { margin: 0; font-family: var(--font-display); font-size: 1.5rem; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.2); }
#aff-view-dashboard .aff-leader-head p { margin: 4px 0 0; font-size: .85rem; color: #F3F6FF; }
#aff-view-dashboard .aff-leader-list { padding: 10px 14px 14px; }
#aff-view-dashboard .aff-leader-row { display: grid; grid-template-columns: 34px 48px minmax(0, 1fr) 70px 70px; align-items: center; gap: 12px;
  padding: 10px 10px; border-bottom: 1px solid #EEF1F7; }
#aff-view-dashboard .aff-leader-row:last-child { border-bottom: 0; }
#aff-view-dashboard .aff-leader-row.is-me { background: var(--c-gold-soft); border-radius: 12px; border-bottom-color: transparent; }
#aff-view-dashboard .aff-leader-row .aff-rank-medal { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .85rem; background: #F1F5F9; color: #64748B; }
#aff-view-dashboard .aff-leader-row .aff-rank-1 { background: linear-gradient(135deg, #F6E3A6, var(--c-gold)); color: var(--c-gold-ink); }
#aff-view-dashboard .aff-leader-row .aff-rank-2 { background: linear-gradient(135deg, #E9EEF5, #B9C3D2); color: #334155; }
#aff-view-dashboard .aff-leader-row .aff-rank-3 { background: linear-gradient(135deg, #F3D2B3, #C98B5C); color: #3B2210; }
#aff-view-dashboard .aff-leader-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--c-gold-2); background: #fff; }
#aff-view-dashboard .aff-leader-name strong { font-size: .95rem; color: var(--aff-primary); }
#aff-view-dashboard .aff-leader-name small { display: block; font-size: .74rem; color: var(--aff-gray-sub); }
#aff-view-dashboard .aff-me-tag { font-size: .65rem; font-weight: 800; padding: 2px 8px; border-radius: 9999px; background: var(--c-royal); color: #fff; vertical-align: 2px; }
#aff-view-dashboard .aff-leader-stat { text-align: center; }
#aff-view-dashboard .aff-leader-stat b { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--c-royal); }
#aff-view-dashboard .aff-leader-stat small { display: block; font-size: .68rem; font-weight: 700; color: var(--aff-gray-sub); }
#aff-view-dashboard .aff-leader-empty { padding: 26px; text-align: center; color: var(--aff-gray-sub); font-size: .9rem; }

@media (max-width: 767px) {
  #aff-view-dashboard .aff-sales-card { margin-left: -12px !important; margin-right: -12px !important; border-radius: 0; padding: 16px 14px; }
  #aff-view-dashboard .aff-sales-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  #aff-view-dashboard .aff-sale-box.s1 { grid-column: 1 / -1; }
  #aff-view-dashboard .aff-sale-box b { font-size: 1.3rem; }
  #aff-view-dashboard .aff-sales-chart { gap: 4px; height: 150px; }
  #aff-view-dashboard .aff-profile-row { flex-direction: column; align-items: stretch; gap: 16px; }
  #aff-view-dashboard .aff-profile-avatar { width: 104px; height: 104px; }
  #aff-view-dashboard .aff-leader-board { margin-left: -12px; margin-right: -12px; border-radius: 0; }
  #aff-view-dashboard .aff-leader-head { padding: 16px 14px; }
  #aff-view-dashboard .aff-leader-head h3 { font-size: 1.2rem; }
  #aff-view-dashboard .aff-leader-row { grid-template-columns: 28px 40px minmax(0, 1fr) 48px 48px; gap: 8px; padding: 9px 4px; }
  #aff-view-dashboard .aff-leader-avatar { width: 38px; height: 38px; }
}

/* Hộp đặt lịch trên điện thoại: bảng giá & thông tin chuyển khoản không tràn mép, số tiền 1 dòng */
@media (max-width: 767px) {
  #modal-qr-preview-box, .qr-price-summary-card, .qr-bank-details-wrapper, .qr-bank-info-table { min-width: 0; max-width: 100%; box-sizing: border-box; }
  .qr-price-summary-card { padding: 12px 12px !important; }
  .qr-price-row { display: flex !important; align-items: baseline; justify-content: space-between; gap: 10px; }
  .qr-price-row > span:first-child { flex: 1 1 auto; min-width: 0; font-size: .78rem !important; line-height: 1.35; }
  .qr-price-row > span:last-child { flex: 0 0 auto; white-space: nowrap; text-align: right; font-size: .82rem !important; }
  .qr-price-row.total-row > span:last-child { font-size: 1.15rem !important; }
  .qr-bank-details-wrapper { padding: 12px !important; }
  .qr-bank-info-table { width: 100% !important; }
  .bank-row { display: grid !important; grid-template-columns: 1fr; gap: 4px; padding: 8px 0 !important; }
  .bank-row > span:first-child { font-size: .72rem !important; opacity: .85; }
  .bank-val, .bank-val-copy { justify-self: stretch; min-width: 0; }
  .bank-val { font-size: .9rem !important; word-break: break-word; text-align: left !important; }
  .bank-val-copy { display: flex !important; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
  .bank-val-copy > strong, .bank-val-copy > span { font-size: .95rem !important; white-space: nowrap; }
  .btn-copy-mini { white-space: nowrap; flex-shrink: 0; font-size: .7rem !important; padding: 5px 9px !important; }
}

/* Ô Gmail nhận hoá đơn + ghi chú múi giờ Việt Nam (GMT+7) trong form đặt lịch */
.modal-field-hint { display: block; margin-top: 5px; font-size: 0.76rem; color: #7E968C; line-height: 1.4; }
.modal-tz-note { margin: -4px 0 16px; padding: 8px 12px; font-size: 0.8rem; line-height: 1.45; color: #2A5A44; background: #F3F8F4; border-left: 3px solid #D4AF37; border-radius: 6px; }

/* ===== Nút "ĐĂNG KÝ LÀM AFFILIATE" (mục Nhận tư vấn) + mục Affiliate ẩn sẵn ===== */
.section-orient-affiliate[hidden] { display: none !important; }
.lead-aff-btn {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1.5px solid #ECC876;
  border-radius: 9999px;
  background: transparent;
  color: #ECC876;
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.lead-aff-btn:hover, .lead-aff-btn[aria-expanded="true"] { background: #ECC876; color: #071F14; }
.aff-signup-link-box {
  max-width: 760px;
  margin: 0 auto 32px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #F5C9B5;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, .06);
}
.aff-signup-link-label { display: block; margin-bottom: 8px; font-weight: 700; color: #1E293B; font-size: .95rem; }
.aff-signup-link-row { display: flex; gap: 8px; }
.aff-signup-link-row input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  font-size: .95rem;
  color: #0F172A;
  background: #F8FAFC;
}
.aff-signup-link-row button {
  flex: none;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: #F05A28;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.aff-signup-link-box small { display: block; margin-top: 8px; color: #64748B; font-size: .85rem; line-height: 1.5; }
@media (max-width: 767px) {
  .lead-aff-btn { width: 100%; justify-content: center; }
  .aff-signup-link-row { flex-direction: column; }
  .aff-signup-link-row button { padding: 11px; }
}

/* ===== QUÀ TẶNG TRI ÂN ===== */
.gift-section{background:linear-gradient(180deg,#FBF6EC 0%,#F6EBDD 100%);padding:64px 0 70px;border-bottom:1px solid rgba(184,142,47,.28)}
.gift-header{text-align:center;max-width:720px;margin:0 auto 38px}
.gift-badge{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(135deg,#0D3B2A,#145238);color:#F1D58A;padding:7px 18px;border-radius:999px;font-size:.78rem;font-weight:700;letter-spacing:.14em}
.gift-heading{font-family:var(--font-display,'Playfair Display',serif);font-size:clamp(1.6rem,3.4vw,2.4rem);color:#0D3B2A;margin:16px 0 6px;line-height:1.25}
.gift-divider{color:#B88E2F;margin:6px 0 10px;display:flex;align-items:center;justify-content:center;gap:14px}
.gift-divider::before,.gift-divider::after{content:"";height:1px;width:70px;background:linear-gradient(90deg,transparent,#B88E2F)}
.gift-divider::after{background:linear-gradient(270deg,transparent,#B88E2F)}
.gift-sub{color:#5B4A2E;font-size:1.08rem;line-height:1.6;margin:0}
.gift-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;max-width:1080px;margin:0 auto}
.gift-card{margin:0;background:#fff;border-radius:18px;padding:10px 10px 14px;border:1px solid rgba(184,142,47,.45);box-shadow:0 10px 30px rgba(60,40,10,.14);transition:transform .35s ease,box-shadow .35s ease}
.gift-card:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(60,40,10,.22)}
.gift-zoom{display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in;border-radius:12px;overflow:hidden}
.gift-zoom img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;transition:transform .6s ease}
.gift-card:hover .gift-zoom img{transform:scale(1.04)}
.gift-card figcaption{text-align:center;color:#0D3B2A;font-weight:600;font-size:.95rem;margin-top:12px;letter-spacing:.02em}
.gift-lightbox{position:fixed;inset:0;z-index:10050;background:rgba(8,20,14,.9);display:flex;align-items:center;justify-content:center;padding:20px}
.gift-lightbox[hidden]{display:none}
.gift-lightbox img{max-width:min(92vw,720px);max-height:92vh;border-radius:12px;box-shadow:0 20px 60px rgba(0,0,0,.6)}
.gift-lightbox-close{position:absolute;top:14px;right:20px;background:none;border:0;color:#F1D58A;font-size:2.4rem;line-height:1;cursor:pointer}
@media(max-width:820px){.gift-grid{grid-template-columns:1fr;max-width:420px;gap:22px}.gift-section{padding:48px 0 52px}}

/* Banner Noel: câu dài hơn nên cho xuống dòng gọn, không tràn khung */
.hero-booking-offer { max-width: min(96vw, 1180px); text-align: center; line-height: 1.35; flex-wrap: nowrap; }
.hero-booking-offer > span { min-width: 0; }
@media (max-width: 900px) { .hero-booking-offer { border-radius: 22px; padding: 9px 16px; font-size: .9rem; } }
.gift-section{scroll-margin-top:96px}

/* Nhãn NEW PROMOTION đứng trước dòng ưu đãi */
.new-promo-tag{display:inline-block;background:#7B1E2B;color:#FFE9A8;padding:2px 9px;border-radius:999px;font-size:.72em;font-weight:800;letter-spacing:.12em;vertical-align:middle;margin-right:4px;animation:newPromoPulse 2.2s ease-in-out infinite}
@keyframes newPromoPulse{0%,100%{box-shadow:0 0 0 0 rgba(255,214,102,.55)}50%{box-shadow:0 0 0 6px rgba(255,214,102,0)}}
.mbh-tag .new-promo-tag{background:#F1D58A;color:#0D3B2A}
@media (prefers-reduced-motion:reduce){.new-promo-tag{animation:none}}
