/* wep3d — PayCard Frontend Theme (Light Cohesive Edition) */
:root {
  /* Primary palette — cohesive blue */
  --wep-primary: #2563eb;
  --wep-primary-rgb: 37, 99, 235;
  --wep-primary-light: #3b82f6;
  --wep-primary-dark: #1d4ed8;
  --wep-primary-soft: rgba(37, 99, 235, 0.08);

  /* Secondary / accent */
  --wep-secondary: #2563eb;
  --wep-secondary-rgb: 37, 99, 235;
  --wep-accent: #f59e0b;
  --wep-gold: #f59e0b;
  --wep-gold-rgb: 245, 158, 11;
  --wep-gold-soft: rgba(245, 158, 11, 0.12);
  --wep-cyan: #0ea5e9;
  --wep-cyan-rgb: 14, 165, 233;

  /* Surfaces */
  --wep-bg: #f8fafc;
  --wep-bg-elevated: #ffffff;
  --wep-bg-card: #ffffff;
  --wep-bg-card-hover: #f8fafc;
  --wep-bg-soft: #f1f5f9;

  /* Text */
  --wep-text: #0f172a;
  --wep-text-secondary: #475569;
  --wep-text-muted: #94a3b8;

  /* Borders */
  --wep-border: #e2e8f0;
  --wep-border-strong: #cbd5e1;

  /* Fonts */
  --wep-font: 'Cairo', sans-serif;
  --wep-font-gaming: 'Orbitron', sans-serif;

  /* Shadows */
  --wep-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --wep-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --wep-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  --wep-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --wep-shadow-colored: 0 8px 24px rgba(37, 99, 235, 0.12);

  /* Override Bootstrap */
  --bs-primary: var(--wep-primary);
  --bs-primary-rgb: var(--wep-primary-rgb);
  --bs-body-bg: var(--wep-bg);
  --bs-body-color: var(--wep-text);
  --bs-border-color: var(--wep-border);
  --bs-body-font-family: var(--wep-font);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html[dir="rtl"] { direction: rtl; text-align: right; }

body {
  font-family: var(--wep-font);
  background: var(--wep-bg);
  color: var(--wep-text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6, .font-gaming {
  font-family: var(--wep-font);
  letter-spacing: 0;
  color: var(--wep-text);
}

.text-gradient {
  background: linear-gradient(135deg, var(--wep-primary), var(--wep-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--wep-bg); }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
::selection { background: var(--wep-primary); color: #fff; }

/* ----------------------------- Bootstrap Overrides ----------------------------- */
.navbar {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--wep-border);
  box-shadow: var(--wep-shadow-xs);
}
.navbar-brand { font-weight: 800; color: var(--wep-text) !important; }
.navbar-brand img { max-height: 44px; width: auto; }
.navbar-toggler { border: 1px solid var(--wep-border); color: var(--wep-primary); }
.navbar-toggler i { color: var(--wep-primary) !important; }

.nav-link {
  color: var(--wep-text-secondary);
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}
.nav-link:hover, .nav-link.active, .nav-link:focus {
  color: var(--wep-primary);
  background: var(--wep-primary-soft);
}

.card {
  background: var(--wep-bg-card);
  border: 1px solid var(--wep-border);
  border-radius: 1rem;
  color: var(--wep-text);
  box-shadow: var(--wep-shadow-xs);
  transition: box-shadow 0.2s ease;
}
.card:hover { box-shadow: var(--wep-shadow-sm); }
.card-header {
  background: transparent;
  border-bottom: 1px solid var(--wep-border);
  font-weight: 700;
  color: var(--wep-text);
}
.card-footer { background: transparent; border-top: 1px solid var(--wep-border); }

.btn {
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn-primary {
  background: var(--wep-primary);
  border: none;
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--wep-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--wep-shadow-colored);
  color: #fff;
}
.btn-outline-primary {
  border: 1px solid var(--wep-primary);
  color: var(--wep-primary);
}
.btn-outline-primary:hover, .btn-outline-primary:focus {
  background: var(--wep-primary);
  color: #fff;
}
.btn-warning {
  background: var(--wep-gold);
  border: none;
  color: #fff;
}
.btn-warning:hover, .btn-warning:focus {
  background: #d97706;
  color: #fff;
}

.form-control, .form-select {
  background: #ffffff;
  border: 1px solid var(--wep-border);
  color: var(--wep-text);
  border-radius: 0.75rem;
}
.form-control:focus, .form-select:focus {
  background: #ffffff;
  border-color: var(--wep-primary);
  color: var(--wep-text);
  box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.1);
}
.form-control::placeholder { color: var(--wep-text-muted); }
.form-label { color: var(--wep-text-secondary); font-weight: 600; }

.alert {
  background: var(--wep-bg-elevated);
  border: 1px solid var(--wep-border);
  color: var(--wep-text);
  border-radius: 0.75rem;
}
.alert-success { border-color: rgba(34, 197, 94, 0.25); color: #15803d; background: rgba(34, 197, 94, 0.04); }
.alert-danger { border-color: rgba(239, 68, 68, 0.25); color: #b91c1c; background: rgba(239, 68, 68, 0.04); }
.alert-warning { border-color: rgba(245, 158, 11, 0.25); color: #b45309; background: rgba(245, 158, 11, 0.04); }
.alert-info { border-color: rgba(37, 99, 235, 0.25); color: #1d4ed8; background: rgba(37, 99, 235, 0.04); }

.badge.bg-primary { background: var(--wep-primary) !important; }
.badge.bg-success { background: var(--wep-cyan) !important; color: #fff; }
.badge.bg-warning { background: var(--wep-gold) !important; color: #fff; }
.badge.bg-danger { background: #ef4444 !important; }

/* Modal / Dropdown */
.modal-content {
  background: var(--wep-bg-card);
  border: 1px solid var(--wep-border);
  border-radius: 1rem;
  color: var(--wep-text);
}
.modal-header, .modal-footer { border-color: var(--wep-border); }
.btn-close { filter: none; }

.dropdown-menu {
  background: var(--wep-bg-card);
  border: 1px solid var(--wep-border);
  box-shadow: var(--wep-shadow-md);
  border-radius: 0.75rem;
}
.dropdown-item { color: var(--wep-text); }
.dropdown-item:hover, .dropdown-item:focus, .dropdown-item.active {
  background: var(--wep-primary-soft);
  color: var(--wep-primary);
}
.dropdown-divider { border-color: var(--wep-border); }

/* Tables */
.table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--wep-text);
  --bs-table-border-color: var(--wep-border);
}
.table th {
  color: var(--wep-text-secondary);
  font-weight: 700;
  border-bottom-width: 1px;
}
.table td { vertical-align: middle; }
.table-hover > tbody > tr:hover { background-color: var(--wep-bg-soft); }

/* Breadcrumb */
.breadcrumb { background: transparent; padding: 0; margin: 0; }
.breadcrumb-item a { color: var(--wep-text-secondary); text-decoration: none; }
.breadcrumb-item a:hover { color: var(--wep-primary); }
.breadcrumb-item.active { color: var(--wep-text-muted); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--wep-text-muted); }

/* Accordion */
.accordion-button {
  box-shadow: none !important;
  background: var(--wep-bg-card);
  color: var(--wep-text);
}
.accordion-button:not(.collapsed) {
  background: var(--wep-bg-card);
  color: var(--wep-primary);
}
.accordion-button::after { filter: none; }
.accordion-body { background: var(--wep-bg-card); color: var(--wep-text-secondary); }

/* Pagination */
.page-link {
  color: var(--wep-primary);
  border-color: var(--wep-border);
  border-radius: 0.5rem;
}
.page-link:hover, .page-link:focus {
  color: var(--wep-primary-dark);
  background: var(--wep-bg-soft);
  border-color: var(--wep-border-strong);
}
.page-item.active .page-link {
  background: var(--wep-primary);
  border-color: var(--wep-primary);
}

/* ----------------------------- Layout Components ----------------------------- */
.wep-topbar {
  background: linear-gradient(90deg, var(--wep-primary), var(--wep-primary-light));
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  text-align: center;
}

.wep-footer {
  background: var(--wep-bg-elevated);
  border-top: 1px solid var(--wep-border);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.wep-footer-v2 {
  background: var(--wep-bg-elevated);
  border-top: 1px solid var(--wep-border);
}
.wep-footer-v2 a { color: var(--wep-text-secondary); text-decoration: none; transition: color 0.2s; }
.wep-footer-v2 a:hover { color: var(--wep-primary); }
.wep-footer-v2 h6 { color: var(--wep-text); font-weight: 700; }

/* ----------------------------- Hero Carousel (light) ----------------------------- */
.wep-hero-carousel {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--wep-shadow-sm);
  border: 1px solid var(--wep-border);
}
.wep-hero-carousel .carousel-item {
  height: 380px;
  background: linear-gradient(135deg, #ffffff 0%, var(--wep-bg-soft) 100%);
}
.wep-hero-carousel .carousel-item.bg-gold {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}
.wep-hero-carousel .carousel-item.bg-primary-soft {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}
.wep-hero-carousel .carousel-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: end;
  padding: 3rem;
  background: linear-gradient(-90deg, rgba(15,23,42,0.04) 0%, transparent 70%);
}
html[dir="ltr"] .wep-hero-carousel .carousel-caption {
  align-items: flex-start;
  text-align: start;
  background: linear-gradient(90deg, rgba(15,23,42,0.04) 0%, transparent 70%);
}
.wep-hero-carousel .carousel-caption h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--wep-text);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.wep-hero-carousel .carousel-caption p {
  font-size: 1.1rem;
  color: var(--wep-text-secondary);
  max-width: 500px;
  margin-bottom: 1.5rem;
}
.wep-hero-carousel .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--wep-border-strong);
  border: none;
  margin: 0 5px;
}
.wep-hero-carousel .carousel-indicators button.active { background-color: var(--wep-primary); }
.wep-hero-carousel .carousel-control-prev,
.wep-hero-carousel .carousel-control-next {
  width: 44px;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  box-shadow: var(--wep-shadow);
  color: var(--wep-primary);
  opacity: 0.9;
}
.wep-hero-carousel .carousel-control-prev:hover,
.wep-hero-carousel .carousel-control-next:hover { opacity: 1; }
@media (max-width: 768px) {
  .wep-hero-carousel .carousel-item { height: 280px; }
  .wep-hero-carousel .carousel-caption { padding: 1.5rem; }
  .wep-hero-carousel .carousel-caption h2 { font-size: 1.6rem; }
  .wep-hero-carousel .carousel-caption p { font-size: 1rem; }
}

/* ----------------------------- Section Header ----------------------------- */
.wep-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.wep-section-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--wep-text);
  margin: 0;
}
.wep-section-link {
  color: var(--wep-primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.wep-section-link:hover { color: var(--wep-primary-dark); }

/* ----------------------------- Category Banners ----------------------------- */
.wep-cat-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--wep-bg-card);
  border: 1px solid var(--wep-border);
  border-radius: 1rem;
  padding: 1.25rem;
  text-decoration: none;
  color: var(--wep-text);
  box-shadow: var(--wep-shadow-xs);
  transition: all 0.2s ease;
  height: 100%;
}
.wep-cat-banner:hover {
  border-color: var(--wep-border-strong);
  transform: translateY(-2px);
  box-shadow: var(--wep-shadow);
  color: var(--wep-text);
}
.wep-cat-banner .icon {
  width: 52px;
  height: 52px;
  border-radius: 0.875rem;
  background: var(--wep-primary-soft);
  color: var(--wep-primary);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.wep-cat-banner .title { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.25rem; }
.wep-cat-banner .desc { font-size: 0.85rem; color: var(--wep-text-secondary); margin: 0; }

/* ----------------------------- Product Grids ----------------------------- */
.wep-product-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
@media (max-width: 1199px) { .wep-product-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px) { .wep-product-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; } }
@media (max-width: 480px) { .wep-product-grid { grid-template-columns: repeat(2, 1fr); } }

.wep-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--wep-text);
  padding: 1rem 0.5rem;
  border-radius: 1rem;
  background: var(--wep-bg-card);
  border: 1px solid var(--wep-border);
  box-shadow: var(--wep-shadow-xs);
  transition: all 0.2s ease;
}
.wep-grid-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--wep-shadow);
  border-color: var(--wep-border-strong);
  color: var(--wep-text);
}
.wep-grid-item .img-wrap {
  width: 64px;
  height: 64px;
  border-radius: 0.875rem;
  overflow: hidden;
  background: var(--wep-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}
.wep-grid-item .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.wep-grid-item .img-wrap i { color: var(--wep-primary); opacity: 0.5; }
.wep-grid-item .name { font-weight: 600; font-size: 0.85rem; line-height: 1.35; }

/* ----------------------------- Game Card ----------------------------- */
.wep-game-card {
  position: relative;
  background: var(--wep-bg-card);
  border: 1px solid var(--wep-border);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.25s ease;
  height: 100%;
  box-shadow: var(--wep-shadow-xs);
  text-decoration: none;
  color: var(--wep-text);
}
.wep-game-card:hover {
  border-color: var(--wep-border-strong);
  transform: translateY(-3px);
  box-shadow: var(--wep-shadow-md);
  color: var(--wep-text);
}
.wep-game-card .wep-game-img {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--wep-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.wep-game-card .wep-game-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.wep-game-card:hover .wep-game-img img { transform: scale(1.04); }
.wep-game-card .wep-game-img i { color: var(--wep-primary); opacity: 0.4; font-size: 2rem; }
.wep-game-card .wep-game-body {
  padding: 1rem;
  text-align: center;
  background: var(--wep-bg-card);
}
.wep-game-card .wep-game-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.35rem; color: var(--wep-text); }
.wep-game-card .wep-game-action {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--wep-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* ----------------------------- Product Card (compact) ----------------------------- */
.wep-product-card {
  background: var(--wep-bg-card);
  border: 1px solid var(--wep-border);
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  transition: all 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--wep-shadow-xs);
}
.wep-product-card:hover {
  border-color: var(--wep-border-strong);
  transform: translateY(-2px);
  box-shadow: var(--wep-shadow);
}
.wep-product-card .wep-product-img { width: 56px; height: 56px; object-fit: contain; margin: 0 auto 0.75rem; }
.wep-product-card .wep-product-name { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.5rem; color: var(--wep-text); }
.wep-product-card .wep-product-price { color: var(--wep-primary); font-weight: 700; margin-bottom: 0.75rem; direction: ltr; display: inline-block; }

/* ----------------------------- Action Cards ----------------------------- */
.wep-card-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--wep-bg-card);
  border: 1px solid var(--wep-border);
  border-radius: 1rem;
  padding: 1.5rem;
  color: var(--wep-text);
  transition: all 0.2s ease;
  height: 100%;
  box-shadow: var(--wep-shadow-xs);
}
.wep-card-action:hover {
  border-color: var(--wep-border-strong);
  transform: translateY(-2px);
  box-shadow: var(--wep-shadow);
  color: var(--wep-text);
}
.wep-card-action i {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 0.75rem;
  background: var(--wep-primary-soft);
  color: var(--wep-primary);
  font-size: 1.25rem;
}

