/**
 * Bayaa Multi-Vendor - Modern Storefront & Shortcode Styles
 * Direction: RTL First
 */

:root {
  --bayaa-primary: #0b2545;
  --bayaa-primary-light: #134074;
  --bayaa-accent: #0284c7;
  --bayaa-accent-hover: #0369a1;
  --bayaa-success: #10b981;
  --bayaa-warning: #f59e0b;
  --bayaa-dark: #0f172a;
  --bayaa-gray-50: #f8fafc;
  --bayaa-gray-100: #f1f5f9;
  --bayaa-gray-200: #e2e8f0;
  --bayaa-gray-400: #94a3b8;
  --bayaa-gray-600: #475569;
  --bayaa-radius-sm: 8px;
  --bayaa-radius-md: 14px;
  --bayaa-radius-lg: 20px;
  --bayaa-radius-full: 9999px;
  --bayaa-shadow-sm: 0 2px 8px rgba(11, 37, 69, 0.04);
  --bayaa-shadow-md: 0 10px 25px rgba(11, 37, 69, 0.08);
  --bayaa-shadow-lg: 0 20px 40px rgba(11, 37, 69, 0.12);
  --bayaa-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bayaa-storefront-wrapper {
  direction: rtl;
  text-align: right;
  font-family: inherit;
  color: var(--bayaa-dark);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 60px;
  box-sizing: border-box;
}

.bayaa-storefront-wrapper * {
  box-sizing: border-box;
}

/* ==========================================================================
   1. HERO SLIDER
   ========================================================================== */
.bayaa-slider-container {
  position: relative;
  border-radius: var(--bayaa-radius-lg);
  overflow: hidden;
  margin: 20px 0 45px;
  box-shadow: var(--bayaa-shadow-lg);
  background: var(--bayaa-primary);
  min-height: 380px;
}

.bayaa-slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.bayaa-slide-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
  display: flex;
  align-items: center;
  padding: 40px 60px;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.bayaa-slide-item.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.bayaa-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 37, 69, 0.92) 0%, rgba(11, 37, 69, 0.65) 50%, rgba(11, 37, 69, 0.2) 100%);
  z-index: 1;
}

.bayaa-slide-content {
  position: relative;
  z-index: 3;
  max-width: 620px;
  animation: bayaaSlideUp 0.6s ease-out;
}

@keyframes bayaaSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bayaa-slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--bayaa-radius-full);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.bayaa-slide-title {
  font-size: 38px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 14px 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.bayaa-slide-subtitle {
  font-size: 16px;
  color: #e2e8f0;
  line-height: 1.6;
  margin: 0 0 26px 0;
  font-weight: 400;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.bayaa-slide-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 13px 28px;
  border-radius: var(--bayaa-radius-full);
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
  transition: var(--bayaa-transition);
}

.bayaa-slide-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.6);
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
}

/* Slider Controls */
.bayaa-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  transition: var(--bayaa-transition);
  user-select: none;
}

.bayaa-slider-arrow:hover {
  background: #ffffff;
  color: var(--bayaa-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.bayaa-slider-prev {
  right: 18px;
}
.bayaa-slider-next {
  left: 18px;
}

.bayaa-slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.bayaa-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--bayaa-radius-full);
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--bayaa-transition);
}

.bayaa-dot.active {
  width: 28px;
  background: #ffffff;
}

/* ==========================================================================
   2. HIGHLIGHTS & TRUST BADGES
   ========================================================================== */
.bayaa-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-bottom: 50px;
}

.bayaa-highlight-card {
  background: #ffffff;
  border: 1px solid var(--bayaa-gray-200);
  border-radius: var(--bayaa-radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--bayaa-shadow-sm);
  transition: var(--bayaa-transition);
}

.bayaa-highlight-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: var(--bayaa-shadow-md);
}

.bayaa-highlight-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f0f9ff;
  color: var(--bayaa-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.bayaa-highlight-info h4 {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 3px 0;
  color: var(--bayaa-primary);
}

.bayaa-highlight-info p {
  font-size: 13px;
  color: var(--bayaa-gray-600);
  margin: 0;
}

/* ==========================================================================
   3. SECTION HEADERS
   ========================================================================== */
.bayaa-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--bayaa-gray-100);
  padding-bottom: 12px;
}

