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

:root {
  --primary: #1677ff;
  --primary-hover: #0958d9;
  --primary-light: #e6f4ff;
  --primary-glow: rgba(22, 119, 255, 0.25);
  --success: #10b981;
  --success-light: #ecfdf5;
  --warning: #f59e0b;
  --danger: #ef4444;
  --surface: #ffffff;
  --bg: #f8fafc;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-muted: #64748b;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Vazirmatn', system-ui, -apple-system, sans-serif;
  background-color: #f1f5f9;
  background-image: radial-gradient(at 50% 0%, rgba(37, 99, 235, 0.05) 0px, transparent 60%),
                    radial-gradient(at 90% 20%, rgba(245, 158, 11, 0.04) 0px, transparent 40%);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

html[dir="rtl"] {
  letter-spacing: 0 !important;
}

html[dir="rtl"] body,
html[dir="rtl"] input,
html[dir="rtl"] button,
html[dir="rtl"] textarea,
html[dir="rtl"] select {
  font-family: 'Vazirmatn', system-ui, -apple-system, sans-serif;
  direction: rtl;
  text-align: right;
  letter-spacing: 0 !important;
}

html[dir="ltr"] body {
  direction: ltr;
  text-align: left;
}

/* Announcement Ticker */
.top-ticker {
  background: linear-gradient(90deg, #0b1f44 0%, #1e40af 50%, #0b1f44 100%);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 16px;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.1);
}
.ticker-content {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
}
.ticker-content span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Header & Floating Pill Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
}
.navbar-container {
  max-width: 1224px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.brand-logo-img {
  height: 38px;
  max-height: 38px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #f59e0b;
  display: grid;
  place-items: center;
  font-size: 22px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.2);
}
.brand-crown-svg {
  color: #f59e0b;
  filter: drop-shadow(0 2px 6px rgba(245, 158, 11, 0.35));
}
.brand-text strong {
  display: block;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #0f172a;
}
.brand-text span {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  display: block;
  margin-top: 1px;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 4px 6px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: #475569;
  font-size: 13.5px;
  font-weight: 700;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nav-link:hover {
  color: #0f172a;
  background: #e2e8f0;
}
.nav-link.active {
  color: #ffffff !important;
  background: #2563eb !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.nav-pill-badge {
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  padding: 1px 7px;
  border-radius: 999px;
  line-height: 1.2;
  margin-inline-start: 4px;
}

/* ----------------------------------------------------
   Smart Live Search Box
---------------------------------------------------- */
.header-search-box {
  position: relative;
  flex: 0 1 210px;
  max-width: 260px;
  min-width: 160px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.header-search-box:focus-within {
  flex: 0 1 260px;
}
.search-input-shell {
  height: 38px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}
.search-input-shell:focus-within {
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12), 0 4px 14px rgba(0, 0, 0, 0.04);
}
.search-lens-svg {
  color: #64748b;
  flex-shrink: 0;
  transition: color 0.2s ease;
}
.search-input-shell:focus-within .search-lens-svg {
  color: #2563eb;
}
.search-input-field {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 12.5px;
  font-weight: 600;
  color: #0f172a;
  font-family: inherit;
  width: 100%;
}
.search-input-field::placeholder {
  color: #94a3b8;
  font-size: 12px;
}
.search-shortcut-badge {
  font-size: 10px;
  font-weight: 750;
  padding: 2px 5px;
  background: #e2e8f0;
  color: #64748b;
  border-radius: 4px;
  letter-spacing: 0.04em;
  user-select: none;
  pointer-events: none;
  transition: opacity 0.15s ease;
  flex-shrink: 0;
  line-height: 1.2;
}
.search-input-shell:focus-within .search-shortcut-badge {
  opacity: 0;
  pointer-events: none;
}
.search-clear-btn {
  background: #e2e8f0;
  border: none;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  font-size: 10px;
  color: #64748b;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.search-clear-btn:hover {
  background: #cbd5e1;
  color: #0f172a;
}

/* Search Results Dropdown */
.search-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  width: 380px;
  max-width: 90vw;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
  z-index: 1200;
  overflow: hidden;
  animation: searchDropIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes searchDropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.search-dropdown-header {
  padding: 10px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.search-count-pill {
  background: #2563eb;
  color: #ffffff;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}
.search-results-list {
  max-height: 380px;
  overflow-y: auto;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.search-empty-state {
  padding: 28px 16px;
  text-align: center;
  color: #64748b;
}
.search-empty-state span {
  font-size: 28px;
  display: block;
  margin-bottom: 8px;
  opacity: 0.6;
}
.search-empty-state p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}
.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}
.search-result-item:hover,
.search-result-item:focus {
  background: #f1f5f9;
  border-color: #e2e8f0;
  outline: none;
}
.sri-lead {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.sri-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
  overflow: hidden;
}
.sri-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sri-meta {
  min-width: 0;
  flex: 1;
}
.sri-name {
  margin: 0;
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sri-cat {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}
.sri-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.sri-price {
  font-size: 12.5px;
  font-weight: 800;
  color: #2563eb;
  white-space: nowrap;
}
.sri-avail-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
  white-space: nowrap;
}
.sri-avail-badge.in-stock {
  background: #ecfdf5;
  color: #065f46;
}
.sri-avail-badge.out-stock {
  background: #fef2f2;
  color: #991b1b;
}
.sri-quick-btn {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  border: none;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.sri-quick-btn:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}

/* ----------------------------------------------------
   Header Actions Suite (Lang + VIP User Dropdown)
---------------------------------------------------- */
.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Segmented Dual-Pill Language Switcher [ ☀️ KR | 🇺🇸 EN ] */
.lang-segmented-capsule {
  height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  gap: 2px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
  flex-shrink: 0;
}
.lang-capsule-item {
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}
.lang-capsule-item:hover {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.75);
}
.lang-capsule-item.is-active {
  background: #ffffff;
  color: #2563eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  cursor: default;
}
.lang-flag-svg {
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
  display: block;
}
.lang-label {
  line-height: 1;
  font-size: 11.5px;
  font-weight: 850;
}

/* Unified VIP User Capsule */
.vip-user-dropdown {
  position: relative;
}
.vip-user-trigger {
  height: 40px;
  border-radius: 999px;
  padding: 0 14px 0 6px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
  transition: all 0.2s ease;
}
html[dir="rtl"] .vip-user-trigger {
  padding: 0 6px 0 14px;
}
.vip-user-trigger:hover,
.vip-user-trigger[aria-expanded="true"] {
  border-color: #f59e0b;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.25);
  transform: translateY(-1px);
}
.vip-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0f172a;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.vip-user-name {
  font-size: 13px;
  font-weight: 800;
  color: #f8fafc;
  max-width: 110px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vip-verified-check {
  color: #10b981;
  font-weight: 900;
  font-size: 12px;
  background: rgba(16, 185, 129, 0.15);
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  line-height: 1;
}
.vip-caret-icon {
  font-size: 10px;
  color: #94a3b8;
  transition: transform 0.2s ease;
}
.vip-user-trigger[aria-expanded="true"] .vip-caret-icon {
  transform: rotate(180deg);
}

/* Luxury VIP Menu Card */
.vip-menu-card {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  width: 260px;
  background: #0f172a;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  z-index: 1200;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: vipMenuDrop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes vipMenuDrop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.vip-menu-header {
  padding: 14px 16px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.vip-menu-user-info strong {
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  display: block;
}
.vip-menu-phone {
  font-size: 12px;
  color: #94a3b8;
  display: block;
  margin-top: 3px;
  direction: ltr;
}
.vip-menu-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  margin-top: 8px;
}
.vip-menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.vip-menu-links {
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.vip-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 10px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.15s ease;
}
.vip-menu-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transform: translateX(-2px);
}
html[dir="ltr"] .vip-menu-item:hover {
  transform: translateX(2px);
}
.vmi-icon {
  margin-inline-end: 8px;
  font-size: 15px;
}
.vmi-text {
  flex: 1;
}
.vmi-badge {
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 999px;
  line-height: 1.2;
}
.vip-menu-logout {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  color: #f87171;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: all 0.15s ease;
  background: rgba(239, 68, 68, 0.06);
}
.vip-menu-logout:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}

/* Matching 40px Login Button */
.btn-login-trigger {
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transition: all 0.2s ease;
}
.btn-login-trigger:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
}

