/* ==========================================================================
   WONTRADE - RISE OF KINGDOMS TRADING PLATFORM STYLES
   Pixel-perfect replication for Desktop & Mobile
   ========================================================================== */

:root {
  --primary-red: #ff3b30;
  --primary-red-hover: #e02d23;
  --primary-red-light: rgba(255, 59, 48, 0.10);
  --dark-text: #1c1c1e;
  --body-text: #3c3c43;
  --muted-text: #8e8e93;
  --border-color: rgba(60, 60, 67, 0.12);
  --border-subtle: rgba(60, 60, 67, 0.08);
  --bg-color: #f2f2f7;
  --card-bg: #ffffff;
  
  /* Modern iOS Soft Tag Tint Colors */
  --tag-orange-bg: rgba(255, 149, 0, 0.09);
  --tag-orange-border: rgba(255, 149, 0, 0.24);
  --tag-orange-text: #c25e00;
  
  --tag-blue-bg: rgba(0, 122, 255, 0.08);
  --tag-blue-border: rgba(0, 122, 255, 0.22);
  --tag-blue-text: #007aff;
  
  --badge-dark-bg: #1c1c1e;
  --badge-red-bg: #ff3b30;
  
  --gold-accent: #ff9500;
  --gold-border: #dfa234;
  
  --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.04), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
  --shadow-card-hover: 0 12px 32px -4px rgba(0, 0, 0, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.03);
  
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-pill: 9999px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

/* Ẩn thanh cuộn toàn bộ trang (vẫn cuộn mượt mà bình thường) */
html, body {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE & Edge */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  display: none !important; /* Chrome, Safari, Opera, Edge */
  width: 0 !important;
  height: 0 !important;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--dark-text);
  line-height: 1.5;
  font-size: 14px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

input, select {
  font-family: inherit;
  outline: none;
}

/* Container Wrapper */
.app-viewport {
  width: 100%;
  margin: 0 auto;
  transition: max-width 0.3s ease, box-shadow 0.3s ease;
}

/* Simulated Mobile View */
body.force-mobile .app-viewport {
  max-width: 430px;
  background: #f4f5f8;
  min-height: 100vh;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow-x: hidden;
  margin: 20px auto 80px auto;
  border-radius: 28px;
  border: 8px solid #222;
}

/* ==========================================================================
   HEADER - DESKTOP
   ========================================================================== */
.site-header {
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  height: 62px;
  border-bottom: 0.5px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left, .header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #1c1c1e;
  user-select: none;
}

.logo-dagger {
  color: var(--primary-red);
  font-size: 24px;
  margin: 0 -1px;
  display: inline-block;
  transform: translateY(-1px);
}

.header-divider {
  width: 1px;
  height: 18px;
  background-color: var(--border-color);
}

/* Game Selector Pill */
.game-selector-dropdown {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px 4px 5px;
  background: rgba(255, 255, 255, 0.8);
  border: 0.5px solid var(--border-color);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-size: 13px;
  font-weight: 600;
  color: #1c1c1e;
  box-shadow: var(--shadow-sm);
}

.game-selector-dropdown:hover {
  background: #ffffff;
  border-color: rgba(60, 60, 67, 0.25);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.game-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold-border);
}

.game-name {
  font-weight: 600;
  color: #1c1c1e;
  letter-spacing: -0.01em;
}

.chevron-svg {
  display: inline-block;
  color: #8e8e93;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s;
}

.chevron-down {
  font-size: 11px;
  color: #8c8c8c;
  margin-left: 2px;
}

/* Action Buttons */
.btn-sell-red {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--primary-red);
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(230, 0, 18, 0.28);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-sell-red:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(230, 0, 18, 0.38);
}

.btn-desktop-save {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 0.5px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  color: #3c3c43;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-desktop-save:hover {
  background: #ffffff;
  border-color: rgba(60, 60, 67, 0.25);
  color: #1c1c1e;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.header-guide-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 0.5px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  color: #3c3c43;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
}

.header-guide-link:hover {
  background: #ffffff;
  border-color: rgba(60, 60, 67, 0.25);
  color: #1c1c1e;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.header-official-pill {
  display: inline-flex;
  align-items: center;
  gap: 3.5px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid rgba(217, 119, 6, 0.3);
  color: #b45309;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  box-shadow: 0 1px 3px rgba(217, 119, 6, 0.1);
  user-select: none;
  margin-left: 6px;
}

/* Header Right items */
.header-icon-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #3c3c43;
  font-size: 16px;
  position: relative;
  background: rgba(142, 142, 147, 0.08);
  border: 0.5px solid rgba(60, 60, 67, 0.08);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.header-icon-btn:hover {
  background-color: rgba(142, 142, 147, 0.16);
  color: #1c1c1e;
  transform: scale(1.05);
}

.badge-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 6px;
  height: 6px;
  background-color: var(--primary-red);
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px #fff;
}

.header-select-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #3c3c43;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 0.5px solid var(--border-color);
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-sm);
}

.header-select-btn:hover {
  background-color: #ffffff;
  border-color: rgba(60, 60, 67, 0.25);
  color: #1c1c1e;
  transform: translateY(-1px);
}

.flag-icon {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 3px;
}

.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--primary-red);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(230, 0, 18, 0.28);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-login:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(230, 0, 18, 0.38);
}

.btn-chat-zalo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #ff3b30 0%, #e60012 100%);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(230, 0, 18, 0.32);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-chat-zalo:hover {
  background: linear-gradient(135deg, #ff2a3d 0%, #cf0010 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(230, 0, 18, 0.45);
}

/* ==========================================================================
   MOBILE HEADER OVERLAY (Appears on Mobile)
   ========================================================================== */
.mobile-header-bar {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 14px 16px;
  z-index: 20;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 80%, transparent 100%);
  box-sizing: border-box;
}

.mobile-logo {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.mobile-logo .logo-dagger {
  color: #ff3b30;
}

.mobile-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 0.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-nav-link:active {
  transform: scale(0.92);
  background: rgba(255, 255, 255, 0.35);
}

.mobile-header-icon {
  color: #ffffff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 0.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-header-icon:active {
  transform: scale(0.90);
  background: rgba(255, 255, 255, 0.35);
}

.mobile-header-icon.mobile-header-zalo,
.mobile-header-zalo {
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  animation: none !important;
}

.mobile-header-icon.mobile-header-zalo:hover,
.mobile-header-zalo:hover,
.mobile-header-icon.mobile-header-zalo:active,
.mobile-header-zalo:active {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  transform: scale(0.96) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08) !important;
}

.mobile-gold-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: radial-gradient(circle, #fadb14 0%, #d48806 100%);
  border-radius: 8px;
  border: 1px solid #ffe58f;
  color: #593b00;
  font-size: 11px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.hero-banner-container {
  max-width: 1320px;
  margin: 16px auto 0 auto;
  padding: 0 20px;
  position: relative;
}

.hero-banner {
  width: 100%;
  height: 260px;
  border-radius: 20px;
  background: #0f172a;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.3) 45%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
  z-index: 3;
}

/* Background Slides Track (Chạy trượt qua lại giữa các ảnh banner) */
.banner-slides-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  z-index: 1;
}

.banner-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  background-position: center 32%;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

@media (max-width: 768px), (pointer: coarse) and (max-width: 900px) {
  .banner-slide {
    background-position: center center;
  }
}

/* Prev / Next Arrow buttons (Desktop & Tablet) */
.banner-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  opacity: 0;
  transition: all 0.25s ease;
}

.hero-banner:hover .banner-arrow-btn {
  opacity: 0.85;
}

