/**
 * Bayaa Multi-Vendor - Category Archive & Unified Product Cards
 *
 * Brand Bible Enforcement:
 * - Deep Navy: #0F2A4A
 * - Vivid Orange: #FF6B00
 * - Clean White: #FFFFFF
 * - Cairo font strictly enforced
 * - Solid colors only (NO GRADIENTS)
 */

/* ========================================================
   Global Font & Container Enforcements
   ======================================================== */
.bayaa-archive-container,
.bayaa-archive-container *,
.bayaa-unified-products-grid,
.bayaa-unified-products-grid *,
.bayaa-unified-card,
.bayaa-unified-card *,
.bayaa-store-page-wrapper,
.bayaa-store-page-wrapper * {
  font-family: 'Cairo', system-ui, -apple-system, sans-serif !important;
  box-sizing: border-box;
}

.bayaa-archive-container {
  max-width: 1320px;
  margin: 20px auto 60px;
  padding: 0 20px;
  direction: rtl;
  text-align: right;
  color: #0F2A4A;
}

/* ========================================================
   1. Category Header & Breadcrumbs
   ======================================================== */
.bayaa-category-header {
  margin-bottom: 24px;
}

.bayaa-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 14px;
}

.bayaa-breadcrumbs a {
  color: #64748B;
  text-decoration: none;
  transition: color 0.2s ease;
}

.bayaa-breadcrumbs a:hover {
  color: #FF6B00;
}

.bayaa-bread-sep {
  color: #CBD5E1;
  font-size: 12px;
}

.bayaa-bread-current {
  color: #0F2A4A;
  font-weight: 700;
}

.bayaa-category-title-bar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid #E2E8F0;
}

.bayaa-category-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bayaa-category-title {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: #0F2A4A;
  line-height: 1.25;
}

.bayaa-category-count-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: #F1F5F9;
  color: #475569;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
}

.bayaa-category-description {
  margin: 4px 0 0;
  font-size: 14px;
  color: #64748B;
  line-height: 1.6;
}

/* ========================================================
   2. Subcategory Chips / Pills Carousel
   ======================================================== */
.bayaa-subcategories-chips-wrap {
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 6px;
}

.bayaa-subcategories-chips {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bayaa-subcat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  text-decoration: none;
  color: #1E293B;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(15, 42, 74, 0.04);
}

.bayaa-subcat-chip:hover {
  border-color: #FF6B00;
  color: #FF6B00;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.12);
}

.bayaa-subcat-chip.active {
  background: #0F2A4A;
  border-color: #0F2A4A;
  color: #FFFFFF;
}

.bayaa-subcat-chip-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.bayaa-subcat-chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: #F1F5F9;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  color: #64748B;
}

