/* ISLAMOGLU - DARK MODE FIX */

html.islamoglu-dark {
  color-scheme: dark;
  --dm-bg: #14181e;
  --dm-card: #242b35;
  --dm-text: #f4f5f7;
  --dm-muted: #c6cbd3;
  --dm-border: #414b59;
}

/* Main page backgrounds */
html.islamoglu-dark body,
html.islamoglu-dark main,
html.islamoglu-dark .main-content,
html.islamoglu-dark .page-content {
  background-color: var(--dm-bg) !important;
  color: var(--dm-text) !important;
}

/* Fix white backgrounds */
html.islamoglu-dark :is(
  .bg-white,
  .bg-gray-50,
  .bg-gray-100,
  .bg-slate-50,
  .bg-slate-100,
  .bg-neutral-50,
  .bg-neutral-100,
  .bg-light,
  .bg-transparent-white,
  .s-product-card-entry,
  .s-product-card-content,
  .product-entry,
  .dropdown-menu,
  .modal-content
) {
  background-color: var(--dm-card) !important;
  color: var(--dm-text) !important;
}

/* Fix inline white backgrounds */
html.islamoglu-dark [style*="background-color: white"],
html.islamoglu-dark [style*="background-color: #fff"],
html.islamoglu-dark [style*="background-color:#fff"],
html.islamoglu-dark [style*="background: white"],
html.islamoglu-dark [style*="background: #fff"],
html.islamoglu-dark [style*="background-color: rgb(255, 255, 255)"] {
  background-color: var(--dm-card) !important;
}

/* Fix black and dark-gray text */
html.islamoglu-dark :is(
  .text-black,
  .text-dark,
  .text-gray-950,
  .text-gray-900,
  .text-gray-800,
  .text-gray-700,
  .text-slate-950,
  .text-slate-900,
  .text-slate-800,
  .text-neutral-900
) {
  color: var(--dm-text) !important;
}

/* Fix headings and common text */
html.islamoglu-dark :is(
  h1, h2, h3, h4, h5, h6,
  .s-block__title,
  .product-title,
  .product-description,
  .s-product-card-content
) {
  color: var(--dm-text) !important;
}

html.islamoglu-dark
.s-product-card-content :is(a, p, span, strong) {
  color: var(--dm-text) !important;
}

/* Fix hard-coded black text */
html.islamoglu-dark [style*="color: #000"],
html.islamoglu-dark [style*="color:#000"],
html.islamoglu-dark [style*="color: black"],
html.islamoglu-dark [style*="color: rgb(0, 0, 0)"] {
  color: var(--dm-text) !important;
}

/* Header and footer links */
html.islamoglu-dark header a,
html.islamoglu-dark footer a,
html.islamoglu-dark nav a {
  color: var(--dm-text) !important;
}

/* Borders and separator lines */
html.islamoglu-dark hr,
html.islamoglu-dark :is(
  .border,
  .border-gray-100,
  .border-gray-200,
  .border-gray-300,
  .border-slate-200
) {
  border-color: var(--dm-border) !important;
}

/* Forms and search */
html.islamoglu-dark :is(
  input,
  textarea,
  select
) {
  background-color: #303846 !important;
  color: #ffffff !important;
  border-color: var(--dm-border) !important;
}

html.islamoglu-dark input::placeholder,
html.islamoglu-dark textarea::placeholder {
  color: #abb4c0 !important;
}

/* Black SVG icons */
html.islamoglu-dark
:is(header, nav, footer)
svg[stroke="#000"],
html.islamoglu-dark
:is(header, nav, footer)
svg[stroke="black"] {
  stroke: #f4f5f7 !important;
}

/* Preserve product images */
html.islamoglu-dark img,
html.islamoglu-dark video {
  filter: none !important;
}

/* Preserve theme toggle */
html.islamoglu-dark #islamoglu-theme-toggle {
  background-color: #374151 !important;
  color: white !important;
  border-color: #586474 !important;
}/* =====================================
   ISLAMOGLU DARK MODE - FIX V3
   ===================================== */

html.islamoglu-dark {
  --dm-main: #14181e;
  --dm-section: #1d232c;
  --dm-card: #262e39;
  --dm-text: #f5f6f8;
  --dm-muted: #cbd2dc;
  --dm-border: #465262;
}

/* 1. ALL HOME SECTIONS */

html.islamoglu-dark :is(
  main,
  .s-block,
  .s-block--categories,
  .s-block--products-slider,
  .s-block--fixed-products,
  .s-block--featured-products,
  .s-block--banners,
  .s-block--testimonials,
  .s-block--reviews,
  .s-block--features,
  .s-block--store-features
) {
  background-color: var(--dm-main) !important;
  color: var(--dm-text) !important;
}

/* Clear unwanted white section wrappers */

html.islamoglu-dark .s-block > .container,
html.islamoglu-dark .s-block > .s-block__content,
html.islamoglu-dark .s-block .s-block__header {
  background-color: transparent !important;
}