/* Hero Section */
.hero-wrapper {
  max-width: 1240px;
  margin: 16px auto 36px;
  padding: 0 20px;
}
.hero-card {
  position: relative;
  background: linear-gradient(135deg, #0f3ba8 0%, #1e52db 50%, #2969f6 100%);
  border-radius: var(--radius-lg);
  padding: 50px 48px;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(22, 119, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 32px;
}
.hero-card::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,0.25);
}
.hero-title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.hero-subtitle {
  font-size: 16px;
  opacity: 0.92;
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 26px;
}
.hero-steps {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-step {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.22);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.12);
}
.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
}
.hero-art {
  display: grid;
  place-items: center;
  position: relative;
}
.hero-art-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  padding: 30px;
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
  text-align: center;
  max-width: 320px;
}
.hero-art-icon {
  font-size: 56px;
  margin-bottom: 12px;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Category Filter Tabs */
.categories-section {
  max-width: 1240px;
  margin: 0 auto 32px;
  padding: 0 20px;
}
.categories-bar {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.category-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.category-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #fff;
  transform: translateY(-2px);
}
.category-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 6px 18px var(--primary-glow);
}
.cat-icon {
  font-size: 18px;
}

/* Section Headings */
.section-head {
  max-width: 1280px;
  margin: 0 auto 28px;
  padding: 0 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.section-head h2 {
  font-size: 26px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.01em;
}
.section-head p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 4px;
}

/* Product Cards Grid */
.products-grid {
  max-width: 1280px;
  margin: 0 auto 70px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  border-color: rgba(37, 99, 235, 0.35);
}

.product-card-top {
  height: 128px;
  background: linear-gradient(145deg, #0b1120 0%, #1e293b 100%);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.product-card-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.12), transparent 70%);
  pointer-events: none;
}

/* Service Brand Specific Accent Styles with ambient luxury glow */
.product-card-top.brand-netflix {
  background: radial-gradient(circle at 50% 40%, rgba(229, 9, 20, 0.22) 0%, rgba(15, 23, 42, 0) 70%),
              linear-gradient(145deg, #180507 0%, #2e080e 55%, #140305 100%);
}
.product-card-top.brand-netflix::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ef4444, transparent);
}

.product-card-top.brand-spotify {
  background: radial-gradient(circle at 50% 40%, rgba(16, 185, 129, 0.22) 0%, rgba(15, 23, 42, 0) 70%),
              linear-gradient(145deg, #021a12 0%, #064e3b 55%, #021a12 100%);
}
.product-card-top.brand-spotify::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #10b981, transparent);
}

.product-card-top.brand-ai {
  background: radial-gradient(circle at 50% 40%, rgba(6, 182, 212, 0.22) 0%, rgba(15, 23, 42, 0) 70%),
              linear-gradient(145deg, #041d26 0%, #0e5060 55%, #05202a 100%);
}
.product-card-top.brand-ai::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #06b6d4, transparent);
}

.product-card-top.brand-pubg {
  background: radial-gradient(circle at 50% 40%, rgba(245, 158, 11, 0.22) 0%, rgba(15, 23, 42, 0) 70%),
              linear-gradient(145deg, #241603 0%, #63370b 55%, #201302 100%);
}
.product-card-top.brand-pubg::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #f59e0b, transparent);
}

.product-card-top.brand-canva {
  background: radial-gradient(circle at 50% 40%, rgba(56, 189, 248, 0.22) 0%, rgba(15, 23, 42, 0) 70%),
              linear-gradient(145deg, #031e30 0%, #036aa3 55%, #022033 100%);
}
.product-card-top.brand-canva::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #38bdf8, transparent);
}

.product-card-top.brand-adobe {
  background: radial-gradient(circle at 50% 40%, rgba(244, 63, 94, 0.22) 0%, rgba(15, 23, 42, 0) 70%),
              linear-gradient(145deg, #26050b 0%, #881337 55%, #210307 100%);
}
.product-card-top.brand-adobe::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #f43f5e, transparent);
}

.product-icon-box {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  background: #ffffff;
  display: grid;
  place-items: center;
  font-size: 30px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.4);
  z-index: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.product-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card:hover .product-icon-box {
  transform: scale(1.1);
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
}

.badge-stock {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  font-size: 11px;
  font-weight: 850;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
html[dir="rtl"] .badge-stock {
  right: auto;
  left: 10px;
}
.badge-stock.available {
  background: rgba(16, 185, 129, 0.92);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}
.badge-stock.unavailable {
  background: rgba(239, 68, 68, 0.92);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}

.product-card-body {
  padding: 18px 20px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-title {
  font-size: 17px;
  font-weight: 850;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.35;
}
.product-plan {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 10px;
}
.product-desc-snippet {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}

.product-card-bottom {
  margin-top: auto;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}
.product-price-box {
  display: flex;
  flex-direction: column;
}
.price-prefix {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.2;
  margin-bottom: 3px;
  white-space: nowrap;
}
.price-val {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.15;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}
.price-val strong {
  font-weight: 900;
}
.price-val small {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}
.guarantee-pill {
  font-size: 11.5px;
  font-weight: 700;
  color: #059669;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.discount-pill {
  font-size: 11.5px;
  font-weight: 800;
  color: #d97706;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.btn-buy {
  width: 100%;
  height: 42px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: 0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
  white-space: nowrap;
  font-family: inherit;
  text-decoration: none;
}
.btn-buy:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
}
.btn-buy.is-out-of-stock {
  background: #f1f5f9 !important;
  color: #94a3b8 !important;
  border: 1px solid #e2e8f0 !important;
  opacity: 1 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

/* Modal Framework */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-container {
  width: min(640px, 100%);
  max-height: 90vh;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 22px 26px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fafafa;
}
.modal-header h3 {
  font-size: 20px;
  font-weight: 900;
}
.btn-close-modal {
  background: transparent;
  border: 0;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: var(--transition);
}
.btn-close-modal:hover {
  background: #e2e8f0;
  color: var(--text);
}

.modal-body {
  padding: 26px;
}

/* Package Details Modal Specifics */
.pkg-head-banner {
  display: flex;
  gap: 16px;
  align-items: center;
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid #dbeafe;
  margin-bottom: 22px;
}
.pkg-head-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #bfdbfe;
  display: grid;
  place-items: center;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
  overflow: hidden;
  flex-shrink: 0;
}
.pkg-head-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pkg-head-meta {
  flex: 1;
  min-width: 0;
}
.pkg-head-meta strong {
  display: block;
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.3;
}
.pkg-head-meta span {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
  margin-top: 2px;
}

.pkg-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}
.pkg-info-item {
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
}
.pkg-info-item small {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 4px;
}
.pkg-info-item strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
}

.pkg-section-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.pkg-desc-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
  white-space: pre-wrap;
  margin-bottom: 22px;
}

/* Sleek Compact Summary Bar for Modal Phase 2 & 3 */
.pkg-compact-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}
.compact-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.compact-bar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.compact-bar-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.compact-bar-meta {
  display: flex;
  flex-direction: column;
}
.compact-bar-title {
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.25;
}
.compact-bar-plan {
  font-size: 12px;
  color: #2563eb;
  font-weight: 750;
  margin-top: 2px;
}
.compact-bar-price-tag {
  text-align: left;
}
html[dir="rtl"] .compact-bar-price-tag {
  text-align: right;
}
.compact-bar-price-tag small {
  display: block;
  font-size: 10.5px;
  color: #64748b;
  font-weight: 700;
}
.compact-bar-price {
  font-size: 17.5px;
  font-weight: 900;
  color: #059669;
}