.bayaa-section-title-wrap h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--bayaa-primary);
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bayaa-section-title-wrap p {
  font-size: 14px;
  color: var(--bayaa-gray-600);
  margin: 0;
}

.bayaa-view-all-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--bayaa-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--bayaa-transition);
}

.bayaa-view-all-link:hover {
  color: var(--bayaa-accent-hover);
  transform: translateX(-4px);
}

/* ==========================================================================
   4. CATEGORIES SHOWCASE
   ========================================================================== */
.bayaa-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 18px;
  margin-bottom: 50px;
}

.bayaa-category-card {
  background: #ffffff;
  border: 1px solid var(--bayaa-gray-200);
  border-radius: var(--bayaa-radius-md);
  padding: 20px 14px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--bayaa-shadow-sm);
  transition: var(--bayaa-transition);
  position: relative;
  overflow: hidden;
}

.bayaa-category-card:hover {
  transform: translateY(-5px);
  border-color: var(--bayaa-accent);
  box-shadow: 0 12px 25px rgba(2, 132, 199, 0.12);
}

.bayaa-category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bayaa-accent), #38bdf8);
  opacity: 0;
  transition: var(--bayaa-transition);
}

.bayaa-category-card:hover::before {
  opacity: 1;
}

.bayaa-category-thumb-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bayaa-gray-50);
  border: 2px solid var(--bayaa-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--bayaa-transition);
}

.bayaa-category-card:hover .bayaa-category-thumb-wrap {
  transform: scale(1.08);
  border-color: var(--bayaa-accent);
}

.bayaa-category-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bayaa-category-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--bayaa-primary);
  margin-bottom: 4px;
}

.bayaa-category-count {
  font-size: 12px;
  color: var(--bayaa-gray-400);
}

/* ==========================================================================
   5. FEATURED VENDORS SHOWCASE
   ========================================================================== */
.bayaa-vendors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.bayaa-vendor-card {
  background: #ffffff;
  border: 1px solid var(--bayaa-gray-200);
  border-radius: var(--bayaa-radius-md);
  overflow: hidden;
  box-shadow: var(--bayaa-shadow-sm);
  transition: var(--bayaa-transition);
  display: flex;
  flex-direction: column;
}

.bayaa-vendor-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: var(--bayaa-shadow-md);
}

.bayaa-vendor-banner-header {
  height: 90px;
  background: linear-gradient(135deg, #0b2545 0%, #1e3a8a 100%);
  position: relative;
  background-size: cover;
  background-position: center;
}

.bayaa-vendor-body {
  padding: 0 18px 18px;
  text-align: center;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bayaa-vendor-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  margin-top: -34px;
  margin-bottom: 10px;
  object-fit: cover;
}

.bayaa-vendor-name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 4px;
}

.bayaa-vendor-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--bayaa-primary);
  margin: 0;
  text-decoration: none;
}

.bayaa-verified-tick {
  color: var(--bayaa-success);
  font-size: 14px;
  font-weight: 900;
}

.bayaa-vendor-desc {
  font-size: 13px;
  color: var(--bayaa-gray-600);
  line-height: 1.5;
  margin: 0 0 14px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bayaa-vendor-stats-bar {
  display: flex;
  justify-content: space-around;
  width: 100%;
  background: var(--bayaa-gray-50);
  border-radius: var(--bayaa-radius-sm);
  padding: 8px 12px;
  margin-bottom: 14px;
  font-size: 12px;
}

.bayaa-vendor-stat-num {
  font-weight: 800;
  color: var(--bayaa-primary);
  display: block;
  font-size: 14px;
}

.bayaa-vendor-visit-btn {
  display: inline-block;
  width: 100%;
  background: #f1f5f9;
  color: var(--bayaa-primary);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 0;
  border-radius: var(--bayaa-radius-sm);
  text-decoration: none;
  transition: var(--bayaa-transition);
}

.bayaa-vendor-visit-btn:hover {
  background: var(--bayaa-primary);
  color: #ffffff;
}

/* ==========================================================================
   6. PRODUCTS SHOWCASE & TABS
   ========================================================================== */
.bayaa-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.bayaa-product-card {
  background: #ffffff;
  border: 1px solid var(--bayaa-gray-200);
  border-radius: var(--bayaa-radius-md);
  overflow: hidden;
  box-shadow: var(--bayaa-shadow-sm);
  transition: var(--bayaa-transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.bayaa-product-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: var(--bayaa-shadow-md);
}

.bayaa-product-thumb-container {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 1:1 Aspect ratio */
  background: var(--bayaa-gray-50);
  overflow: hidden;
}

.bayaa-product-thumb-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.bayaa-sale-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  z-index: 2;
}

.bayaa-product-details {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bayaa-product-vendor-meta {
  font-size: 12px;
  color: var(--bayaa-gray-600);
  margin-bottom: 6px;
  text-decoration: none;
  display: inline-block;
}

.bayaa-product-vendor-meta strong {
  color: var(--bayaa-accent);
}

.bayaa-product-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--bayaa-primary);
  margin: 0 0 10px 0;
  line-height: 1.4;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 42px;
}

