/* Raheeb - approved mobile fixes, 22 Nov 2026. Items 1, 3, 4, 5. No fake timers/stock warnings. */
@media (max-width: 767px) {
  /* 1) Disable product-card entrance / fly-up animation on mobile only */
  body.is-category-page .salla-product-card, body.is-category-page salla-product-card, body.is-category-page [class*="product-card"], body.is-category-page [class*="product_card"],
  body.is-category-page [data-aos], body.is-category-page .aos-init, body.is-category-page .aos-animate, body.is-category-page [class*="animate__"],
  body.is-category-page #products-list > *, body.is-category-page [class*="products-list"] > *, body.is-category-page .products-grid > * {
    animation: none !important;
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  /* 4) Smaller floating WhatsApp and back-to-top buttons on mobile only.
     Fixed 22 Nov 2026: the old selectors missed Salla's real buttons (#wa-widget, .scroll-progress-wrapper)
     and squeezed the footer WhatsApp link and icon instead. Each button keeps its own corner, so they never overlap. */
  body.is-category-page #wa-widget {
    transform: scale(.875) !important;
    transform-origin: bottom right !important;
  }
  body.is-category-page .scroll-progress-wrapper {
    transform: scale(.8) !important;
    transform-origin: bottom left !important;
  }
  /* 3) Subcategory chips strip - horizontal swipe, mobile only */
  .raheeb-chips {
    display: flex !important;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 12px 4px;
    margin: 0 0 8px;
    scrollbar-width: none;
  }
  .raheeb-chips::-webkit-scrollbar { display: none; }
  .raheeb-chip {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #fff;
    font-size: 13px;
    line-height: 1.2;
    color: #111827;
    text-decoration: none;
  }
  .raheeb-chip.active { background: #111827; color: #fff; border-color: #111827; }
  /* 5) Category heading on mobile - show the full heading, do not clip the name */
  body.is-raheeb-category h1 {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    display: block !important;
  }
  body.is-raheeb-category h1 span { display: inline !important; }
}
@media (min-width: 768px) {
  .raheeb-chips { display: none !important; }
}
/* 2) Fallback, verified: auto-load still loads more products with no Load More button, so hide customer reviews on category pages on mobile only (JS adds .raheeb-reviews-hidden and body.is-category-page) */
@media (max-width: 767px) {
  body.is-category-page .raheeb-reviews-hidden { display: none !important; }
}