.banner-arrow-btn:hover {
  opacity: 1 !important;
  background: rgba(15, 23, 42, 0.85);
  transform: translateY(-50%) scale(1.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.banner-arrow-btn.prev {
  left: 16px;
}

.banner-arrow-btn.next {
  right: 16px;
}

@media (max-width: 768px) {
  .banner-arrow-btn {
    display: none;
  }
}

/* Desktop Dots Indicators */
.banner-dots-track {
  position: absolute;
  bottom: 14px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 6;
}

.banner-dots-track .b-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.banner-dots-track .b-dot.active {
  width: 20px;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
}

/* Desktop Banner Text Overlay */
.banner-overlay-content {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.banner-headline {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff2a3 0%, #fadb14 45%, #d48806 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.9));
  max-width: 480px;
  line-height: 1.25;
}

.banner-ribbon {
  background: linear-gradient(135deg, #a8071a 0%, #cf1322 40%, #e60012 100%);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 6px 28px;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  border: 1px solid rgba(255, 215, 0, 0.4);
  box-shadow: 0 4px 14px rgba(0,0,0,0.5);
  text-transform: uppercase;
}

/* Mobile Banner Content (iOS Glass Aesthetic) */
.mobile-banner-content {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 5;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 22px;
  text-align: center;
  box-sizing: border-box;
}

.mobile-banner-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  border: 0.5px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  margin-bottom: 8px;
}

.mobile-banner-title {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  margin-bottom: 4px;
}

.mobile-banner-subtitle {
  color: rgba(255, 255, 255, 0.92);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 8px;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.carousel-dot.active {
  width: 18px;
  border-radius: 9999px;
  background-color: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* iOS Sheet Grabber Handle */
.ios-sheet-handle {
  width: 38px;
  height: 5px;
  border-radius: 9999px;
  background: rgba(60, 60, 67, 0.22);
  margin: 10px auto 14px auto;
  display: none;
}

/* ==========================================================================
   MAIN CONTENT AREA
   ========================================================================== */
.main-wrapper {
  max-width: 1320px;
  margin: 16px auto 40px auto;
  padding: 0 20px;
  flex: 1;
  position: relative;
}

.content-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  border: 0.5px solid var(--border-color);
  overflow: hidden;
}

/* Tabs */
.tabs-header {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  background: #ffffff;
  position: relative;
  padding: 0 10px;
}

.tab-btn {
  padding: 16px 26px;
  font-size: 15px;
  font-weight: 600;
  color: #8c8c8c;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 12px 12px 0 0;
}

.tab-btn:hover {
  color: #1d2129;
}

.tab-btn.active {
  color: #1d2129;
  font-weight: 700;
}

.tab-indicator {
  display: none;
  width: 32px;
  height: 4px;
  background-color: var(--primary-red);
  border-radius: var(--radius-pill);
  position: absolute;
  bottom: 0;
}

.tab-btn.active .tab-indicator {
  display: block;
}

/* Tab 2 with light gray background tab look on mobile */
.tab-btn-preview {
  color: #8c8c8c;
  font-weight: 500;
}

/* ==========================================================================
   FILTER SECTION (Desktop)
   ========================================================================== */
.filter-section {
  padding: 18px 24px 16px 24px;
  border-bottom: 1px solid #f0f0f0;
}

.filter-row-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn-all {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid #d9d9d9;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: #262626;
  background: #ffffff;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.filter-btn-all:hover {
  border-color: #bfbfbf;
  background: #fbfbfc;
}

.filter-dropdown {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border: 1px solid #e5e6eb;
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: #4e5969;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.filter-dropdown:hover {
  border-color: #d9d9d9;
  background: #fbfbfc;
}

.filter-dropdown .label {
  color: #86909c;
}

.filter-dropdown .val {
  color: #1d2129;
  font-weight: 500;
}

.filter-label {
  font-size: 13px;
  font-weight: 600;
  color: #4e5969;
  margin-right: 2px;
}

.price-range-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.price-input-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid #e5e6eb;
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  background: #ffffff;
  width: 105px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.price-input-wrapper:focus-within {
  border-color: #ff3b30;
  box-shadow: 0 0 0 2px rgba(255, 59, 48, 0.12);
}

.price-currency {
  color: #86909c;
  font-size: 13px;
  margin-left: 2px;
  font-weight: 600;
}

.price-input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 12.5px;
  color: #1d2129;
  outline: none;
}

.price-input::placeholder {
  color: #bfbfbf;
}

.range-dash {
  color: #8c8c8c;
}

/* Quick price selection chips */
.price-quick-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-left: 6px;
}

.quick-chip {
  padding: 5px 12px;
  border: 1px solid #e5e6eb;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: #4e5969;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  user-select: none;
}

.quick-chip:hover {
  border-color: #ff3b30;
  color: #ff3b30;
  background: rgba(255, 59, 48, 0.04);
  transform: translateY(-1px);
}

.quick-chip.active {
  background: linear-gradient(135deg, rgba(255, 59, 48, 0.12) 0%, rgba(230, 0, 18, 0.08) 100%);
  border-color: #ff3b30;
  color: #ff3b30;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(255, 59, 48, 0.15);
}

.search-input-wrapper {
  margin-left: 0;
  display: flex;
  align-items: center;
  border: 1px solid #e5e6eb;
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  background: #ffffff;
  width: 250px;
  transition: border-color 0.2s, width 0.2s, box-shadow 0.2s;
}

.search-input-wrapper:focus-within {
  border-color: #ff3b30;
  width: 280px;
  box-shadow: 0 0 0 2px rgba(255, 59, 48, 0.12);
}

.search-icon-svg {
  margin-right: 8px;
  flex-shrink: 0;
}

.search-input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 13px;
  color: #1d2129;
  outline: none;
}

.search-input::placeholder {
  color: #8c8c8c;
}

/* Filter Row Bottom */
.filter-row-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f2f3f5;
  font-size: 13px;
}

.filter-bottom-left {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #86909c;
}

.btn-reset-filter {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border: 1px solid #e5e6eb;
  border-radius: var(--radius-pill);
  background: #ffffff;
  font-size: 12px;
  font-weight: 600;
  color: #4e5969;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.btn-reset-filter:hover {
  background: #f7f8fa;
  border-color: #ff3b30;
  color: #ff3b30;
  transform: translateY(-1px);
}

.filter-bottom-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Sort Select Box */
.sort-select-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-label {
  font-size: 13px;
  color: #86909c;
  font-weight: 600;
}

.custom-select-box {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.custom-select-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #ffffff;
  border: 1.5px solid #e5e6eb;
  border-radius: var(--radius-pill);
  padding: 6px 14px 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #1d2129;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  user-select: none;
  min-width: 200px;
}

.custom-select-trigger:hover {
  border-color: #ff3b30;
  color: #ff3b30;
  box-shadow: 0 2px 8px rgba(255, 59, 48, 0.12);
}

.custom-select-box.open .custom-select-trigger {
  border-color: #ff3b30;
  box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.14);
  color: #ff3b30;
}

.custom-select-trigger .chevron-svg {
  color: #86909c;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
  flex-shrink: 0;
}

.custom-select-box.open .chevron-svg {
  transform: rotate(180deg);
  color: #ff3b30;
}

/* Custom Dropdown Menu Card (Tránh khung thô mặc định của trình duyệt) */
.custom-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 236px;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 
    0 16px 38px -4px rgba(15, 23, 42, 0.16),
    0 6px 16px -2px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(0, 0, 0, 0.03);
  padding: 6px;
  z-index: 1000;
  animation: customDropdownIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.custom-select-box.open .custom-dropdown-menu {
  display: block;
}

@keyframes customDropdownIn {
  0% {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.custom-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  transition: all 0.16s ease;
  user-select: none;
}

.custom-dropdown-item:hover {
  background: rgba(255, 59, 48, 0.08);
  color: #ff3b30;
  transform: translateX(2px);
}

.custom-dropdown-item .check-icon {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.16s ease;
  color: #ff3b30;
  flex-shrink: 0;
}

.custom-dropdown-item.active {
  background: rgba(255, 59, 48, 0.09);
  color: #e60012;
  font-weight: 700;
}

.custom-dropdown-item.active .check-icon {
  opacity: 1;
  transform: scale(1);
}

/* Fallback Sort Select */
.sort-select {
  appearance: none;
  -webkit-appearance: none;
  background: #ffffff;
  border: 1px solid #e5e6eb;
  border-radius: var(--radius-pill);
  padding: 6px 32px 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #1d2129;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

/* Mobile Filter Bar Overlay/Row */
.mobile-filter-bar {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 10px 14px 6px 14px;
}

.mobile-search-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-search-box {
  flex: 1;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e5e6eb;
  border-radius: var(--radius-pill);
  padding: 6px 12px;
}

.mobile-search-box input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 13px;
  color: #1d2129;
  outline: none;
}

.mobile-sort-box {
  position: relative;
  display: flex;
  align-items: center;
}

.mobile-sort-select {
  appearance: none;
  -webkit-appearance: none;
  background: #ffffff;
  border: 1px solid #e5e6eb;
  border-radius: var(--radius-pill);
  padding: 6px 24px 6px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #1d2129;
  cursor: pointer;
}

.mobile-sort-box .chevron-svg {
  position: absolute;
  right: 8px;
  pointer-events: none;
  color: #86909c;
}

.mobile-quick-chips-row {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.mobile-quick-chips-row::-webkit-scrollbar {
  display: none;
}

.mobile-quick-chips-row .quick-chip {
  font-size: 11.5px;
  padding: 4px 10px;
}

.mobile-filter-subrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #86909c;
  padding: 2px 2px 0 2px;
}

.mobile-reset-btn {
  padding: 3px 10px;
  font-size: 11px;
}

/* ==========================================================================
   LISTINGS CONTAINER & PRODUCT CARDS
   ========================================================================== */
.listings-container {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 18px;
  padding: 15px 18px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 18px;
  position: relative;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 0, 0, 0.09);
  box-shadow: 0 10px 28px -4px rgba(0, 0, 0, 0.06);
}