/* Payment Selector & Modern Method Cards */
.payment-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.pay-option {
  position: relative;
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.22s ease-in-out;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  user-select: none;
}
.pay-option:hover {
  border-color: #94a3b8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}
.pay-opt-logo-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}
.pay-opt-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}
.pay-brand-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border-radius: 10px;
}
.fastpay-icon {
  background: linear-gradient(135deg, #ff6600, #ff8c00);
  color: #fff;
}
.fib-icon {
  background: linear-gradient(135deg, #0d9488, #004d40);
  color: #fff;
}
.superqi-icon {
  background: linear-gradient(135deg, #0284c7, #1e40af);
  color: #fff;
}
.pay-opt-check {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
html[dir="rtl"] .pay-opt-check {
  right: auto;
  left: 7px;
}
.pay-option.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 4px 14px var(--primary-glow);
}
.pay-option.selected .pay-opt-check {
  opacity: 1;
  transform: scale(1);
}
.pay-option[data-method="FastPay"].selected {
  border-color: #f37021;
  background: #fff7ed;
  box-shadow: 0 4px 14px rgba(243, 112, 33, 0.2);
}
.pay-option[data-method="FastPay"].selected .pay-opt-check {
  background: #f37021;
}
.pay-option[data-method="FIB"].selected {
  border-color: #009688;
  background: #f0fdfa;
  box-shadow: 0 4px 14px rgba(0, 150, 136, 0.2);
}
.pay-option[data-method="FIB"].selected .pay-opt-check {
  background: #009688;
}
.pay-option[data-method="SuperQi"].selected {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
}
.pay-option[data-method="SuperQi"].selected .pay-opt-check {
  background: #2563eb;
}
.pay-opt-details strong {
  display: block;
  font-size: 13px;
  font-weight: 900;
  color: #0f172a;
}
.pay-opt-details small {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Payment Details Card */
.payment-details-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 0;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}
.payment-card-banner {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 16px;
}
.payment-banner-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.payment-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 800;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 20px;
  padding: 2px 8px;
  width: fit-content;
}
.payment-holder-name {
  font-size: 14px;
  font-weight: 800;
  color: #1e293b;
}

.payment-cred-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px 6px;
}
.payment-cred-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.2s;
}
.payment-cred-card:hover {
  border-color: #cbd5e1;
}
.payment-cred-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.payment-cred-label {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-copy-tag {
  background: #ffffff;
  color: #2563eb;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}
.btn-copy-tag:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}
.payment-cred-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  padding: 9px 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.payment-cred-box:hover {
  border-color: #2563eb;
  background: #eff6ff;
}
.payment-cred-val {
  font-family: 'Consolas', monospace;
  font-size: 15.5px;
  font-weight: 900;
  letter-spacing: 1px;
  direction: ltr;
  color: #0f172a;
}
.payment-cred-type {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
}

/* Payment QR Showcase */
.payment-qr-box {
  background: #fafafa;
  border-top: 1px solid #e2e8f0;
  padding: 16px;
  text-align: center;
  margin: 0;
}
.payment-qr-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  color: #334155;
  margin-bottom: 10px;
}
.qr-image-wrapper {
  position: relative;
  display: inline-block;
  padding: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.qr-image-wrapper:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.payment-qr-img {
  max-width: 170px;
  max-height: 170px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  object-fit: contain;
}
.qr-zoom-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.8);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  pointer-events: none;
}
html[dir="rtl"] .qr-zoom-badge {
  right: auto;
  left: 12px;
}
.qr-footer-hint {
  margin-top: 8px;
  font-size: 11.5px;
  color: #64748b;
  font-weight: 600;
}

/* Tutorial Instructional Banner */
.payment-tutorial-banner {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 12px 16px;
}
.tutorial-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.tutorial-title {
  font-size: 13px;
  font-weight: 800;
  color: #1e40af;
}
.tutorial-steps {
  margin: 0;
  padding-right: 18px;
  font-size: 12.5px;
  line-height: 1.75;
  color: #1e3a8a;
}
.tutorial-steps li {
  margin-bottom: 4px;
}

