:root {
  --falcon-navy: #0b2f6d;
  --falcon-blue: #0d6efd;
  --falcon-blue-hover: #0b5ed7;
  --falcon-sky: #eaf5ff;
  --falcon-cyan: #17a2b8;
  --falcon-yellow: #ffb703;
  --falcon-orange: #fd7e14;
  --falcon-mint: #e8fdf4;
  --falcon-peach: #fff5e6;
  --falcon-lilac: #f4efff;
  --falcon-text: #1e293b;
  --falcon-muted: #64748b;
  --falcon-border: #e2e8f0;
  --falcon-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --falcon-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --falcon-radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
  color: var(--falcon-text);
  background: #f8fafc;
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

.text-muted { color: var(--falcon-muted) !important; }
.fs-7 { font-size: 0.85rem !important; }
.fs-8 { font-size: 0.75rem !important; }
.shadow-2sm { box-shadow: var(--falcon-shadow-sm); }
.shadow-soft { box-shadow: var(--falcon-shadow-md); }

.bg-soft-sky { background-color: var(--falcon-sky) !important; }
.bg-soft-mint { background-color: var(--falcon-mint) !important; }
.bg-soft-peach { background-color: var(--falcon-peach) !important; }
.bg-soft-lilac { background-color: var(--falcon-lilac) !important; }
.text-purple { color: #6f42c1 !important; }

/* ── Global Sticky Header ── */
.site-header-container {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-top: 8px;
  padding-bottom: 8px;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.04);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

/* Layering hierarchy */
.offcanvas {
  z-index: 1065 !important;
}
.offcanvas-backdrop {
  z-index: 1060 !important;
}
.dropdown-menu {
  z-index: 1055 !important;
}

.home-header { background: transparent; }
.home-header-top { width: 100%; }
.header-brand-wrap { display: flex; align-items: center; }
.header-logo-img { max-height: 36px; height: 36px; width: auto; object-fit: contain; }
.header-actions-wrap { display: flex; align-items: center; }
.header-action-btn {
  height: 38px !important;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  line-height: 1;
}
.header-circle-btn {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  padding: 0 !important;
  line-height: 1;
}

/* Header Dropdowns & Offcanvas Navigation */
.header-lang-dropdown .dropdown-menu {
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12) !important;
  border: 1px solid #e2e8f0 !important;
  padding: 6px !important;
  min-width: 145px;
  z-index: 1060 !important;
}
.header-lang-dropdown .dropdown-item {
  border-radius: 8px !important;
  padding: 8px 12px !important;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}
.header-lang-dropdown .dropdown-item:hover {
  background-color: #f1f5f9;
}
.header-lang-dropdown .dropdown-item.active {
  background-color: var(--falcon-blue) !important;
  color: #fff !important;
}

/* Desktop Navigation */
.home-nav {
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  background: #fff !important;
  padding: 4px 12px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
}
.home-nav ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  margin: 0;
  list-style: none;
}
.home-nav li {
  flex: 1;
  text-align: center;
  position: relative;
}
.home-nav li + li {
  border-inline-start: 1px solid #f1f5f9;
}
.home-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s ease;
}
.home-nav a i { font-size: 1.1rem; }
.home-nav a.active, .home-nav a:hover {
  color: var(--falcon-blue);
}
.home-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 10px;
  right: 10px;
  height: 3px;
  border-radius: 3px;
  background: var(--falcon-yellow);
}

