/* ==========================================================================
   KH-SHOP.ONLINE - Modern Cyber & Dark E-Commerce Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Kantumruy+Pro:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --bg-dark: #07090E;
  --bg-card: #0F1420;
  --bg-card-hover: #151C2C;
  --bg-elevated: #1A2236;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(99, 102, 241, 0.25);

  --primary: #6366F1;
  --primary-hover: #4F46E5;
  --primary-glow: rgba(99, 102, 241, 0.4);
  
  --secondary: #06B6D4;
  --accent-purple: #8B5CF6;
  --accent-pink: #EC4899;
  
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;

  /* Cambodian Payment Colors */
  --khqr-red: #E11D48;
  --khqr-dark: #9F1239;
  --aba-blue: #004B87;
  --aba-light: #0077C8;
  --telegram-blue: #229ED9;

  /* Typography */
  --font-main: 'Inter', 'Kantumruy Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  --text-main: #F3F4F6;
  --text-muted: #9CA3AF;
  --text-subtle: #6B7280;

  /* Shadows & Glassmorphism */
  --glass-bg: rgba(15, 20, 32, 0.85);
  --glass-border: rgba(255, 255, 255, 0.1);
  --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --glow-shadow: 0 0 25px rgba(99, 102, 241, 0.2);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Basics */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Background Cyber Grid & Glow */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(6, 182, 212, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.5px;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.45), 0 0 10px rgba(0, 102, 255, 0.35);
  transition: all var(--transition-fast);
  flex-shrink: 0;
  overflow: hidden;
  background: #020306;
}

.brand-logo:hover .logo-badge {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.75), 0 0 18px rgba(99, 102, 241, 0.6);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}


.brand-text {
  background: linear-gradient(135deg, #FFFFFF 40%, #A5B4FC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-domain {
  font-size: 0.75rem;
  padding: 2px 7px;
  background: rgba(6, 182, 212, 0.15);
  color: var(--secondary);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--radius-full);
  margin-left: 4px;
  font-weight: 600;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Control Pills */
.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.pill-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.pill-btn.active {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--primary);
  color: #A5B4FC;
}

/* Real Country Flag Image */
.flag-icon-img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  vertical-align: middle;
  display: inline-block;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Country Flag & Language Dropdown (Matches puhenggaming.com) */
.lang-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.dropdown-chevron {
  transition: transform 0.2s ease;
  margin-left: 2px;
  opacity: 0.8;
}

.lang-dropdown-wrapper.active .dropdown-chevron {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #0D1322;
  border: 1px solid rgba(0, 245, 212, 0.35);
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 245, 212, 0.15);
  padding: 6px;
  min-width: 195px;
  z-index: 1000;
  display: none;
  flex-direction: column;
  gap: 3px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lang-dropdown-menu.show {
  display: flex;
  animation: dropdownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.lang-option-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 9px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  width: 100%;
  text-align: left;
}

.lang-option-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 245, 212, 0.25);
  color: #00f5d4;
}

.lang-option-btn.active {
  background: rgba(0, 245, 212, 0.12);
  border-color: rgba(0, 245, 212, 0.45);
  color: #00f5d4;
  font-weight: 700;
}

.lang-option-text {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.lang-name {
  font-size: 0.84rem;
}

.lang-code {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.07);
  padding: 1px 6px;
  border-radius: 4px;
}

.lang-option-btn.active .lang-code {
  background: rgba(0, 245, 212, 0.2);
  color: #00f5d4;
}

.lang-option-btn .check-mark {
  font-size: 0.9rem;
  color: #00f5d4;
  font-weight: 800;
  margin-left: auto;
}

/* Cart Button */
.cart-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-size: 1.15rem;
  transition: all var(--transition-fast);
}

.cart-trigger:hover {
  background: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
  transform: scale(1.05);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--khqr-red);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-dark);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-badge.bounce {
  transform: scale(1.35);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 36px 0 24px;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  box-shadow: var(--card-shadow);
}

.hero-banner-wrapper {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.85);
  transition: transform 1.2s ease;
}