.bayaa-subcat-chip.active .bayaa-subcat-chip-count {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

/* ========================================================
   3. Archive Layout (2 Columns: Sidebar + Main)
   ======================================================== */
.bayaa-archive-layout {
  display: flex !important;
  flex-direction: row !important;
  gap: 28px !important;
  align-items: flex-start !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* ========================================================
   4. Sidebar Filter
   ======================================================== */
.bayaa-filter-sidebar {
  flex: 0 0 280px !important;
  width: 280px !important;
  min-width: 280px !important;
  max-width: 280px !important;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(15, 42, 74, 0.03);
  position: sticky !important;
  top: 90px;
  overflow: visible;
  box-sizing: border-box !important;
  z-index: 10;
}

.bayaa-archive-main {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  width: calc(100% - 308px) !important;
  box-sizing: border-box !important;
}

.bayaa-sidebar-header-mobile {
  display: none;
}

.bayaa-filter-group {
  border-bottom: 1px solid #F1F5F9;
  padding: 16px 0;
}

.bayaa-filter-group:first-child {
  padding-top: 0;
}

.bayaa-filter-group:last-of-type {
  border-bottom: none;
}

.bayaa-filter-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 800;
  color: #0F2A4A;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bayaa-filter-toggle-icon {
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 700;
  color: #94A3B8;
  cursor: pointer;
}

/* Price Inputs */
.bayaa-price-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.bayaa-price-field {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 4px 8px;
}

.bayaa-price-field label {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748B;
  margin-left: 2px;
  flex-shrink: 0;
}

.bayaa-price-field input {
  width: 100%;
  min-width: 0;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 13px;
  font-weight: 700;
  color: #0F2A4A;
  padding: 4px 0 !important;
  text-align: center;
  outline: none !important;
}

.bayaa-btn-price-apply {
  grid-column: span 2;
  width: 100%;
  padding: 9px 12px !important;
  background: #0F2A4A !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
}

.bayaa-btn-price-apply:hover {
  background: #FF6B00 !important;
  color: #FFFFFF !important;
}

.bayaa-price-presets {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bayaa-preset-btn {
  display: block;
  padding: 6px 10px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: all 0.2s;
}

.bayaa-preset-btn:hover {
  background: #0F2A4A;
  color: #FFFFFF;
  border-color: #0F2A4A;
}

/* Color Swatches */
.bayaa-color-swatches {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.bayaa-color-swatch-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.bayaa-color-swatch-label:hover {
  border-color: #0F2A4A;
}

.bayaa-color-swatch-label.active {
  background: #0F2A4A;
  border-color: #0F2A4A;
  color: #FFFFFF;
}

.bayaa-color-swatch-label input {
  display: none;
}

.bayaa-swatch-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bayaa-swatch-check {
  font-size: 11px;
  font-weight: 900;
}

.bayaa-color-name {
  font-size: 12.5px;
  font-weight: 700;
}

/* Size Chips */
.bayaa-size-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bayaa-size-chip-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  min-width: 44px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: #1E293B;
  cursor: pointer;
  transition: all 0.2s;
}

.bayaa-size-chip-label:hover {
  border-color: #0F2A4A;
}

.bayaa-size-chip-label.active {
  background: #0F2A4A;
  border-color: #0F2A4A;
  color: #FFFFFF;
}

.bayaa-size-chip-label input {
  display: none;
}

/* Checkbox Items */
.bayaa-checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  transition: color 0.2s;
}

.bayaa-checkbox-item:hover {
  color: #0F2A4A;
}

.bayaa-checkbox-item input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.bayaa-checkbox-box {
  width: 18px;
  height: 18px;
  border: 1.8px solid #CBD5E1;
  border-radius: 4px;
  background: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.bayaa-checkbox-item input:checked ~ .bayaa-checkbox-box {
  background: #0F2A4A;
  border-color: #0F2A4A;
}

.bayaa-checkbox-item input:checked ~ .bayaa-checkbox-box::after {
  content: "✓";
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 900;
}

.bayaa-stock-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16A34A;
  margin-left: 4px;
}

.bayaa-tag-mini {
  display: inline-flex;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
}

.bayaa-tag-mini.express {
  background: #FEF08A;
  color: #854D0E;
}

/* Radio Items for Rating */
.bayaa-radio-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.bayaa-radio-item input {
  accent-color: #0F2A4A;
}

.bayaa-rating-stars {
  color: #EAB308;
  font-size: 15px;
  letter-spacing: 1px;
}

.bayaa-rating-text {
  color: #475569;
}

/* Reset Sidebar Button */
.bayaa-sidebar-reset-wrap {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #E2E8F0;
}

.bayaa-btn-reset-sidebar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  color: #475569;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s;
}

.bayaa-btn-reset-sidebar:hover {
  background: #E2E8F0;
  color: #0F2A4A;
}

/* ========================================================
   5. Category Toolbar & Active Filters Strip
   ======================================================== */
.bayaa-category-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 18px;
  margin-bottom: 16px;
  box-shadow: 0 1px 4px rgba(15, 42, 74, 0.03);
}