/* Mobile Quick Nav Bar Pills */
.mobile-quick-nav {
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.mobile-quick-nav::-webkit-scrollbar { display: none; }

.mobile-nav-pill {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #334155;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  transition: all 0.2s ease;
}
.mobile-nav-pill.active {
  background: var(--falcon-blue) !important;
  color: #fff !important;
  border-color: var(--falcon-blue) !important;
}

/* ── Hero Banner Section ── */
/* ── Hero Banner Section ── */
.hero-reference {
  position: relative;
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
  border: 1px solid #d8e8f8;
  border-radius: 20px;
  padding: 24px 54px;
  overflow: hidden;
}
.hero-reference::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(13, 110, 253, 0.05), transparent 25%),
              radial-gradient(circle at 90% 80%, rgba(255, 183, 3, 0.06), transparent 30%);
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 2; }
.hero-title {
  font-size: clamp(1.02rem, 1.35vw, 1.28rem);
  line-height: 1.5;
  font-weight: 800;
  color: var(--falcon-navy);
  margin-bottom: 8px;
  min-height: 2.8em;
  letter-spacing: -0.2px;
}
.hero-desc {
  font-size: clamp(0.76rem, 0.85vw, 0.85rem);
  line-height: 1.75;
  color: #475569;
  font-weight: 500;
  margin-bottom: 14px;
  max-width: 580px;
  min-height: 3.4em;
}
.tw-cursor {
  display: inline-block;
  width: 2px;
  height: 1.15em;
  background-color: var(--falcon-blue);
  margin-inline-start: 4px;
  vertical-align: -0.15em;
  animation: twBlink 0.75s infinite;
}
@keyframes twBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 40px;
  padding: 0 20px;
  background: var(--falcon-yellow);
  border-radius: 12px;
  color: var(--falcon-navy);
  font-size: 13.5px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(255, 183, 3, 0.2);
  transition: all 0.25s ease;
}
.hero-cta:hover {
  transform: translateY(-2px);
  color: var(--falcon-navy);
  box-shadow: 0 6px 16px rgba(255, 183, 3, 0.3);
}
.hero-banner-img {
  max-width: 100%;
  max-height: 260px;
  object-fit: contain;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 1px solid rgba(2, 132, 199, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
  color: var(--falcon-navy);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  transition: all 0.25s ease;
}
.hero-arrow:hover {
  background: var(--falcon-blue);
  color: #fff;
  border-color: var(--falcon-blue);
  transform: translateY(-50%) scale(1.08);
}
.hero-arrow-left {
  left: 12px !important;
  right: auto !important;
}
.hero-arrow-right {
  right: 12px !important;
  left: auto !important;
}

.carousel-indicators.hero-dots {
  position: relative;
  bottom: auto;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 5;
}
.carousel-indicators.hero-dots button,
.carousel-indicators.hero-dots [data-bs-target],
.hero-dot-btn {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background-color: #cbd5e1 !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-block;
  cursor: pointer;
  transition: all 0.25s ease;
  opacity: 0.7 !important;
  box-sizing: content-box;
}
.carousel-indicators.hero-dots button.active,
.carousel-indicators.hero-dots [data-bs-target].active,
.hero-dot-btn.active {
  background-color: var(--falcon-blue) !important;
  width: 22px !important;
  border-radius: 10px !important;
  opacity: 1 !important;
}

/* ── Category Strip ── */
.category-box {
  height: 100%;
  background: #fff;
  border: 1px solid var(--falcon-border);
  border-radius: 16px;
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--falcon-shadow-sm);
  transition: all 0.25s ease;
}
.category-box:hover {
  transform: translateY(-3px);
  border-color: var(--falcon-blue);
  box-shadow: var(--falcon-shadow-md);
}
.cat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.category-box h3 {
  margin: 0 0 2px;
  color: var(--falcon-navy);
  font-size: 12.5px;
  font-weight: 800;
}
.category-box p {
  margin: 0;
  color: var(--falcon-muted);
  font-size: 10.5px;
  line-height: 1.4;
  font-weight: 500;
}

/* ── Section Headers & Grids ── */
.home-section { margin-top: 32px; }
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}
.section-head-title {
  flex-grow: 1;
  min-width: 0;
}
.section-head-title h2 {
  margin: 0;
  color: var(--falcon-navy);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 900;
  line-height: 1.35;
}
.btn-view-all {
  color: var(--falcon-blue);
  font-size: 12.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s ease;
}
.btn-view-all:hover { color: var(--falcon-blue-hover); }

/* Auto Responsive Grids */
.home-grid {
  display: grid;
  gap: 14px;
}
.products-grid {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}
.courses-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.articles-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* ── Mini Cards ── */
.mini-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--falcon-border);
  border-radius: 16px;
  padding: 10px;
  overflow: hidden;
  box-shadow: var(--falcon-shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.25s ease;
}
.mini-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: var(--falcon-shadow-md);
}