/* Section headings and descriptions */

html.islamoglu-dark :is(
  .s-block__title,
  .s-block__description,
  .section-title,
  .section-description
) {
  color: var(--dm-text) !important;
}

/* 2. SHOP BY CATEGORIES */

html.islamoglu-dark :is(
  .s-block--categories,
  .s-block--categories-slider,
  .categories-section,
  .category-section,
  section[class*="categor"]
) {
  background-color: var(--dm-main) !important;
  color: var(--dm-text) !important;
}

html.islamoglu-dark :is(
  .s-block--categories,
  .categories-section,
  .category-section
) :is(h2, h3, p) {
  color: var(--dm-text) !important;
}

/* Preserve category photographs */
html.islamoglu-dark
.s-block--categories img {
  filter: none !important;
}

/* 3. ANIMATED PRODUCT SLIDERS */

html.islamoglu-dark :is(
  .s-block--products-slider,
  .s-block--fixed-products,
  .s-block--featured-products
) :is(
  .swiper,
  .swiper-container,
  .swiper-wrapper,
  .swiper-slide,
  .s-block__content
) {
  background-color: transparent !important;
}

html.islamoglu-dark :is(
  .s-product-card-entry,
  .s-product-card-content,
  .product-entry
) {
  background-color: var(--dm-card) !important;
  color: var(--dm-text) !important;
  border-color: var(--dm-border) !important;
}

html.islamoglu-dark
.s-product-card-content :is(
  h3, h4, p, span, a, strong
) {
  color: var(--dm-text) !important;
}

/* 4. CUSTOMER TESTIMONIALS */

html.islamoglu-dark :is(
  .s-block--testimonials,
  .s-block--reviews,
  .testimonials-section,
  .reviews-section
) {
  background-color: var(--dm-main) !important;
}

html.islamoglu-dark :is(
  .s-block--testimonials,
  .s-block--reviews,
  .testimonials-section,
  .reviews-section
) :is(
  .swiper-slide,
  .testimonial-card,
  .testimonial-item,
  .review-card,
  .review-item,
  blockquote
) {
  background-color: var(--dm-card) !important;
  color: var(--dm-text) !important;
  border-color: var(--dm-border) !important;
}

html.islamoglu-dark :is(
  .s-block--testimonials,
  .s-block--reviews,
  .testimonials-section,
  .reviews-section
) .swiper-slide > :is(div, article) {
  background-color: var(--dm-card) !important;
  color: var(--dm-text) !important;
}

html.islamoglu-dark :is(
  .s-block--testimonials,
  .s-block--reviews,
  .testimonials-section,
  .reviews-section
) :is(
  h3, h4, p, span, small,
  strong, blockquote
) {
  color: var(--dm-text) !important;
}

/* Review navigation arrows */

html.islamoglu-dark :is(
  .s-block--testimonials,
  .s-block--reviews
) :is(
  .swiper-button-next,
  .swiper-button-prev
) {
  background-color: #394453 !important;
  color: white !important;
  border-color: var(--dm-border) !important;
}

/* 5. STORE FEATURES */

html.islamoglu-dark :is(
  .s-block--features,
  .s-block--store-features,
  .store-features
) :is(
  .feature,
  .feature-item,
  .feature-card,
  .swiper-slide
) {
  background-color: var(--dm-card) !important;
  color: var(--dm-text) !important;
}

/* 6. FOOTER - ABOUT & CONTACT */

html.islamoglu-dark :is(
  footer,
  .store-footer,
  .store-footer__inner,
  .store-footer__copyrights,
  .footer-top,
  .footer-bottom,
  .footer-wrapper,
  .footer-content,
  .s-footer,
  #footer
) {
  background-color: var(--dm-section) !important;
  color: var(--dm-text) !important;
  border-color: var(--dm-border) !important;
}

/* Footer inner areas */

html.islamoglu-dark :is(
  footer,
  .store-footer,
  .s-footer
) :is(
  .container,
  .store-footer__inner,
  .store-footer__contacts,
  .store-footer__social,
  .store-footer__copyrights,
  .footer-links,
  .footer-info
) {
  background-color: transparent !important;
  color: var(--dm-text) !important;
}

/* All footer text and contact numbers */

html.islamoglu-dark :is(
  footer,
  .store-footer,
  .s-footer
) :is(
  h1, h2, h3, h4, h5,
  p, a, span, small, strong, li,
  address, label
) {
  color: var(--dm-text) !important;
  opacity: 1 !important;
}

/* Footer social and contact icons */

html.islamoglu-dark :is(
  footer,
  .store-footer,
  .s-footer
) :is(a, button, i) {
  color: #e3eaf5 !important;
}

html.islamoglu-dark :is(
  footer,
  .store-footer,
  .s-footer
) a:hover {
  color: #76baff !important;
}

/* 7. REMAINING WHITE BACKGROUNDS */