.bayaa-product-price-box {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--bayaa-gray-100);
}

.bayaa-price-amount {
  font-size: 17px;
  font-weight: 900;
  color: var(--bayaa-primary);
}

.bayaa-regular-price-del {
  font-size: 13px;
  color: var(--bayaa-gray-400);
  text-decoration: line-through;
  margin-right: 6px;
}

.bayaa-add-cart-mini-btn {
  background: var(--bayaa-primary);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--bayaa-transition);
}

.bayaa-add-cart-mini-btn:hover {
  background: var(--bayaa-accent);
  color: #ffffff;
}

/* ==========================================================================
   7. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 900px) {
  .bayaa-slide-title {
    font-size: 28px;
  }
  .bayaa-slide-item {
    padding: 30px 24px;
  }
}

@media (max-width: 640px) {
  .bayaa-slider-container {
    min-height: 320px;
    border-radius: 14px;
    margin-bottom: 30px;
  }
  .bayaa-slide-title {
    font-size: 22px;
  }
  .bayaa-slide-subtitle {
    font-size: 14px;
    margin-bottom: 18px;
  }
  .bayaa-categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .bayaa-category-card {
    padding: 12px 6px;
  }
  .bayaa-category-thumb-wrap {
    width: 52px;
    height: 52px;
  }
  .bayaa-category-name {
    font-size: 12px;
  }
  .bayaa-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .bayaa-slider-arrow {
    display: none;
  }
}

/* ==========================================================================
   6. MASTER HEADER & MEGA MENU (Dubai Phone & Dream 2000 Integration)
   ========================================================================== */

.bayaa-header-wrapper {
  direction: rtl;
  text-align: right;
  font-family: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  width: 100%;
  position: relative;
  background: #ffffff;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.bayaa-header-wrapper.bayaa-sticky {
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.1);
}

.bayaa-header-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* 6.1 Top Guarantee & Promo Bar */
.bayaa-topbar {
  background: linear-gradient(90deg, #0b2545 0%, #134074 50%, #0284c7 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 7px 0;
}

.bayaa-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.bayaa-topbar-trust {
  display: flex;
  align-items: center;
  gap: 20px;
}

.bayaa-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e2e8f0;
  letter-spacing: -0.2px;
}