.small-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 800;
  border-radius: 6px;
}
html[dir="ltr"] .small-badge { right: auto; left: 8px; }
.badge-yellow { background: var(--falcon-yellow); color: var(--falcon-navy); }
.badge-blue { background: var(--falcon-blue); color: #fff; }

.mini-product .card-media, .course-media {
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}
.mini-product .card-media img, .course-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.mini-card:hover .card-media img {
  transform: scale(1.04);
}

.card-copy {
  padding-top: 8px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.card-copy h3 {
  margin: 0 0 4px;
  color: var(--falcon-navy);
  font-size: 12.5px;
  line-height: 1.45;
  font-weight: 800;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}
.card-copy p {
  margin: 0 0 4px;
  color: var(--falcon-muted);
  font-size: 10.5px;
  font-weight: 600;
}

.mini-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px solid #f1f5f9;
}
.mini-meta strong {
  color: var(--falcon-blue);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}
.rating {
  color: #eab308;
  font-weight: 700;
  font-size: 11px;
  white-space: nowrap;
}

.mini-cart {
  position: relative;
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  border: 0;
  background: #f1f5f9;
  color: var(--falcon-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
html[dir="ltr"] .mini-cart { left: auto; right: auto; }
.mini-cart:hover {
  background: var(--falcon-blue);
  color: #fff;
  transform: scale(1.08);
}

/* ── Course & Article Cards ── */
.course-card .card-media { height: 140px; }
.course-card .card-media img { width: 100%; height: 100%; object-fit: cover; }

.article-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--falcon-border);
}
.article-card h5 a { color: var(--falcon-navy); transition: color 0.2s; }
.article-card h5 a:hover { color: var(--falcon-blue); }

/* ── Promo Gift Banner ── */
.promo-reference {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.8fr;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #eef7ff 0%, #e0f0ff 100%);
  border: 1px solid #cfe5f8;
  border-radius: 18px;
  padding: 20px 24px;
}
.promo-gift img { max-width: 100%; max-height: 80px; object-fit: contain; }
.promo-center { text-align: center; }
.promo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  background: var(--falcon-yellow);
  border-radius: 10px;
  color: var(--falcon-navy);
  font-size: 13.5px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(255, 183, 3, 0.2);
  transition: all 0.2s ease;
}
.promo-btn:hover { transform: translateY(-2px); color: var(--falcon-navy); }
.promo-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 12px;
  margin-top: 6px;
  border: 1.5px dashed #93c5fd;
  border-radius: 8px;
  background: #fff;
  color: #1e40af;
  font-size: 11.5px;
  font-weight: 800;
}
.promo-copy h3 {
  margin: 0 0 4px;
  color: var(--falcon-navy);
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  font-weight: 900;
}
.promo-copy p {
  margin: 0;
  color: #334155;
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  font-weight: 600;
  line-height: 1.5;
}

/* ── Global Modern Footer (Matching Reference UI) ── */
.falcon-modern-footer {
  margin-top: 50px;
  background: radial-gradient(circle at 85% 10%, rgba(224, 242, 254, 0.45) 0%, rgba(240, 249, 255, 0.25) 30%, #fbfcfd 75%);
  border-top: 1px solid #eef2f6;
  position: relative;
  overflow: hidden;
}

.footer-ambient-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.footer-blob-right {
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(186, 230, 253, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
}
.footer-blob-left {
  bottom: -100px;
  left: -100px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(191, 219, 254, 0.35) 0%, rgba(255, 255, 255, 0) 70%);
}

.footer-brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.footer-brand-subtitle {
  color: #475569;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.footer-social-strip {
  display: flex;
  align-items: center;
  gap: 10px;
}
.social-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #1e293b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: all 0.25s ease;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.social-circle:hover {
  background: #2563eb;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.footer-col-header {
  position: relative;
}
.footer-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}
.footer-title-bar {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: #2563eb;
}

.footer-nav-list li, .footer-contact-list li {
  margin-bottom: 12px;
}
.footer-nav-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.footer-nav-list a i {
  font-size: 1.05rem;
  color: #2563eb;
  transition: transform 0.2s ease;
}
.footer-nav-list a:hover {
  color: #2563eb;
  transform: translateX(-3px);
}
html[dir="ltr"] .footer-nav-list a:hover {
  transform: translateX(3px);
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 600;
}
.footer-contact-list li i {
  font-size: 1.15rem;
  flex-shrink: 0;
}

@media (max-width: 575.98px) {
  .footer-contact-list li {
    font-size: 0.8rem;
    gap: 6px;
    word-break: break-word;
    margin-bottom: 10px;
  }
  .footer-contact-list li i {
    font-size: 0.95rem;
  }
  .footer-nav-list li {
    margin-bottom: 10px;
  }
  .footer-nav-list a {
    font-size: 0.84rem;
  }
  .footer-title {
    font-size: 0.98rem;
  }
}

.footer-bottom-bar {
  border-top-color: #f1f5f9 !important;
}
.payment-badge-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.payment-badge-mini:hover {
  transform: translateY(-1px);
}
.footer-copyright-text {
  letter-spacing: -0.2px;
}