html.islamoglu-dark main :is(
  .bg-white,
  .bg-gray-50,
  .bg-gray-100,
  .bg-slate-50,
  .bg-neutral-50
) {
  background-color: var(--dm-section) !important;
}

html.islamoglu-dark main
[style*="background-color: #fff"],
html.islamoglu-dark main
[style*="background-color:#fff"],
html.islamoglu-dark main
[style*="background-color: white"],
html.islamoglu-dark main
[style*="background: #fff"] {
  background-color: var(--dm-section) !important;
}

/* 8. DARK TEXT CORRECTION */

html.islamoglu-dark :is(
  .text-black,
  .text-gray-900,
  .text-gray-800,
  .text-gray-700,
  .text-slate-900,
  .text-slate-800
) {
  color: var(--dm-text) !important;
}

/* 9. KEEP PHOTOS AND BRAND COLORS */

html.islamoglu-dark img,
html.islamoglu-dark video {
  filter: none !important;
}

/* Keep theme toggle working */

html.islamoglu-dark #islamoglu-theme-toggle {
  background: #374151 !important;
  color: white !important;
  border-color: #586474 !important;
}/* ISLAMOGLU DARK MODE - FIX V4 */

/* Shop by categories */
html.islamoglu-dark .igo-fix-categories {
  background-color: #14181e !important;
  color: #f5f6f8 !important;
}

html.islamoglu-dark .igo-fix-categories > div,
html.islamoglu-dark .igo-fix-categories
  :is(.container, .grid, .category-grid, .section-content) {
  background-color: transparent !important;
}

html.islamoglu-dark .igo-fix-categories
  :is(h1, h2, h3, .section-title) {
  color: #ffffff !important;
}

/* Store feature cards */
html.islamoglu-dark :is(
  .s-block--features__item,
  .igo-fix-feature-card
) {
  background: #262e39 !important;
  border-color: #465262 !important;
  color: #ffffff !important;
}

html.islamoglu-dark :is(
  .s-block--features__item,
  .igo-fix-feature-card
) :is(h2, h3, h4, p, span, small, strong) {
  color: #f1f5f9 !important;
  opacity: 1 !important;
}

/* Cart and account icons */
html.islamoglu-dark :is(
  header,
  .store-header,
  .main-nav-container
) :is(
  .sicon-cart,
  .sicon-user,
  .sicon-user-circle,
  .sicon-profile,
  .sicon-shopping-bag,
  .sicon-shopping-cart,
  salla-cart-summary,
  salla-user-menu
) {
  color: #ffffff !important;
  opacity: 1 !important;
  filter: none !important;
}

html.islamoglu-dark :is(
  header,
  .store-header,
  .main-nav-container
) :is(
  salla-cart-summary,
  salla-user-menu,
  a[href*="/cart"],
  a[href*="/login"],
  a[href*="/profile"],
  a[href*="/account"]
) {
  color: #ffffff !important;
  opacity: 1 !important;
}

html.islamoglu-dark :is(
  header,
  .store-header,
  .main-nav-container
) :is(
  salla-cart-summary,
  salla-user-menu,
  a[href*="/cart"],
  a[href*="/login"],
  a[href*="/profile"],
  a[href*="/account"]
) :is(svg, i, [class*="sicon-"]) {
  color: #ffffff !important;
  opacity: 1 !important;
  stroke: currentColor;
  filter: none !important;
}/* ISLAMOGLU - CATEGORIES DARK FIX */

html.islamoglu-dark .igo-category-surface {
  background-color: #14181e !important;
}

html.islamoglu-dark .igo-category-section {
  background-color: #14181e !important;
  color: #f5f6f8 !important;
}

html.islamoglu-dark .igo-category-section
:is(h1, h2, h3, h4) {
  color: #ffffff !important;
}

html.islamoglu-dark .igo-category-section
.s-block__description {
  color: #cbd2dc !important;
}/* ISLAMOGLU - EXACT CATEGORIES FIX */

html.islamoglu-dark
section[component-id="1438790910"] {
  background: #14181e !important;
  color: #f5f6f8 !important;
}

html.islamoglu-dark
section[component-id="1438790910"]
salla-categories-grid-msrl6q {
  display: block;
  background: #14181e !important;
  color: #f5f6f8 !important;
}

html.islamoglu-dark
section[component-id="1438790910"]
.igo-dark-category-surface {
  background-color: #14181e !important;
}

html.islamoglu-dark
section[component-id="1438790910"]
:is(h1, h2, h3, p) {
  color: #f5f6f8 !important;
}/* ISLAMOGLU - MINIMAL THEME TOGGLE */

/* Button appearance */
html button#islamoglu-theme-toggle {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #000000 !important;
  font-size: 0 !important;
  width: 40px !important;
  height: 40px !important;
  padding: 8px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  transition: color 0.25s ease !important;
}