.hero-card:hover .hero-banner-img {
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 14, 0.1) 0%, rgba(7, 9, 14, 0.85) 75%, #07090E 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-full);
  color: #34D399;
  font-size: 0.82rem;
  font-weight: 700;
  width: fit-content;
  margin-bottom: 12px;
  backdrop-filter: blur(8px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-title span {
  background: linear-gradient(135deg, #818CF8, #38BDF8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: #D1D5DB;
  font-size: 1.05rem;
  max-width: 650px;
  margin-bottom: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent-purple));
  color: #FFFFFF;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 20px var(--primary-glow);
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* ==========================================================================
   Trust / Value Propositions Bar
   ========================================================================== */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.trust-item:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.trust-icon.cyan { background: rgba(6, 182, 212, 0.12); color: var(--secondary); }
.trust-icon.purple { background: rgba(139, 92, 246, 0.12); color: var(--accent-purple); }
.trust-icon.red { background: rgba(225, 29, 72, 0.12); color: var(--khqr-red); }
.trust-icon.green { background: rgba(16, 185, 129, 0.12); color: var(--success); }

.trust-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #FFFFFF;
}

.trust-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Storefront Controls (Filter & Search)
   ========================================================================== */
.catalog-section {
  padding: 30px 0 60px;
}

.catalog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.catalog-title-wrap h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #FFFFFF;
}

.catalog-title-wrap p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Search Box */
.search-wrapper {
  position: relative;
  min-width: 280px;
}

.search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 10px 18px 10px 42px;
  color: #FFFFFF;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: all var(--transition-fast);
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-subtle);
  pointer-events: none;
}

/* Category Filter Tabs */
.category-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 28px;
  scrollbar-width: thin;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  background: var(--bg-card-hover);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--accent-purple));
  border-color: transparent;
  color: #FFFFFF;
  box-shadow: 0 4px 15px var(--primary-glow);
}

/* ==========================================================================
   Product Grid & Product Cards
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--glow-shadow), var(--card-shadow);
  background: var(--bg-card-hover);
}

/* Product Image Box */
.card-image-box {
  position: relative;
  width: 100%;
  height: 200px;
  background: #0B0E17;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.6s ease;
}

.product-card:hover .card-img {
  transform: scale(1.06);
}

/* Full bleed banners that have their own full background */
.card-img[src$="chatgpt_v3.svg"],
.card-img[src$="chatgpt.svg"],
.card-img[src$="gemini.svg"],
.card-img[src$="canva.png"] {
  padding: 0;
  object-fit: cover;
}

/* Badges */
.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
}

.badge-hot { background: rgba(239, 68, 68, 0.85); color: #FFF; }
.badge-primary { background: rgba(99, 102, 241, 0.85); color: #FFF; }
.badge-purple { background: rgba(139, 92, 246, 0.85); color: #FFF; }
.badge-success { background: rgba(16, 185, 129, 0.85); color: #FFF; }
.badge-cyan { background: rgba(6, 182, 212, 0.85); color: #FFF; }

.stock-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(15, 20, 32, 0.75);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-color);
  color: #10B981;
}

/* Card Body */
.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary);
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Rating */
.card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #FBBF24;
  margin-bottom: 16px;
}

.reviews-num {
  color: var(--text-subtle);
}

/* Plan Selector inside card */
.plan-select-wrap {
  margin-bottom: 16px;
}

.plan-select-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: block;
}

.plan-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.plan-chip {
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.plan-chip:hover {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
}

.plan-chip.active {
  background: rgba(99, 102, 241, 0.18);
  border-color: var(--primary);
  color: #A5B4FC;
}

/* Card Price & Actions */
.card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price-box {
  display: flex;
  flex-direction: column;
}

.current-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
}

.khr-price {
  display: none !important;
}

.original-price {
  font-size: 0.78rem;
  text-decoration: line-through;
  color: var(--text-subtle);
}

.card-btn-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-card-cart {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.btn-card-cart:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
}

.btn-card-buy {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), var(--accent-purple));
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.btn-card-buy:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 15px var(--primary-glow);
}