.btn-copy {
  background: var(--surface);
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
}
.btn-copy:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.form-group {
  margin-bottom: 16px;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #334155;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 14px;
  background: #fff;
  transition: var(--transition);
}
.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* Modern Receipt Dropzone */
.file-dropzone.modern-dropzone {
  display: block;
  position: relative;
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  background: #f8fafc;
  transition: all 0.2s ease-in-out;
  overflow: hidden;
  user-select: none;
}
.file-dropzone.modern-dropzone:hover {
  border-color: #3b82f6;
  background: #f0f7ff;
}
.file-dropzone.modern-dropzone.drag-over {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
.file-dropzone.modern-dropzone.has-file {
  border: 2px solid #10b981;
  background: #f0fdf4;
  padding: 12px;
}
.file-dropzone input[type="file"],
.file-dropzone input {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}
.dropzone-idle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.dropzone-circle-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e0f2fe;
  color: #0284c7;
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 6px;
}
.dropzone-text-primary {
  font-size: 13.5px;
  font-weight: 800;
  color: #1e293b;
}
.dropzone-text-hint {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 600;
}
.dropzone-preview-card {
  position: relative;
  z-index: 5;
  width: 100%;
}
.preview-card-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08);
}
.preview-thumbnail-wrap {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}
.preview-thumbnail-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.preview-meta {
  flex: 1;
  min-width: 0;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
html[dir="ltr"] .preview-meta {
  text-align: left;
}
.preview-filename {
  font-size: 12.5px;
  font-weight: 800;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.preview-filesize {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}
.preview-status-pill {
  font-size: 11px;
  font-weight: 800;
  color: #059669;
}
.btn-remove-receipt {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 800;
  padding: 6px 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.btn-remove-receipt:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}

.btn-submit-order {
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: #fff;
  border: 0;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 20px var(--primary-glow);
  margin-top: 10px;
}
.btn-submit-order:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}
.btn-submit-order:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Dual Restock Action Group (WhatsApp & Telegram) */
.restock-actions-group {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
  flex-wrap: wrap;
}

.btn-restock {
  flex: 1 1 calc(50% - 5px);
  min-width: 160px;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: var(--radius-pill, 9999px);
  font-size: 13.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.btn-restock-wa {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-restock-wa:hover {
  background: linear-gradient(135deg, #22bf5b, #0f7a6d);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.btn-restock-tg {
  background: linear-gradient(135deg, #0088cc, #229ED9);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(34, 158, 217, 0.35);
}

.btn-restock-tg:hover {
  background: linear-gradient(135deg, #0077b5, #1d8bc0);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(34, 158, 217, 0.45);
}

@media (max-width: 480px) {
  .btn-restock {
    flex: 1 1 100%;
  }
}


/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: #0f172a;
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 0.3s ease-out;
}
.toast.success { border-right: 4px solid var(--success); }
.toast.error { border-right: 4px solid var(--danger); }
@keyframes slideIn {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Orders Dashboard */
.orders-table-wrapper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}
.order-card-row {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 14px;
  background: #fff;
  transition: var(--transition);
}
.order-card-row:hover {
  border-color: #94a3b8;
  box-shadow: var(--shadow-sm);
}
.order-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.order-status-badge {
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 900;
}
.order-status-badge.pending { background: #fef3c7; color: #b45309; }
.order-status-badge.approved { background: #d1fae5; color: #065f46; }
.order-status-badge.rejected { background: #fee2e2; color: #991b1b; }

.credentials-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.cred-item span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 700;
}
.cred-item strong {
  font-size: 14px;
  font-weight: 900;
  user-select: all;
}

/* Floating WhatsApp live support button */
.floating-support {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}
.floating-support:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

/* Responsive */
@media (max-width: 900px) {
  .site-header {
    padding: 10px 16px;
  }
  .navbar-container {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
  }
  .brand-logo {
    gap: 8px;
  }
  .brand-icon {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
  .brand-text strong {
    font-size: 16px;
  }
  .brand-text span {
    font-size: 10px;
  }
  .nav-pill {
    display: flex;
    order: 3;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 6px 8px;
    gap: 6px;
    justify-content: flex-start;
  }
  .nav-pill::-webkit-scrollbar {
    display: none;
  }
  .nav-link {
    padding: 6px 12px;
    font-size: 13px;
    flex-shrink: 0;
  }
  .nav-cart-btn {
    padding: 6px 12px;
    font-size: 13px;
    flex-shrink: 0;
  }
  .hero-card {
    grid-template-columns: 1fr;
    padding: 24px 16px;
  }
  .hero-art {
    display: none;
  }
}
@media (max-width: 600px) {
  .site-header {
    padding: 8px 12px;
  }
  .pkg-info-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .payment-selector {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .hero-steps {
    flex-direction: column;
    gap: 10px;
  }
  .carousel-card {
    min-width: 220px;
    max-width: 220px;
  }
  .modal-container {
    width: 95%;
    max-height: 90vh;
    padding: 16px;
    margin: 10px auto;
  }
  .option-values-row {
    flex-direction: column;
    gap: 6px;
  }
  .option-val-btn {
    width: 100%;
    justify-content: space-between;
  }
}

/* ==========================================================================
   GSM KOYA Dual-Pane Hero Slider Component (Exact Screenshot Match)
   ========================================================================== */
.gsm-slider-wrapper {
  max-width: 1260px;
  margin: 18px auto 32px;
  padding: 0 18px;
}

.gsm-slider-card {
  background: #090e17;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}

/* Left Sidebar Thumbnails List */
.slider-thumbs-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  max-height: 440px;
  padding-right: 4px;
}

.slider-thumb-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  color: #94a3b8;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: right;
  width: 100%;
}

.slider-thumb-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(-3px);
}

.slider-thumb-btn.active {
  background: rgba(14, 165, 233, 0.12);
  border: 2px solid #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
}

.thumb-text-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.thumb-mini-badge {
  width: 52px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.5px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
}

.mockup-office { background: linear-gradient(135deg, #ea580c, #c2410c); }
.mockup-capcut { background: linear-gradient(135deg, #1e293b, #0f172a); }
.mockup-adobe  { background: linear-gradient(135deg, #dc2626, #991b1b); }
.mockup-pubg   { background: linear-gradient(135deg, #eab308, #ca8a04); color: #000; }
.mockup-gemini { background: linear-gradient(135deg, #2563eb, #4f46e5); }
.mockup-canva  { background: linear-gradient(135deg, #06b6d4, #0284c7); }

/* Right Main Banner Display Stage */
.slider-stage-area {
  background: #f8fafc;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 440px;
}

.slider-slide-view {
  display: none;
  width: 100%;
  padding: 32px 36px;
  animation: slideFadeIn 0.4s ease-out;
}

.slider-slide-view.active {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: center;
}

@keyframes slideFadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

/* 3D Software Box Visual */
.stage-visual-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.box-3d-container {
  width: 200px;
  height: 270px;
  position: relative;
  perspective: 900px;
}

.box-3d-body {
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  transform: rotateY(-22deg) rotateX(4deg);
  transition: transform 0.5s ease;
  filter: drop-shadow(15px 25px 25px rgba(0, 0, 0, 0.25));
}

.box-3d-body:hover {
  transform: rotateY(-15deg) rotateX(2deg) translateY(-6px);
}

.box-face-front {
  width: 160px;
  height: 250px;
  position: absolute;
  right: 0;
  top: 0;
  border-radius: 4px 12px 12px 4px;
  padding: 20px 16px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset -4px 0 10px rgba(0,0,0,0.15);
}

.box-face-spine {
  width: 44px;
  height: 250px;
  position: absolute;
  right: 158px;
  top: 0;
  border-radius: 8px 0 0 8px;
  filter: brightness(0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}

.box-face-spine span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  transform: rotate(180deg);
}

.box-top-edge {
  position: absolute;
  top: -12px;
  right: 12px;
  width: 148px;
  height: 14px;
  background: rgba(255, 255, 255, 0.35);
  transform: skewX(-45deg);
  border-radius: 3px;
}

.gold-guarantee-seal {
  position: absolute;
  bottom: -15px;
  right: 10px;
  width: 82px;
  height: 82px;
  background: radial-gradient(circle, #fbbf24 20%, #d97706 80%);
  border-radius: 50%;
  border: 3px dashed #fef3c7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #78350f;
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.4);
  transform: rotate(-10deg);
  animation: sealPulse 3s infinite ease-in-out;
}

.gold-guarantee-seal strong {
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.gold-guarantee-seal small {
  font-size: 8px;
  font-weight: 800;
  text-align: center;
}

@keyframes sealPulse {
  0%, 100% { transform: rotate(-10deg) scale(1); }
  50% { transform: rotate(-7deg) scale(1.06); }
}

/* Stage Info Column */
.stage-info-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.slide-main-header {
  border-bottom: 2px solid #ff5722;
  padding-bottom: 10px;
  margin-bottom: 16px;
}

.slide-title-ku {
  font-size: 2.2rem;
  font-weight: 900;
  color: #ff5722;
  margin: 0;
  line-height: 1.2;
}

.slide-title-en {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin: 4px 0 0;
}

/* Features Checklist */
.slide-bullets-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.slide-bullets-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
  color: #334155;
}

.bullet-check-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ff5722;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(255, 87, 34, 0.35);
}

/* Apps Grid Icons */
.slide-apps-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.app-pill {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Footer Controls & Badges */
.slide-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid #e2e8f0;
  padding-top: 16px;
}

.platform-icons-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
}

.btn-hero-buy-action {
  background: linear-gradient(135deg, #ff5722, #e64a19);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 87, 34, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-hero-buy-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 87, 34, 0.45);
}

.site-badge-pill {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #ea580c;
  direction: ltr;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Carousel dots */
.slider-dots-nav {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.slider-dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.slider-dot-btn.active {
  background: #ff5722;
  width: 28px;
  border-radius: 20px;
}

/* Responsive Rules for Slider */
@media (max-width: 960px) {
  .gsm-slider-card {
    grid-template-columns: 1fr;
  }
  .slider-thumbs-column {
    flex-direction: row;
    overflow-x: auto;
    max-height: none;
    padding-bottom: 8px;
  }
  .slider-thumb-btn {
    min-width: 180px;
  }
  .slider-slide-view.active {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .stage-visual-col {
    order: -1;
    margin-bottom: 20px;
  }
}

/* Backward-compatibility aliases for floating navbar wrapper */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 24px;
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(12px);
  display: flex;
  justify-content: center;
}
.navbar-pill {
  width: 100%;
  max-width: 1240px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.btn-login-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--primary);
  color: #fff !important;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: var(--transition);
}

/* ======================================================== */
/* [Obsolete Header Megamenu styles removed] */

/* ======================================================== */
/* ADDITIVE COMPONENT 2: DYNAMIC PRODUCT CAROUSELS          */
/* ======================================================== */
.dynamic-carousels-wrapper {
  max-width: 1240px;
  margin: 40px auto;
  padding: 0 20px;
}
.store-carousel-section {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.carousel-head-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.carousel-title {
  font-size: 1.35rem;
  font-weight: 900;
  margin: 0 0 4px;
  color: var(--text);
}
.carousel-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}
.carousel-controls {
  display: flex;
  gap: 8px;
}
.carousel-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #f8fafc;
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.carousel-arrow:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: scale(1.05);
}
.carousel-scroll-window {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  padding: 8px 2px;
}
.carousel-scroll-window::-webkit-scrollbar {
  display: none;
}
.carousel-items-track {
  display: flex;
  gap: 16px;
}
.carousel-card {
  min-width: 285px;
  max-width: 285px;
  flex-shrink: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}
.carousel-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.09), 0 4px 12px rgba(0, 0, 0, 0.04);
  border-color: rgba(37, 99, 235, 0.35);
}
.carousel-card .product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

/* ======================================================== */
/* ADDITIVE COMPONENT 3: SEQUENTIAL PRODUCT OPTIONS WIZARD  */
/* ======================================================== */
.product-options-wizard {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}
.options-wizard-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  margin-bottom: 12px;
}
.options-steps-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.option-step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px;
  transition: border-color 0.2s;
}
.option-step-card.active-step {
  border-color: var(--primary);
}
.option-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.option-step-num-pill {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 50px;
  background: #eff6ff;
  color: var(--primary);
  border: 1px solid #bfdbfe;
}
.option-step-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}
.option-values-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.option-val-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: var(--text);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.option-val-btn:hover {
  border-color: var(--primary);
  background: #ffffff;
}
.option-val-btn.selected {
  border-color: var(--primary);
  background: #eff6ff;
  color: var(--primary);
  font-weight: 800;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}
.price-delta-badge {
  font-size: 11px;
  font-weight: 800;
  color: #10b981;
}
.options-summary-badge {
  margin-top: 12px;
  padding: 8px 12px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #065f46;
}

/* ======================================================== */
/* STREAMLINED COMPACT KURD STORE VIP FOOTER               */
/* ======================================================== */
.ksv-pro-footer {
  background: #090d16;
  color: #94a3b8;
  position: relative;
  margin-top: 36px;
  font-size: 13.5px;
  line-height: 1.5;
  box-sizing: border-box;
  overflow: hidden;
}

.ksv-footer-top-accent {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #1e3a8a 0%, #2563eb 30%, #f59e0b 70%, #fbbf24 100%);
}

.ksv-footer-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 20px 18px;
  box-sizing: border-box;
}

.ksv-footer-main-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.3fr;
  gap: 32px;
  margin-bottom: 22px;
}

.ksv-footer-col {
  display: flex;
  flex-direction: column;
}

.ksv-footer-col-title {
  color: #f8fafc;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ksv-title-dash {
  display: inline-block;
  width: 3px;
  height: 12px;
  border-radius: 2px;
  background: #38bdf8;
}

/* Brand column */
.ksv-col-brand {
  padding-left: 0;
}

.ksv-footer-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.ksv-footer-brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: grid;
  place-items: center;
  font-size: 19px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ksv-footer-brand-names {
  display: flex;
  flex-direction: column;
}

.ksv-footer-brand-title {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.ksv-footer-brand-subtitle {
  font-size: 11.5px;
  font-weight: 600;
  color: #38bdf8;
}

.ksv-footer-about-text {
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 14px;
  max-width: 440px;
}

.ksv-footer-social-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ksv-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ksv-social-pill.tg {
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60a5fa;
}

.ksv-social-pill.tg:hover {
  background: #2563eb;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.ksv-social-pill.wa {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.ksv-social-pill.wa:hover {
  background: #10b981;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Links lists */
.ksv-footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ksv-footer-links-list li a,
.ksv-footer-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: all 0.2s ease;
}

.ksv-footer-links-list li a:hover,
.ksv-footer-btn-link:hover {
  color: #ffffff;
  transform: translateX(-3px);
}

.ksv-bullet {
  color: #38bdf8;
  font-weight: 800;
  font-size: 13px;
}

/* Support column */
.ksv-support-info-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ksv-support-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid #1e293b;
  padding: 8px 12px;
  border-radius: 10px;
}

.ksv-sup-icon {
  font-size: 16px;
  line-height: 1;
}

.ksv-sup-label {
  font-size: 10.5px;
  color: #64748b;
  font-weight: 600;
}

.ksv-sup-val {
  font-size: 12px;
  color: #e2e8f0;
  font-weight: 700;
}

/* Bottom copyright and payment bar */
.ksv-footer-bottom-bar {
  border-top: 1px solid #1e293b;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #64748b;
}

.ksv-bottom-copy strong {
  color: #cbd5e1;
}

.ksv-footer-compact-payments {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ksv-pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  background: #1e293b;
  border: 1px solid #334155;
  color: #f8fafc;
  font-size: 11.5px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.ksv-pay-badge.fastpay {
  border-color: rgba(249, 115, 22, 0.3);
}
.ksv-pay-badge.fastpay:hover {
  background: rgba(249, 115, 22, 0.15);
  border-color: #f97316;
  color: #fb923c;
}

.ksv-pay-badge.fib {
  border-color: rgba(16, 185, 129, 0.3);
}
.ksv-pay-badge.fib:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10b981;
  color: #34d399;
}

.ksv-pay-badge.superqi {
  border-color: rgba(59, 130, 246, 0.3);
}
.ksv-pay-badge.superqi:hover {
  background: rgba(59, 130, 246, 0.15);
  border-color: #3b82f6;
  color: #60a5fa;
}

.ksv-secure-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 6px;
  background: #1e293b;
  border: 1px solid #334155;
  color: #10b981;
  font-size: 11px;
  font-weight: 700;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .ksv-footer-main-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 640px) {
  .ksv-footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ==========================================================================
   Category Menu (Compact Horizontal Row Directly Below Banner)
   ========================================================================== */
.below-banner-category-menu {
  max-width: 1260px;
  margin: 14px auto 26px;
  padding: 0 18px;
  box-sizing: border-box;
}

.cat-menu-row-container {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #090e17;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 8px 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  position: relative;
  box-sizing: border-box;
}

.cat-menu-arrow {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  outline: none;
  user-select: none;
}

.cat-menu-arrow:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.cat-menu-scroll-track {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1;
  padding: 4px 2px;
}

.cat-menu-scroll-track::-webkit-scrollbar {
  display: none;
}

.cat-menu-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #cbd5e1;
  font-size: 13.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
  outline: none;
  box-sizing: border-box;
}

.cat-menu-pill-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.cat-menu-pill-btn.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(217, 119, 6, 0.28));
  border: 1.5px solid #f59e0b;
  color: #fef08a;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.3);
  font-weight: 850;
}

.cat-pill-icon {
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cat-pill-name {
  white-space: nowrap;
}

/* ==========================================================================
   Checkout 3-Phase Stepper & Dynamic Plan Option Cards
   ========================================================================== */
.checkout-stepper-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 0 0 20px 0;
  padding: 10px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
}

.stepper-step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-weight: 700;
  font-size: 13px;
  transition: all 0.25s ease;
  user-select: none;
}

.stepper-step .step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  transition: all 0.25s ease;
}

.stepper-step.active {
  color: var(--primary);
}

.stepper-step.active .step-num {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 10px var(--primary-glow);
}

.stepper-step.completed {
  color: #10b981;
}

.stepper-step.completed .step-num {
  background: #10b981;
  color: #ffffff;
}

.stepper-divider {
  flex: 1;
  height: 2px;
  background: #e2e8f0;
  margin: 0 10px;
  border-radius: 2px;
}

/* Product Options Wizard */
.product-options-wizard {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
}

.options-wizard-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1e293b;
  font-weight: 800;
  margin-bottom: 12px;
}

.option-step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.option-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.option-step-num-pill {
  background: #e2e8f0;
  color: #334155;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
}

.option-step-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

/* Segmented Options Layout (Subscriptions e.g. 1 Month, 3 Months, 1 Year) */
.options-segmented-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

/* Grid Options Layout (Quantities e.g. PUBG UC, Coins, Diamonds) */
.options-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
}

/* Plan Option Card Base */
.option-plan-card {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 10px;
  text-align: right;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 84px;
  font-family: inherit;
  outline: none;
  position: relative;
  box-sizing: border-box;
}

html[dir="ltr"] .option-plan-card {
  text-align: left;
}

.option-plan-card:hover:not(.disabled) {
  border-color: #94a3b8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.option-plan-card.selected {
  border-color: var(--primary);
  background: #f0f7ff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.opt-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 4px;
}

.opt-card-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}

.opt-card-indicator {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
  background: #f1f5f9;
  color: transparent;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.option-plan-card.selected .opt-card-indicator {
  background: var(--primary);
  color: #ffffff;
}

.opt-card-price-row {
  margin: 4px 0 6px 0;
}

.opt-card-price {
  font-size: 13.5px;
  font-weight: 900;
  color: var(--primary);
}

.opt-card-footer {
  display: flex;
  align-items: center;
}

.opt-stock-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.opt-stock-badge.in-stock {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.opt-stock-badge.out-of-stock {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

/* Out of Stock Card State */
.option-plan-card.is-out-of-stock {
  opacity: 0.85;
  background: rgba(248, 250, 252, 0.7);
  border-color: #e2e8f0;
  cursor: pointer;
  position: relative;
}

.option-plan-card.is-out-of-stock:hover {
  opacity: 1;
  border-color: #f87171;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.08);
}

.option-plan-card.is-out-of-stock.selected {
  border-color: #ef4444;
  background: rgba(254, 242, 242, 0.8);
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

.option-plan-card.is-out-of-stock.selected .opt-card-indicator {
  background: #ef4444;
  color: #fff;
  border-color: #ef4444;
}

/* Options summary badge */
.options-summary-badge {
  margin-top: 12px;
  padding: 8px 12px;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  font-size: 12.5px;
  color: #0369a1;
  font-weight: 600;
}

/* Catalog Card Plans Chips & Starting Price */
.product-plans-chips {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.plan-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  background: #f1f5f9;
  color: #475569;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.plan-chip-more {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 6px;
  background: #e2e8f0;
  color: #334155;
  border-radius: 6px;
}

.from-price-label {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 700;
  margin-left: 4px;
}

html[dir="ltr"] .from-price-label {
  margin-left: 0;
  margin-right: 4px;
}

/* ==========================================================================
   STYLE 1: VIP FLAME & GOLD FLASH DEALS CAROUSEL
   ========================================================================== */
.vip-flash-deals-section {
  max-width: 1280px;
  margin: 0 auto 34px;
  padding: 0 16px;
  box-sizing: border-box;
}

.vip-section-container {
  background: 
    radial-gradient(ellipse 65% 45% at 50% -5%, rgba(245, 158, 11, 0.22), transparent 70%),
    radial-gradient(circle at 15% 100%, rgba(239, 68, 68, 0.12), transparent 50%),
    linear-gradient(180deg, #0d1527 0%, #080d16 100%);
  border: 1px solid rgba(245, 158, 11, 0.38);
  border-radius: 26px;
  padding: 22px 26px 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(254, 240, 138, 0.28);
  position: relative;
  overflow: hidden;
}

.vip-section-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ef4444, #f59e0b, #fbbf24, #ef4444, transparent);
  animation: flameBorderGlow 4s linear infinite;
  z-index: 1;
}

@keyframes flameBorderGlow {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* VIP Header Bar */
.vip-header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(245, 158, 11, 0.15);
  position: relative;
}

.vip-header-wrapper::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.5), transparent);
}

.vip-title-cluster {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vip-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 999px;
  padding: 4px 12px;
  width: fit-content;
}

.vip-kicker .flame-icon {
  font-size: 14px;
}

.vip-kicker .vip-tag {
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  color: #f87171;
  text-transform: uppercase;
}

.vip-kicker .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  animation: pulseDot 1.4s infinite ease-in-out;
}

.vip-deals-count-pill {
  font-size: 10.5px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fde047;
}

.vip-main-title {
  margin: 2px 0 0;
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 900;
  line-height: 1.25;
  background: linear-gradient(135deg, #ffffff 0%, #fef08a 42%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 16px rgba(245, 158, 11, 0.25);
}

.vip-subtitle {
  margin: 2px 0 0;
  font-size: 13.5px;
  color: #cbd5e1;
  font-weight: 600;
}

.vip-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Urgent Countdown Clock */
.vip-timer-cluster {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 18px;
  padding: 8px 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(254, 240, 138, 0.15);
}

.vip-timer-head {
  display: flex;
  align-items: center;
  gap: 5px;
}

.timer-flame {
  font-size: 14px;
  color: #f59e0b;
}

.timer-label-kicker {
  font-size: 12px;
  font-weight: 800;
  color: #fef08a;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.vip-clock-digits {
  display: flex;
  align-items: center;
  gap: 6px;
}

.clock-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 44px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 4px 6px;
  transition: all 0.2s ease;
}

.clock-unit.highlight {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.3), rgba(15, 23, 42, 0.9));
  border-color: rgba(239, 68, 68, 0.6);
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.3);
}