/* ── Responsive Viewports ── */
@media (max-width: 991.98px) {
  .site-header-container { padding-top: 4px; padding-bottom: 4px; }
  .mobile-quick-nav { margin-top: 4px !important; }
  .hero-reference { padding: 16px 14px; text-align: center; margin-top: 8px !important; }
  .hero-copy { text-align: center; margin-bottom: 10px; }
  .hero-arrow { display: none !important; }
  .category-strip { margin-top: 10px !important; }
  .home-section { margin-top: 20px !important; }
  .promo-reference { grid-template-columns: 1fr; text-align: center; padding: 16px 12px; margin-top: 16px !important; }
  .promo-gift { margin-bottom: 6px; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .courses-grid, .articles-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

@media (max-width: 575.98px) {
  html, body { overflow-x: hidden !important; width: 100vw; max-width: 100%; }
  .site-header-container { padding-top: 5px; padding-bottom: 5px; }
  .site-header-container .container { padding-left: 12px !important; padding-right: 12px !important; }
  .header-logo-img { max-height: 32px; }
  .header-actions-wrap { gap: 5px !important; flex-shrink: 0 !important; }
  .header-circle-btn { width: 36px !important; height: 36px !important; min-width: 36px !important; flex-shrink: 0 !important; }
  #mobileNavToggleBtn { 
    flex-shrink: 0 !important; 
    display: inline-flex !important; 
    visibility: visible !important; 
    opacity: 1 !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border: 1px solid #cbd5e1 !important;
    background-color: #ffffff !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
  }
  .home-cart-btn { height: 36px !important; padding: 0 8px !important; flex-shrink: 0 !important; }
  .header-lang-dropdown .dropdown-toggle { padding-left: 6px !important; padding-right: 6px !important; height: 36px !important; }
  .hero-reference { padding: 14px 10px; border-radius: 14px; margin-top: 6px !important; }
  .hero-title { font-size: 1.15rem; margin-bottom: 6px; }
  .hero-desc { font-size: 0.8rem; margin-bottom: 10px; line-height: 1.5; }
  .hero-cta { height: 36px; min-width: 120px; font-size: 13px; border-radius: 8px; }
  
  /* Category Grid: 3 Clean Compact Columns on Mobile */
  .category-box { padding: 8px 4px; border-radius: 10px; }
  .cat-icon-wrap { width: 34px; height: 34px; font-size: 1.15rem; border-radius: 8px; margin-bottom: 2px; }
  .category-box h3 { font-size: 10.5px; margin: 0; }

  /* 2-Columns Product Grid on Mobile */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .courses-grid, .articles-grid { grid-template-columns: 1fr; gap: 8px; }
  .mini-product .card-media { height: 105px; }
  .mini-card { padding: 8px; border-radius: 12px; }
  .card-copy h3 { font-size: 11px; min-height: 30px; margin-bottom: 2px; }
  .mini-meta strong { font-size: 11.5px; }
  .mini-cart { width: 26px; height: 26px; min-width: 26px; font-size: 11px; }
  html[dir="ltr"] .mini-cart { left: auto; right: auto; }
  .small-badge { top: 4px; right: 4px; font-size: 8.5px; padding: 1px 4px; }
  html[dir="ltr"] .small-badge { right: auto; left: 4px; }
}

/* ── Falcon Custom Pagination ── */
.falcon-pagination-wrapper {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.falcon-pagination-wrapper .pagination-info {
  font-size: 0.88rem;
  color: var(--falcon-muted);
}

.falcon-pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.falcon-pagination .page-item .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  min-width: 38px;
  padding: 0 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--falcon-text);
  background-color: #ffffff;
  border: 1px solid var(--falcon-border);
  border-radius: 10px;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.falcon-pagination .page-item .page-number {
  min-width: 38px;
  padding: 0 10px;
}

.falcon-pagination .page-item.active .page-link {
  background: linear-gradient(135deg, var(--falcon-navy) 0%, var(--falcon-blue) 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25) !important;
  font-weight: 700;
}

.falcon-pagination .page-item:not(.active):not(.disabled) .page-link:hover {
  background-color: var(--falcon-sky);
  color: var(--falcon-blue);
  border-color: #bcd9fd;
  transform: translateY(-1px);
}

.falcon-pagination .page-item.disabled .page-link {
  background-color: #f8fafc;
  color: #94a3b8;
  border-color: #e2e8f0;
  cursor: not-allowed;
  opacity: 0.7;
  box-shadow: none;
}

.falcon-pagination .page-dots {
  border: none !important;
  background: transparent !important;
  color: var(--falcon-muted);
  cursor: default !important;
  box-shadow: none !important;
}

.falcon-pagination .page-nav-btn {
  font-weight: 600;
  padding: 0 14px;
}

@media (max-width: 576px) {
  .falcon-pagination .page-item .page-link {
    height: 34px;
    min-width: 34px;
    padding: 0 8px;
    font-size: 0.8rem;
    border-radius: 8px;
  }
  .falcon-pagination .page-nav-btn {
    padding: 0 10px;
  }
}