/* ----------------------------- Chips ----------------------------- */
.wep-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--wep-primary-soft);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 9999px;
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
  color: var(--wep-primary);
  font-weight: 600;
}
.wep-chip-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--wep-primary);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* ----------------------------- Page Hero ----------------------------- */
.wep-page-hero {
  position: relative;
  padding: 3rem 0 2rem;
  background: linear-gradient(135deg, rgba(37,99,235,0.04), rgba(37,99,235,0.02));
  border-bottom: 1px solid var(--wep-border);
}
.wep-page-hero-subtitle { color: var(--wep-text-secondary); font-size: 1.05rem; }

/* ----------------------------- Product Page (Boss App) ----------------------------- */
.boss-product-page {
  background: var(--wep-bg);
  color: var(--wep-text);
  padding-top: 2rem;
  padding-bottom: 2rem;
  min-height: 100vh;
}
[dir="rtl"] .boss-product-page { text-align: right; }
.boss-product-page h1,
.boss-product-page h2,
.boss-product-page h3 { color: var(--wep-text); }

.boss-card {
  background: var(--wep-bg-card);
  border: 1px solid var(--wep-border);
  border-radius: 1.25rem;
  box-shadow: var(--wep-shadow-xs);
}
.boss-card .card-body { color: var(--wep-text); }