/* ==========================================================================
   Cart Drawer (Sliding Modal)
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: #0E131E;
  border-left: 1px solid var(--border-color);
  z-index: 201;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.open {
  right: 0;
}

.drawer-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

.drawer-title {
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.drawer-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFF;
}

/* Drawer Cart Items */
.drawer-body {
  padding: 20px 24px;
  flex-grow: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-empty-state {
  text-align: center;
  margin: auto 0;
  padding: 40px 20px;
}

.empty-icon {
  font-size: 3.5rem;
  color: var(--text-subtle);
  margin-bottom: 16px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-info {
  flex-grow: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-plan {
  font-size: 0.75rem;
  color: var(--secondary);
}

.cart-item-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFF;
  margin-top: 4px;
}

.cart-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 2px 6px;
}

.qty-btn {
  color: var(--text-muted);
  font-size: 1rem;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover { color: #FFF; }

.qty-num {
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 16px;
  text-align: center;
}

.cart-item-remove {
  color: var(--text-subtle);
  font-size: 1.1rem;
  padding: 6px;
  transition: color var(--transition-fast);
}

.cart-item-remove:hover {
  color: var(--danger);
}

/* Drawer Footer */
.drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-color);
  background: #0B0F18;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.summary-row.total {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-color);
}

.btn-checkout {
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--khqr-red), #BE123C);
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(225, 29, 72, 0.35);
  transition: all var(--transition-fast);
}

.btn-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(225, 29, 72, 0.5);
}

/* ==========================================================================
   Checkout Modal & Cambodian KHQR Box
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  background: #0E1422;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  transform: translateY(20px) scale(0.98);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFF;
}

.modal-close {
  font-size: 1.2rem;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover { color: #FFF; background: rgba(255, 255, 255, 0.1); }

.modal-body {
  padding: 24px;
}

/* Form inputs */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #D1D5DB;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
}

/* KHQR Display Card (Cambodian National Standard) */
.khqr-card {
  background: #FFFFFF;
  border-radius: 16px;
  color: #0F172A;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  margin: 20px 0;
  border: 2px solid var(--khqr-red);
}

.khqr-banner {
  background: var(--khqr-red);
  color: #FFFFFF;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.khqr-brand {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.khqr-bakong-tag {
  background: #FFFFFF;
  color: var(--khqr-red);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}

.khqr-merchant-info {
  text-align: center;
  padding: 14px 16px 6px;
}

.khqr-merchant-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #111827;
  text-transform: uppercase;
}

.khqr-account-no {
  font-size: 0.82rem;
  color: #6B7280;
  font-weight: 600;
}

.khqr-qr-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
}

.khqr-qr-box {
  padding: 10px;
  background: #FFFFFF;
  border: 1px dashed #CBD5E1;
  border-radius: 12px;
  display: inline-block;
}

.khqr-amount-box {
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.khqr-amount-usd {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--khqr-red);
}

.khqr-amount-khr {
  font-size: 0.9rem;
  font-weight: 700;
  color: #475569;
}

/* Timer and deep link buttons */
.payment-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.timer-box {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #F59E0B;
  font-weight: 700;
}

.quick-pay-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.btn-aba {
  background: var(--aba-blue);
  color: #FFFFFF;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background var(--transition-fast);
}

.btn-aba:hover { background: var(--aba-light); }

.btn-copy-acc {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: #FFFFFF;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-copy-acc:hover { background: rgba(255, 255, 255, 0.15); }

/* Slip upload */
.slip-upload-box {
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  margin-bottom: 20px;
  transition: border-color var(--transition-fast);
}

.slip-upload-box:hover {
  border-color: var(--primary);
}

.slip-preview {
  max-height: 120px;
  margin: 10px auto 0;
  border-radius: var(--radius-sm);
  display: none;
}

/* ==========================================================================
   Success Modal
   ========================================================================== */
.success-icon-box {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid var(--success);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 16px;
}

.order-badge-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.15);
  color: #818CF8;
  font-size: 0.85rem;
  font-weight: 700;
  margin: 8px 0 18px;
}

.btn-telegram-direct {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #229ED9, #0088CC);
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(34, 158, 217, 0.4);
  transition: all var(--transition-fast);
}

.btn-telegram-direct:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(34, 158, 217, 0.6);
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 85px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  padding: 12px 20px;
  border-radius: var(--radius-md);
  background: #111827;
  color: #FFFFFF;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.success { border-color: var(--success); }
.toast.info { border-color: var(--primary); }
.toast.error { border-color: var(--danger); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #05070B;
  border-top: 1px solid var(--border-color);
  padding: 50px 0 30px;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.88rem;
  max-width: 320px;
}