.bayaa-trust-item.bayaa-trust-link {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.bayaa-trust-item.bayaa-trust-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.bayaa-trust-icon {
  font-size: 14px;
}

.bayaa-topbar-promo {
  display: flex;
  align-items: center;
  gap: 18px;
}

.bayaa-promo-ticker {
  background: rgba(255, 255, 255, 0.15);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 12px;
  color: #ffffff;
  font-weight: 700;
}

.bayaa-topbar-hotline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 12px;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.bayaa-topbar-hotline:hover {
  background: #ffffff;
  color: #0b2545;
}

.bayaa-topbar-hotline strong {
  font-family: monospace;
  font-size: 14px;
  letter-spacing: 0.5px;
}

/* 6.2 Mainbar (Search, Logo, Actions) */
.bayaa-mainbar {
  background: #ffffff;
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
}

.bayaa-mainbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.bayaa-mainbar {
  padding: 10px 0 !important;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.bayaa-mainbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.bayaa-logo-wrap {
  flex-shrink: 0;
  max-height: 52px !important;
  display: flex !important;
  align-items: center !important;
}

.bayaa-brand-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bayaa-brand-badge {
  display: flex;
  flex-direction: column;
}

.bayaa-brand-logo-text {
  font-size: 24px;
  font-weight: 900;
  color: #0b2545;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.bayaa-brand-sub {
  font-size: 11px;
  font-weight: 700;
  color: #0284c7;
  letter-spacing: 0.5px;
}

.bayaa-brand-logo-img {
  max-height: 48px !important;
  max-width: 170px !important;
  height: 48px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
}

.bayaa-nav-icon-img {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  object-fit: contain !important;
  vertical-align: middle !important;
  display: inline-block !important;
  filter: brightness(0) invert(1) !important; /* Forces any black or colored icon to pure white */
  opacity: 0.95;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.bayaa-nav-link:hover .bayaa-nav-icon-img {
  transform: scale(1.1);
  opacity: 1;
}

/* Live Search Form (No extra borders, clean pill + circular submit button) */
.bayaa-search-wrapper {
  flex: 1;
  max-width: 660px;
  position: relative;
}

.bayaa-search-form {
  display: flex !important;
  align-items: center !important;
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 9999px !important;
  padding: 4px 6px 4px 6px !important;
  transition: all 0.25s ease !important;
  position: relative !important;
  box-shadow: none !important;
}

.bayaa-search-form:focus-within {
  border-color: #0284c7 !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}

.bayaa-search-cat-wrap {
  position: relative !important;
  border-left: 1px solid #cbd5e1 !important;
  padding-left: 6px !important;
  padding-right: 10px !important;
}

.bayaa-search-cat-select {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #334155 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  font-family: inherit !important;
  cursor: pointer !important;
  padding: 6px 6px 6px 2px !important;
}

.bayaa-search-input-wrap {
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.bayaa-search-field {
  width: 100% !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 8px 14px !important;
  font-size: 14px !important;
  font-family: inherit !important;
  color: #0f172a !important;
}

.bayaa-search-field:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.bayaa-search-field::placeholder {
  color: #94a3b8;
}

.bayaa-search-submit {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  border: none !important;
  outline: none !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35) !important;
  color: #ffffff !important;
  border-radius: 50% !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
  margin-left: 2px !important;
  padding: 0 !important;
}

.bayaa-search-submit:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%) !important;
  transform: scale(1.06) !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.45) !important;
}

/* Help & Support Dropdown */
.bayaa-help-wrap {
  position: relative;
}

.bayaa-action-help {
  display: flex !important;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 10px;
  transition: all 0.2s ease;
  color: #1e293b;
  text-decoration: none;
  font-family: inherit;
}

.bayaa-action-help:hover {
  background: #f8fafc;
}

.bayaa-help-caret {
  color: #94a3b8;
  transition: transform 0.2s ease;
}

.bayaa-help-wrap:hover .bayaa-help-caret {
  transform: rotate(180deg);
  color: #f8fafc;
}

.bayaa-help-dropdown {
  position: absolute;
  border: 0px;
  top: 100%;
  right: 0;
  width: 260px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 15px 35px -5px rgba(11, 37, 69, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.06);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 1000;
  margin-top: 8px;
  animation: bayaaDropdownFadeIn 0.2s ease-out;
}

.bayaa-help-wrap:hover .bayaa-help-dropdown,
.bayaa-help-wrap:focus-within .bayaa-help-dropdown {
  display: flex;
}

.bayaa-help-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
}

.bayaa-help-whatsapp-btn:hover {
  background: #1eb956;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(37, 211, 102, 0.4);
}

.bayaa-help-links-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-top: 1px solid #f1f5f9;
  padding-top: 6px;
}

.bayaa-help-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 8px;
  color: #334155 !important;
  text-decoration: none !important;
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.bayaa-help-link-item:hover {
  background: #f1f5f9;
  color: #0284c7 !important;
  padding-right: 14px;
}

/* Live Search Dropdown */
.bayaa-live-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
  border: 1px solid #e2e8f0;
  padding: 12px 0;
  z-index: 9999;
  max-height: 420px;
  overflow-y: auto;
}

.bayaa-live-search-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.bayaa-spinner-sm {
  width: 18px;
  height: 18px;
  border: 2px solid #e2e8f0;
  border-top-color: #0284c7;
  border-radius: 50%;
  animation: bayaaSpin 0.7s linear infinite;
}

@keyframes bayaaSpin {
  to { transform: rotate(360deg); }
}

.bayaa-live-search-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  text-decoration: none;
  transition: background 0.15s ease;
  border-bottom: 1px solid #f8fafc;
}

.bayaa-live-search-item:hover {
  background: #f0f9ff;
}