/* Card Left Column */
.card-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
}

.card-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.card-title {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.badge-play {
  background: #fee2e2;
  color: #ef4444;
  border: 1px solid #fecaca;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 9999px;
  letter-spacing: 0.1px;
  box-shadow: none;
}

.badge-dark {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 9999px;
  letter-spacing: 0.2px;
}

.kingdom-info {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.kingdom-info .k-code {
  font-weight: 600;
  color: #475569;
}

.kingdom-info .k-divider {
  color: #e2e8f0;
}

.kingdom-info .immigration {
  color: #059669;
  font-weight: 600;
  background: #ecfdf5;
  border: 1px solid #d1fae5;
  padding: 1.5px 8px;
  border-radius: 9999px;
  font-size: 10.5px;
}

.stats-info {
  font-size: 11.5px;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 9999px;
  padding: 4px 12px;
  line-height: 1.4;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
}

.stats-info .stats-icon {
  color: #f59e0b;
  opacity: 0.9;
  flex-shrink: 0;
}

/* Tags Container */
.tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}

.tag-badge {
  font-size: 10.5px;
  font-weight: 500;
  padding: 2.5px 9px;
  border-radius: 9999px;
  line-height: 1.35;
  white-space: nowrap;
  letter-spacing: -0.1px;
  transition: all 0.2s ease;
}

.tag-badge.orange {
  background-color: #fff7ed;
  border: 1px solid #ffedd5;
  color: #c2410c;
}

.tag-badge.blue {
  background-color: #f0f9ff;
  border: 1px solid #e0f2fe;
  color: #0284c7;
}

/* Card Right Column */
.card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  min-width: 140px;
  width: auto;
  flex-shrink: 0;
}

.card-right-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  width: 100%;
}

.btn-card-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  font-size: 11.5px;
  font-weight: 600;
  color: #334155;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-card-detail:hover {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.price-fav-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
}

.price-text {
  color: #e11d48;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.mobile-price-container {
  display: none; /* Hidden on desktop */
  position: absolute;
  top: 14px;
  right: 14px;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  z-index: 2;
}

.btn-fav {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  transition: all 0.2s ease;
}

.btn-fav:hover {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #ea580c;
}

.btn-fav.active {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #ea580c;
}

.star-svg {
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-fav:hover .star-svg,
.btn-fav:active .star-svg {
  transform: scale(1.15);
}

/* Commanders Row */
.commanders-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0 8px 0;
}

.commander-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 54px;
  text-align: center;
}

.commander-frame {
  position: relative;
  width: 50px;
  height: 50px;
  background: #1c1c1e;
  border-radius: 13px;
  border: 1.5px solid var(--gold-border);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.commander-frame:hover {
  transform: translateY(-2px) scale(1.04);
}

.commander-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gold Level Badge */
.level-badge {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.78);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: #ffd60a;
  font-weight: 800;
  font-size: 9.5px;
  padding: 1px 6px;
  border-radius: 5px 5px 0 0;
  line-height: 12px;
  border: 0.5px solid rgba(255, 214, 10, 0.5);
  border-bottom: none;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.commander-name {
  font-size: 10px;
  color: #3c3c43;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 5px;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Small emblem / multiply icon next to commanders */
.gem-star-count {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  color: #86909c;
  font-weight: 600;
  align-self: center;
  margin-left: 2px;
}

.gem-icon {
  width: 14px;
  height: 14px;
}

/* Countdown Time status (Gọn gàng, nhỏ gọn, không xuống dòng) */
.time-status {
  display: none !important;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
  background: rgba(142, 142, 147, 0.08);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  border: 0.5px solid rgba(60, 60, 67, 0.12);
  white-space: nowrap;
  line-height: 1.25;
}

.time-status span {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.time-status strong,
.time-status .timer-tick {
  color: #ef4444;
  font-weight: 700;
  white-space: nowrap;
}

.time-clock-svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  color: #64748b;
}

/* ==========================================================================
   PAGINATION (Desktop)
   ========================================================================== */
.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 18px 24px;
  border-top: 1px solid #f0f0f0;
}

.page-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 13px;
  color: #4e5969;
  border: 1px solid #e5e6eb;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.page-btn:hover:not(.disabled) {
  background-color: #f2f3f5;
  border-color: #d9d9d9;
  transform: translateY(-1px);
}

.page-btn.active {
  background-color: var(--primary-red);
  color: #ffffff;
  border-color: var(--primary-red);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(230, 0, 18, 0.3);
}

.page-btn.disabled {
  color: #c9cdd4;
  cursor: not-allowed;
  opacity: 0.6;
}

/* ==========================================================================
   FLOATING RIGHT SIDEBAR (Desktop)
   ========================================================================== */
.floating-sidebar {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 0.5px solid rgba(60, 60, 67, 0.12);
  display: flex;
  flex-direction: column;
  padding: 10px 8px;
  gap: 12px;
  z-index: 900;
}

.floating-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #3c3c43;
  font-size: 17px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  text-decoration: none;
}

.floating-btn:hover {
  background-color: rgba(255, 59, 48, 0.10);
  color: #ff3b30;
  transform: scale(1.1);
}

.floating-zalo-btn:hover {
  background-color: rgba(255, 59, 48, 0.10) !important;
  color: #ff3b30 !important;
}

.floating-tooltip {
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(28, 28, 30, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.floating-btn:hover .floating-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(-4px);
}

/* ==========================================================================
   FOOTER (Desktop)
   ========================================================================== */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 40px 20px 28px 20px;
  margin-top: 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.6fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 600;
  color: #1d2129;
  margin-bottom: 18px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 13px;
  color: #4e5969;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--primary-red);
}

/* Brand Partners Column */
.brand-logos-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.brand-rok-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold-border);
}

.feature-badges-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.feature-pill {
  background-color: #2b303c;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.2px;
}

/* Payment Methods Grid */
.payment-methods-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.payment-card-logo {
  height: 26px;
  padding: 2px 10px;
  background: #ffffff;
  border: 1px solid #e5e6eb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #1f2329;
  transition: border-color 0.2s, transform 0.2s;
}

.payment-card-logo:hover {
  border-color: #c9cdd4;
  transform: translateY(-1px);
}

.payment-card-logo.visa {
  color: #1a1f71;
  font-weight: 900;
  font-style: italic;
  font-size: 13px;
}

.payment-card-logo.mastercard {
  color: #eb001b;
  font-weight: 800;
}

.payment-card-logo.amex {
  background: #006fcf;
  color: #fff;
  border-color: #006fcf;
  font-size: 10px;
}

.payment-card-logo.jcb {
  color: #007940;
  font-weight: 800;
}

.payment-card-logo.apple-pay {
  background: #000;
  color: #fff;
  border-color: #000;
  font-size: 11px;
}

.payment-card-logo.google-pay {
  border-color: #dadce0;
  font-size: 11px;
}

.copyright-text {
  font-size: 11px;
  color: #86909c;
  letter-spacing: 0.3px;
  margin-top: 14px;
  line-height: 1.5;
}

/* ==========================================================================
   MOBILE BOTTOM DOCK NAVIGATION (Apple iOS Native Floating Tab Bar - Luxury & Distinct)
   ========================================================================== */
.mobile-bottom-dock {
  display: none;
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom, 16px));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 326px;
  height: 62px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  backdrop-filter: blur(28px) saturate(190%);
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 
    0 16px 36px -4px rgba(15, 23, 42, 0.12),
    0 6px 16px -2px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(0, 0, 0, 0.04),
    inset 0 1.5px 2px rgba(255, 255, 255, 1);
  padding: 4px 5px;
  z-index: 10000;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: iosDockSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  user-select: none;
  -webkit-user-select: none;
  box-sizing: border-box;
}