.clock-unit.highlight .unit-val {
  color: #fca5a5;
  text-shadow: 0 0 10px rgba(239, 68, 68, 0.7);
}

.unit-val {
  font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 18px;
  font-weight: 900;
  color: #fef08a;
  line-height: 1.1;
}

.unit-tag {
  font-size: 9.5px;
  font-weight: 700;
  color: #94a3b8;
  margin-top: 2px;
}

.clock-sep {
  font-size: 18px;
  font-weight: 900;
  color: #f59e0b;
  opacity: 0.8;
}

/* Nav Arrows */
.vip-nav-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vip-arrow {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fef08a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.vip-arrow:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(239, 68, 68, 0.25));
  border-color: #f59e0b;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}

.vip-arrow:active {
  transform: translateY(0);
}

/* Carousel Stage & Track */
.vip-carousel-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 20px;
  cursor: grab;
  user-select: none;
}

.vip-carousel-viewport:active {
  cursor: grabbing;
}

.vip-carousel-track {
  display: flex;
  gap: 22px;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.3, 1);
  will-change: transform;
}

/* ==========================================================================
   CENTERED LUXURY VIP FLASH DEALS CARDS (THE GOLDEN RATIO)
   ========================================================================== */

/* VIP Card Styling: Comfortable, Centered & High-Impact */
.vip-card {
  flex: 1 1 330px;
  max-width: 380px;
  min-width: 280px;
  min-height: 385px;
  background: linear-gradient(180deg, rgba(26, 34, 52, 0.95) 0%, rgba(13, 19, 33, 0.98) 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 22px;
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42);
  position: relative;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  box-sizing: border-box;
}