.bayaa-live-search-thumb {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.bayaa-live-search-meta {
  flex: 1;
  min-width: 0;
}

.bayaa-live-search-title {
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bayaa-live-search-vendor {
  color: #0284c7;
  font-size: 11px;
  font-weight: 600;
  display: block;
}

.bayaa-live-search-price {
  font-weight: 800;
  color: #0b2545;
  font-size: 13px;
  flex-shrink: 0;
}

.bayaa-live-search-empty {
  padding: 24px 20px;
  text-align: center;
  color: #94a3b8;
  font-size: 14px;
}

.bayaa-live-search-footer {
  padding: 10px 18px 4px;
  text-align: center;
  border-top: 1px solid #f1f5f9;
}

.bayaa-search-all-link {
  color: #0284c7;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.bayaa-search-all-link:hover {
  text-decoration: underline;
}

/* Actions: Branches, Account, Cart */
.bayaa-actions-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bayaa-action-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #0f172a;
  padding: 6px 12px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.bayaa-action-btn:hover {
  background: #f8fafc;
}

.bayaa-action-icon {
  font-size: 22px;
}

.bayaa-action-text {
  display: flex;
  flex-direction: column;
}

.bayaa-action-text small {
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.bayaa-action-text strong {
  font-size: 13px;
  font-weight: 800;
  color: #0b2545;
  line-height: 1.2;
}

.bayaa-cart-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.bayaa-cart-count {
  position: absolute;
  top: -6px;
  left: -8px;
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  border-radius: 9999px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #ffffff;
}

/* Mobile Toggle (Strictly hidden on desktop) */
.bayaa-mobile-toggle,
button.bayaa-mobile-toggle {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 38px;
  height: 38px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
  box-sizing: border-box;
  outline: none;
  flex-direction: column;
  justify-content: space-around;
}

.bayaa-mobile-toggle span {
  width: 100%;
  height: 2.5px;
  background: #0b2545;
  border-radius: 2px;
  transition: all 0.3s;
}

/* 6.3 Dark Mega Menu Navbar (Dream 2000 & Dubai Phone combined style) */
.bayaa-navbar {
  background: #0b192c;
  background: linear-gradient(180deg, #0f2038 0%, #0a1628 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 2px solid #0284c7;
  position: relative !important;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.bayaa-navbar .bayaa-header-container {
  position: static !important;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

.bayaa-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  position: static !important;
  gap: 2px;
}

.bayaa-nav-item {
  position: static !important; /* CRITICAL: Enables mega dropdown to span 100% of navbar */
}

.bayaa-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px 14px;
  border-radius: 8px 8px 0 0;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 3px solid transparent;
  position: relative;
}

.bayaa-nav-item:hover .bayaa-nav-link {
  color: #38bdf8;
  background: rgba(255, 255, 255, 0.07);
  border-bottom-color: #38bdf8;
}

.bayaa-nav-icon {
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bayaa-nav-arrow {
  font-size: 10px;
  color: #94a3b8;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s;
  display: inline-flex;
  align-items: center;
}

.bayaa-nav-item:hover .bayaa-nav-arrow {
  transform: rotate(180deg);
  color: #38bdf8;
}

/* Highlight badge ("القطعة الأخيرة" in vibrant pink/red badge from Dubai Phone Image 1) */
.bayaa-nav-item.bayaa-nav-highlight {
  margin-right: auto;
}

.bayaa-highlight-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff !important;
  background: rgba(239, 68, 68, 0.12);
  border-radius: 8px;
  padding: 6px 12px;
}

.bayaa-highlight-link:hover {
  background: rgba(239, 68, 68, 0.25) !important;
}

.bayaa-highlight-badge {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.bayaa-highlight-title {
  color: #fca5a5;
  font-weight: 800;
  font-size: 13px;
}

/* 6.4 Mega Dropdown Full-Width Overlay */
.bayaa-mega-dropdown {
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  left: 0 !important;
  width: 100% !important;
  min-width: 100% !important;
  background: #ffffff !important;
  border-radius: 0 0 16px 16px !important;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(226, 232, 240, 0.9) !important;
  border-top: 3px solid #0284c7 !important;
  border-bottom: 1px solid #e2e8f0 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
  z-index: 999999 !important;
  box-sizing: border-box;
}

.bayaa-nav-item:hover .bayaa-mega-dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

.bayaa-mega-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.3fr) 290px;
  gap: 32px;
  padding: 28px 24px 32px;
  max-width: 1320px;
  margin: 0 auto;
  box-sizing: border-box;
  direction: rtl;
  text-align: right;
}

.bayaa-mega-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 800;
  color: #0b2545;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
  margin-bottom: 18px;
}

.bayaa-mega-head-icon {
  font-size: 16px;
}

/* Column 1: Subcategories Showcase */
.bayaa-mega-subcats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 24px;
}

.bayaa-mega-subcat-group {
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
  transition: all 0.2s ease;
}

.bayaa-mega-subcat-group:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.bayaa-mega-subcat-title {
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.15s;
}

.bayaa-mega-subcat-title:hover {
  color: #0284c7;
}

.bayaa-subcat-count {
  background: #e2e8f0;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 9999px;
}

.bayaa-mega-sub-sub {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bayaa-mega-sub-sub li a {
  color: #64748b;
  font-size: 12.5px;
  text-decoration: none;
  transition: all 0.15s;
  display: inline-block;
}

.bayaa-mega-sub-sub li a:hover {
  color: #0284c7;
  transform: translateX(-3px);
}

.bayaa-subcat-explore-link {
  font-size: 12px;
  font-weight: 700;
  color: #0284c7;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px dashed #e2e8f0;
}

.bayaa-subcat-explore-link:hover {
  color: #0369a1;
  text-decoration: underline;
}

/* Real Products Grid in Dropdown */
.bayaa-mega-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.bayaa-mega-prod-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.bayaa-mega-prod-card:hover {
  border-color: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.12);
}

.bayaa-mega-prod-thumb-wrap {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bayaa-mega-prod-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bayaa-mega-prod-placeholder {
  font-size: 24px;
}

.bayaa-prod-sale-tag {
  position: absolute;
  top: 2px;
  right: 2px;
  background: #ef4444;
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 4px;
}

.bayaa-mega-prod-info {
  flex: 1;
  min-width: 0;
}

.bayaa-mega-prod-title {
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bayaa-mega-prod-price {
  font-size: 12.5px;
  font-weight: 800;
  color: #0284c7;
}

.bayaa-mega-prod-price del {
  color: #94a3b8;
  font-size: 11px;
  margin-left: 4px;
  font-weight: normal;
}

.bayaa-mega-prod-price ins {
  text-decoration: none;
}

/* Empty Category Hub Box */
.bayaa-mega-empty-cat-box {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.bayaa-mega-empty-icon {
  font-size: 38px;
  width: 64px;
  height: 64px;
  background: #ffffff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  flex-shrink: 0;
}

.bayaa-mega-empty-info h4 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
  color: #0b2545;
}

.bayaa-mega-empty-info p {
  margin: 0 0 12px;
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.5;
}

.bayaa-btn-sm-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0284c7;
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}

.bayaa-btn-sm-primary:hover {
  background: #0369a1;
  transform: translateX(-2px);
}

/* Column 2: Mini Products / Brands */
.bayaa-mega-mini-products {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bayaa-mini-prod-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
}

.bayaa-mini-prod-row:hover {
  background: #ffffff;
  border-color: #0284c7;
  transform: translateX(-3px);
}

.bayaa-mini-prod-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: #f1f5f9;
  flex-shrink: 0;
}

.bayaa-mini-prod-meta {
  flex: 1;
  min-width: 0;
}

.bayaa-mini-prod-meta h6 {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bayaa-mini-prod-price {
  font-size: 12px;
  font-weight: 800;
  color: #0284c7;
}

/* Brands Chips */
.bayaa-mega-brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.bayaa-mega-brand-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  text-decoration: none;
  color: #1e293b;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.bayaa-mega-brand-chip:hover {
  background: #0b2545;
  color: #ffffff;
  border-color: #0b2545;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(11, 37, 69, 0.15);
}

.bayaa-brand-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0284c7;
}