.footer-col h4 {
  color: #FFF;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 992px) {
  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-banner-wrapper {
    height: 320px;
  }
  .hero-title {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .trust-bar {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-banner-wrapper {
    height: 380px;
  }
  .hero-overlay {
    padding: 24px 20px;
  }
  .hero-title {
    font-size: 1.6rem;
  }
  .nav-container {
    height: 64px;
  }
  .catalog-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .search-wrapper {
    width: 100%;
  }
  .cart-drawer {
    max-width: 100%;
  }
}

/* ==========================================================================
   Floating Bottom Announcement Dock & Telegram Action (Matches puhenggaming.com)
   ========================================================================== */
.bottom-dock-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  z-index: 99;
  pointer-events: none;
  max-width: 1240px;
  margin: 0 auto;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

/* Hide bottom dock when cart drawer, checkout modal, or success modal is open */
.bottom-dock-container.hidden,
body.drawer-open .bottom-dock-container,
body.modal-open .bottom-dock-container,
body:has(.cart-drawer.open) .bottom-dock-container,
body:has(.cart-drawer-overlay.open) .bottom-dock-container,
body:has(.modal-overlay.open) .bottom-dock-container {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(30px) !important;
}

.bottom-ticker-pill {
  flex: 1;
  min-width: 0;
  pointer-events: auto;
  background: rgba(11, 16, 28, 0.94);
  border: 1.5px solid rgba(0, 245, 212, 0.35);
  border-radius: 50px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.65), 0 0 20px rgba(0, 245, 212, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  height: 52px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.bottom-ticker-pill:hover {
  border-color: #00f5d4;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.75), 0 0 25px rgba(0, 245, 212, 0.3);
}

.bottom-ticker-pill .ticker-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 0.82rem;
  color: #ffbe0b;
  white-space: nowrap;
  background: rgba(255, 190, 11, 0.15);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 190, 11, 0.35);
  flex-shrink: 0;
}

.bottom-ticker-pill .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffbe0b;
  box-shadow: 0 0 8px #ffbe0b;
  animation: pulseDot 1.5s infinite;
}

.bottom-ticker-pill .ticker-wrap {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent 0%, #000 2.5%, #000 97.5%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 2.5%, #000 97.5%, transparent 100%);
}

.bottom-ticker-pill .ticker-text {
  display: inline-block;
  color: #e2e8f0;
  font-size: 0.84rem;
  font-weight: 500;
  animation: tickerAnim 26s linear infinite;
}

.bottom-ticker-pill .ticker-text a {
  color: #00f5d4;
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.bottom-ticker-pill .ticker-text a:hover {
  color: #fff;
  text-shadow: 0 0 8px #00f5d4;
}

@keyframes tickerAnim {
  0% { transform: translateX(25%); }
  100% { transform: translateX(-100%); }
}

.floating-tg-btn {
  pointer-events: auto;
  position: relative;
  background: linear-gradient(135deg, #229ED9 0%, #0088cc 100%);
  color: #fff;
  border-radius: 50% !important;
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  min-height: 52px !important;
  aspect-ratio: 1 / 1 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(34, 158, 217, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
  box-sizing: border-box;
}

.floating-tg-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 10px 30px rgba(34, 158, 217, 0.75);
  color: #fff;
}

.pulse-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50% !important;
  border: 2px solid #229ED9;
  animation: ringPulse 2s infinite;
  pointer-events: none;
}

@keyframes ringPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

@media (max-width: 768px) {
  .bottom-dock-container {
    bottom: 12px !important;
    left: 10px !important;
    right: 10px !important;
    gap: 8px !important;
  }
  .bottom-ticker-pill {
    height: 44px !important;
    padding: 0 10px !important;
    gap: 8px !important;
    border-radius: 25px !important;
  }
  .bottom-ticker-pill .ticker-label {
    font-size: 0.70rem !important;
    padding: 3px 8px !important;
    border-radius: 12px !important;
  }
  .bottom-ticker-pill .ticker-text {
    font-size: 0.76rem !important;
  }
  .floating-tg-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }
}

/* ================= PuHeng Gaming Shop Style Checkout Modal ================= */
.puheng-checkout-modal {
  max-width: 480px !important;
  width: 95% !important;
  background: #0E1322 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 0 !important;
}

.puheng-modal-header {
  background: #0B101D;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.puheng-product-box {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.puheng-thumb-img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: #03050B;
  flex-shrink: 0;
}

.puheng-product-meta {
  flex: 1;
  min-width: 0;
}