.boss-brand-header { overflow: hidden; }
.boss-brand-header .card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.boss-brand-header .d-flex {
  align-items: center !important;
  justify-content: center;
}
.boss-brand-img {
  width: 110px;
  height: 110px;
  border-radius: 1rem;
  background: var(--wep-bg-soft);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 auto;
}
.boss-brand-img img { width: 100%; height: 100%; object-fit: cover; }

.boss-badge {
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.boss-badge-gold {
  background: var(--wep-gold-soft);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.2);
}
.boss-badge-soft {
  background: var(--wep-primary-soft);
  color: var(--wep-primary);
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.boss-step { margin-bottom: 2rem; }
.boss-step-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.boss-step-number {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wep-primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
  flex-shrink: 0;
}
.boss-step-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: var(--wep-text);
}

.boss-product-page .form-control,
.boss-product-page .form-select {
  background: #ffffff;
  border: 1px solid var(--wep-border);
  color: var(--wep-text);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
}
.boss-product-page .form-control:focus,
.boss-product-page .form-select:focus {
  border-color: var(--wep-primary);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.1);
  background: #ffffff;
  color: var(--wep-text);
}
.boss-product-page .form-label { color: var(--wep-text-secondary); font-weight: 600; margin-bottom: 0.5rem; }
.boss-product-page .form-control::placeholder { color: var(--wep-text-muted); }