/* Outline moon - Light mode */
html button#islamoglu-theme-toggle::before {
  content: "" !important;
  display: block !important;
  width: 25px !important;
  height: 25px !important;
  flex-shrink: 0;
  background-color: currentColor !important;

  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.985 12.486A9 9 0 0 1 11.514 3.015a9 9 0 1 0 9.47 9.47Z'/%3E%3C/svg%3E") center / contain no-repeat !important;

  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.985 12.486A9 9 0 0 1 11.514 3.015a9 9 0 1 0 9.47 9.47Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

/* White icon - Dark mode */
html.islamoglu-dark button#islamoglu-theme-toggle {
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
}

/* Outline sun - Dark mode */
html.islamoglu-dark
button#islamoglu-theme-toggle::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2 M12 20v2 M4.93 4.93l1.42 1.42 M17.65 17.65l1.42 1.42 M2 12h2 M20 12h2 M6.35 17.65l-1.42 1.42 M19.07 4.93l-1.42 1.42'/%3E%3C/svg%3E") center / contain no-repeat !important;

  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2 M12 20v2 M4.93 4.93l1.42 1.42 M17.65 17.65l1.42 1.42 M2 12h2 M20 12h2 M6.35 17.65l-1.42 1.42 M19.07 4.93l-1.42 1.42'/%3E%3C/svg%3E") center / contain no-repeat !important;
}/* ISLAMOGLU - BLUE CART BUTTON ANIMATION */

.s-product-card-content-footer
.s-button-element.s-button-primary-outline {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  background: transparent !important;
  border: 1.5px solid #229fe5 !important;
  color: #229fe5 !important;
  transition: transform .3s ease,
              box-shadow .3s ease,
              color .3s ease !important;
}

/* Blue filling */
.s-product-card-content-footer
.s-button-element.s-button-primary-outline::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: #229fe5 !important;
  transform: scaleX(0) !important;
  transform-origin: right center !important;
  transition: transform .45s ease !important;
  z-index: -1 !important;
}

@media (hover: hover) {
  .s-product-card-content-footer
  .s-button-element.s-button-primary-outline:hover {
    transform: translateY(-4px) scale(1.035) !important;
    color: white !important;
    box-shadow: 0 8px 20px rgba(34,159,229,.3) !important;
  }

  .s-product-card-content-footer
  .s-button-element.s-button-primary-outline:hover::before {
    transform: scaleX(1) !important;
  }

  .s-product-card-content-footer
  .s-button-element.s-button-primary-outline:hover * {
    color: white !important;
  }
}/* ISLAMOGLU - DARK MODE DROPDOWN FIX */

html.islamoglu-dark .main-menu .sub-menu,
html.islamoglu-dark .main-menu .sub-menu *,
html.islamoglu-dark .main-menu .s-menu-submenu,
html.islamoglu-dark .main-menu .s-menu-submenu *,
html.islamoglu-dark .mm-spn,
html.islamoglu-dark .mm-spn ul,
html.islamoglu-dark .mm-spn li {
  background-color: #1b2027 !important;
  color: #ffffff !important;
}

html.islamoglu-dark .main-menu .sub-menu a:hover,
html.islamoglu-dark .main-menu .s-menu-submenu a:hover,
html.islamoglu-dark .mm-spn a:hover {
  background-color: #303b48 !important;
  color: #ffffff !important;
}/* ISLAMOGLU - MOBILE CART BUTTON ANIMATION */

@media (hover: none) and (pointer: coarse) {

  .s-product-card-content-footer
  .s-button-element.s-button-primary-outline {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
    transition: transform .25s ease,
                box-shadow .25s ease !important;
    -webkit-tap-highlight-color: transparent;
  }

  /* Blue fill on touch */
  .s-product-card-content-footer
  .s-button-element.s-button-primary-outline:active::before {
    transform: scaleX(1) !important;
  }

  /* Pop animation on touch */
  .s-product-card-content-footer
  .s-button-element.s-button-primary-outline:active {
    transform: scale(1.045) !important;
    box-shadow: 0 6px 18px rgba(34,159,229,.35) !important;
    color: #ffffff !important;
  }

  .s-product-card-content-footer
  .s-button-element.s-button-primary-outline:active * {
    color: #ffffff !important;
  }
}/* Islamoglu - Account Avatar */

.s-user-menu-trigger-avatar,
salla-user-menu img[class*="avatar"] {
  width: 46px !important;
  height: 46px !important;
  object-fit: contain !important;
  border-radius: 50% !important;
  background: transparent !important;
}/* Islamoglu - Avatar Dark Mode */

:is(
  html.dark,
  body.dark,
  html.dark-mode,
  body.dark-mode,
  html[data-theme="dark"],
  body[data-theme="dark"]
) .s-user-menu-trigger-avatar {
  background-color: #1f2937 !important;
  border-color: #374151 !important;
}