.bayaa-mobile-filter-trigger {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 14px !important;
  background: #0F2A4A !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

.bayaa-active-filters-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #FF6B00;
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

.bayaa-toolbar-results-count {
  font-size: 14px;
  font-weight: 600;
  color: #64748B;
}

.bayaa-toolbar-results-count strong {
  color: #0F2A4A;
}

.bayaa-toolbar-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.bayaa-sort-label {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  white-space: nowrap;
}

.bayaa-sort-select {
  min-width: 185px;
  padding: 8px 14px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  background: #FFFFFF;
  color: #0F2A4A;
  font-size: 13px;
  font-weight: 700;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

.bayaa-sort-select:focus {
  border-color: #0F2A4A;
}

/* Active Filter Tags Strip */
.bayaa-active-filters-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.bayaa-active-tag-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #64748B;
}

.bayaa-active-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #E2E8F0;
  border-radius: 9999px;
  color: #0F2A4A;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}

.bayaa-active-filter-tag:hover {
  background: #CBD5E1;
}

.bayaa-tag-remove {
  font-size: 14px;
  font-weight: 900;
  color: #64748B;
}

.bayaa-clear-all-tag {
  font-size: 12px;
  font-weight: 800;
  color: #DC2626;
  text-decoration: none;
  padding: 4px 8px;
}

.bayaa-clear-all-tag:hover {
  text-decoration: underline;
}

/* ========================================================
   6. Unified Luxury Product Cards Grid
   ======================================================== */
.bayaa-unified-products-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  direction: rtl;
  text-align: right;
}

.bayaa-unified-products-grid.bayaa-unified-products-grid--cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.bayaa-bestsellers-track > .bayaa-unified-card {
  flex: 0 0 268px !important;
  width: 268px !important;
  min-width: 268px !important;
}

/* Individual Unified Card */
.bayaa-unified-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(15, 42, 74, 0.03);
}

.bayaa-unified-card:hover {
  border-color: #CBD5E1;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 42, 74, 0.08);
}

/* Top Bar Overlay */
.bayaa-card-top-bar {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  z-index: 5;
  pointer-events: none;
}

.bayaa-card-badges-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.bayaa-badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.bayaa-badge-discount {
  background: #FF6B00;
  color: #FFFFFF;
}

.bayaa-badge-bestseller {
  background: #0F2A4A;
  color: #FFFFFF;
}

.bayaa-badge-promoted {
  background: #FF6B00;
  color: #FFFFFF;
}

.bayaa-brand-checkbox-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 3px;
  flex-shrink: 0;
}

.bayaa-card-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 800;
  color: #0F2A4A;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  padding: 2px 7px;
  border-radius: 5px;
  margin-bottom: 4px;
  text-decoration: none;
}

.bayaa-card-vendor-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #0F2A4A;
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 900;
  margin-inline-start: 4px;
}

.bayaa-category-promo-banners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin: 14px 0 20px 0;
}

.bayaa-category-promo-banner-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: 0 6px 18px rgba(15, 42, 74, 0.08);
  text-decoration: none;
  background: #0F2A4A;
  max-height: 220px;
}

.bayaa-category-promo-banner-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.bayaa-category-promo-banner-card:hover img {
  transform: scale(1.02);
}

.bayaa-promo-sponsored-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 42, 74, 0.85);
  color: #FFFFFF;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.bayaa-promo-banner-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 14px 18px;
  background: linear-gradient(to top, rgba(15, 42, 74, 0.88), transparent);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bayaa-promo-banner-caption strong {
  font-size: 15px;
  font-weight: 800;
}

.bayaa-promo-banner-caption span {
  font-size: 12px;
  opacity: 0.92;
}

.bayaa-badge-savings {
  background: #DC2626;
  color: #FFFFFF;
}

/* Floating Wishlist Heart Button */
.bayaa-unified-card .bayaa-card-wishlist-btn {
  pointer-events: auto;
  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #64748B !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  box-shadow: 0 2px 6px rgba(15, 42, 74, 0.06) !important;
}

.bayaa-unified-card .bayaa-card-wishlist-btn:hover {
  color: #FF6B00 !important;
  border-color: #FF6B00 !important;
  transform: scale(1.08) !important;
}