.boss-package-card {
  background: var(--wep-bg-card);
  border: 1px solid var(--wep-border);
  border-radius: 1rem;
  padding: 1.25rem 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  height: 100%;
}
.boss-package-card:hover {
  border-color: var(--wep-border-strong);
  transform: translateY(-2px);
  box-shadow: var(--wep-shadow);
}
.boss-package-card.selected {
  border-color: var(--wep-primary);
  background: linear-gradient(180deg, var(--wep-bg-card), var(--wep-bg-soft));
  box-shadow: var(--wep-shadow-colored);
}
.boss-package-card .check {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--wep-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 0.7rem;
  transition: all 0.2s;
}
[dir="rtl"] .boss-package-card .check { left: auto; right: 0.6rem; }
.boss-package-card.selected .check {
  background: var(--wep-primary);
  border-color: var(--wep-primary);
  color: #ffffff;
}
.boss-package-card .name { font-weight: 700; font-size: 0.9rem; color: var(--wep-text); margin-bottom: 0.35rem; }
.boss-package-card .price { color: var(--wep-primary); font-weight: 800; font-size: 1.05rem; direction: ltr; display: inline-block; }
.boss-package-card .img-wrap {
  width: 54px;
  height: 54px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--wep-bg-soft);
}
.boss-package-card .img-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; }