.vip-card:hover {
  transform: translateY(-5px);
  border-color: #f59e0b;
  box-shadow: 0 16px 40px rgba(245, 158, 11, 0.25), 0 0 18px rgba(245, 158, 11, 0.12);
}

/* 1. Widescreen Visual Deck (135px Height) */
.vip-card-deck {
  position: relative;
  width: 100%;
  height: 135px;
  border-radius: 16px;
  background: radial-gradient(ellipse at 50% 120%, rgba(245, 158, 11, 0.16), rgba(15, 23, 42, 0.65) 80%), rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
}

.vip-deck-badges {
  position: absolute;
  top: 9px;
  left: 9px;
  right: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3;
}

.vip-flame-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #ef4444 0%, #ea580c 50%, #f59e0b 100%);
  color: #ffffff;
  font-weight: 850;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.4);
  position: relative;
  overflow: hidden;
}

.vip-flame-badge::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: rotate(30deg);
  animation: badgeShimmer 3s infinite;
}

.vip-stock-pill {
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.vip-stock-pill.in-stock {
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #34d399;
}

.vip-stock-pill.out-stock {
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #f87171;
}

.vip-artwork-showcase {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding-top: 18px;
}

.vip-card-artwork {
  max-width: 170px;
  max-height: 95px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.65));
  transition: transform 0.28s ease;
}

.vip-card:hover .vip-card-artwork {
  transform: scale(1.06);
}

.vip-icon-emoji {
  font-size: 52px;
  z-index: 2;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.5));
  transition: transform 0.28s ease;
}

.vip-card:hover .vip-icon-emoji {
  transform: scale(1.1);
}

.vip-halo-glow {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 68%);
  pointer-events: none;
}

/* Brand specific halo and deck background */
.vip-brand-netflix .vip-card-deck {
  background: radial-gradient(ellipse at 50% 120%, rgba(229, 9, 20, 0.28), rgba(15, 23, 42, 0.7) 80%), rgba(0, 0, 0, 0.4);
}
.vip-brand-netflix .vip-halo-glow {
  background: radial-gradient(circle, rgba(229, 9, 20, 0.3) 0%, transparent 68%);
}