.bayaa-unified-card .bayaa-card-wishlist-btn.active {
  background: #FFF7ED !important;
  color: #FF6B00 !important;
  border-color: #FF6B00 !important;
}

.bayaa-unified-card .bayaa-card-wishlist-btn.active svg {
  fill: #FF6B00 !important;
}

/* Media Wrap (Product Image Area) */
.bayaa-card-media-wrap {
  position: relative;
  background: #F8FAFC;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.bayaa-card-media-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.bayaa-card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.bayaa-unified-card:hover .bayaa-card-img {
  transform: scale(1.05);
}

/* Floating Quick Add "+" Button (Image 1) */
.bayaa-unified-card .bayaa-card-quick-plus {
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #0F2A4A !important;
  cursor: pointer !important;
  box-shadow: 0 4px 10px rgba(15, 42, 74, 0.08) !important;
  transition: all 0.2s ease !important;
  z-index: 4 !important;
}

.bayaa-unified-card .bayaa-card-quick-plus:hover {
  background: #FF6B00 !important;
  color: #FFFFFF !important;
  border-color: #FF6B00 !important;
  transform: scale(1.08) !important;
}

/* Dots Indicator */
.bayaa-card-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
}

.bayaa-card-dots .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #CBD5E1;
}

.bayaa-card-dots .dot.active {
  background: #0F2A4A;
  width: 12px;
  border-radius: 4px;
}

/* Card Body Details */
.bayaa-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bayaa-card-vendor-row {
  margin-bottom: 6px;
}

.bayaa-card-vendor-link {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748B;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.bayaa-card-vendor-link:hover {
  color: #FF6B00;
}

.bayaa-card-title {
  margin: 0 0 10px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.45;
  color: #0F2A4A;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 42px;
}

.bayaa-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.bayaa-card-title a:hover {
  color: #FF6B00;
}

/* Rating Row */
.bayaa-card-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 12px;
}

.bayaa-stars-wrap {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #FEF9C3;
  padding: 2px 7px;
  border-radius: 6px;
}

.bayaa-star-icon {
  color: #CA8A04;
  font-size: 12px;
}

.bayaa-rating-num {
  color: #854D0E;
  font-weight: 800;
}

.bayaa-rating-count {
  color: #94A3B8;
  font-weight: 600;
}

.bayaa-card-stock-status {
  margin-right: auto;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.bayaa-card-stock-status.in-stock {
  color: #16A34A;
}

.bayaa-card-stock-status.out-of-stock {
  color: #DC2626;
}

.bayaa-stock-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* Price Row */
.bayaa-card-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.bayaa-card-main-price .bayaa-amount {
  font-size: 18px;
  font-weight: 800;
  color: #0F2A4A;
}

.bayaa-card-old-price del {
  font-size: 13px;
  font-weight: 600;
  color: #94A3B8;
}

.bayaa-card-pct-tag {
  font-size: 11px;
  font-weight: 800;
  color: #16A34A;
  background: #DCFCE7;
  padding: 1px 6px;
  border-radius: 4px;
}

/* Perks (Express + Warranty) */
.bayaa-card-perks {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #F1F5F9;
}

.bayaa-perk-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
}

.bayaa-perk-badge {
  background: #FACC15;
  color: #713F12;
  font-weight: 800;
  font-size: 10.5px;
  padding: 1px 6px;
  border-radius: 4px;
}

.bayaa-perk-item.warranty {
  color: #0F2A4A;
  font-weight: 700;
}

/* Card Action Footer (Image 3) */
.bayaa-card-footer {
  padding: 12px 16px 16px;
  background: #FFFFFF;
}

.bayaa-card-actions-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bayaa-unified-card .bayaa-card-btn-add {
  flex: 1;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  height: 42px !important;
  padding: 0 14px !important;
  background: #FF6B00 !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 3px 10px rgba(255, 107, 0, 0.2) !important;
}

.bayaa-unified-card .bayaa-card-btn-add:hover {
  background: #E05E00 !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3) !important;
}