.boss-payment-card {
  background: var(--wep-bg-card);
  border: 1px solid var(--wep-border);
  border-radius: 1rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.boss-payment-card:hover { border-color: var(--wep-border-strong); }
.boss-payment-card.selected {
  border-color: var(--wep-primary);
  background: var(--wep-bg-soft);
}
.boss-payment-card.disabled { opacity: 0.55; cursor: not-allowed; }
.boss-payment-card .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--wep-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 0.7rem;
  margin-inline-start: auto;
  transition: all 0.2s;
}
.boss-payment-card.selected .check {
  background: var(--wep-primary);
  border-color: var(--wep-primary);
  color: #ffffff;
}
.boss-payment-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 0.6rem;
  background: var(--wep-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wep-primary);
  flex-shrink: 0;
}

.boss-checkout-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--wep-bg-card);
  border-top: 1px solid var(--wep-border);
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06);
  z-index: 1030;
  padding: 0.75rem 0;
}
.boss-checkout-bar .price { color: var(--wep-primary); font-weight: 800; font-size: 1.25rem; direction: ltr; }
.boss-checkout-bar .btn-buy {
  background: var(--wep-primary);
  border: none;
  color: #ffffff;
  border-radius: 0.75rem;
  padding: 0.65rem 1.5rem;
  font-weight: 700;
  box-shadow: var(--wep-shadow-colored);
}
.boss-checkout-bar .btn-buy:hover { filter: brightness(1.05); color: #ffffff; }

@media (max-width: 991.98px) { .boss-product-page { padding-bottom: 84px; } }
@media (min-width: 992px) {
  .boss-checkout-bar {
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }
  .boss-product-page { padding-bottom: 2rem; }
  .boss-checkout-bar .container { padding: 0; }
}

.boss-product-page .btn-primary {
  background: var(--wep-primary);
  border: none;
  color: #ffffff;
  border-radius: 0.75rem;
  font-weight: 600;
}
.boss-product-page .btn-primary:hover { filter: brightness(1.05); color: #ffffff; }

/* ----------------------------- Toast / Back to top ----------------------------- */
#wepToastContainer {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.wep-toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: var(--wep-bg-card);
  border: 1px solid var(--wep-border);
  border-radius: 0.875rem;
  box-shadow: var(--wep-shadow-md);
  font-size: 0.9rem;
  font-weight: 600;
  animation: fadeUp 0.35s ease-out;
}

#wepBackToTop {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--wep-primary);
  color: #fff;
  border: none;
  display: grid;
  place-items: center;
  box-shadow: var(--wep-shadow-colored);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1050;
}
[dir="rtl"] #wepBackToTop { right: auto; left: 1.5rem; }
#wepBackToTop.visible { opacity: 1; visibility: visible; }
#wepBackToTop:hover { transform: scale(1.1); }