.bayaa-mega-brand-chip:hover .bayaa-brand-dot {
  background: #38bdf8;
}

/* Quick Navigation Tags */
.bayaa-mega-quick-tags {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bayaa-quick-tag-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #1e293b;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.bayaa-quick-tag-pill:hover {
  background: #0b2545;
  color: #ffffff;
  border-color: #0b2545;
  transform: translateX(-4px);
}

/* Column 3: Promo Card */
.bayaa-mega-promo-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(11, 37, 69, 0.06);
  transition: all 0.25s ease;
}

.bayaa-mega-promo-card:hover {
  box-shadow: 0 12px 30px rgba(11, 37, 69, 0.12);
  border-color: #cbd5e1;
}

.bayaa-promo-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(239, 68, 68, 0.45);
  z-index: 10;
  letter-spacing: 0.3px;
}

.bayaa-promo-visual {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 12px;
  background: #f8fafc;
}

.bayaa-promo-banner-link {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.bayaa-mega-promo-banner-full {
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.35s ease;
  display: block;
}

.bayaa-mega-promo-card:hover .bayaa-mega-promo-banner-full {
  transform: scale(1.04);
}

.bayaa-promo-graphic-box {
  width: 80px;
  height: 80px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.18);
}

.bayaa-promo-graphic-icon {
  font-size: 34px;
}