/* الإطار المحيط بالأفاتار */
:is(
  html.dark,
  body.dark,
  html.dark-mode,
  body.dark-mode,
  html[data-theme="dark"],
  body[data-theme="dark"]
) *:has(> .s-user-menu-trigger-avatar) {
  background-color: #1f2937 !important;
  border-color: #374151 !important;
}/* =================================
   ISLAMOGLU - USER MENU DARK MODE
================================= */

/* إطار الأفاتار */
html.islamoglu-dark .s-user-menu-avatar-wrap {
  background: #1f2937 !important;
  border-color: #374151 !important;
  box-shadow: none !important;
}

/* الصورة داخل الإطار */
html.islamoglu-dark .s-user-menu-trigger-avatar {
  background: transparent !important;
}

/* إزالة الخلفية البيضاء حول الأفاتار */
html.islamoglu-dark .s-user-menu-trigger-slot,
html.islamoglu-dark .s-user-menu-trigger {
  background: transparent !important;
}

/* اسم العميل بجانب الأفاتار */
html.islamoglu-dark .s-user-menu-trigger-hello,
html.islamoglu-dark .s-user-menu-trigger-name {
  color: #f9fafb !important;
}

/* القائمة الرئيسية */
html.islamoglu-dark .s-user-menu-dropdown {
  background: #111827 !important;
  color: #f9fafb !important;
  border: 1px solid #374151 !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.3) !important;
}

/* رأس القائمة */
html.islamoglu-dark .s-user-menu-dropdown-header {
  background: #1f2937 !important;
  color: #ffffff !important;
  border-color: #374151 !important;
}

/* الترحيب واسم العميل */
html.islamoglu-dark .s-user-menu-dropdown-header-content,
html.islamoglu-dark .s-user-menu-dropdown-header-content span,
html.islamoglu-dark .s-user-menu-dropdown-header-content p {
  color: #ffffff !important;
}

/* خلفية قائمة الروابط */
html.islamoglu-dark .s-user-menu-dropdown-list,
html.islamoglu-dark .s-user-menu-dropdown-item {
  background: #111827 !important;
  border-color: #374151 !important;
}

/* روابط القائمة */
html.islamoglu-dark .s-user-menu-dropdown-item-link {
  color: #e5e7eb !important;
  background: transparent !important;
}

/* عناوين الخيارات */
html.islamoglu-dark .s-user-menu-dropdown-item-title {
  color: #e5e7eb !important;
}

/* الأيقونات */
html.islamoglu-dark .s-user-menu-dropdown-item-prefix {
  color: #cbd5e1 !important;
}

html.islamoglu-dark .s-user-menu-dropdown-item-prefix svg {
  fill: currentColor !important;
}

html.islamoglu-dark .s-user-menu-dropdown-item-prefix svg path {
  fill: currentColor !important;
}

/* تأثير المرور على الخيارات */
html.islamoglu-dark .s-user-menu-dropdown-item-link:hover {
  background: #283548 !important;
  color: #ffffff !important;
}

html.islamoglu-dark .s-user-menu-dropdown-item-link:hover
.s-user-menu-dropdown-item-title {
  color: #ffffff !important;
}

/* زر إغلاق القائمة */
html.islamoglu-dark .s-user-menu-dropdown-header-close {
  color: #e5e7eb !important;
  background: transparent !important;
}

html.islamoglu-dark .s-user-menu-dropdown-header-close svg {
  fill: currentColor !important;
}

/* تسجيل الخروج */
html.islamoglu-dark
.s-user-menu-dropdown-item-logout
.s-user-menu-dropdown-item-link,
html.islamoglu-dark
.s-user-menu-dropdown-item-logout
.s-user-menu-dropdown-item-title,
html.islamoglu-dark
.s-user-menu-dropdown-item-logout
.s-user-menu-dropdown-item-prefix {
  color: #f87171 !important;
}

/* تأثير المرور على تسجيل الخروج */
html.islamoglu-dark
.s-user-menu-dropdown-item-logout
.s-user-menu-dropdown-item-link:hover {
  background: rgba(248,113,113,.12) !important;
}/* Islamoglu Loyalty - Dark Mode */

:is(html.islamoglu-dark, body.islamoglu-dark)
.s-loyalty-program-container {
  background: #121212 !important;
  color: #ffffff !important;
}

/* خلفيات أقسام الولاء */
:is(html.islamoglu-dark, body.islamoglu-dark)
.s-loyalty-program-container :is(
  .s-loyalty-program-outline-section,
  .s-loyalty-program-points-wrapper,
  .s-loyalty-program-rewards-container,
  .s-loyalty-program-section,
  .s-loyalty-program-points-section,
  .s-loyalty-program-tabs-hider,
  .s-loyalty-program-hero-footer,
  .s-tabs,
  .s-tabs-header,
  .s-tabs-content-wrapper,
  .s-tabs-content
) {
  background: #121212 !important;
  color: #ffffff !important;
}