.vip-brand-spotify .vip-card-deck {
  background: radial-gradient(ellipse at 50% 120%, rgba(29, 185, 84, 0.26), rgba(15, 23, 42, 0.7) 80%), rgba(0, 0, 0, 0.4);
}
.vip-brand-spotify .vip-halo-glow {
  background: radial-gradient(circle, rgba(29, 185, 84, 0.28) 0%, transparent 68%);
}

.vip-brand-chatgpt .vip-card-deck {
  background: radial-gradient(ellipse at 50% 120%, rgba(16, 163, 127, 0.28), rgba(15, 23, 42, 0.7) 80%), rgba(0, 0, 0, 0.4);
}
.vip-brand-chatgpt .vip-halo-glow {
  background: radial-gradient(circle, rgba(16, 163, 127, 0.3) 0%, transparent 68%);
}

/* 2. Body: Centered Title & Meta Chips */
.vip-card-body {
  padding: 12px 2px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.vip-item-name {
  margin: 0;
  font-size: 16.5px;
  font-weight: 850;
  color: #ffffff;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.vip-meta-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  min-height: 26px;
  margin-top: 2px;
}

.vip-plan-chip {
  font-size: 11.5px;
  font-weight: 750;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 6px;
  padding: 2px 8px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.vip-alert-chip {
  font-size: 11px;
  font-weight: 750;
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 6px;
  padding: 2px 8px;
  white-space: nowrap;
}

/* 3. Centered Bottom Bar & Full-Width Button */
.vip-card-bottom {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.vip-centered-price-deck {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.vip-old-price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1.1;
  margin-bottom: 2px;
}

.vip-old-price-row del {
  color: #64748b;
  font-weight: 600;
}

.vip-save-chip {
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: 4px;
}

.vip-deal-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  line-height: 1;
  margin-top: 3px;
}

.vip-price-val {
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, #34d399 0%, #10b981 60%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.01em;
}

.vip-price-unit {
  font-size: 12px;
  font-weight: 750;
  color: #94a3b8;
}

/* Full-Width Fast Buy Button */
.btn-vip-fast-buy {
  width: 100%;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #ef4444 0%, #ea580c 50%, #f59e0b 100%);
  color: #ffffff;
  padding: 11px 16px;
  font-size: 13.5px;
  font-weight: 850;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
  box-sizing: border-box;
}

.btn-vip-fast-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.55);
}

.btn-vip-fast-buy:active {
  transform: translateY(0);
}

.btn-vip-fast-buy.is-disabled {
  background: #334155;
  color: #94a3b8;
  cursor: not-allowed;
  opacity: 0.7;
  box-shadow: none;
  transform: none;
}

/* Responsive adjustments for VIP Section */
@media (max-width: 900px) {
  .vip-header-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .vip-header-actions {
    justify-content: space-between;
    width: 100%;
  }
  .vip-timer-cluster {
    flex: 1;
    justify-content: space-between;
  }
}

@media (max-width: 680px) {
  .vip-section-container {
    padding: 14px 12px 18px;
    border-radius: 20px;
  }
  .vip-card {
    flex: 0 0 270px;
    max-width: 270px;
    min-width: 270px;
    min-height: 360px;
    padding: 14px 14px 16px;
  }
  .vip-card-deck {
    height: 120px;
  }
  .vip-card-artwork {
    max-width: 140px;
    max-height: 80px;
  }
  .vip-timer-head {
    display: none;
  }
  .vip-main-title {
    font-size: 20px;
  }
}

.product-icon-img {
  width: 100%;
  height: 100%;
  max-width: 44px;
  max-height: 44px;
  object-fit: contain;
  border-radius: 10px;
  display: block;
  margin: auto;
}

.product-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ========================================================
   RESPONSIVE NAVBAR & SEARCH POLISH
   ======================================================== */
@media (max-width: 1100px) {
  .header-search-box {
    flex: 0 1 170px;
    max-width: 210px;
  }
}

@media (max-width: 900px) {
  .navbar-container {
    flex-wrap: wrap;
    padding: 6px 0;
    gap: 10px;
  }
  .header-search-box {
    order: 4;
    flex: 1 1 100%;
    max-width: 100%;
    margin-top: 4px;
  }
  .search-dropdown-menu {
    width: 100%;
    inset-inline-end: 0;
  }
}

@media (max-width: 600px) {
  .vip-user-name {
    display: none;
  }
  .lang-label {
    display: none;
  }
  .lang-capsule-item {
    padding: 0 7px;
  }
}

/* ========================================================
   UNIFIED STOREFRONT PAGE CONTAINERS
   ======================================================== */
.profile-container,
.orders-container,
.academy-container {
  max-width: 1260px;
  margin: 28px auto 80px;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ========================================================
   TELEGRAM-STYLE VIP SUBSCRIPTIONS CARD STYLING
   ======================================================== */
.tg-sub-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
  transition: all 0.25s ease;
}
.tg-sub-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.09);
}