/* ----------------------------- Animations ----------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ----------------------------- Utilities ----------------------------- */
.wep-price { direction: ltr; display: inline-block; color: var(--wep-primary); }
.text-secondary-wep { color: var(--wep-text-secondary) !important; }
.text-muted-wep { color: var(--wep-text-muted) !important; }
.bg-wep-card { background: var(--wep-bg-card) !important; }
.border-wep { border-color: var(--wep-border) !important; }
.text-brand-gold { color: var(--wep-gold) !important; }
.text-brand-cyan { color: var(--wep-cyan) !important; }
.text-brand-orange { color: #f97316 !important; }
.text-brand-blue { color: var(--wep-primary) !important; }

/* Hover helpers */
.hover-bg:hover { background: var(--wep-primary-soft); }
.hover\:text-white:hover { color: var(--wep-primary) !important; }

/* Sticky summary */
@media (min-width: 992px) {
  .wep-sticky-summary { position: sticky; top: 92px; }
}

/* Sections */
.wep-section { padding: 3rem 0; }

/* Responsive navbar */
@media (max-width: 991.98px) {
  .navbar-collapse .input-group { max-width: 100% !important; }
  .navbar-collapse {
    background: var(--wep-bg-elevated);
    padding: 1rem;
    border-radius: 1rem;
    margin-top: 0.75rem;
    border: 1px solid var(--wep-border);
    box-shadow: var(--wep-shadow-md);
  }
}