/* البطاقات */
:is(html.islamoglu-dark, body.islamoglu-dark)
.s-loyalty-program-container :is(
  .s-loyalty-program-item,
  .s-loyalty-program-content,
  .s-loyalty-program-point-wrapper,
  .s-loyalty-program-profile-container,
  .s-loyalty-program-reward-container,
  .s-loyalty-program-reward-content
) {
  background-color: #202020 !important;
  color: #ffffff !important;
  border-color: #383838 !important;
}

/* العناوين والنصوص الرئيسية */
:is(html.islamoglu-dark, body.islamoglu-dark)
.s-loyalty-program-container :is(
  .s-loyalty-program-main-title,
  .s-loyalty-program-title,
  .s-loyalty-program-profile-label,
  .s-loyalty-program-profile-points,
  .s-loyalty-program-points-title,
  .s-loyalty-program-point-description,
  .s-loyalty-program-rewards-heading-mobile,
  .s-loyalty-program-rewards-heading-desktop,
  .s-loyalty-program-reward-title,
  .s-loyalty-program-rewards-name,
  .s-loyalty-program-rewards-points
) {
  color: #ffffff !important;
}

/* النصوص الثانوية */
:is(html.islamoglu-dark, body.islamoglu-dark)
.s-loyalty-program-container :is(
  .s-loyalty-program-subtitle,
  .s-loyalty-program-description,
  .s-loyalty-program-points-description
) {
  color: #cccccc !important;
}

/* تبويبات المكافآت */
:is(html.islamoglu-dark, body.islamoglu-dark)
.s-loyalty-program-container .s-tabs-header-item {
  background: #252525 !important;
  color: #ffffff !important;
  border-color: #444444 !important;
}

:is(html.islamoglu-dark, body.islamoglu-dark)
.s-loyalty-program-container .s-tabs-active {
  background: #383838 !important;
  color: #ffffff !important;
}

/* شارات النقاط */
:is(html.islamoglu-dark, body.islamoglu-dark)
.s-loyalty-program-container .s-badge-base {
  background: #333333 !important;
  color: #ffffff !important;
}

:is(html.islamoglu-dark, body.islamoglu-dark)
.s-loyalty-program-container .s-badge-base svg {
  fill: currentColor !important;
}

/* أزرار المكافآت */
:is(html.islamoglu-dark, body.islamoglu-dark)
.s-loyalty-program-container
.s-loyalty-program-rewards-action-base {
  background: #353535 !important;
  color: #ffffff !important;
  border-color: #555555 !important;
}

/* روابط كسب النقاط */
:is(html.islamoglu-dark, body.islamoglu-dark)
.s-loyalty-program-container
.s-loyalty-program-points-action {
  color: #d4d4d4 !important;
}

/* الأيقونات */
:is(html.islamoglu-dark, body.islamoglu-dark)
.s-loyalty-program-container
.s-loyalty-program-icon svg {
  fill: #ffffff !important;
}/* =================================
   Islamoglu Loyalty - Dark Fix
   Icons + Reward Popups
================================= */

/* 1. خلفيات أيقونات الخطوات */
:is(html.islamoglu-dark, body.islamoglu-dark)
.s-loyalty-program-container
.s-loyalty-program-icon-container {
  background: #303030 !important;
  border-color: #555 !important;
}

/* 2. أيقونات الخطوات والنقاط */
:is(html.islamoglu-dark, body.islamoglu-dark)
.s-loyalty-program-container :is(
  .s-loyalty-program-icon,
  .s-loyalty-program-rewards-tab-icon,
  .s-loyalty-program-circle-base
) {
  color: #fff !important;
}

:is(html.islamoglu-dark, body.islamoglu-dark)
.s-loyalty-program-container
.s-loyalty-program-circle-base {
  background: #303030 !important;
  border-color: #555 !important;
}

/* 3. لون رسومات الأيقونات */
:is(html.islamoglu-dark, body.islamoglu-dark)
.s-loyalty-program-container :is(
  .s-loyalty-program-icon,
  .s-loyalty-program-rewards-tab-icon,
  .s-loyalty-program-circle-base
) svg path {
  fill: #fff !important;
}