.bayaa-promo-btn {
  background: #0b2545;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 10px;
  transition: all 0.2s ease;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(11, 37, 69, 0.15);
  display: block;
}

.bayaa-promo-btn:hover {
  background: #0284c7;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
  transform: translateY(-2px);
}

/* 6.5 Mobile Off-Canvas Drawer */
.bayaa-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 99999;
  visibility: hidden;
  transition: visibility 0.3s;
}

.bayaa-mobile-drawer.active {
  visibility: visible;
}

.bayaa-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s;
}

.bayaa-mobile-drawer.active .bayaa-drawer-overlay {
  opacity: 1;
}

.bayaa-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85%;
  background: #ffffff;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.bayaa-mobile-drawer.active .bayaa-drawer-content {
  transform: translateX(0);
}

.bayaa-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.bayaa-drawer-brand strong {
  color: #0b2545;
  font-size: 16px;
}

.bayaa-drawer-close {
  background: transparent;
  border: none;
  font-size: 26px;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}

.bayaa-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.bayaa-drawer-search {
  display: flex;
  margin-bottom: 20px;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 4px 8px;
}

.bayaa-drawer-search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
}

.bayaa-drawer-search button {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.bayaa-drawer-quick-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 18px;
}

.bayaa-drawer-quick-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f8fafc;
}

.bayaa-drawer-heading {
  font-size: 12px;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.bayaa-drawer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bayaa-drawer-cat-item {
  border-bottom: 1px solid #f8fafc;
}

.bayaa-drawer-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bayaa-drawer-cat-row a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 4px;
  flex: 1;
}

.bayaa-drawer-sub-toggle {
  background: transparent;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  font-size: 16px;
  font-weight: bold;
}

.bayaa-drawer-subcats {
  list-style: none;
  padding: 4px 16px 12px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #f8fafc;
  border-radius: 8px;
}

.bayaa-drawer-subcats a {
  color: #475569;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.bayaa-drawer-highlight a {
  color: #ef4444 !important;
  font-weight: 800;
}

.bayaa-drawer-badge {
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: auto;
}

.bayaa-drawer-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bayaa-drawer-brand-chip {
  padding: 4px 10px;
  background: #f1f5f9;
  border-radius: 6px;
  font-size: 12px;
  color: #334155;
  text-decoration: none;
  font-weight: 600;
}

/* 6.6 Header Responsive Media Queries */
@media (max-width: 1024px) {
  .bayaa-topbar-promo {
    display: none !important;
  }
  .bayaa-navbar {
    display: none !important;
  }
  .bayaa-mobile-toggle,
  button.bayaa-mobile-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .bayaa-action-branches {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .bayaa-topbar {
    font-size: 11px;
    padding: 5px 0;
  }
  .bayaa-trust-item {
    font-size: 11px;
    gap: 4px;
  }
  .bayaa-mainbar {
    padding: 10px 0;
  }
  .bayaa-mainbar-inner {
    flex-wrap: wrap;
    gap: 12px;
  }
  .bayaa-logo-wrap {
    order: 1;
  }
  .bayaa-actions-wrapper {
    order: 2;
    gap: 8px;
  }
  .bayaa-search-wrapper {
    order: 3;
    max-width: 100%;
    width: 100%;
  }
  .bayaa-action-text {
    display: none;
  }
  .bayaa-action-btn {
    padding: 6px 8px;
  }
  .bayaa-search-cat-wrap {
    display: none;
  }
}


button.bayaa-action-btn.bayaa-action-help {
    display: flex;
    border: 0px;
}


button.bayaa-action-btn.bayaa-action-help {
    background: #f8fafc;
}