/* Add custom CSS styles below */ 

/* W DE MODA: hide email in the top bar (footer keeps it) */
.top-navbar salla-contacts a[href^="mailto"] { display: none !important; }

/* W DE MODA: home categories circles (like Shopify) */
.wdm-cats { position: relative; margin-top: 28px; margin-bottom: 28px; }
.wdm-cats-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 12px; }
.wdm-cats-track::-webkit-scrollbar { display: none; }
.wdm-cat { flex: 0 0 calc((100% - 64px) / 5); scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; }
.wdm-cat-img { width: 100%; aspect-ratio: 500 / 510; display: block; }
.wdm-cat-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.wdm-cat-name { width: 100%; text-align: center; background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.08); padding: 10px 8px; font-size: 15px; color: #222; }
.wdm-cats-nav { position: absolute; top: calc(50% - 28px); transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: #111; border: 0; z-index: 2; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.wdm-left { left: 4px; }
.wdm-right { right: 4px; }
@media (max-width: 1023px) { .wdm-cat { flex-basis: calc((100% - 32px) / 3); } }
@media (max-width: 767px) { .wdm-cat { flex-basis: 42%; } .wdm-cat-name { font-size: 13px; padding: 8px 6px; } .wdm-cats-nav { width: 30px; height: 30px; } }
/* W DE MODA: white logo on the black footer */
.saji-footer-logo__img { filter: invert(1); }
/* W DE MODA: hide brand block on product page */
.saji-pdp__brand { display: none !important; }
div:has(> .saji-pdp__brand) { justify-content: flex-end !important; }
/* W DE MODA: size guide modal content */
#salla-product-size-guide-modal .s-modal-body salla-tabs { display:block; text-align:start; }
#salla-product-size-guide-modal .s-modal-body table { width:100%; border-collapse:collapse; margin-bottom:12px; font-size:13px; }
#salla-product-size-guide-modal .s-modal-body th, #salla-product-size-guide-modal .s-modal-body td { border:1px solid #ddd; padding:6px 4px; text-align:center; white-space:nowrap; }
#salla-product-size-guide-modal .s-modal-body th { background:#f5f5f5; font-weight:600; }
.saji-tabs--pills salla-tab-header .s-tabs-active {
    background-color: #21636d !important;
    background-color: var(--color-primary) !important;
    --tw-text-opacity: 1 !important;
    color: #fff !important;
    color: rgba(255, 255, 255, var(--tw-text-opacity, 1)) !important;
    display: none;
}
/* W DE MODA: hide the floating "?" support/ticket button */
ticketing-system, salla-ticketing-system { display: none !important; }
/* W DE MODA: footer like before - no WhatsApp row, no commercial register, no payment icons; links side by side */
.store-footer salla-contacts #contact-slot:not(.wdm-cs-item):has(a[href*="wa.me"]) { display: none !important; }
.store-footer .saji-footer-trust, .store-footer salla-trust-badges, .store-footer salla-payments { display: none !important; }
@media (min-width: 768px) { .store-footer .saji-footer-menu .s-menu-footer-list { display: flex !important; flex-wrap: wrap; gap: 6px 64px; } }
/* W DE MODA: Instagram + TikTok side by side on desktop (stacked on mobile) */
@media (min-width: 768px) {
  main section.block-instagram:has(+ section.block-tiktok),
  main section.block-instagram:has(+ section.block-tiktok) + section.block-tiktok { float: inline-start; width: 50%; }
  main section.block-instagram:has(+ section.block-tiktok) ~ :not(section.block-tiktok) { clear: both; }
  main:has(section.block-instagram + section.block-tiktok)::after { content: ""; display: block; clear: both; }
  main section.block-instagram:has(+ section.block-tiktok) .saji-embed-iframe,
  main section.block-instagram + section.block-tiktok .saji-embed-iframe { width: 92% !important; max-width: 560px; }
}

/* W DE MODA: no Instagram/TikTok icons in the footer */
.store-footer salla-social.saji-social-footer, .store-footer div:has(> salla-social.saji-social-footer) { display: none !important; }
/* W DE MODA: one brand only - also hide the brand box in the quick view popup (eye icon on product cards): "أصلي 100%" / "اضغط هنا للمزيد من ماركة" - "100% original" / "Click Here For More From Brand", AR + EN */
div:has(> a.product-brand),
a.product-brand,
a[href*="/brand-1844334295"] { display: none !important; }