/* 4. أرقام الخطوات */
:is(html.islamoglu-dark, body.islamoglu-dark)
.s-loyalty-program-text-gradient {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* 5. خلفية نافذة المكافأة */
:is(html.islamoglu-dark, body.islamoglu-dark)
salla-modal.s-loyalty-program-modal
.s-modal-body {
  background: #121212 !important;
  color: #fff !important;
}

/* 6. العناصر الداخلية للنافذة */
:is(html.islamoglu-dark, body.islamoglu-dark)
salla-modal.s-loyalty-program-modal :is(
  .s-modal-header,
  .s-loyalty-program-reward-modal,
  .s-loyalty-program-points-modal-header,
  .s-loyalty-program-modal-scrollable-content,
  .s-loyalty-program-reward-details-header,
  .s-loyalty-program-reward-details,
  .s-loyalty-program-reward-details-items-wrapper
) {
  background: #121212 !important;
  color: #fff !important;
}

/* 7. مربعات المعلومات والشروط */
:is(html.islamoglu-dark, body.islamoglu-dark)
salla-modal.s-loyalty-program-modal :is(
  .s-loyalty-program-reward-info-message,
  .s-loyalty-program-terms-and-conditions,
  .s-loyalty-program-exchange-heading,
  .s-loyalty-program-reward-details-categories
) {
  background: #242424 !important;
  color: #fff !important;
  border-color: #444 !important;
}

/* 8. نصوص نافذة المكافآت */
:is(html.islamoglu-dark, body.islamoglu-dark)
salla-modal.s-loyalty-program-modal :is(
  .s-loyalty-program-points-modal-info,
  .s-loyalty-program-reward-info-message-heading,
  .s-loyalty-program-reward-info-message-content,
  .s-loyalty-program-terms-and-conditions-heading,
  .s-loyalty-program-terms-and-conditions-content,
  .s-loyalty-program-reward-details-categories-heading,
  .s-loyalty-program-reward-details-categories-item-content,
  .s-loyalty-program-points-badge-points
) {
  color: #fff !important;
}

/* 9. أزرار داخل النوافذ */
:is(html.islamoglu-dark, body.islamoglu-dark)
salla-modal.s-loyalty-program-modal
.s-loyalty-program-rewards-action-base {
  background: #353535 !important;
  color: #fff !important;
  border-color: #555 !important;
}

/* 10. زر إغلاق النافذة */
:is(html.islamoglu-dark, body.islamoglu-dark)
salla-modal.s-loyalty-program-modal
.s-modal-close {
  color: #fff !important;
}

:is(html.islamoglu-dark, body.islamoglu-dark)
salla-modal.s-loyalty-program-modal
.s-modal-close svg path {
  fill: #fff !important;
}/* Islamoglu Loyalty - Icons & Text Fix */

/* حاويات الأيقونات */
:is(html.islamoglu-dark, body.islamoglu-dark)
.s-loyalty-program-container :is(
  .s-loyalty-program-icon-container,
  .s-loyalty-program-circle-base
) {
  background: #303030 !important;
  border-color: #666 !important;
  color: #fff !important;
}

/* الأيقونات داخل الحاويات */
:is(html.islamoglu-dark, body.islamoglu-dark)
.s-loyalty-program-container :is(
  .s-loyalty-program-icon,
  .s-loyalty-program-circle-base,
  .s-loyalty-program-rewards-tab-icon
) {
  color: #fff !important;
  opacity: 1 !important;
}

/* أيقونات SVG */
:is(html.islamoglu-dark, body.islamoglu-dark)
.s-loyalty-program-container :is(
  .s-loyalty-program-icon,
  .s-loyalty-program-circle-base,
  .s-loyalty-program-rewards-tab-icon
) svg {
  fill: #fff !important;
  color: #fff !important;
  opacity: 1 !important;
}

/* أرقام الخطوات */
:is(html.islamoglu-dark, body.islamoglu-dark)
.s-loyalty-program-container
.s-loyalty-program-text-gradient {
  background: none !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  opacity: 1 !important;
}

/* النصوص والعناوين */
:is(html.islamoglu-dark, body.islamoglu-dark)
.s-loyalty-program-container :is(
  .s-loyalty-program-title,
  .s-loyalty-program-main-title,
  .s-loyalty-program-profile-label,
  .s-loyalty-program-profile-points,
  .s-loyalty-program-point-description,
  .s-loyalty-program-rewards-name,
  .s-loyalty-program-reward-title,
  .s-loyalty-program-rewards-points
) {
  color: #fff !important;
  opacity: 1 !important;
}

/* النصوص الثانوية */
:is(html.islamoglu-dark, body.islamoglu-dark)
.s-loyalty-program-container :is(
  .s-loyalty-program-description,
  .s-loyalty-program-subtitle,
  .s-loyalty-program-points-description
) {
  color: #ddd !important;
  opacity: 1 !important;
}

/* روابط المهام */
:is(html.islamoglu-dark, body.islamoglu-dark)
.s-loyalty-program-container
.s-loyalty-program-points-action {
  color: #f1f1f1 !important;
  opacity: 1 !important;
}

/* نصوص تبويبات المكافآت */
:is(html.islamoglu-dark, body.islamoglu-dark)
.s-loyalty-program-container
.s-tabs-header-item {
  color: #fff !important;
  opacity: 1 !important;
}/* زر إغلاق نافذة المكافأة */
:is(html.islamoglu-dark, body.islamoglu-dark)
salla-modal.s-loyalty-program-modal :is(
  .s-modal-close,
  .s-modal-close-btn,
  .s-modal-close-button,
  button[aria-label="Close"],
  button[aria-label="إغلاق"]
) {
  background: #303030 !important;
  color: #ffffff !important;
  border: 1px solid #555 !important;
  opacity: 1 !important;
}

/* علامة X */
:is(html.islamoglu-dark, body.islamoglu-dark)
salla-modal.s-loyalty-program-modal :is(
  .s-modal-close,
  .s-modal-close-btn,
  .s-modal-close-button
) svg {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
}

/* زر استبدال النقاط */
:is(html.islamoglu-dark, body.islamoglu-dark)
salla-modal.s-loyalty-program-modal :is(
  .s-modal-footer button,
  .s-loyalty-program-rewards-action-base,
  button:disabled
) {
  background: #454545 !important;
  color: #ffffff !important;
  border: 1px solid #666666 !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #ffffff !important;
}/* شارة نقاط المكافأة - الوضع الليلي */

:is(html.islamoglu-dark, body.islamoglu-dark)
salla-modal.s-loyalty-program-modal
.s-badge-base.s-badge-light.s-badge-black {
  background: #353535 !important;
  color: #ffffff !important;
  border: 1px solid #666666 !important;
  opacity: 1 !important;
}

/* رقم النقاط */
:is(html.islamoglu-dark, body.islamoglu-dark)
salla-modal.s-loyalty-program-modal
.s-loyalty-program-points-badge-points,
:is(html.islamoglu-dark, body.islamoglu-dark)
salla-modal.s-loyalty-program-modal
.s-loyalty-program-points-badge-points span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
}