/* Quantity Stepper [- 1 +] (Image 3) */
.bayaa-unified-card .bayaa-card-qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  background: #F8FAFC;
  overflow: hidden;
  height: 42px;
}

.bayaa-unified-card .bayaa-qty-btn {
  width: 32px !important;
  min-width: 32px !important;
  height: 100% !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #0F2A4A !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.15s !important;
}

.bayaa-unified-card .bayaa-qty-btn:hover {
  background: #E2E8F0 !important;
  color: #0F2A4A !important;
}

.bayaa-unified-card .bayaa-card-qty-input {
  width: 34px !important;
  height: 100% !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  color: #0F2A4A !important;
  outline: none !important;
  -moz-appearance: textfield !important;
}

.bayaa-card-qty-input::-webkit-outer-spin-button,
.bayaa-card-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.bayaa-card-btn-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 800;
  transition: all 0.2s;
}

.bayaa-btn-options {
  background: #0F2A4A;
  color: #FFFFFF;
}

.bayaa-btn-options:hover {
  background: #183C66;
}

.bayaa-btn-out {
  background: #F1F5F9;
  color: #94A3B8;
  border: 1px solid #E2E8F0;
  cursor: not-allowed;
}

/* ========================================================
   7. Pagination
   ======================================================== */
.bayaa-pagination-nav {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

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

.bayaa-pagination-list a,
.bayaa-pagination-list span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  color: #0F2A4A;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.bayaa-pagination-list a:hover {
  border-color: #FF6B00;
  color: #FF6B00;
}

.bayaa-pagination-list .current {
  background: #0F2A4A;
  border-color: #0F2A4A;
  color: #FFFFFF;
}

/* Empty Archive State */
.bayaa-empty-archive {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
}

.bayaa-empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.bayaa-empty-title {
  font-size: 20px;
  font-weight: 800;
  color: #0F2A4A;
  margin: 0 0 8px;
}

.bayaa-empty-desc {
  font-size: 14px;
  color: #64748B;
  margin: 0 0 20px;
}

.bayaa-btn-reset-filters {
  display: inline-flex;
  padding: 10px 24px;
  background: #FF6B00;
  color: #FFFFFF;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s;
}

.bayaa-btn-reset-filters:hover {
  background: #E05E00;
}

/* ========================================================
   8. Responsive Design (Mobile Off-Canvas Drawer)
   ======================================================== */
@media (max-width: 1200px) {
  .bayaa-unified-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .bayaa-unified-products-grid.bayaa-unified-products-grid--cols-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .bayaa-unified-products-grid.bayaa-unified-products-grid--cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 991px) {
  .bayaa-archive-layout {
    flex-direction: column !important;
  }

  .bayaa-archive-main {
    width: 100% !important;
  }

  .bayaa-mobile-filter-trigger {
    display: inline-flex;
  }

  /* Off-canvas Drawer */
  .bayaa-filter-sidebar {
    position: fixed !important;
    top: 0 !important;
    right: -340px !important;
    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;
    height: 100vh !important;
    max-height: 100vh !important;
    overflow-y: auto !important;
    z-index: 999999 !important;
    border-radius: 0 !important;
    box-shadow: -6px 0 25px rgba(15, 42, 74, 0.15) !important;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  .bayaa-filter-sidebar.open {
    right: 0 !important;
  }

  .bayaa-sidebar-header-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #E2E8F0;
  }

  .bayaa-sidebar-mobile-title {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: #0F2A4A;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .bayaa-sidebar-close-btn {
    background: none;
    border: none;
    font-size: 28px;
    color: #94A3B8;
    cursor: pointer;
    line-height: 1;
  }

  .bayaa-filter-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 42, 74, 0.6);
    backdrop-filter: blur(2px);
    z-index: 99998;
  }

  .bayaa-filter-backdrop.active {
    display: block;
  }

  .bayaa-sidebar-mobile-actions {
    display: block;
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid #E2E8F0;
  }

  .bayaa-btn-apply-filters-mobile {
    width: 100%;
    padding: 12px;
    background: #0F2A4A;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
  }
}