@keyframes iosDockSlideUp {
  0% {
    opacity: 0;
    transform: translate(-50%, 22px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

/* iOS Tab Item - High-end Tactile Capsule Navigation */
.mobile-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #8e8e93;
  text-decoration: none;
  cursor: pointer;
  flex: 1;
  height: 100%;
  padding: 4px 6px;
  box-sizing: border-box;
  border-radius: 9999px;
  position: relative;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), 
              background 0.22s ease, 
              box-shadow 0.22s ease, 
              color 0.2s ease,
              border-color 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  border: 1px solid transparent;
}

.mobile-dock-item:active {
  transform: scale(0.93);
}

.mobile-dock-icon-box {
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* SF Symbols & Icons */
.sf-icon {
  width: 22px;
  height: 22px;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), stroke-width 0.2s ease;
  flex-shrink: 0;
}

.mobile-dock-label {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #8e8e93;
  letter-spacing: -0.15px;
  line-height: 1.1;
  margin-top: 1px;
  transition: color 0.2s ease, font-weight 0.2s ease;
}

/* Active State - Tactile Elevated Capsule in White */
.mobile-dock-item.active {
  background: #ffffff;
  color: var(--primary-red, #e60012);
  border: 1px solid rgba(230, 0, 18, 0.14);
  box-shadow: 
    0 4px 14px -2px rgba(230, 0, 18, 0.14),
    0 2px 6px -1px rgba(0, 0, 0, 0.05),
    inset 0 1px 1.5px #ffffff;
}

.mobile-dock-item.active .sf-icon {
  transform: scale(1.05);
}

.mobile-dock-item.active .mobile-dock-label {
  color: var(--primary-red, #e60012);
  font-weight: 700;
}

/* Fallback aliases if any other script/template calls old classes */
.mobile-dock-center,
.mobile-center-sell {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #8e8e93;
  text-decoration: none;
}

/* ==========================================================================
   RESPONSIVE LAYOUT BREAKPOINTS
   ========================================================================== */

/* Mobile Mode (Triggered naturally on screens <= 768px OR when force-mobile class is active) */
@media (max-width: 768px), (pointer: coarse) and (max-width: 900px) {
  body:not(.force-desktop) .site-header,
  body:not(.force-desktop) .floating-sidebar,
  body:not(.force-desktop) .site-footer,
  body:not(.force-desktop) .filter-section,
  body:not(.force-desktop) .mobile-banner-content,
  body:not(.force-desktop) .ios-sheet-handle {
    display: none !important;
  }

  body:not(.force-desktop) .mobile-header-bar {
    display: flex !important;
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 52px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    padding: 0 16px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03) !important;
    align-items: center !important;
    justify-content: space-between !important;
    z-index: 1000 !important;
    box-sizing: border-box !important;
  }

  body:not(.force-desktop) .mobile-logo {
    display: inline-flex !important;
    align-items: center !important;
    color: #0f172a !important;
    text-shadow: none !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    letter-spacing: -0.03em !important;
    text-decoration: none !important;
    user-select: none !important;
    transition: opacity 0.15s ease !important;
  }

  body:not(.force-desktop) .mobile-logo:active {
    opacity: 0.75 !important;
  }

  body:not(.force-desktop) .mobile-logo .logo-dagger {
    color: #e60012 !important;
    font-weight: 900 !important;
    margin: 0 1px !important;
    filter: drop-shadow(0 2px 4px rgba(230, 0, 18, 0.25)) !important;
  }

  body:not(.force-desktop) .mobile-header-right {
    display: flex !important;
    align-items: center !important;
  }

  body:not(.force-desktop) .mobile-nav-link,
  body:not(.force-desktop) .mobile-header-icon:not(.mobile-header-zalo) {
    display: none !important;
  }

  body:not(.force-desktop) .mobile-header-zalo {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    background: #ffffff !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    color: #0f172a !important;
    border-radius: 9999px !important;
    padding: 0 11px 0 9px !important;
    height: 31px !important;
    width: auto !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
    text-decoration: none !important;
    user-select: none !important;
    transition: all 0.15s ease !important;
    animation: none !important;
  }

  body:not(.force-desktop) .mobile-header-zalo:hover,
  body:not(.force-desktop) .mobile-header-zalo:active {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    transform: scale(0.96) !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08) !important;
  }

  body:not(.force-desktop) .mobile-zalo-icon-box {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 15px !important;
    height: 15px !important;
    flex-shrink: 0 !important;
  }

  body:not(.force-desktop) .mobile-header-zalo .mobile-zalo-icon {
    width: 14.5px !important;
    height: 14.5px !important;
    color: #e60012 !important;
    stroke: #e60012 !important;
    stroke-width: 2.1 !important;
    filter: none !important;
    display: block !important;
  }

  body:not(.force-desktop) .mobile-header-zalo .mobile-online-status {
    position: absolute !important;
    top: -1.5px !important;
    right: -2.5px !important;
    width: 5.5px !important;
    height: 5.5px !important;
    background-color: #10b981 !important;
    border-radius: 50% !important;
    border: 1px solid #ffffff !important;
    box-shadow: 0 0 2px rgba(16, 185, 129, 0.4) !important;
    flex-shrink: 0 !important;
  }

  body:not(.force-desktop) .mobile-header-zalo .mobile-zalo-text {
    font-size: 11.5px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    color: #0f172a !important;
  }

  body:not(.force-desktop) .mobile-filter-bar,
  body:not(.force-desktop) .mobile-bottom-dock {
    display: flex !important;
  }

  body:not(.force-desktop) .hero-banner-container {
    padding: 0 12px !important;
    margin: 12px auto 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body:not(.force-desktop) .hero-banner {
    border-radius: 16px !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 2.35 / 1 !important;
    min-height: 145px !important;
    max-height: 190px !important;
    background: #0f172a !important;
    overflow: hidden !important;
    position: relative !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
  }

  body:not(.force-desktop) .banner-slide {
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: 46% center !important;
  }

  body:not(.force-desktop) .banner-overlay-content {
    display: flex !important;
    position: absolute !important;
    right: 12px !important;
    bottom: 10px !important;
    top: auto !important;
    transform: none !important;
    z-index: 5 !important;
    text-align: right !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 3px !important;
    max-width: 62% !important;
    pointer-events: none !important;
  }

  body:not(.force-desktop) .banner-headline {
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: 0.2px !important;
    line-height: 1.25 !important;
    background: linear-gradient(180deg, #fff2a3 0%, #fadb14 45%, #d48806 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.85)) !important;
    margin: 0 !important;
  }

  body:not(.force-desktop) .banner-ribbon {
    display: inline-block !important;
    background: linear-gradient(90deg, #e60012 0%, #ff3b30 100%) !important;
    color: #ffffff !important;
    font-size: 8px !important;
    font-weight: 800 !important;
    padding: 2.5px 8px !important;
    border-radius: 9999px !important;
    letter-spacing: 0.2px !important;
    box-shadow: 0 2px 8px rgba(230, 0, 18, 0.4) !important;
    transform: skew(-4deg) !important;
  }

  body:not(.force-desktop) .banner-dots-track {
    display: flex !important;
    position: absolute !important;
    bottom: 8px !important;
    left: 12px !important;
    z-index: 6 !important;
    gap: 5px !important;
    align-items: center !important;
  }

  body:not(.force-desktop) .banner-dots-track .b-dot {
    width: 5px !important;
    height: 5px !important;
    border-radius: 9999px !important;
    background: rgba(255, 255, 255, 0.45) !important;
  }

  body:not(.force-desktop) .banner-dots-track .b-dot.active {
    width: 14px !important;
    background: #ffffff !important;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8) !important;
  }

  body:not(.force-desktop) .main-wrapper {
    margin: 10px auto 0 auto !important;
    padding: 0 12px 115px 12px !important;
    max-width: 100% !important;
  }

  body:not(.force-desktop) .content-card {
    border-radius: 16px !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03) !important;
    background: #ffffff !important;
    padding: 10px 0 24px 0 !important;
  }

  body:not(.force-desktop) .tabs-header {
    background: #ffffff;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    padding: 0 8px;
  }

  body:not(.force-desktop) .tab-btn {
    flex: 1;
    text-align: center;
    padding: 14px 10px;
    font-size: 15px;
  }

  body:not(.force-desktop) .tab-btn.active {
    background: transparent;
  }

  body:not(.force-desktop) .tab-btn-preview {
    background: #eef0f3;
    border-radius: 0 16px 0 0;
  }

  body:not(.force-desktop) .tab-indicator {
    bottom: 6px;
    height: 3.5px;
    border-radius: var(--radius-pill);
  }

  body:not(.force-desktop) .mobile-filter-bar {
    background: transparent !important;
    padding: 6px 16px 12px 16px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #4e5969 !important;
    letter-spacing: -0.05px !important;
    text-transform: none !important;
  }

  body:not(.force-desktop) .listings-container {
    padding: 0 12px !important;
    gap: 12px !important;
  }

  body:not(.force-desktop) .product-card {
    flex-direction: column !important;
    padding: 12px 14px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
    background: #ffffff !important;
    gap: 8px !important;
  }

  body:not(.force-desktop) .product-card:active {
    transform: scale(0.99) !important;
  }

  body:not(.force-desktop) .mobile-price-container {
    display: flex !important;
    position: absolute !important;
    top: 18px !important;
    right: 20px !important;
    z-index: 5 !important;
  }

  body:not(.force-desktop) .mobile-price-container .btn-fav {
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 0.5px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    padding: 3.5px 9px !important;
    border-radius: 9999px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
    font-size: 11px !important;
  }

  body:not(.force-desktop) .price-fav-row {
    display: none !important;
  }

  body:not(.force-desktop) .price-text {
    font-size: 16px !important;
  }

  body:not(.force-desktop) .card-left {
    padding-right: 0 !important;
    width: 100% !important;
    gap: 5px !important;
  }

  body:not(.force-desktop) .card-title {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    line-height: 1.35 !important;
  }

  body:not(.force-desktop) .stats-info {
    font-size: 11px !important;
    color: #475569 !important;
    background: #f8fafc !important;
    border: 1px solid #edf2f7 !important;
    border-radius: 9999px !important;
    padding: 3px 10px !important;
    width: fit-content !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body:not(.force-desktop) .tags-wrap {
    gap: 4px !important;
  }

  body:not(.force-desktop) .tag-badge {
    font-size: 10px !important;
    padding: 2px 8px !important;
    border-radius: 9999px !important;
  }

  body:not(.force-desktop) .card-right {
    min-width: 100% !important;
    width: 100% !important;
    margin-top: 2px !important;
    padding-top: 6px !important;
    border-top: 0.5px solid rgba(60, 60, 67, 0.08) !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  body:not(.force-desktop) .card-right-bottom {
    width: 100% !important;
    flex-direction: row !important;
    justify-content: flex-end !important;
    align-items: center !important;
  }

  body:not(.force-desktop) .btn-card-detail {
    padding: 4px 12px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    border-radius: 9999px !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #334155 !important;
  }

  body:not(.force-desktop) .commanders-row {
    justify-content: flex-start !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding-bottom: 4px !important;
    width: 100% !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  body:not(.force-desktop) .commanders-row::-webkit-scrollbar {
    display: none !important;
  }

  body:not(.force-desktop) .commander-item {
    width: 50px !important;
    flex-shrink: 0 !important;
  }

  body:not(.force-desktop) .commander-frame {
    width: 48px !important;
    height: 48px !important;
    border-radius: 12px !important;
  }

  body:not(.force-desktop) .commander-name {
    font-size: 9.5px !important;
    font-weight: 600 !important;
  }

  body:not(.force-desktop) .time-status {
    margin-top: 10px !important;
    justify-content: flex-start !important;
    align-self: flex-start !important;
  }

  body:not(.force-desktop) .pagination-wrap {
    display: none !important;
  }
}

/* Force Mobile Class for PC Simulation */
body.force-mobile .site-header,
body.force-mobile .floating-sidebar,
body.force-mobile .site-footer,
body.force-mobile .filter-section,
body.force-mobile .mobile-banner-content,
body.force-mobile .ios-sheet-handle {
  display: none !important;
}

body.force-mobile .mobile-header-bar {
  display: flex !important;
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 52px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  padding: 0 16px !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03) !important;
  align-items: center !important;
  justify-content: space-between !important;
  z-index: 1000 !important;
  box-sizing: border-box !important;
}

body.force-mobile .mobile-logo {
  display: inline-flex !important;
  align-items: center !important;
  color: #0f172a !important;
  text-shadow: none !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
  text-decoration: none !important;
  user-select: none !important;
  transition: opacity 0.15s ease !important;
}

body.force-mobile .mobile-logo:active {
  opacity: 0.75 !important;
}

body.force-mobile .mobile-logo .logo-dagger {
  color: #e60012 !important;
  font-weight: 900 !important;
  margin: 0 1px !important;
  filter: drop-shadow(0 2px 4px rgba(230, 0, 18, 0.25)) !important;
}

body.force-mobile .mobile-header-right {
  display: flex !important;
  align-items: center !important;
}

body.force-mobile .mobile-nav-link,
body.force-mobile .mobile-header-icon:not(.mobile-header-zalo) {
  display: none !important;
}

body.force-mobile .mobile-header-zalo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  color: #0f172a !important;
  border-radius: 9999px !important;
  padding: 0 11px 0 9px !important;
  height: 31px !important;
  width: auto !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  text-decoration: none !important;
  user-select: none !important;
  transition: all 0.15s ease !important;
  animation: none !important;
}

body.force-mobile .mobile-header-zalo:hover,
body.force-mobile .mobile-header-zalo:active {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  transform: scale(0.96) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08) !important;
}

body.force-mobile .mobile-zalo-icon-box {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 15px !important;
  height: 15px !important;
  flex-shrink: 0 !important;
}

body.force-mobile .mobile-header-zalo .mobile-zalo-icon {
  width: 14.5px !important;
  height: 14.5px !important;
  color: #e60012 !important;
  stroke: #e60012 !important;
  stroke-width: 2.1 !important;
  filter: none !important;
  display: block !important;
}

body.force-mobile .mobile-header-zalo .mobile-online-status {
  position: absolute !important;
  top: -1.5px !important;
  right: -2.5px !important;
  width: 5.5px !important;
  height: 5.5px !important;
  background-color: #10b981 !important;
  border-radius: 50% !important;
  border: 1px solid #ffffff !important;
  box-shadow: 0 0 2px rgba(16, 185, 129, 0.4) !important;
  flex-shrink: 0 !important;
}

body.force-mobile .mobile-header-zalo .mobile-zalo-text {
  font-size: 11.5px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  color: #0f172a !important;
}

body.force-mobile .mobile-filter-bar,
body.force-mobile .mobile-bottom-dock {
  display: flex !important;
}

body.force-mobile .hero-banner-container {
  padding: 0 12px !important;
  margin: 12px auto 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

body.force-mobile .hero-banner {
  border-radius: 16px !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 2.35 / 1 !important;
  min-height: 145px !important;
  max-height: 190px !important;
  background: #0f172a !important;
  overflow: hidden !important;
  position: relative !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
}

body.force-mobile .banner-slide {
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: 46% center !important;
}

body.force-mobile .banner-overlay-content {
  display: flex !important;
  position: absolute !important;
  right: 12px !important;
  bottom: 10px !important;
  top: auto !important;
  transform: none !important;
  z-index: 5 !important;
  text-align: right !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 3px !important;
  max-width: 62% !important;
  pointer-events: none !important;
}

body.force-mobile .banner-headline {
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.2px !important;
  line-height: 1.25 !important;
  background: linear-gradient(180deg, #fff2a3 0%, #fadb14 45%, #d48806 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.85)) !important;
  margin: 0 !important;
}

body.force-mobile .banner-ribbon {
  display: inline-block !important;
  background: linear-gradient(90deg, #e60012 0%, #ff3b30 100%) !important;
  color: #ffffff !important;
  font-size: 8px !important;
  font-weight: 800 !important;
  padding: 2.5px 8px !important;
  border-radius: 9999px !important;
  letter-spacing: 0.2px !important;
  box-shadow: 0 2px 8px rgba(230, 0, 18, 0.4) !important;
  transform: skew(-4deg) !important;
}

body.force-mobile .banner-dots-track {
  display: flex !important;
  position: absolute !important;
  bottom: 8px !important;
  left: 12px !important;
  z-index: 6 !important;
  gap: 5px !important;
  align-items: center !important;
}

body.force-mobile .banner-dots-track .b-dot {
  width: 5px !important;
  height: 5px !important;
  border-radius: 9999px !important;
  background: rgba(255, 255, 255, 0.45) !important;
}

body.force-mobile .banner-dots-track .b-dot.active {
  width: 14px !important;
  background: #ffffff !important;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8) !important;
}

body.force-mobile .main-wrapper {
  margin: 10px auto 0 auto !important;
  padding: 0 12px 115px 12px !important;
  max-width: 100% !important;
}

body.force-mobile .content-card {
  border-radius: 16px !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03) !important;
  background: #ffffff !important;
  padding: 10px 0 24px 0 !important;
}

body.force-mobile .tabs-header {
  background: #ffffff;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  padding: 0 8px;
}

body.force-mobile .tab-btn {
  flex: 1;
  text-align: center;
  padding: 14px 10px;
  font-size: 15px;
}

body.force-mobile .tab-btn.active {
  background: transparent;
}

body.force-mobile .tab-btn-preview {
  background: #eef0f3;
  border-radius: 0 16px 0 0;
}

body.force-mobile .tab-indicator {
  bottom: 6px;
  height: 3.5px;
  border-radius: var(--radius-pill);
}

body.force-mobile .mobile-filter-bar {
  background: transparent !important;
  padding: 6px 16px 12px 16px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #4e5969 !important;
  letter-spacing: -0.05px !important;
  text-transform: none !important;
}

body.force-mobile .listings-container {
  padding: 0 12px !important;
  gap: 12px !important;
}

body.force-mobile .product-card {
  flex-direction: column !important;
  padding: 12px 14px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
  background: #ffffff !important;
  gap: 8px !important;
}

body.force-mobile .product-card:active {
  transform: scale(0.99) !important;
}

body.force-mobile .mobile-price-container {
  display: flex !important;
  position: absolute !important;
  top: 18px !important;
  right: 20px !important;
  z-index: 5 !important;
}

body.force-mobile .mobile-price-container .btn-fav {
  background: rgba(15, 23, 42, 0.45) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 0.5px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  padding: 3.5px 9px !important;
  border-radius: 9999px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
  font-size: 11px !important;
}

body.force-mobile .price-fav-row {
  display: none !important;
}

body.force-mobile .card-left {
  padding-right: 0 !important;
  width: 100% !important;
  gap: 5px !important;
}

body.force-mobile .card-title {
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  line-height: 1.35 !important;
}

body.force-mobile .stats-info {
  font-size: 11px !important;
  color: #475569 !important;
  background: #f8fafc !important;
  border: 1px solid #edf2f7 !important;
  border-radius: 9999px !important;
  padding: 3px 10px !important;
  width: fit-content !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

body.force-mobile .tags-wrap {
  gap: 4px !important;
}

body.force-mobile .tag-badge {
  font-size: 10px !important;
  padding: 2px 8px !important;
  border-radius: 9999px !important;
}

body.force-mobile .card-right {
  min-width: 100% !important;
  width: 100% !important;
  margin-top: 2px !important;
  padding-top: 6px !important;
  border-top: 0.5px solid rgba(60, 60, 67, 0.08) !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
}

body.force-mobile .card-right-bottom {
  width: 100% !important;
  flex-direction: row !important;
  justify-content: flex-end !important;
  align-items: center !important;
}

body.force-mobile .btn-card-detail {
  padding: 4px 12px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  border-radius: 9999px !important;
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
}

body.force-mobile .commanders-row {
  justify-content: flex-start !important;
  gap: 8px !important;
  overflow-x: auto !important;
  padding-bottom: 4px !important;
  width: 100% !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
}

body.force-mobile .commanders-row::-webkit-scrollbar {
  display: none !important;
}

body.force-mobile .commander-item {
  width: 50px !important;
  flex-shrink: 0 !important;
}

body.force-mobile .commander-frame {
  width: 48px !important;
  height: 48px !important;
  border-radius: 12px !important;
}

body.force-mobile .commander-name {
  font-size: 9.5px !important;
  font-weight: 600 !important;
}

body.force-mobile .time-status {
  margin-top: 10px !important;
  justify-content: flex-start !important;
  align-self: flex-start !important;
}

body.force-mobile .pagination-wrap {
  display: none !important;
}

/* Force Desktop Mode */
body.force-desktop .mobile-header-bar,
body.force-desktop .mobile-banner-content,
body.force-desktop .mobile-filter-bar,
body.force-desktop .mobile-bottom-dock {
  display: none !important;
}

body.force-desktop .site-header,
body.force-desktop .floating-sidebar,
body.force-desktop .site-footer,
body.force-desktop .filter-section,
body.force-desktop .banner-overlay-content {
  display: flex !important;
}

body.force-desktop .filter-section {
  display: block !important;
}

/* ==========================================================================
   9:16 VERTICAL POPUP IFRAME MODAL (Chuẩn tỉ lệ dọc 9:16 Mobile Portrait)
   ========================================================================== */
.iframe-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(10, 14, 22, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
}

.iframe-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

/* Khung modal dạng dọc chuẩn tỷ lệ 9:16 */
.iframe-modal-container {
  background: #14171f;
  border-radius: 28px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 70px -10px rgba(0, 0, 0, 0.8), 
              0 0 0 1px rgba(255, 255, 255, 0.08),
              0 0 40px rgba(230, 0, 18, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  
  /* Tỉ lệ dọc 9:16 chính xác */
  height: min(92vh, 860px);
  width: calc(min(92vh, 860px) * 9 / 16);
  max-width: 96vw;
  
  transform: scale(0.94) translateY(14px);
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.iframe-modal-backdrop.active .iframe-modal-container {
  transform: scale(1) translateY(0);
}

/* Header trên cùng có nút Mua ngay & nút đóng */
.iframe-modal-topbar {
  background: #1c202a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-shrink: 0;
  z-index: 10;
}

.topbar-left-box {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.btn-iframe-close-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}

.btn-iframe-close-icon:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  transform: scale(1.06);
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
}

.topbar-id-pill {
  background: rgba(230, 0, 18, 0.18);
  border: 1px solid rgba(230, 0, 18, 0.4);
  color: #ff4d4f;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

.topbar-title-text {
  color: #f1f5f9;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* NÚT MUA NGAY TRÊN CÙNG: Nhấp vô sẽ quay lại mục (tắt popup iframe) */
.btn-topbar-buy-now {
  background: linear-gradient(135deg, #ff2a3d 0%, #e60012 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(230, 0, 18, 0.45);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-topbar-buy-now:hover {
  background: linear-gradient(135deg, #ff3b4e 0%, #cf0010 100%);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(230, 0, 18, 0.6);
}

.btn-topbar-buy-now:active {
  transform: translateY(0);
}

/* Iframe Viewport */
.iframe-viewport-wrapper {
  flex: 1;
  width: 100%;
  height: 100%;
  background: #0f1218;
  position: relative;
  overflow: hidden;
}

.iframe-viewport-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: #ffffff;
}

/* Spinner khi đang tải */
.iframe-loading-indicator {
  position: absolute;
  inset: 0;
  background: #14171f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 5;
  transition: opacity 0.25s, visibility 0.25s;
}

.iframe-loading-indicator.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.spinner-ring {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: iframeSpin 0.75s linear infinite;
}

@keyframes iframeSpin {
  to { transform: rotate(360deg); }
}

.loading-label {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
}

/* Hiệu ứng nhấp nháy làm nổi bật sản phẩm sau khi quay lại */
@keyframes itemHighlightPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(230, 0, 18, 0.7);
    transform: scale(1.02);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(230, 0, 18, 0);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(230, 0, 18, 0);
    transform: scale(1);
  }
}

.item-card-highlighted {
  animation: itemHighlightPulse 1.2s ease-out;
  border-color: rgba(230, 0, 18, 0.6) !important;
}

/* Khóa cuộn trang khi modal mở */
body.iframe-modal-open {
  overflow: hidden !important;
}

/* Responsive trên điện thoại */
@media (max-width: 520px) {
  .iframe-modal-backdrop {
    padding: 0;
  }
  .iframe-modal-container {
    height: 100%;
    width: 100vw;
    max-width: 100vw;
    border-radius: 0;
    border: none;
  }
  .iframe-modal-topbar {
    padding: 12px 14px;
  }
}

/* ==========================================================================
   PRODUCT DETAIL POPUP MODAL (Gallery & Details ROK Theme)
   ========================================================================== */
.product-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 13, 18, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  backdrop-filter: blur(14px) saturate(180%);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
}

.product-modal-backdrop.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.product-modal-container {
  width: 100%;
  max-width: 920px;
  max-height: 90vh;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  box-shadow: 0 25px 70px -10px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  color: #0f172a;
  transform: scale(0.96) translateY(10px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-modal-backdrop.show .product-modal-container {
  transform: scale(1) translateY(0);
}

/* Close Button (Clean Bright Style) */
.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
  transform: rotate(90deg);
}

/* Modal Body (Ẩn thanh cuộn hoàn toàn nhưng vẫn cuộn mượt mà) */
.product-modal-body {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  overflow-y: auto;
  max-height: 90vh;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.product-modal-container,
.product-modal-body,
.modal-info-col,
.modal-thumbnails-strip {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.product-modal-container::-webkit-scrollbar,
.product-modal-body::-webkit-scrollbar,
.modal-info-col::-webkit-scrollbar,
.modal-thumbnails-strip::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Left: Gallery Column (Nền sáng hiện đại) */
.modal-gallery-col {
  background: #f8fafc;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-right: 1px solid #e2e8f0;
}

.modal-main-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.modal-main-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.modal-main-image-wrap img:hover {
  transform: scale(1.02);
}

/* Gallery Nav Buttons (Trắng viền mềm) */
.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid #e2e8f0;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.gallery-nav-btn:hover {
  background: #e60012;
  border-color: #e60012;
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.gallery-nav-btn.prev { left: 10px; }
.gallery-nav-btn.next { right: 10px; }

/* Zoom Hint & Counter */
.image-zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.2s;
}

.image-zoom-hint:hover {
  background: #e60012;
  color: #fff;
  border-color: #e60012;
}

.image-counter-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.75);
  color: #f1f5f9;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}

/* Thumbnails Strip */
.modal-thumbnails-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.modal-thumb-item {
  width: 64px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 2px solid #e2e8f0;
  background: #ffffff;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s ease;
  opacity: 0.75;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.modal-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-thumb-item:hover {
  opacity: 1;
  transform: translateY(-2px);
  border-color: #94a3b8;
}

.modal-thumb-item.active {
  opacity: 1;
  border-color: #e60012;
  box-shadow: 0 0 0 2px rgba(230, 0, 18, 0.25);
}

/* Right: Information Column (Nền trắng tinh tế, không thanh cuộn thô) */
.modal-info-col {
  background: #ffffff;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.modal-id-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.modal-id-badge {
  font-family: monospace;
  font-size: 12px;
  font-weight: 800;
  background: #0284c7;
  color: #fff;
  padding: 2px 10px;
  border-radius: 9999px;
}

.modal-badges-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.modal-badges-wrap .badge-play {
  background: #e60012;
  color: #ffffff;
  font-weight: 800;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 9999px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(230, 0, 18, 0.25);
}

.modal-badges-wrap .badge-dark {
  background: #1e293b;
  color: #f8fafc;
  font-weight: 800;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 9999px;
  letter-spacing: 0.3px;
}

.modal-title {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
}

/* Price Box (Nền đỏ hồng nhạt sang trọng) */
.modal-price-box {
  background: linear-gradient(135deg, #fff5f5 0%, #fff1f2 100%);
  border: 1px solid #fecdd3;
  border-radius: 12px;
  padding: 14px 18px;
}

.modal-price-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #e11d48;
  font-weight: 700;
}

.modal-price-val {
  font-size: 26px;
  font-weight: 900;
  color: #e60012;
  letter-spacing: -0.5px;
  margin-top: 2px;
}

/* Section Box */
.modal-section-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-section-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #64748b;
}

.modal-kingdom-text {
  font-size: 13.5px;
  color: #0f172a;
  font-weight: 700;
}

.modal-stats-text {
  font-size: 12.5px;
  color: #334155;
  line-height: 1.55;
  background: #f8fafc;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-weight: 500;
}

.modal-commanders-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.modal-commanders-row .commander-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.modal-commanders-row .commander-item .commander-frame {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
  background: #f8fafc;
  overflow: hidden;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s;
}

.modal-commanders-row .commander-item:hover .commander-frame {
  transform: translateY(-2px);
  border-color: #cbd5e1;
}

.modal-commanders-row .commander-item .commander-frame .level-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.85);
  color: #faad14;
  font-size: 9.5px;
  font-weight: 800;
  text-align: center;
  line-height: 14px;
}

.modal-commanders-row .commander-item .commander-name {
  font-size: 10.5px;
  font-weight: 700;
  color: #334155;
  max-width: 60px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.modal-tags-grid .tag-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
}

.modal-tags-grid .tag-badge.orange {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.modal-tags-grid .tag-badge.blue {
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

/* CTA Wrap & Zalo Button */
.modal-cta-wrap {
  margin-top: auto;
  padding-top: 14px;
}

.btn-modal-zalo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 20px;
  background: linear-gradient(135deg, #e60012 0%, #c8000f 100%);
  color: #ffffff;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(230, 0, 18, 0.35);
  transition: all 0.25s ease;
}

.btn-modal-zalo:hover {
  background: linear-gradient(135deg, #ff1a2b 0%, #d60011 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(230, 0, 18, 0.45);
  color: #fff;
}

/* Fullscreen Lightbox Zoom */
.fullscreen-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  cursor: zoom-out;
}

.fullscreen-lightbox.show {
  opacity: 1;
  visibility: visible;
}

.fullscreen-lightbox img {
  max-width: 95vw;
  max-height: 95vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  transform: scale(0.95);
  transition: transform 0.25s ease;
}

.fullscreen-lightbox.show img {
  transform: scale(1);
}

.lightbox-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.lightbox-close-btn:hover {
  background: #e60012;
}

/* Modal Responsive */
@media (max-width: 768px) {
  .product-modal-container {
    max-height: 92vh;
    border-radius: 16px;
  }
  .product-modal-body {
    grid-template-columns: 1fr;
  }
  .modal-gallery-col {
    padding: 16px;
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }
  .modal-info-col {
    padding: 16px 18px 24px;
  }
  .modal-title {
    font-size: 16px;
  }
  .modal-price-val {
    font-size: 22px;
  }
}

/* ==========================================================================
   PRODUCT CARD CATEGORY BUTTONS (BOX RIÊNG: TƯỚNG / TRANG BỊ / RSS KHO / VÉ BAY)
   Phong cách chuẩn giao diện game Rise of Kingdoms / Liên Quân
   ========================================================================== */
.product-category-triggers {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(226, 232, 240, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.cat-trigger-label {
  font-size: 11px;
  font-weight: 800;
  color: #e60012;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-align: center;
}

.cat-buttons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
}

.btn-cat-view {
  background: linear-gradient(180deg, #382647 0%, #1c1226 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 6px 10px;
  min-width: 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  user-select: none;
}

.btn-cat-view:hover {
  background: linear-gradient(180deg, #4f3663 0%, #281938 100%);
  border-color: #faad14;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(250, 173, 20, 0.3);
}

.btn-cat-view:active {
  transform: translateY(0);
}

.btn-cat-view .cat-arrow {
  font-size: 8px;
  color: #ffffff;
  line-height: 1;
  opacity: 0.9;
  margin-bottom: 1px;
}

.btn-cat-view .cat-l1 {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #ffffff;
  line-height: 1.1;
}

.btn-cat-view .cat-l2 {
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #ffe58f;
  line-height: 1.1;
}

/* ==========================================================================
   FULLSCREEN SHOWCASE POPUP MODAL (2-Column Gaming Showcase - Khớp 100% Ảnh mẫu 2)
   ========================================================================== */
.fullscreen-cat-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: catModalFade 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.fullscreen-cat-modal.show {
  display: flex;
}

@keyframes catModalFade {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.fullscreen-cat-container {
  width: 96vw;
  max-width: 1060px;
  height: 90vh;
  max-height: 92vh;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 1. Modal Sticky Top Header */
.cat-modal-header {
  padding: 12px 20px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

.cat-modal-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.cat-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.cat-back-btn:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.cat-header-id-pill {
  font-family: monospace;
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  background: #1f2329;
  padding: 2.5px 8px;
  border-radius: var(--radius-pill);
}

.cat-modal-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

/* Tiêu đề căn giữa chuẩn ảnh mẫu 2 (CHI TIẾT TÚI ĐỒ / CHI TIẾT TƯỚNG) */
.cat-modal-center-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}

.cat-modal-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-header-zalo-buy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: linear-gradient(135deg, #e60012 0%, #c8000f 100%);
  color: #ffffff;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(230, 0, 18, 0.3);
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-header-zalo-buy:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(230, 0, 18, 0.45);
  color: #fff;
}

.cat-modal-close-btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
  font-size: 16px;
  font-weight: bold;
}

.cat-modal-close-btn:hover {
  background: #e60012;
  color: #ffffff;
  border-color: #e60012;
  transform: rotate(90deg);
}

/* 2. Sticky Category Switcher Bar (4 Tabs tím sang trọng - Căn trái ngay trên luồng ảnh) */
.cat-modal-tabs-dock {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 12px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(60, 60, 67, 0.2) transparent;
  flex-shrink: 0;
  white-space: nowrap;
}

.cat-modal-tabs-dock::-webkit-scrollbar {
  height: 4px;
}

.cat-modal-tabs-dock::-webkit-scrollbar-thumb {
  background: rgba(60, 60, 67, 0.25);
  border-radius: 9999px;
}

.cat-modal-tab-btn {
  background: linear-gradient(180deg, #372844 0%, #1f142b 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  padding: 9px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #ffffff;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cat-modal-tab-btn:hover {
  background: linear-gradient(180deg, #4d3660 0%, #291a39 100%);
  border-color: #ffd666;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(31, 20, 43, 0.4);
}

.cat-modal-tab-btn.active {
  background: linear-gradient(180deg, #531dab 0%, #22075e 100%);
  border-color: #e60012;
  box-shadow: 0 0 14px rgba(230, 0, 18, 0.5);
  transform: translateY(-2px);
}

.cat-modal-tab-btn .tab-arrow {
  font-size: 8.5px;
  color: #ffffff;
  line-height: 1;
}

.cat-modal-tab-btn .tab-txt {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.cat-modal-tab-btn.active .tab-txt {
  color: #ffe58f;
}

.cat-modal-tab-btn .tab-count {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.25);
  padding: 2px 8px;
  border-radius: 9999px;
  font-weight: 800;
}

/* 3. Modal 2-Column Body Grid (Khớp 100% Ảnh mẫu 2) */
.cat-modal-grid-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  overflow: hidden;
  height: 100%;
}

/* Cột Trái: Luồng ảnh cuộn trực tiếp đập vào mắt người xem */
.cat-modal-left-stream {
  overflow-y: auto;
  padding: 20px;
  background: #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 16px;
  -webkit-overflow-scrolling: touch;
}

.cat-stream-header-badge {
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e60012;
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cat-modal-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cat-image-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cat-image-caption {
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 10px;
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cat-image-caption .cap-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e60012;
  display: inline-block;
}

.cat-full-image {
  width: 100%;
  max-width: 100%;
  border-radius: 8px;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.25s ease;
  display: block;
  background: #0f172a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cat-full-image:hover {
  transform: scale(1.006);
}

.cat-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  text-align: center;
  gap: 10px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px dashed #cbd5e1;
}

.cat-empty-icon {
  font-size: 38px;
}

.cat-empty-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #334155;
}

.cat-empty-desc {
  font-size: 12px;
  color: #64748b;
  max-width: 400px;
  line-height: 1.5;
}

/* Cột Phải: Thông tin tài khoản & Bàn giao & Zalo Mua */
.cat-modal-right-sidebar {
  overflow-y: auto;
  padding: 20px;
  background: #ffffff;
  border-left: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  -webkit-overflow-scrolling: touch;
}

.cat-side-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-side-card {
  background: linear-gradient(135deg, #fff1f0 0%, #fff7ed 100%);
  border-color: #ffccc7;
}

.side-price-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.side-price-label {
  font-size: 12px;
  font-weight: 700;
  color: #78350f;
}

.side-price-val {
  font-size: 24px;
  font-weight: 900;
  color: #e60012;
  letter-spacing: -0.5px;
}

.side-id-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.side-title-txt {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.btn-side-zalo-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  background: linear-gradient(135deg, #e60012 0%, #c8000f 100%);
  color: #ffffff;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(230, 0, 18, 0.35);
  transition: all 0.2s ease;
  margin-top: 6px;
}

.btn-side-zalo-buy:hover {
  background: linear-gradient(135deg, #ff1a2b 0%, #d60011 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(230, 0, 18, 0.45);
  color: #fff;
}

.side-card-title {
  font-size: 11.5px;
  font-weight: 800;
  color: #475569;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 6px;
}

.side-spec-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.side-spec-item .spec-k {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
}

.side-spec-item .spec-v {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.45;
}

.info-commanders-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.info-commanders-row .commander-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.info-commanders-row .commander-frame {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1.5px solid #d48806;
  background: #1f2329;
  position: relative;
  overflow: hidden;
}

.info-commanders-row .commander-frame .level-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.85);
  color: #faad14;
  font-size: 8.5px;
  font-weight: 800;
  text-align: center;
  line-height: 12px;
}

.info-commanders-row .commander-name {
  font-size: 9.5px;
  font-weight: 700;
  color: #334155;
  max-width: 52px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.info-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 3px;
}

.info-tags-grid .tag-badge {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
}

.info-tags-grid .tag-badge.orange {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.info-tags-grid .tag-badge.blue {
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

/* Guarantee Card */
.guarantee-side-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border-color: #bbf7d0;
}

.guarantee-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #166534;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.3px;
}

.guarantee-list {
  list-style: none;
  font-size: 11.5px;
  color: #15803d;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 0;
  margin: 0;
}

.guarantee-list li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.guarantee-list li::before {
  content: "✔";
  color: #16a34a;
  font-weight: 900;
  font-size: 10px;
  margin-top: 2px;
}

/* 4. Modal Sticky Bottom CTA Bar (Mobile View) */
.cat-modal-footer {
  display: none;
  padding: 10px 16px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
  z-index: 10;
}

.btn-cat-zalo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, #e60012 0%, #c8000f 100%);
  color: #ffffff;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(230, 0, 18, 0.35);
}

/* ==========================================================================
   CARD COVER SHOWCASE COLUMN & 4 BUTTONS (Khớp 100% Ảnh mẫu 1)
   ========================================================================== */
.card-cover-column {
  width: 205px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-cover-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  background: #0f172a;
  display: block;
}

.card-cover-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0f172a;
  transition: transform 0.35s ease;
  display: block;
}

.card-cover-wrap:hover .card-cover-img {
  transform: scale(1.05);
}

.card-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.78) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 6px;
  opacity: 0;
  transition: opacity 0.25s ease;
  gap: 4px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}

.card-cover-wrap:hover .card-cover-overlay {
  opacity: 1;
}

.card-cover-count-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 9999px;
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

/* ==========================================================================
   HOMEPAGE CARD COVER PRICE BADGE (Thay thế khối 4 nút ngoài trang chủ)
   ========================================================================== */
.card-cover-price-box {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  background: #fbfbfc;
  border: 1px solid #f0f2f5;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  box-sizing: border-box;
}

.card-cover-price-box:hover {
  background: #f1f5f9;
  border-color: #e2e8f0;
  transform: translateY(-1px);
}

.card-cover-price-box:active {
  transform: translateY(0);
}

.cover-price-amount {
  color: #e11d48;
  font-size: 16.5px;
  font-weight: 750;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.cover-price-cta {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
}

.cat-trigger-label {
  font-size: 11px;
  font-weight: 800;
  color: #e60012;
  text-align: center;
  letter-spacing: 0.3px;
  line-height: 1.3;
}

.cat-buttons-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  width: 100%;
}

.btn-cat-view {
  background: linear-gradient(180deg, #372844 0%, #1f142b 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 7px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.btn-cat-view:hover {
  background: linear-gradient(180deg, #4d3660 0%, #291a39 100%);
  border-color: #ffd666;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(31, 20, 43, 0.45);
}

.btn-cat-view .cat-arrow {
  font-size: 7.5px;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 2px;
}

.btn-cat-view .cat-l1,
.btn-cat-view .cat-l2 {
  font-size: 9px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

/* ==========================================================================
   RESPONSIVE OVERRIDES
   ========================================================================== */
@media (max-width: 900px) {
  .cat-modal-grid-body {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }
  .cat-modal-right-sidebar {
    border-left: none;
    border-top: 1px solid #e2e8f0;
  }
  .cat-modal-footer {
    display: flex;
  }
}

@media (max-width: 768px) {
  body:not(.force-desktop) .product-card {
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 18px;
  }
  body:not(.force-desktop) .card-cover-column {
    width: 100%;
    gap: 6px;
  }
  body:not(.force-desktop) .card-cover-wrap {
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    max-height: none !important;
    border-radius: 14px;
    background: #0f172a;
    overflow: hidden;
  }
  body:not(.force-desktop) .card-cover-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    background: #0f172a;
  }
  body:not(.force-desktop) .card-cover-price-box {
    padding: 6px 12px;
    border-radius: 12px;
    background: #fbfbfc;
    border: 1px solid #f0f2f5;
  }
  body:not(.force-desktop) .cover-price-amount {
    font-size: 16.5px;
    color: #e11d48;
  }
  .cat-modal-center-title {
    display: none;
  }
  .fullscreen-cat-modal {
    padding: 0;
  }
  .fullscreen-cat-container {
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }
}

body.force-mobile .product-card {
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 18px;
}
body.force-mobile .card-cover-column {
  width: 100%;
  gap: 6px;
}
body.force-mobile .card-cover-wrap {
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  max-height: none !important;
  border-radius: 14px;
  background: #0f172a;
  overflow: hidden;
}
body.force-mobile .card-cover-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: #0f172a;
}
body.force-mobile .card-cover-price-box {
  padding: 6px 12px;
  border-radius: 12px;
  background: #fbfbfc;
  border: 1px solid #f0f2f5;
}
body.force-mobile .cover-price-amount {
  font-size: 16.5px;
  color: #e11d48;
}
body.force-mobile .cat-modal-center-title {
  display: none;
}
body.force-mobile .fullscreen-cat-modal {
  padding: 0;
}
body.force-mobile .fullscreen-cat-container {
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
  border-radius: 0;
}

/* ==========================================================================
   PRODUCT DETAIL FULL PAGE VIEW (acc.html)
   ========================================================================== */
.detail-page-body {
  background: #f1f5f9;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.detail-page-layout {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.05);
}

.detail-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.detail-page-layout .cat-modal-tabs-dock {
  position: sticky;
  top: 59px;
  z-index: 95;
  background: rgba(248, 250, 252, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
}

.detail-page-layout .cat-modal-grid-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  height: auto;
  overflow: visible;
}

.detail-page-layout .cat-modal-left-stream {
  overflow-y: visible;
  height: auto;
  padding: 24px;
}

.detail-page-layout .cat-modal-right-sidebar {
  position: sticky;
  top: 120px;
  height: fit-content;
  max-height: calc(100vh - 135px);
  overflow-y: auto;
  padding: 24px;
}

@media (max-width: 900px) {
  .detail-page-layout .cat-modal-grid-body {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }
  .detail-page-layout .cat-modal-right-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
    border-left: none;
    border-top: 1px solid #e2e8f0;
    padding-bottom: 80px;
  }
  .detail-page-layout .cat-modal-footer {
    display: flex;
  }
}