.puheng-badges-row {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.puheng-badge-cat {
  background: rgba(6, 182, 212, 0.18);
  color: #22D3EE;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.puheng-badge-plan {
  background: rgba(245, 158, 11, 0.18);
  color: #FBBF24;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.puheng-product-title {
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.puheng-modal-close {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.puheng-modal-close:hover {
  color: #FFFFFF;
}

.puheng-step-banner {
  background: #E84A7F;
  padding: 11px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.puheng-step-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #E84A7F;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.puheng-step-text {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 15.5px;
}

.puheng-modal-body {
  background: #FFFFFF;
  padding: 18px 20px 24px;
  color: #0F172A;
  max-height: 75vh;
  overflow-y: auto;
}

.puheng-methods-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.puheng-method-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.puheng-method-card:hover {
  border-color: #CBD5E1;
  background: #F8FAFC;
}

.puheng-method-card.selected {
  border: 2px solid #E84A7F;
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(232, 74, 127, 0.12);
}

.method-icon-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
}

.method-text-wrap {
  flex: 1;
  min-width: 0;
}

.method-title {
  font-weight: 700;
  font-size: 14.5px;
  color: #0F172A;
  line-height: 1.2;
}

.method-title-with-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.badge-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  display: inline-block;
  line-height: 1.2;
}

.badge-paypal {
  background: #E0F2FE;
  color: #0284C7;
}

.badge-credit-card {
  background: #FFE4E6;
  color: #E11D48;
}

.method-desc {
  font-size: 11.5px;
  color: #64748B;
  margin-top: 2px;
  line-height: 1.25;
}

.card-chips-row {
  margin-top: 3px;
  margin-bottom: 2px;
}

.brand-pills-row {
  display: flex;
  gap: 5px;
  margin-top: 4px;
}

.brand-chip {
  font-size: 9px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 3px;
  color: #FFFFFF;
}

.chip-visa {
  background: #1A1F71;
}

.chip-mc {
  background: #EB001B;
}

.chip-amex {
  background: #006FCF;
}

.method-radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
  transition: all 0.2s;
  color: transparent;
}

.method-radio.checked {
  background: #E84A7F;
  border-color: #E84A7F;
  color: #FFFFFF;
}

.puheng-notice-box {
  font-size: 11.5px;
  line-height: 1.5;
  color: #64748B;
  margin-bottom: 16px;
  padding: 4px 2px;
}

.notice-prefix {
  color: #E11D48;
  font-weight: 800;
  margin-right: 4px;
}

.puheng-terms-box {
  margin-bottom: 18px;
}

.terms-label {
  font-size: 11px;
  font-weight: 800;
  color: #475569;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.terms-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.terms-chk {
  accent-color: #E84A7F;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.terms-text-wrap {
  flex: 1;
}

.terms-main {
  font-size: 12.5px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.35;
}

.terms-sub {
  font-size: 11px;
  color: #64748B;
  margin-top: 2px;
}

.puheng-price-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 16px;
  border-top: 1px solid #F1F5F9;
  padding-top: 12px;
}

.summary-col-left {
  text-align: left;
}

.summary-col-right {
  text-align: right;
}

.summary-lbl {
  display: block;
  font-size: 12px;
  color: #64748B;
  font-weight: 600;
  margin-bottom: 2px;
}

.summary-val-usd {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #E84A7F;
  line-height: 1.1;
}

.summary-val-khr {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #E84A7F;
  line-height: 1.1;
}

.btn-puheng-buy-now {
  width: 100%;
  height: 50px;
  background: #E84A7F;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 800;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 8px 20px rgba(232, 74, 127, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-puheng-buy-now:hover {
  background: #D8336A;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(232, 74, 127, 0.45);
}

.view-back-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E2E8F0;
}

.btn-back-methods {
  background: transparent;
  border: none;
  color: #64748B;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  transition: color 0.2s;
}

.btn-back-methods:hover {
  color: #E84A7F;
}

.badge-active-method {
  background: rgba(232, 74, 127, 0.1);
  color: #E84A7F;
  border: 1px solid rgba(232, 74, 127, 0.25);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.alt-method-info-box {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  margin-bottom: 16px;
}

.alt-method-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.alt-method-title {
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 6px;
}

.alt-method-desc {
  font-size: 13px;
  color: #64748B;
  margin-bottom: 16px;
  line-height: 1.4;
}