@media (max-width: 640px) {
  .bayaa-unified-products-grid,
  .bayaa-unified-products-grid.bayaa-unified-products-grid--cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .bayaa-bestsellers-track > .bayaa-unified-card {
    flex: 0 0 225px !important;
    width: 225px !important;
    min-width: 225px !important;
  }

  .bayaa-archive-container {
    padding: 0 12px;
  }

  .bayaa-category-title {
    font-size: 20px;
  }

  .bayaa-card-body {
    padding: 12px;
  }

  .bayaa-card-title {
    font-size: 13px;
    height: 38px;
  }

  .bayaa-card-main-price .bayaa-amount {
    font-size: 15px;
  }

  .bayaa-card-perks {
    display: none;
  }

  .bayaa-card-actions-group {
    flex-direction: column;
    gap: 6px;
  }

  .bayaa-card-qty-stepper {
    width: 100%;
    justify-content: space-between;
  }

  .bayaa-card-btn-add {
    width: 100%;
    padding: 8px 10px;
    font-size: 12.5px;
  }
}

/* ========================================================
   9. Public Vendor Store Page (.bayaa-store-page-wrapper)
   ======================================================== */
.bayaa-store-page-wrapper {
  max-width: 1320px;
  margin: 28px auto 64px;
  padding: 0 20px;
  direction: rtl;
  text-align: right;
  color: #0F2A4A;
}

.bayaa-store-hero-banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #0F2A4A;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  padding: 32px;
  box-shadow: 0 12px 32px rgba(15, 42, 74, 0.12);
}

.bayaa-store-hero-bg {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  z-index: 1;
}

.bayaa-store-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 42, 74, 0.18) 0%, rgba(15, 42, 74, 0.86) 100%);
  z-index: 2;
  pointer-events: none;
}

.bayaa-store-hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
}

.bayaa-store-logo-frame {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  overflow: hidden;
  background: #FFFFFF;
  border: 4px solid #FFFFFF;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bayaa-store-logo-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

.bayaa-store-logo-fallback {
  width: 100%;
  height: 100%;
  background: #FF6B00;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 900;
}

.bayaa-store-identity {
  flex: 1 1 260px;
  min-width: 0;
}

.bayaa-store-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.bayaa-store-name {
  margin: 0;
  color: #FFFFFF !important;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.bayaa-store-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #059669;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
}

.bayaa-store-meta-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.bayaa-store-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(4px);
  color: #F8FAFC;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
}

.bayaa-store-meta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FF6B00;
  display: inline-block;
}

.bayaa-store-description-card {
  margin: 24px 0 0;
  padding: 20px 24px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-right: 4px solid #FF6B00;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.8;
  color: #334155;
  box-shadow: 0 2px 10px rgba(15, 42, 74, 0.03);
}

.bayaa-store-description-card p:last-child {
  margin-bottom: 0;
}

.bayaa-store-catalog-section {
  margin-top: 34px;
}

.bayaa-store-section-head {
  border-bottom: 2px solid #E2E8F0;
  padding-bottom: 14px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bayaa-store-section-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #0F2A4A;
  position: relative;
}

.bayaa-store-section-title::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -16px;
  width: 64px;
  height: 3px;
  background: #FF6B00;
  border-radius: 2px;
}

.bayaa-store-section-count {
  font-size: 14px;
  font-weight: 700;
  color: #64748B;
  margin-right: 8px;
}

.bayaa-store-empty-card {
  padding: 48px 24px;
  text-align: center;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  color: #475569;
}

.bayaa-store-back-btn {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 22px;
  background: #FF6B00;
  color: #FFFFFF !important;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
}

@media (max-width: 640px) {
  .bayaa-store-page-wrapper {
    padding: 0 12px;
    margin-top: 16px;
  }

  .bayaa-store-hero-banner {
    min-height: 240px;
    padding: 20px;
    border-radius: 16px;
  }

  .bayaa-store-logo-frame {
    width: 74px;
    height: 74px;
    border-radius: 16px;
  }

  .bayaa-store-name {
    font-size: 22px;
  }
}