.tg-sub-header {
  background: linear-gradient(135deg, #090e17 0%, #172554 100%);
  padding: 20px 24px;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.tg-sub-head-lead {
  display: flex;
  align-items: center;
  gap: 16px;
}
.tg-sub-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  font-size: 26px;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
.tg-sub-title-wrap h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tg-sub-plan-pill {
  font-size: 12px;
  font-weight: 800;
  background: rgba(59, 130, 246, 0.25);
  border: 1px solid rgba(96, 165, 250, 0.5);
  color: #93c5fd;
  padding: 2px 12px;
  border-radius: 999px;
}
.tg-sub-meta-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
  flex-wrap: wrap;
}
.tg-sub-meta-tags strong {
  color: #f8fafc;
  font-family: Consolas, monospace;
}
.tg-sub-badge-status {
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tg-sub-badge-status.active {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #34d399;
}
.tg-sub-badge-status.expiring {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid #f59e0b;
  color: #fbbf24;
}
.tg-sub-badge-status.expired {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #f87171;
}

/* Telegram Grid of Order Information */
.tg-sub-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  padding: 16px 24px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.tg-sub-detail-cell {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px;
}
.tg-sub-cell-label {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.tg-sub-cell-value {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
}
.tg-sub-cell-value.price-val {
  color: #2563eb;
}

/* Telegram Credentials Workspace */
.tg-sub-creds-body {
  padding: 20px 24px;
  background: #ffffff;
}
.tg-creds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.tg-cred-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 18px;
  transition: all 0.2s ease;
}
.tg-cred-box:hover {
  border-color: #cbd5e1;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}
.tg-cred-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.tg-cred-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 5px;
}
.tg-cred-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.tg-btn-copy {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 800;
  color: #1e293b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.tg-btn-copy:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}
.tg-cred-value {
  font-family: Consolas, monospace;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  word-break: break-all;
  direction: ltr;
  text-align: left;
}

/* Notes / Instructions Box */
.tg-notes-box {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #fffdf5 0%, #fefce8 100%);
  border: 1px solid #fde047;
  border-radius: 14px;
  padding: 16px 20px;
  margin-top: 6px;
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.06);
}
.tg-notes-label {
  font-size: 13px;
  font-weight: 850;
  color: #854d0e;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tg-notes-content {
  font-size: 13.5px;
  color: #713f12;
  line-height: 1.75;
  font-weight: 500;
}

/* Sub Card Footer Actions */
.tg-sub-actions-bar {
  padding: 14px 24px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.tg-btn-copy-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 10px;
  background: #0f172a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid #1e293b;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.tg-btn-copy-all:hover {
  background: #2563eb;
  border-color: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
/* WhatsApp Support Button (replaced Telegram) */
.tg-btn-whatsapp,
.tg-btn-support {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 10px;
  background: #25d366;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  border: none;
  cursor: pointer;
}
.tg-btn-whatsapp:hover,
.tg-btn-support:hover {
  background: #128c7e;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  transform: translateY(-1px);
}

/* Telegram support button (blue) */
.tg-btn-telegram {
  background: #0088cc !important;
}
.tg-btn-telegram:hover {
  background: #006ba8 !important;
  box-shadow: 0 4px 12px rgba(0, 136, 204, 0.35) !important;
}

/* Animated Copy Button (✅ checkmark feedback) */
.tg-copy-anim {
  position: relative;
  overflow: hidden;
}
.tg-copy-anim.copied {
  background: #10b981 !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
}
.tg-copy-anim.copied .tg-copy-txt::before {
  content: '✓ ';
}
@keyframes copyPop {
  0%   { transform: scale(0.9); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}
.tg-copy-anim.copied {
  animation: copyPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Eye button for password */
.tg-btn-eye {
  gap: 5px;
}

/* Copy All button — refined */
.tg-btn-copy-all {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.tg-btn-copy-all:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
  transform: translateY(-1px);
}
.tg-btn-copy-all.copied {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  border-color: transparent !important;
  animation: copyPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.tg-copy-all-icon {
  flex-shrink: 0;
  opacity: 0.85;
}


/* ========================================================
   GLOBAL ABOUT & CONTACT MODALS
   ======================================================== */
.ksv-global-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  place-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.ksv-global-modal-overlay.active {
  display: grid;
  opacity: 1;
}
.ksv-global-modal-box {
  background: #ffffff;
  border-radius: 20px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  animation: modalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalScaleIn {
  from { transform: scale(0.95) translateY(10px); }
  to { transform: scale(1) translateY(0); }
}
.ksv-global-modal-header {
  padding: 18px 24px;
  background: linear-gradient(135deg, #090e17 0%, #1e293b 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ksv-global-modal-header h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ksv-global-modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}
.ksv-global-modal-close:hover {
  background: rgba(239, 68, 68, 0.8);
}
.ksv-global-modal-body {
  padding: 24px;
  color: #334155;
  font-size: 14px;
  line-height: 1.7;
}
/* ========================================================
   ROYAL VIP CONTACT SUPPORT MODAL — Responsive, Luxurious
   ======================================================== */

/* The overlay keeps from old styles — reused */

/* New Royal Modal Card */
.ksv-contact-modal-card {
  background: #ffffff;
  border-radius: clamp(16px, 3vw, 28px);
  width: 100%;
  max-width: 460px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.22),
    0 8px 24px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.12);
  overflow: hidden;
  animation: contactModalSlideUp 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Vazirmatn', 'Inter', 'Segoe UI', system-ui, sans-serif;
  position: relative;
}
@keyframes contactModalSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Header */
.ksv-cm-header {
  background: linear-gradient(130deg, #060d1a 0%, #0f172a 55%, #1a1f3c 100%);
  padding: clamp(16px, 3vw, 24px) clamp(18px, 4vw, 28px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.ksv-cm-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.18) 0%, transparent 65%),
              radial-gradient(ellipse at 80% 20%, rgba(99, 102, 241, 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.ksv-cm-header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.ksv-cm-header-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(99, 102, 241, 0.2));
  border: 1px solid rgba(99, 102, 241, 0.35);
  display: grid;
  place-items: center;
  color: #a5b4fc;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.2);
}
.ksv-cm-title {
  margin: 0 0 3px;
  font-size: clamp(15px, 2.5vw, 18px);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.ksv-cm-subtitle {
  margin: 0;
  font-size: clamp(11px, 1.8vw, 13px);
  color: rgba(148, 163, 184, 0.9);
  font-weight: 500;
}
.ksv-cm-close {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.ksv-cm-close:hover {
  background: rgba(239, 68, 68, 0.7);
  border-color: rgba(239, 68, 68, 0.5);
  color: #ffffff;
  transform: rotate(90deg);
}

/* Body */
.ksv-cm-body {
  padding: clamp(16px, 4vw, 28px);
}
.ksv-cm-desc {
  margin: 0 0 20px;
  font-size: clamp(12.5px, 1.8vw, 13.5px);
  color: #64748b;
  text-align: center;
  line-height: 1.7;
}

/* Contact Cards Grid */
.ksv-cm-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
.ksv-cm-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 18px);
  padding: clamp(14px, 2.5vw, 18px) clamp(14px, 2.5vw, 20px);
  border-radius: clamp(14px, 2.5vw, 18px);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border: 1.5px solid transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.ksv-cm-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}
.ksv-cm-card:active {
  transform: translateY(-1px);
}
/* Telegram Card */
.ksv-cm-card--telegram {
  background: linear-gradient(135deg, #f0f8ff 0%, #e8f4fd 100%);
  border-color: rgba(0, 136, 204, 0.25);
}
.ksv-cm-card--telegram:hover {
  background: linear-gradient(135deg, #e0f2fe 0%, #d0e9fc 100%);
  border-color: rgba(0, 136, 204, 0.5);
}
/* WhatsApp Card */
.ksv-cm-card--whatsapp {
  background: linear-gradient(135deg, #f0fdf4 0%, #e6faf0 100%);
  border-color: rgba(16, 185, 129, 0.25);
}
.ksv-cm-card--whatsapp:hover {
  background: linear-gradient(135deg, #dcfce7 0%, #d1fae5 100%);
  border-color: rgba(16, 185, 129, 0.5);
}
/* Glow on hover */
.ksv-cm-card-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ksv-cm-card--telegram:hover .ksv-cm-card-glow {
  opacity: 1;
  background: radial-gradient(ellipse at 10% 50%, rgba(0, 136, 204, 0.06) 0%, transparent 70%);
}
.ksv-cm-card--whatsapp:hover .ksv-cm-card-glow {
  opacity: 1;
  background: radial-gradient(ellipse at 10% 50%, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
}

/* Icon Circle */
.ksv-cm-card-icon {
  width: clamp(44px, 7vw, 52px);
  height: clamp(44px, 7vw, 52px);
  min-width: clamp(44px, 7vw, 52px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.ksv-cm-icon--tg {
  background: linear-gradient(135deg, #0088cc, #006ba8);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 136, 204, 0.35);
}
.ksv-cm-icon--wa {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

/* Card Content */
.ksv-cm-card-content {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.ksv-cm-card-badge {
  font-size: clamp(10px, 1.5vw, 11px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 4px;
}
.ksv-cm-card-name {
  font-size: clamp(13px, 2vw, 15px);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ksv-cm-card-handle {
  font-size: clamp(11px, 1.6vw, 12.5px);
  font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.01em;
}
.ksv-cm-card--telegram .ksv-cm-card-handle { color: #0077b3; }
.ksv-cm-card--whatsapp .ksv-cm-card-handle { color: #059669; }

/* Arrow Icon */
.ksv-cm-card-arrow {
  color: #94a3b8;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}
.ksv-cm-card:hover .ksv-cm-card-arrow {
  transform: translateX(3px);
  color: #475569;
}

/* Hours Badge */
.ksv-cm-hours {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(135deg, #eff6ff, #f0f9ff);
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: clamp(11.5px, 1.8vw, 13px);
  font-weight: 700;
  color: #1d4ed8;
}

/* Very small mobile: stack icon + content */
@media (max-width: 360px) {
  .ksv-cm-card-name {
    font-size: 12.5px;
  }
  .ksv-cm-card-handle {
    font-size: 10.5px;
  }
}

/* ================================================================
   VIP ROYAL PROMO CODE STYLES & CELEBRATION
   ================================================================ */
.vip-shine-badge {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.35);
  display: inline-block;
  animation: vipPulseGlow 2.5s infinite;
}

@keyframes vipPulseGlow {
  0%, 100% {
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.35);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 2px 14px rgba(245, 158, 11, 0.6);
    transform: scale(1.05);
  }
}

.vip-applied-card {
  animation: vipSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.vip-old-price-strike {
  text-decoration: line-through;
  font-size: 13px;
  color: #94a3b8;
  font-weight: 600;
  margin-inline-end: 6px;
  opacity: 0.85;
}

.vip-discount-pill-tag {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  margin-inline-end: 6px;
  display: inline-block;
}

.vip-final-price-glow {
  color: #059669 !important;
  font-weight: 900 !important;
  text-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
  display: inline-block;
}

.ksv-confetti-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  pointer-events: none;
  z-index: 99999;
  animation: ksvConfettiFly 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes ksvConfettiFly {
  0% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(0.3);
  }
}