/* أيقونة الهدية */
:is(html.islamoglu-dark, body.islamoglu-dark)
salla-modal.s-loyalty-program-modal
.s-badge-base.s-badge-light.s-badge-black svg {
  fill: #ffffff !important;
  color: #ffffff !important;
}/* أيقونة الطلب من المتجر - الوضع الليلي */

/* خلفية الدائرة */
:is(html.islamoglu-dark, body.islamoglu-dark)
salla-modal.s-loyalty-program-modal
.s-loyalty-program-circle-base.s-loyalty-program-circle-size-xl {
  background: #303030 !important;
  border: 1px solid #666666 !important;
  color: #ffffff !important;
  opacity: 1 !important;
}

/* أيقونة السلة داخل الدائرة */
:is(html.islamoglu-dark, body.islamoglu-dark)
salla-modal.s-loyalty-program-modal
.s-loyalty-program-circle-size-xl
.sicon-add-to-cart,
:is(html.islamoglu-dark, body.islamoglu-dark)
salla-modal.s-loyalty-program-modal
.s-loyalty-program-circle-size-xl
.sicon-add-to-cart::before {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
}/* ===================================
   ISLAMOGLU - PRODUCT DARK MODE
   Gifting + Comments
=================================== */

/* خلفيات الأقسام الرئيسية */
:is(html.islamoglu-dark, body.islamoglu-dark)
:is(
  salla-gifting,
  salla-gifting > div,
  salla-comments,
  .s-comments,
  .s-comments-container,
  .s-comment-form-wrapper,
  .s-comment-form-content,
  .s-comment-form-action,
  salla-reviews-summary
) {
  background: #121212 !important;
  color: #ffffff !important;
}

/* الحاويات المباشرة للقسمين */
:is(html.islamoglu-dark, body.islamoglu-dark)
:where(
  *:has(> salla-gifting),
  *:has(> salla-comments)
) {
  background-color: #121212 !important;
}

/* بطاقة الإهداء */
:is(html.islamoglu-dark, body.islamoglu-dark)
salla-gifting :is(
  .s-gifting-widget,
  .s-list-tile-item,
  .s-list-tile-item-content
) {
  background: #202020 !important;
  color: #ffffff !important;
  border-color: #404040 !important;
}

/* عنوان ووصف الإهداء */
:is(html.islamoglu-dark, body.islamoglu-dark)
salla-gifting :is(
  .s-list-tile-item-title,
  .s-list-tile-item-title h3,
  .s-list-tile-item-subtitle,
  .s-list-tile-item-subtitle div
) {
  color: #ffffff !important;
}

/* أيقونة الإهداء */
:is(html.islamoglu-dark, body.islamoglu-dark)
salla-gifting .s-list-tile-item-icon {
  color: #ffffff !important;
}

/* صندوق كتابة التقييم */
:is(html.islamoglu-dark, body.islamoglu-dark)
salla-comments .s-comment-form-input {
  background: #202020 !important;
  color: #ffffff !important;
  border: 1px solid #484848 !important;
  opacity: 1 !important;
}

/* النص داخل حقل التقييم */
:is(html.islamoglu-dark, body.islamoglu-dark)
salla-comments .s-comment-form-input::placeholder {
  color: #bbbbbb !important;
  opacity: 1 !important;
}

/* حدود قسم التعليقات */
:is(html.islamoglu-dark, body.islamoglu-dark)
salla-comments :is(
  .s-comments-header,
  .s-comments-container
) {
  border-color: #404040 !important;
}