@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap');

/* ================================================================
   CONCLASE — نظام التصميم الكامل والنهائي (تنسيق رائد بدون عنوان)
   نسخة منظّفة نهائياً، بدون أي تكرار — ٩ سبتمبر ٢٠٢٦
   ================================================================ */

:root {
  --c-bg:            #FBEFF5;
  --c-bg-soft:       #F6E0EC;
  --c-card:          #FCEEF5;
  --c-text:          #3D0F26;
  --c-text-soft:     #8A5470;
  --c-line:          #E9BFD4;

  --c-accent:        #9E2362;
  --c-accent-dark:   #7C1A4E;
  --c-accent-light:  #CD327F;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-full: 999px;

  --shadow-sm: 0 2px 8px rgba(61,15,38,0.08);
  --shadow-md: 0 10px 28px rgba(61,15,38,0.14);
  --shadow-lg: 0 20px 48px rgba(61,15,38,0.20);

  --ease: cubic-bezier(.22,.9,.37,1);
  --dur: .25s;

  --theme-primary-color: #9E2362 !important;
}

/* بطاقة تعريف المتجر: بعد آراء العملاء وقبل الفوتر */
main#main-content > section[data-testid="store-home-testimonials"] {
  position: relative !important;
  isolation: isolate !important;
  overflow: visible !important;
  padding-bottom: 390px !important;
}
main#main-content > section[data-testid="store-home-testimonials"]::after {
  content: "نؤمن بأن المرأة تستحق أن تشعر بالثقة والجمال في كل لحظة.\A لذلك نقدم مجموعة مختارة بعناية من العبايات الفاخرة." !important;
  position: absolute !important;
  z-index: 1 !important;
  right: 50% !important;
  bottom: 34px !important;
  width: min(860px, calc(100% - 36px)) !important;
  min-height: 310px !important;
  box-sizing: border-box !important;
  padding: 190px 46px 42px !important;
  transform: translateX(50%) !important;
  border-radius: 38px !important;
  background: #ffffff !important;
  color: var(--c-accent) !important;
  direction: rtl !important;
  text-align: center !important;
  white-space: pre-line !important;
  font-family: "Tajawal", sans-serif !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1.9 !important;
  box-shadow: 0 18px 45px rgb(100 22 70 / 8%) !important;
}
main#main-content > section[data-testid="store-home-testimonials"]::before {
  content: "" !important;
  position: absolute !important;
  z-index: 2 !important;
  right: 50% !important;
  bottom: 202px !important;
  width: 260px !important;
  height: 120px !important;
  transform: translateX(50%) !important;
  background: url("https://cdn.files.salla.network/other/354781393/3e1f8127-4b58-4383-adf7-0cfa5bfdd93f-original.webp") center / contain no-repeat !important;
  filter: brightness(0) saturate(100%) invert(23%) sepia(56%) saturate(2650%) hue-rotate(291deg) brightness(86%) contrast(94%) !important;
}
main#main-content > section[data-testid="store-home-testimonials"] > salla-reviews::after {
  content: none !important;
  display: none !important;
}

/* نبذة المتجر أصبحت في البطاقة أعلاه؛ يبقى الفوتر للروابط والتواصل فقط */
footer.store-footer .store-footer__inner > .container > div:first-child > a,
footer.store-footer .store-footer__inner > .container > div:first-child > .max-w-sm {
  display: none !important;
}
footer.store-footer .store-footer__inner > .container {
  grid-template-columns: repeat(3, minmax(170px, 260px)) !important;
  justify-content: center !important;
  justify-items: center !important;
  text-align: center !important;
}
footer.store-footer .store-footer__inner > .container > div,
footer.store-footer .store-footer__inner > .container salla-apps-icons {
  grid-column: auto / span 1 !important;
  text-align: center !important;
}
footer.store-footer .store-footer__inner > .container salla-social,
footer.store-footer .store-footer__inner > .container salla-contacts,
footer.store-footer .store-footer__inner > .container salla-menu,
footer.store-footer .store-footer__inner > .container salla-apps-icons {
  margin-right: auto !important;
  margin-left: auto !important;
}

@media only screen and (max-width: 768px) {
  main#main-content > section[data-testid="store-home-testimonials"] {
    padding-bottom: 300px !important;
  }
  main#main-content > section[data-testid="store-home-testimonials"]::after {
    bottom: 18px !important;
    width: calc(100% - 28px) !important;
    min-height: 242px !important;
    padding: 142px 24px 25px !important;
    border-radius: 26px !important;
    font-size: 14px !important;
    line-height: 1.75 !important;
  }
  main#main-content > section[data-testid="store-home-testimonials"]::before {
    bottom: 160px !important;
    width: 190px !important;
    height: 78px !important;
  }
  main#main-content > section[data-testid="store-home-testimonials"] > salla-reviews::after {
    content: none !important;
    display: none !important;
  }
  footer.store-footer .store-footer__inner > .container {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }
}

/* ================================================================
   إصلاح فوري: إلغاء تجربة العنوان الخارجي وإبقاء البنر مستقراً
   ================================================================ */
section[data-testid="store-home-parallax-banner"] {
  overflow: hidden !important;
  margin-bottom: 0 !important;
}

section[data-testid="store-home-parallax-banner"] .full-banner-entry,
section[data-testid="store-home-parallax-banner"] .swiper {
  overflow: hidden !important;
}

section[data-testid="store-home-parallax-banner"] .overlay::before,
section[data-testid="store-home-parallax-banner"] .full-banner-entry::after {
  content: none !important;
  display: none !important;
}

section[data-testid="store-home-parallax-banner"] .overlay::after {
  content: "—  ABAYA BY REEF  —" !important;
  top: 72% !important;
  right: auto !important;
  left: 4% !important;
  width: 28% !important;
  height: auto !important;
  transform: none !important;
  background: none !important;
  filter: none !important;
  direction: ltr !important;
  text-align: center !important;
  font-family: "Tajawal", sans-serif !important;
  font-weight: 500 !important;
  font-size: clamp(10px, 1.05vw, 15px) !important;
  letter-spacing: 2px !important;
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

/* زر بانر الصفحة الرئيسية: يظهر عند إضافة عنوان الرابط والرابط من إعدادات البانر */
section[data-testid="store-home-parallax-banner"] .full-banner-entry a.s-button-btn,
section[data-testid="store-home-parallax-banner"] .full-banner-entry a.banner-link,
section[data-testid="store-home-parallax-banner"] .full-banner-entry a.banner-btn {
  position: absolute !important;
  z-index: 30 !important;
  top: 78% !important;
  right: auto !important;
  left: 4% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  min-height: 44px !important;
  padding: 0 22px !important;
  border: 1px solid rgba(255, 255, 255, 0.92) !important;
  border-radius: 999px !important;
  background: #9E2362 !important;
  color: #ffffff !important;
  font-family: "Tajawal", sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(68, 8, 38, 0.28) !important;
  pointer-events: auto !important;
  transition: transform .2s ease, background-color .2s ease !important;
}
section[data-testid="store-home-parallax-banner"] .full-banner-entry a.s-button-btn::after,
section[data-testid="store-home-parallax-banner"] .full-banner-entry a.banner-link::after,
section[data-testid="store-home-parallax-banner"] .full-banner-entry a.banner-btn::after {
  content: "←" !important;
  font-size: 19px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
}
section[data-testid="store-home-parallax-banner"] .full-banner-entry a.s-button-btn:hover,
section[data-testid="store-home-parallax-banner"] .full-banner-entry a.banner-link:hover,
section[data-testid="store-home-parallax-banner"] .full-banner-entry a.banner-btn:hover {
  background: #82194f !important;
  transform: translateY(-2px) !important;
}

/* زر الرابط الفعلي في هذا البانر (ليس له كلاس ثابت في القالب) */
section[data-testid="store-home-parallax-banner"] .full-banner-entry a[href]:not(:has(img)) {
  position: absolute !important;
  z-index: 30 !important;
  top: 80% !important;
  right: auto !important;
  left: 13.2% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  min-height: 44px !important;
  padding: 0 22px !important;
  border: 1px solid #ffffff !important;
  border-radius: 999px !important;
  background: #9E2362 !important;
  color: #ffffff !important;
  font-family: "Tajawal", sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(68, 8, 38, 0.28) !important;
  pointer-events: auto !important;
  transform: none !important;
}
section[data-testid="store-home-parallax-banner"] .full-banner-entry a[href]:not(:has(img))::after {
  content: "←" !important;
  color: #ffffff !important;
  font-size: 19px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
}
section[data-testid="store-home-parallax-banner"] .full-banner-entry a[href]:not(:has(img)):hover {
  background: #82194f !important;
  transform: translateY(-2px) !important;
}
@media only screen and (max-width: 768px) {
  section[data-testid="store-home-parallax-banner"] .full-banner-entry a.s-button-btn,
  section[data-testid="store-home-parallax-banner"] .full-banner-entry a.banner-link,
  section[data-testid="store-home-parallax-banner"] .full-banner-entry a.banner-btn {
    top: 69% !important;
    left: 4% !important;
    min-height: 36px !important;
    padding: 0 15px !important;
    gap: 7px !important;
    font-size: 12px !important;
  }
  section[data-testid="store-home-parallax-banner"] .full-banner-entry a.s-button-btn::after,
  section[data-testid="store-home-parallax-banner"] .full-banner-entry a.banner-link::after,
  section[data-testid="store-home-parallax-banner"] .full-banner-entry a.banner-btn::after {
    font-size: 15px !important;
  }

  section[data-testid="store-home-parallax-banner"] .full-banner-entry a[href]:not(:has(img)) {
    top: 71% !important;
    left: 12% !important;
    min-height: 36px !important;
    padding: 0 15px !important;
    gap: 7px !important;
    font-size: 12px !important;
  }
  section[data-testid="store-home-parallax-banner"] .full-banner-entry a[href]:not(:has(img))::after {
    font-size: 15px !important;
  }
}

/* ترتيب شاشة الجوال: مقدمة المنتجات تبقى ثلاث طبقات واضحة بلا تداخل */
@media only screen and (max-width: 768px) {
  main#main-content > #best-offers-1-slider::before {
    width: 26px !important;
    height: 26px !important;
    margin-top: 26px !important;
    margin-bottom: 7px !important;
  }
  main#main-content > #best-offers-1-slider > salla-products-slider::before {
    font-size: 21px !important;
    line-height: 1.35 !important;
    margin-bottom: 0 !important;
  }
  main#main-content > #best-offers-1-slider > salla-products-slider::after {
    top: 35px !important;
    padding: 0 16px !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    white-space: normal !important;
  }
  main#main-content > #best-offers-1-slider > salla-products-slider h2 {
    margin-top: 24px !important;
  }
}

@media only screen and (max-width: 768px) {
  section[data-testid="store-home-parallax-banner"] {
    margin-bottom: 0 !important;
  }

  section[data-testid="store-home-parallax-banner"] .overlay::after {
    top: 61% !important;
    right: auto !important;
    left: 4% !important;
    width: 48% !important;
    height: auto !important;
    font-size: 10px !important;
    letter-spacing: 1px !important;
  }
}

/* النسخة النهائية: قالب سلة يضع أول سلايدر بالمعرّف best-offers-1-slider.
   لا نعتمد على ترتيب العناصر لأن بعض أقسام القالب المخفية تغيّر nth-child. */
main#main-content > section[data-testid="store-home-products-slider"]::before,
main#main-content > section[data-testid="store-home-products-slider"] > salla-products-slider::before,
main#main-content > section[data-testid="store-home-products-slider"] > salla-products-slider::after {
  content: none !important;
  display: none !important;
}

main#main-content > #best-offers-1-slider::before {
  content: "" !important;
  display: block !important;
  width: 34px !important;
  height: 34px !important;
  margin: 38px auto 10px !important;
  background: url("https://cdn.files.salla.network/other/354781393/10b1bede-25b2-4781-98f9-0edbbd89870b-original.webp") center / contain no-repeat !important;
  filter: brightness(0) saturate(100%) invert(18%) sepia(68%) saturate(2681%) hue-rotate(294deg) brightness(84%) contrast(92%) !important;
}

main#main-content > #best-offers-1-slider > salla-products-slider::before {
  content: "منتجات كون كلاسية" !important;
  display: block !important;
  margin: 0 auto 4px !important;
  direction: rtl !important;
  text-align: center !important;
  font-family: "Tajawal", sans-serif !important;
  font-weight: 800 !important;
  font-size: clamp(22px, 2vw, 32px) !important;
  line-height: 1.35 !important;
  color: var(--c-accent) !important;
}

main#main-content > #best-offers-1-slider > salla-products-slider::after {
  content: "تصاميم مختارة بعناية تناسب ذوقك" !important;
  display: block !important;
  margin: 0 auto 22px !important;
  direction: rtl !important;
  text-align: center !important;
  font-family: "Tajawal", sans-serif !important;
  font-weight: 500 !important;
  font-size: clamp(13px, 1.1vw, 16px) !important;
  line-height: 1.5 !important;
  color: var(--c-text-soft) !important;
}

@media only screen and (max-width: 768px) {
  main#main-content > #best-offers-1-slider::before {
    width: 28px !important;
    height: 28px !important;
    margin-top: 28px !important;
    margin-bottom: 8px !important;
  }
  main#main-content > #best-offers-1-slider > salla-products-slider::before { font-size: 22px !important; }
  main#main-content > #best-offers-1-slider > salla-products-slider::after {
    margin-bottom: 18px !important;
    font-size: 13px !important;
  }
}

/* الوصف جزء من المقدمة؛ لا نتركه يتدفق أسفل بطاقات المنتجات */
main#main-content > #best-offers-1-slider > salla-products-slider {
  position: relative !important;
}
main#main-content > #best-offers-1-slider > salla-products-slider::after {
  position: absolute !important;
  z-index: 2 !important;
  top: 52px !important;
  right: 0 !important;
  left: 0 !important;
  width: 100% !important;
  pointer-events: none !important;
}
@media only screen and (max-width: 768px) {
  main#main-content > #best-offers-1-slider > salla-products-slider::after {
    top: 46px !important;
  }
}

/* اجعل الوصف تحت العنوان نفسه، لا بعد بطاقات المنتجات */
main#main-content > #best-offers-1-slider > salla-products-slider {
  position: relative !important;
}
main#main-content > #best-offers-1-slider > salla-products-slider::after {
  position: absolute !important;
  z-index: 2 !important;
  top: 52px !important;
  right: 0 !important;
  left: 0 !important;
  width: 100% !important;
  pointer-events: none !important;
}
@media only screen and (max-width: 768px) {
  main#main-content > #best-offers-1-slider > salla-products-slider::after {
    top: 46px !important;
  }
}

html, body {
  background-color: var(--c-bg) !important;
}

section, .section, main, .page-content,
.container, .container-fluid {
  background-color: transparent !important;
}
section { background-color: var(--c-bg) !important; }

.bg-white, .bg-gray-50, .bg-gray-100, .bg-slate-50 {
  background-color: var(--c-card) !important;
}

body, p, span, li { color: var(--c-text); }
h1, h2, h3, h4, h5, h6 { color: var(--c-text); font-weight: 700; }
a { color: var(--c-text); transition: color var(--dur) var(--ease); }
a:hover { color: var(--c-accent); }

/* ================================================================
   الهيدر
   ================================================================ */
.store-header,
.store-header .top-navbar,
.store-header #mainnav,
.store-header .bg-white {
  background-color: var(--c-accent) !important;
  border-bottom: none !important;
}

.store-header img,
.store-header .navbar-brand img {
  filter: brightness(0) invert(1) !important;
}

.store-header,
.store-header * {
  color: #ffffff !important;
}

.store-header svg {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
}

.store-header .cart-count,
.store-header .badge-count {
  background-color: #ffffff !important;
  color: var(--c-accent) !important;
}

.store-header .search-input,
.store-header input[type="search"] {
  background-color: #ffffff !important;
  color: var(--c-text) !important;
  border: none !important;
}
.store-header .search-input::placeholder,
.store-header input[type="search"]::placeholder {
  color: var(--c-text-soft) !important;
}

/* أيقونة الحساب بالهيدر — نسخة نهائية موحّدة (خلفية شفافة، أيقونة/صورة تظهر بوضوح) */
.store-header .s-user-menu-avatar-wrap {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  background: transparent !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.store-header .s-user-menu-avatar-wrap svg {
  color: var(--c-accent) !important;
  fill: var(--c-accent) !important;
  stroke: var(--c-accent) !important;
}
.store-header .s-user-menu-avatar-wrap img,
.store-header .s-user-menu-trigger-avatar,
.store-header salla-user-menu img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  filter: none !important;
}

.main-nav-container .main-menu,
.main-nav-container .main-menu li,
.main-nav-container .main-menu a {
  color: #ffffff !important;
  background-color: transparent !important;
}
.main-nav-container .main-menu a {
  position: relative;
  font-weight: 500;
  white-space: nowrap;
}
.main-nav-container .main-menu a::after {
  content: "";
  position: absolute; right: 0; bottom: -4px;
  width: 0; height: 2px;
  background: #ffffff;
  transition: width var(--dur) var(--ease);
}
.main-nav-container .main-menu a:hover::after { width: 100%; }
.main-nav-container .main-menu a:hover { color: #F0D2E3 !important; }

li#offers { display: none !important; }

.s-advertisement { background-color: var(--c-accent-dark) !important; }
.s-advertisement, .s-advertisement * { color: #ffffff !important; }

.store-header .top-navbar { display: none !important; }

#mobile-menu { background: var(--c-accent) !important; }
#mobile-menu, #mobile-menu * { color: #ffffff !important; }
#mobile-menu .main-menu li { border-bottom: 1px solid rgba(255,255,255,0.15) !important; }

.mm-ocd__content:has(.mm-spn--open) {
  height: auto !important;
  min-height: 100vh !important;
  overflow-y: auto !important;
}

@media (min-width: 992px) {
  .store-header .navbar-brand { max-width: 140px; }
}
@media (max-width: 768px) {
  .store-header .navbar-brand { max-width: 110px !important; }
  .store-header .navbar-brand img,
  .store-header .mobile-logo img { max-width: 110px !important; height: auto !important; }
}

/* ================================================================
   الأزرار
   ================================================================ */
.btn, button[type="submit"], .btn-primary,
.add-to-cart, salla-add-product-button {
  background-color: var(--c-accent) !important;
  color: #ffffff !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: var(--r-full) !important;
  padding-inline: 28px;
  font-weight: 600;
  transition: background-color 0.2s ease !important;
}
.btn *, .add-to-cart *, salla-add-product-button * {
  color: #ffffff !important;
}
.btn:hover, .add-to-cart:hover, salla-add-product-button:hover {
  background-color: var(--c-accent-dark) !important;
  transform: none !important;
  box-shadow: none !important;
}

.btn-outline, .btn-outline-primary {
  background-color: transparent !important;
  border: 1.5px solid var(--c-accent) !important;
  color: var(--c-accent) !important;
  border-radius: var(--r-full) !important;
}
.btn-outline:hover { background-color: var(--c-accent) !important; color: #fff !important; }

salla-add-product-button {
  --btn-bg: var(--c-accent) !important;
  --button-bg: var(--c-accent) !important;
}
salla-add-product-button::part(button),
salla-add-product-button::part(base),
salla-add-product-button::part(container) {
  background-color: var(--c-accent) !important;
  color: #ffffff !important;
  border: none !important;
}
salla-add-product-button:hover::part(button),
salla-add-product-button:hover::part(base) {
  background-color: var(--c-accent-dark) !important;
}

.s-button-element,
.s-button-btn,
.s-button-primary-outline {
  background-color: var(--c-accent) !important;
  color: #ffffff !important;
  border-color: var(--c-accent) !important;
}
.s-button-element:hover,
.s-button-primary-outline:hover {
  background-color: var(--c-accent-dark) !important;
}

/* ================================================================
   بطاقات المنتجات
   ================================================================ */
.product-card, .card-product {
  background-color: var(--c-card) !important;
  border: 1px solid var(--c-line) !important;
  border-radius: var(--r-lg) !important;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.product-card:hover, .card-product:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.product-card .image, .card-product .image,
.product-card picture, .card-product picture {
  background-color: var(--c-card) !important;
}
.product-card img, .card-product img { transition: transform .5s var(--ease); }
.product-card:hover img { transform: scale(1.06); }
.product-card .price, .card-product .price, .product-price {
  color: var(--c-accent-dark) !important;
  font-weight: 700;
}

.badge-sale, .sale-badge, .new-badge {
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-light)) !important;
  color: #fff !important;
  border-radius: var(--r-full);
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
}

salla-rating-stars, .rating-stars, .stars { color: var(--c-accent-light) !important; }
salla-rating-stars::part(star-filled), salla-rating-stars::part(icon) {
  color: var(--c-accent-light) !important;
  fill: var(--c-accent-light) !important;
}

/* ================================================================
   قلوب الأمنيات داخل بطاقات المنتجات — نسخة نهائية موحّدة
   ================================================================ */
salla-wishlist-button,
button[data-testid*="wishlist"],
.product-card [class*="wishlist"],
.card-product [class*="wishlist"],
.product-card .favorite-icon,
.card-product .favorite-icon,
salla-button.s-product-card-wishlist-btn,
button.s-product-card-wishlist-btn {
  --color: var(--c-accent) !important;
  --icon-color: var(--c-accent) !important;
  background-color: #ffffff !important;
  border: 1px solid var(--c-line) !important;
  color: var(--c-accent) !important;
  opacity: 1 !important;
}

salla-wishlist-button svg,
button[data-testid*="wishlist"] svg,
.product-card [class*="wishlist"] svg,
.card-product [class*="wishlist"] svg,
.product-card .favorite-icon svg,
.card-product .favorite-icon svg,
button.s-product-card-wishlist-btn .sicon-heart,
button.s-product-card-wishlist-btn .sicon-heart::before,
button.s-product-card-wishlist-btn .s-button-text {
  display: block !important;
  color: var(--c-accent) !important;
  fill: var(--c-accent) !important;
  stroke: var(--c-accent) !important;
  opacity: 1 !important;
}

salla-wishlist-button svg *,
button[data-testid*="wishlist"] svg *,
.product-card [class*="wishlist"] svg *,
.card-product [class*="wishlist"] svg *,
.product-card .favorite-icon svg *,
.card-product .favorite-icon svg * {
  fill: var(--c-accent) !important;
  stroke: var(--c-accent) !important;
  opacity: 1 !important;
}

/* القلب بعد إضافة المنتج للأمنيات (حالة نشِطة) */
salla-wishlist-button[active] svg,
salla-wishlist-button.active svg,
.product-card [class*="wishlist"].active svg,
.card-product [class*="wishlist"].active svg {
  fill: var(--c-accent) !important;
}

/* عند تمرير المؤشر على زر القلب فوق صورة المنتج */
button.s-product-card-wishlist-btn:hover {
  background-color: var(--c-accent) !important;
  border-color: var(--c-accent) !important;
}
button.s-product-card-wishlist-btn:hover .s-button-text,
button.s-product-card-wishlist-btn:hover .sicon-heart,
button.s-product-card-wishlist-btn:hover .sicon-heart::before {
  color: #ffffff !important;
}

/* ================================================================
   أسهم السلايدر — نسخة نهائية موحّدة (دائرة فوشية وسهم أبيض)
   ================================================================ */
.swiper-button-next,
.swiper-button-prev,
[class*="swiper-button"],
[class*="slider"] [class*="arrow"],
[class*="carousel"] [class*="arrow"] {
  width: 42px !important;
  height: 42px !important;
  background: var(--c-accent) !important;
  border: 1px solid var(--c-accent) !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  opacity: 1 !important;
}
.swiper-button-next *,
.swiper-button-prev *,
[class*="swiper-button"] *,
[class*="slider"] [class*="arrow"] *,
[class*="carousel"] [class*="arrow"] * {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
  opacity: 1 !important;
}

/* ================================================================
   آراء العملاء
   ================================================================ */
.testimonial, .review-card, .customer-review {
  background-color: var(--c-card) !important;
  border: 1px solid var(--c-line) !important;
  border-radius: var(--r-lg) !important;
  box-shadow: var(--shadow-sm) !important;
  padding: 32px !important;
}
.testimonial .quote-icon, .review-card .quote-icon,
svg[class*="quote"],
[data-testid*="testimonial"] svg {
  color: var(--c-accent) !important;
  fill: var(--c-accent) !important;
}
.testimonial .avatar, .review-card .avatar {
  background-color: var(--c-card) !important;
  border: 3px solid var(--c-accent-light);
  border-radius: var(--r-full);
}

/* ================================================================
   بطاقات خصائص المتجر
   ================================================================ */
.store-features .item, .features-section .item,
.feature-card, .s-block-store-features .item {
  background-color: var(--c-card) !important;
  border: 1px solid var(--c-line) !important;
  border-radius: var(--r-lg) !important;
  padding: 36px 24px !important;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.store-features .item:hover, .feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.store-features .item .icon, .feature-card .icon {
  color: #fff !important;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-light)) !important;
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-full);
  margin-inline: auto;
}
.store-features svg,
.feature-card svg,
[class*="s-block-store-features"] svg,
[data-testid*="feature"] svg {
  color: #ffffff !important;
  fill: #ffffff !important;
}

section[data-testid="store-home-features"] .grid {
  gap: 32px !important;
}
section[data-testid="store-home-features"] {
  margin-bottom: 100px !important;
}

@media (max-width: 768px) {
  .store-features .item, .feature-card { padding: 24px 18px !important; }
}

/* ================================================================
   الفوتر
   ================================================================ */
footer, .footer,
.store-footer, [data-testid="store-footer"],
.store-footer__inner {
  background-color: var(--c-accent) !important;
  border-top: none !important;
  position: relative !important;
  overflow: visible !important;
  border-radius: 0 !important;
  clip-path: none !important;
  padding-top: 55px !important;
  padding-bottom: 55px !important;
  margin-top: 0 !important;
}

footer::before, .footer::before,
.store-footer::before, [data-testid="store-footer"]::before {
  content: "" !important;
  position: absolute !important;
  top: -70px !important;
  right: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 71px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0 70 Q720 0 1440 70 Z' fill='%239E2362'/%3E%3C/svg%3E") !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  pointer-events: none !important;
  z-index: 0 !important;
}
footer::after, .footer::after,
.store-footer::after, [data-testid="store-footer"]::after {
  content: none !important;
}
footer > *, .footer > *,
.store-footer > *, [data-testid="store-footer"] > * {
  position: relative !important;
  z-index: 1 !important;
}

.store-footer *:not(svg):not(path):not(img):not(a),
footer *:not(svg):not(path):not(img):not(a) {
  color: #ffffff !important;
  opacity: 1 !important;
}
.store-footer a, footer a, .footer a { color: #ffffff !important; opacity: 1 !important; }
.store-footer a:hover, footer a:hover { color: #F0D2E3 !important; }

footer .social-icons a, .footer .social-icons a {
  background: rgba(255,255,255,0.12);
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-full);
  transition: all var(--dur) var(--ease);
}
.store-footer img, .store-footer svg,
footer img, footer svg,
salla-apps-icons, salla-apps-icons * {
  background: transparent !important;
}
footer .social-icons a:hover {
  background: #ffffff;
  color: var(--c-accent-dark) !important;
  transform: translateY(-3px);
}
footer .footer-bottom, .footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 24px;
  padding: 16px 0;
}

@media (max-width: 768px) {
  footer, .footer, .store-footer, [data-testid="store-footer"] {
    padding-top: 35px !important;
  }
  footer::before, .footer::before,
  .store-footer::before, [data-testid="store-footer"]::before {
    top: -40px !important;
    height: 41px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40 Q720 0 1440 40 Z' fill='%239E2362'/%3E%3C/svg%3E") !important;
  }
}

/* ================================================================
   حركة الدخول التدريجية أثناء التمرير (Scroll Reveal)
   ================================================================ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   مسافة بين قسم آراء العملاء وقوس الفوتر — تشمل كل الصفحات
   ================================================================ */
section[data-testid*="testimonials"] {
  margin-bottom: 100px !important;
}

/* ================================================================
   صفحة السلة — تطبيق الهوية على عناصرها الخاصة
   ================================================================ */
.cart-item select,
.cart-item .s-form-control,
[class*="cart"] select,
[class*="cart"] .s-form-control {
  border-color: var(--c-line) !important;
  color: var(--c-text) !important;
}

.coupon-input, [class*="coupon"] input {
  border-color: var(--c-line) !important;
}
.coupon-input + button, [class*="coupon"] button {
  background-color: var(--c-accent) !important;
  color: #ffffff !important;
}

[data-testid="cart-summary"], .cart-summary {
  background-color: var(--c-card) !important;
  border: 1px solid var(--c-line) !important;
  border-radius: var(--r-lg) !important;
}

salla-gifting button,
salla-gifting salla-button,
[data-testid="store-cart-gifting"] button,
.coupon-input + button,
[class*="coupon"] button,
[data-testid="cart-summary"] button[type="submit"],
.cart-summary button[type="submit"] {
  color: #ffffff !important;
}
salla-gifting button *,
salla-gifting salla-button *,
[data-testid="store-cart-gifting"] button *,
.coupon-input + button *,
[class*="coupon"] button *,
[data-testid="cart-summary"] button[type="submit"] *,
.cart-summary button[type="submit"] * {
  color: #ffffff !important;
  fill: #ffffff !important;
}

[data-testid="cart-summary"] a,
.cart-summary a,
[data-testid="cart-summary"] salla-button,
.cart-summary salla-button,
[data-testid="cart-summary"] .btn,
.cart-summary .btn {
  color: #ffffff !important;
}
[data-testid="cart-summary"] a *,
.cart-summary a *,
[data-testid="cart-summary"] salla-button *,
.cart-summary salla-button *,
[data-testid="cart-summary"] .btn *,
.cart-summary .btn * {
  color: #ffffff !important;
}

/* ضمان بياض نص أي زر بكلاس s-button-element (يشمل زر إتمام الطلب) */
.s-button-element,
.s-button-element * {
  color: #ffffff !important;
}

/* ================================================================
   قائمة الحساب المنسدلة — تطبيق الهوية (خلفية فوشي)
   ================================================================ */
salla-user-menu,
.s-user-menu-dropdown,
.s-user-menu-content,
[class*="user-menu"] [class*="dropdown"],
[class*="user-menu"] [class*="menu"],
[class*="account-menu"] {
  background-color: var(--c-accent) !important;
  color: #ffffff !important;
  border-radius: var(--r-md) !important;
}
salla-user-menu *,
.s-user-menu-dropdown *,
.s-user-menu-content *,
[class*="user-menu"] [class*="dropdown"] *,
[class*="account-menu"] * {
  color: #ffffff !important;
}
salla-user-menu a:hover,
.s-user-menu-dropdown a:hover,
[class*="user-menu"] [class*="dropdown"] a:hover {
  color: #F0D2E3 !important;
}
salla-user-menu > div,
.s-user-menu-dropdown > div,
.s-user-menu-content > div,
[class*="user-menu"] > div,
[class*="account-menu"] > div {
  background-color: var(--c-accent) !important;
}
nav[aria-label="Sidebar"] {
  background-color: var(--c-accent) !important;
}

/* ================================================================
   نافذة تسجيل الدخول — تطبيق الهوية
   ================================================================ */
salla-login-modal,
[class*="login-modal"],
[class*="auth-modal"],
.s-modal-content:has([class*="login"]) {
  background-color: var(--c-accent) !important;
}
salla-login-modal *,
[class*="login-modal"] *,
[class*="auth-modal"] * {
  color: #ffffff !important;
}
salla-login-modal input,
[class*="login-modal"] input {
  background-color: #ffffff !important;
  color: var(--c-text) !important;
}
salla-login-modal button[type="submit"],
[class*="login-modal"] button[type="submit"] {
  background-color: #ffffff !important;
  color: var(--c-accent) !important;
}

/* ================================================================
   إخفاء طبقة التعتيم الافتراضية فوق بانر الصفحة الرئيسية
   ================================================================ */
section[data-testid="store-home-parallax-banner"] .overlay {
  background-color: transparent !important;
  opacity: 0 !important;
  display: none !important;
}
/* حجز مساحة الصور قبل التحميل — يمنع قفزة الصفحة (CLS) */
.product-card img,
.card-product img,
[data-testid*="product"] img,
.s-product-card-image img {
  aspect-ratio: 3 / 4;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* حاويات الصور نفسها تحجز نفس النسبة حتى قبل تحميل الصورة */
.product-card .image-wrapper,
.card-product .image-wrapper,
[data-testid*="product"] .image,
.s-product-card-image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  display: block;
}

/* البانرات وصور الهيدر الرئيسية — نسبة أعرض */
.s-block-slider img,
.hero-banner img,
[data-testid*="banner"] img {
  aspect-ratio: 16 / 7;
  width: 100%;
  height: auto;
  object-fit: cover;
}
@media (max-width: 768px) {
  .hero-banner img,
  .s-block-slider img,
  [data-testid*="banner"] img {
    object-position: left center !important;
  }
}
/* ================================================================
   بنر الصفحة الرئيسية — نص متجاوب فوق الصورة
   ================================================================ */
section[data-testid="store-home-parallax-banner"] {
  position: relative !important;
  isolation: isolate !important;
  overflow: visible !important;
  margin-bottom: 180px !important;
}

/* ================================================================
   إطار البانر — عرض محدود وحواف دائرية مثل أسلوب عذاري
   ================================================================ */
@media (min-width: 769px) {
  section[data-testid="store-home-parallax-banner"] {
    width: 80% !important;
    max-width: 1600px !important;
    margin-top: 14px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    border-radius: clamp(32px, 3vw, 52px) !important;
  }
}

section[data-testid="store-home-parallax-banner"] img,
section[data-testid="store-home-parallax-banner"] picture,
section[data-testid="store-home-parallax-banner"] .swiper,
section[data-testid="store-home-parallax-banner"] .swiper-wrapper,
section[data-testid="store-home-parallax-banner"] .swiper-slide,
section[data-testid="store-home-parallax-banner"] .full-banner-entry {
  border-radius: inherit !important;
}

section[data-testid="store-home-parallax-banner"] .full-banner-entry,
section[data-testid="store-home-parallax-banner"] .swiper {
  overflow: visible !important;
}

section[data-testid="store-home-parallax-banner"] .full-banner-entry {
  position: relative !important;
}

/* العنوان الرئيسي */
section[data-testid="store-home-parallax-banner"]::before {
  content: "أناقة عصرية\Aبتفاصيل مميزة" !important;
  position: absolute !important;
  z-index: 10 !important;
  top: 29% !important;
  left: 4% !important;
  width: 28% !important;
  white-space: pre-line !important;
  direction: rtl !important;
  text-align: center !important;
  font-family: "Tajawal", sans-serif !important;
  font-weight: 800 !important;
  font-size: clamp(25px, 3vw, 52px) !important;
  line-height: 1.4 !important;
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28) !important;
  pointer-events: none !important;
}

/* وصف المجموعة */
section[data-testid="store-home-parallax-banner"]::after {
  content: "مجموعة مختارة من العبايات الفاخرة\Aلإطلالة تجمع بين الأصالة والحداثة" !important;
  position: absolute !important;
  z-index: 10 !important;
  top: 57% !important;
  left: 4% !important;
  width: 28% !important;
  white-space: pre-line !important;
  direction: rtl !important;
  text-align: center !important;
  font-family: "Tajawal", sans-serif !important;
  font-weight: 500 !important;
  font-size: clamp(12px, 1.2vw, 18px) !important;
  line-height: 1.6 !important;
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
  pointer-events: none !important;
}

/* اسم المجموعة */
section[data-testid="store-home-parallax-banner"] .overlay {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  background: transparent !important;
  opacity: 1 !important;
  pointer-events: none !important;
  z-index: 11 !important;
}

section[data-testid="store-home-parallax-banner"] .overlay::after {
  content: "" !important;
  position: absolute !important;
  top: calc(100% + 36px) !important;
  right: 50% !important;
  left: auto !important;
  width: 36px !important;
  height: 36px !important;
  transform: translateX(50%) !important;
  background: url("https://cdn.files.salla.network/other/354781393/10b1bede-25b2-4781-98f9-0edbbd89870b-original.webp") center / contain no-repeat !important;
  filter: brightness(0) saturate(100%) invert(18%) sepia(68%) saturate(2681%) hue-rotate(294deg) brightness(84%) contrast(92%) !important;
}

/* عنوان قسم المنتجات — بين البنر وقسم الأكثر طلباً */
section[data-testid="store-home-parallax-banner"] .overlay::before {
  content: "منتجات كون كلاسية" !important;
  position: absolute !important;
  top: calc(100% + 84px) !important;
  right: 0 !important;
  left: 0 !important;
  z-index: 12 !important;
  padding: 0 !important;
  direction: rtl !important;
  text-align: center !important;
  font-family: "Tajawal", sans-serif !important;
  font-weight: 800 !important;
  font-size: clamp(25px, 3vw, 52px) !important;
  line-height: 1.4 !important;
  color: var(--c-accent) !important;
  pointer-events: none !important;
}

section[data-testid="store-home-parallax-banner"] .full-banner-entry::after {
  content: "تصاميم مختارة بعناية تناسب ذوقك" !important;
  position: absolute !important;
  top: calc(100% + 132px) !important;
  right: 0 !important;
  left: 0 !important;
  z-index: 12 !important;
  direction: rtl !important;
  text-align: center !important;
  font-family: "Tajawal", sans-serif !important;
  font-weight: 500 !important;
  font-size: clamp(12px, 1.1vw, 16px) !important;
  line-height: 1.5 !important;
  color: var(--c-text-soft) !important;
  pointer-events: none !important;
}

/* الجوال */
@media only screen and (max-width: 768px) {
  section[data-testid="store-home-parallax-banner"] {
    width: calc(100% - 24px) !important;
    margin-top: 10px !important;
    margin-bottom: 150px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    border-radius: 24px !important;
  }

  section[data-testid="store-home-parallax-banner"]::before {
    top: 23% !important;
    left: 4% !important;
    width: 48% !important;
    font-size: 21px !important;
    line-height: 1.4 !important;
  }

  section[data-testid="store-home-parallax-banner"]::after {
    top: 46% !important;
    left: 4% !important;
    width: 48% !important;
    font-size: 11px !important;
    line-height: 1.55 !important;
  }

  section[data-testid="store-home-parallax-banner"] .overlay::after {
    top: calc(100% + 30px) !important;
    right: 50% !important;
    left: auto !important;
    width: 30px !important;
    height: 30px !important;
  }

  section[data-testid="store-home-parallax-banner"] .overlay::before {
    top: calc(100% + 72px) !important;
    padding: 0 !important;
    font-size: 21px !important;
    line-height: 1.4 !important;
  }

  section[data-testid="store-home-parallax-banner"] .full-banner-entry::after {
    top: calc(100% + 112px) !important;
    font-size: 12px !important;
  }
}

/* إلغاء تجربة العنوان الخارجي: إعادة البنر إلى النسخة المستقرة */
section[data-testid="store-home-parallax-banner"] {
  overflow: hidden !important;
  margin-bottom: 0 !important;
}
section[data-testid="store-home-parallax-banner"] .full-banner-entry,
section[data-testid="store-home-parallax-banner"] .swiper {
  overflow: hidden !important;
}
section[data-testid="store-home-parallax-banner"] .overlay::before,
section[data-testid="store-home-parallax-banner"] .full-banner-entry::after {
  content: none !important;
  display: none !important;
}
section[data-testid="store-home-parallax-banner"] .overlay::after {
  content: "—  ABAYA BY REEF  —" !important;
  top: 72% !important;
  right: auto !important;
  left: 4% !important;
  width: 28% !important;
  height: auto !important;
  transform: none !important;
  background: none !important;
  filter: none !important;
  direction: ltr !important;
  text-align: center !important;
  font-family: "Tajawal", sans-serif !important;
  font-weight: 500 !important;
  font-size: clamp(10px, 1.05vw, 15px) !important;
  letter-spacing: 2px !important;
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}
@media only screen and (max-width: 768px) {
  section[data-testid="store-home-parallax-banner"] { margin-bottom: 0 !important; }
  section[data-testid="store-home-parallax-banner"] .overlay::after {
    top: 61% !important;
    right: auto !important;
    left: 4% !important;
    width: 48% !important;
    height: auto !important;
    font-size: 10px !important;
    letter-spacing: 1px !important;
  }
}

/* ================================================================
   مقدمة قسم الأكثر طلباً — تظهر بعد البنر وقبل منتجاته
   ================================================================ */
section[data-testid="store-home-products-slider"]::before {
  content: "" !important;
  display: block !important;
  width: 34px !important;
  height: 34px !important;
  margin: 38px auto 10px !important;
  background: url("https://cdn.files.salla.network/other/354781393/10b1bede-25b2-4781-98f9-0edbbd89870b-original.webp") center / contain no-repeat !important;
  filter: brightness(0) saturate(100%) invert(18%) sepia(68%) saturate(2681%) hue-rotate(294deg) brightness(84%) contrast(92%) !important;
}

section[data-testid="store-home-products-slider"] > salla-products-slider::before {
  content: "منتجات كون كلاسية" !important;
  display: block !important;
  margin: 0 auto 4px !important;
  direction: rtl !important;
  text-align: center !important;
  font-family: "Tajawal", sans-serif !important;
  font-weight: 800 !important;
  font-size: clamp(22px, 2vw, 32px) !important;
  line-height: 1.35 !important;
  color: var(--c-accent) !important;
}

section[data-testid="store-home-products-slider"] > salla-products-slider::after {
  content: "تصاميم مختارة بعناية تناسب ذوقك" !important;
  display: block !important;
  margin: 0 auto 22px !important;
  direction: rtl !important;
  text-align: center !important;
  font-family: "Tajawal", sans-serif !important;
  font-weight: 500 !important;
  font-size: clamp(13px, 1.1vw, 16px) !important;
  line-height: 1.5 !important;
  color: var(--c-text-soft) !important;
}

@media only screen and (max-width: 768px) {
  section[data-testid="store-home-products-slider"]::before {
    width: 28px !important;
    height: 28px !important;
    margin-top: 28px !important;
    margin-bottom: 8px !important;
  }
  section[data-testid="store-home-products-slider"] > salla-products-slider::before {
    font-size: 22px !important;
  }
  section[data-testid="store-home-products-slider"] > salla-products-slider::after {
    margin-bottom: 18px !important;
    font-size: 13px !important;
  }
}

/* لا تظهر المقدمة إلا مرة واحدة: في أول قسم منتجات بعد البنر */
section[data-testid="store-home-products-slider"]::before,
section[data-testid="store-home-products-slider"] > salla-products-slider::before,
section[data-testid="store-home-products-slider"] > salla-products-slider::after {
  content: none !important;
  display: none !important;
}

main#main-content > section[data-testid="store-home-products-slider"]:nth-child(2)::before {
  content: "" !important;
  display: block !important;
  width: 34px !important;
  height: 34px !important;
  margin: 38px auto 10px !important;
  background: url("https://cdn.files.salla.network/other/354781393/10b1bede-25b2-4781-98f9-0edbbd89870b-original.webp") center / contain no-repeat !important;
  filter: brightness(0) saturate(100%) invert(18%) sepia(68%) saturate(2681%) hue-rotate(294deg) brightness(84%) contrast(92%) !important;
}

main#main-content > section[data-testid="store-home-products-slider"]:nth-child(2) > salla-products-slider::before {
  content: "منتجات كون كلاسية" !important;
  display: block !important;
  margin: 0 auto 4px !important;
  direction: rtl !important;
  text-align: center !important;
  font-family: "Tajawal", sans-serif !important;
  font-weight: 800 !important;
  font-size: clamp(22px, 2vw, 32px) !important;
  line-height: 1.35 !important;
  color: var(--c-accent) !important;
}

main#main-content > section[data-testid="store-home-products-slider"]:nth-child(2) > salla-products-slider::after {
  content: "تصاميم مختارة بعناية تناسب ذوقك" !important;
  display: block !important;
  margin: 0 auto 22px !important;
  direction: rtl !important;
  text-align: center !important;
  font-family: "Tajawal", sans-serif !important;
  font-weight: 500 !important;
  font-size: clamp(13px, 1.1vw, 16px) !important;
  line-height: 1.5 !important;
  color: var(--c-text-soft) !important;
}

@media only screen and (max-width: 768px) {
  main#main-content > section[data-testid="store-home-products-slider"]:nth-child(2)::before {
    width: 28px !important;
    height: 28px !important;
    margin-top: 28px !important;
    margin-bottom: 8px !important;
  }
  main#main-content > section[data-testid="store-home-products-slider"]:nth-child(2) > salla-products-slider::before {
    font-size: 22px !important;
  }
  main#main-content > section[data-testid="store-home-products-slider"]:nth-child(2) > salla-products-slider::after {
    margin-bottom: 18px !important;
    font-size: 13px !important;
  }
}

/* مقدمة قسم المنتجات: تظهر مرة واحدة فقط فوق «الأكثر طلباً» */
main#main-content > section[data-testid="store-home-products-slider"]::before,
main#main-content > section[data-testid="store-home-products-slider"] > salla-products-slider::before,
main#main-content > section[data-testid="store-home-products-slider"] > salla-products-slider::after {
  content: none !important;
  display: none !important;
}

main#main-content > #best-offers-1-slider {
  position: relative !important;
  overflow-x: clip !important;
}
main#main-content > #best-offers-1-slider::before {
  content: "" !important;
  display: block !important;
  width: 34px !important;
  height: 34px !important;
  margin: 38px auto 10px !important;
  background: url("https://cdn.files.salla.network/other/354781393/10b1bede-25b2-4781-98f9-0edbbd89870b-original.webp") center / contain no-repeat !important;
  filter: brightness(0) saturate(100%) invert(18%) sepia(68%) saturate(2681%) hue-rotate(294deg) brightness(84%) contrast(92%) !important;
}
main#main-content > #best-offers-1-slider > salla-products-slider {
  position: relative !important;
  max-width: 100% !important;
}
main#main-content > #best-offers-1-slider > salla-products-slider::before {
  content: "منتجات كون كلاسية" !important;
  display: block !important;
  margin: 0 auto 4px !important;
  direction: rtl !important;
  text-align: center !important;
  font-family: "Tajawal", sans-serif !important;
  font-weight: 800 !important;
  font-size: clamp(22px, 2vw, 32px) !important;
  line-height: 1.35 !important;
  color: var(--c-accent) !important;
}
main#main-content > #best-offers-1-slider > salla-products-slider::after {
  content: "تصاميم مختارة بعناية تناسب ذوقك" !important;
  display: block !important;
  position: absolute !important;
  z-index: 2 !important;
  top: 52px !important;
  right: 0 !important;
  left: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  direction: rtl !important;
  text-align: center !important;
  font-family: "Tajawal", sans-serif !important;
  font-weight: 500 !important;
  font-size: clamp(13px, 1.1vw, 16px) !important;
  line-height: 1.5 !important;
  color: var(--c-text-soft) !important;
  pointer-events: none !important;
}

@media only screen and (max-width: 768px) {
  body, main#main-content { overflow-x: hidden !important; }
  main#main-content > #best-offers-1-slider::before {
    width: 26px !important;
    height: 26px !important;
    margin-top: 26px !important;
    margin-bottom: 7px !important;
  }
  main#main-content > #best-offers-1-slider > salla-products-slider::before {
    font-size: 21px !important;
    line-height: 1.35 !important;
  }
  /* على الجوال نضع الوصف على القسم نفسه حتى لا يقفز لنهاية السلايدر */
  main#main-content > #best-offers-1-slider > salla-products-slider::after {
    content: none !important;
    display: none !important;
  }
  main#main-content > #best-offers-1-slider::after {
    content: "تصاميم مختارة بعناية تناسب ذوقك" !important;
    position: absolute !important;
    z-index: 4 !important;
    top: 136px !important;
    right: 12px !important;
    left: 12px !important;
    display: block !important;
    direction: rtl !important;
    text-align: center !important;
    font-family: "Tajawal", sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    color: var(--c-text-soft) !important;
    pointer-events: none !important;
  }
  main#main-content > #best-offers-1-slider > salla-products-slider h2 {
    margin-top: 32px !important;
  }

  /* زر الإضافة في بطاقات الجوال: نص كامل وواضح بلا اختصار */
  salla-product-card salla-button:not(.s-product-card-wishlist-btn),
  .product-card salla-button:not(.s-product-card-wishlist-btn),
  .card-product salla-button:not(.s-product-card-wishlist-btn),
  salla-product-card [class*="add-to-cart"],
  .product-card [class*="add-to-cart"],
  .card-product [class*="add-to-cart"] {
    min-height: 44px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }
  salla-product-card salla-button:not(.s-product-card-wishlist-btn) .s-button-text,
  .product-card salla-button:not(.s-product-card-wishlist-btn) .s-button-text,
  .card-product salla-button:not(.s-product-card-wishlist-btn) .s-button-text,
  salla-product-card [class*="add-to-cart"] .s-button-text,
  .product-card [class*="add-to-cart"] .s-button-text,
  .card-product [class*="add-to-cart"] .s-button-text {
    max-width: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
    font-size: 11px !important;
    letter-spacing: 0 !important;
  }

  /* تسمية أقصر لزر البطاقة في الجوال فقط */
  salla-product-card salla-button:not(.s-product-card-wishlist-btn),
  .product-card salla-button:not(.s-product-card-wishlist-btn),
  .card-product salla-button:not(.s-product-card-wishlist-btn) {
    font-size: 0 !important;
  }
  salla-product-card salla-button:not(.s-product-card-wishlist-btn)::before,
  .product-card salla-button:not(.s-product-card-wishlist-btn)::before,
  .card-product salla-button:not(.s-product-card-wishlist-btn)::before {
    content: "أضف للسلة" !important;
    display: inline-block !important;
    font-family: "Tajawal", sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    color: #ffffff !important;
    white-space: nowrap !important;
  }
  salla-product-card salla-button:not(.s-product-card-wishlist-btn) .s-button-text,
  .product-card salla-button:not(.s-product-card-wishlist-btn) .s-button-text,
  .card-product salla-button:not(.s-product-card-wishlist-btn) .s-button-text {
    display: none !important;
  }
}

/* لون الشعار ثابت: نستخدمه كقناع فوشي بدلاً من فلتر يتغيّر بين الشاشات */
main#main-content > #best-offers-1-slider::before {
  background: #9E2362 !important;
  filter: none !important;
  -webkit-mask: url("https://cdn.files.salla.network/other/354781393/10b1bede-25b2-4781-98f9-0edbbd89870b-original.webp") center / contain no-repeat !important;
  mask: url("https://cdn.files.salla.network/other/354781393/10b1bede-25b2-4781-98f9-0edbbd89870b-original.webp") center / contain no-repeat !important;
}
main#main-content > section[data-testid="store-home-testimonials"]::before {
  background: #9E2362 !important;
  filter: none !important;
  -webkit-mask: url("https://cdn.files.salla.network/other/354781393/3e1f8127-4b58-4383-adf7-0cfa5bfdd93f-original.webp") center / contain no-repeat !important;
  mask: url("https://cdn.files.salla.network/other/354781393/3e1f8127-4b58-4383-adf7-0cfa5bfdd93f-original.webp") center / contain no-repeat !important;
}

/* إصلاح ظهور أيقونات ملخص الطلب في صفحة السلة */
[data-testid="cart-summary"] svg,
[data-testid="cart-summary"] [class*="icon"] {
  color: var(--c-accent) !important;
  fill: var(--c-accent) !important;
  stroke: var(--c-accent) !important;
}

/* يظل رمز زر إتمام الطلب أبيض فوق الخلفية الفوشية */
[data-testid="cart-summary"] button[type="submit"] svg,
[data-testid="cart-summary"] button[type="submit"] [class*="icon"] {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
}

/* PRODUCT PAGE STYLE FIX */
.product-form .btn--wishlist,[data-testid="store-product-wishlist-btn"]{background:var(--c-accent)!important;border-color:var(--c-accent)!important;color:#fff!important}.product-form .btn--wishlist .sicon-heart,[data-testid="store-product-wishlist-btn"] .sicon-heart{color:#fff!important}.product-form .btn--wishlist:hover,[data-testid="store-product-wishlist-btn"]:hover{background:var(--c-accent-dark)!important;border-color:var(--c-accent-dark)!important}
.product-form salla-add-product-button{display:block!important;background:#fff!important;border:1px solid var(--c-line)!important;border-radius:18px!important;padding:10px!important;box-shadow:var(--shadow-sm)!important}.product-form salla-add-product-button .s-add-product-button-main{display:flex!important;gap:10px!important;background:transparent!important}.product-form salla-add-product-button .s-add-product-button-main>salla-button,.product-form salla-add-product-button .s-add-product-button-main>salla-mini-checkout-widget{flex:1 1 0!important;min-width:0!important}.product-form salla-add-product-button .s-add-product-button-main>salla-button button[data-testid="store-product-add-to-cart"]{background:#171717!important;border-color:#171717!important;color:#fff!important;border-radius:12px!important}.product-form salla-add-product-button .s-add-product-button-main>salla-button button[data-testid="store-product-add-to-cart"] .s-button-text{color:#fff!important}.product-form salla-add-product-button>salla-quick-buy{display:block!important;margin-top:10px!important}
salla-comments .s-comments-item-avatar,salla-comments .s-comments-item-avatar-img{width:64px!important;height:64px!important;min-width:64px!important;max-width:64px!important;flex:0 0 64px!important;border-radius:50%!important;overflow:hidden!important}salla-comments .s-comments-item-avatar-img{display:block!important;object-fit:cover!important}@media(max-width:640px){.product-form salla-add-product-button{padding:8px!important;border-radius:14px!important}.product-form salla-add-product-button .s-add-product-button-main{gap:8px!important}salla-comments .s-comments-item-avatar,salla-comments .s-comments-item-avatar-img{width:54px!important;height:54px!important;min-width:54px!important;max-width:54px!important;flex-basis:54px!important}}

/* PRODUCT PAGE STYLE FIX */
.product-form .btn--wishlist,[data-testid="store-product-wishlist-btn"]{background:var(--c-accent)!important;border-color:var(--c-accent)!important;color:#fff!important}.product-form .btn--wishlist .sicon-heart,[data-testid="store-product-wishlist-btn"] .sicon-heart{color:#fff!important}.product-form .btn--wishlist:hover,[data-testid="store-product-wishlist-btn"]:hover{background:var(--c-accent-dark)!important;border-color:var(--c-accent-dark)!important}
.product-form salla-add-product-button{display:block!important;background:#fff!important;border:1px solid var(--c-line)!important;border-radius:18px!important;padding:10px!important;box-shadow:var(--shadow-sm)!important}.product-form salla-add-product-button .s-add-product-button-main{display:flex!important;gap:10px!important;background:transparent!important}.product-form salla-add-product-button .s-add-product-button-main>salla-button,.product-form salla-add-product-button .s-add-product-button-main>salla-mini-checkout-widget{flex:1 1 0!important;min-width:0!important}.product-form salla-add-product-button .s-add-product-button-main>salla-button button[data-testid="store-product-add-to-cart"]{background:#171717!important;border-color:#171717!important;color:#fff!important;border-radius:12px!important}.product-form salla-add-product-button .s-add-product-button-main>salla-button button[data-testid="store-product-add-to-cart"] .s-button-text{color:#fff!important}.product-form salla-add-product-button>salla-quick-buy{display:block!important;margin-top:10px!important}
salla-comments .s-comments-item-avatar,salla-comments .s-comments-item-avatar-img{width:64px!important;height:64px!important;min-width:64px!important;max-width:64px!important;flex:0 0 64px!important;border-radius:50%!important;overflow:hidden!important}salla-comments .s-comments-item-avatar-img{display:block!important;object-fit:cover!important}@media(max-width:640px){.product-form salla-add-product-button{padding:8px!important;border-radius:14px!important}.product-form salla-add-product-button .s-add-product-button-main{gap:8px!important}salla-comments .s-comments-item-avatar,salla-comments .s-comments-item-avatar-img{width:54px!important;height:54px!important;min-width:54px!important;max-width:54px!important;flex-basis:54px!important}}
/* PRODUCT PAGE VISUAL REFINEMENT */
.product-single .swiper salla-button.btn--wishlist>button.btn--wishlist{background:var(--c-accent)!important;border-color:var(--c-accent)!important;color:#fff!important;border-radius:50%!important}.product-single .swiper salla-button.btn--wishlist>button.btn--wishlist .sicon-heart{color:#fff!important}.product-form .s-add-product-button-main>salla-button button[data-testid="store-product-add-to-cart"],.product-form .s-add-product-button-main>salla-mini-checkout-widget button{background:var(--c-accent)!important;border-color:var(--c-accent)!important;color:#fff!important}.product-form .s-add-product-button-main>salla-button button[data-testid="store-product-add-to-cart"] .s-button-text,.product-form .s-add-product-button-main>salla-mini-checkout-widget button *{color:#fff!important}.s-quick-order-container .s-quick-order-button-cont h3,.s-quick-order-container .s-quick-order-button-cont p{color:#fff!important}.s-infinite-scroll-btn,.s-infinite-scroll-btn .s-button-text{color:#fff!important}body.product-single main#main-content{padding-bottom:110px!important}

/* PRODUCT PAGE VISUAL REFINEMENT */
.product-single .swiper salla-button.btn--wishlist>button.btn--wishlist{background:var(--c-accent)!important;border-color:var(--c-accent)!important;color:#fff!important;border-radius:50%!important}.product-single .swiper salla-button.btn--wishlist>button.btn--wishlist .sicon-heart{color:#fff!important}.product-form .s-add-product-button-main>salla-button button[data-testid="store-product-add-to-cart"],.product-form .s-add-product-button-main>salla-mini-checkout-widget button{background:var(--c-accent)!important;border-color:var(--c-accent)!important;color:#fff!important}.product-form .s-add-product-button-main>salla-button button[data-testid="store-product-add-to-cart"] .s-button-text,.product-form .s-add-product-button-main>salla-mini-checkout-widget button *{color:#fff!important}.s-quick-order-container .s-quick-order-button-cont h3,.s-quick-order-container .s-quick-order-button-cont p{color:#fff!important}.s-infinite-scroll-btn,.s-infinite-scroll-btn .s-button-text{color:#fff!important}body.product-single main#main-content{padding-bottom:110px!important}

/* PRODUCT DETAIL — FINAL BUTTONS */
.product-single .swiper salla-button.btn--wishlist.s-button-wrap{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}.product-single .swiper salla-button.btn--wishlist.s-button-wrap>button.btn--wishlist{width:42px!important;height:42px!important;background:var(--c-accent)!important;border:0!important;border-radius:50%!important;color:#fff!important}.product-single .swiper salla-button.btn--wishlist.s-button-wrap>button.btn--wishlist .sicon-heart{color:#fff!important}
.product-form .s-add-product-button-main>salla-button button[data-testid="store-product-add-to-cart"],.product-form .s-add-product-button-main>salla-mini-checkout-widget.s-add-product-button-mini-checkout{background:var(--c-accent)!important;border-color:var(--c-accent)!important;color:#fff!important}.product-form .s-add-product-button-main>salla-button button[data-testid="store-product-add-to-cart"] *, .product-form .s-add-product-button-main>salla-mini-checkout-widget.s-add-product-button-mini-checkout *{color:#fff!important;fill:#fff!important}
.s-gifting-widget,.s-gifting-widget .s-list-tile-item{background:var(--c-accent)!important;border-color:var(--c-accent)!important;color:#fff!important}.s-gifting-widget h3,.s-gifting-widget .s-list-tile-item-subtitle,.s-gifting-widget .s-list-tile-item-subtitle *{color:#fff!important}.s-gifting-widget .s-gifting-widget-action{background:#fff!important;border-color:#fff!important;color:var(--c-accent)!important}.s-gifting-widget .s-gifting-widget-action *{color:var(--c-accent)!important;fill:var(--c-accent)!important}
.s-quick-order-container .s-button-light{background:#fff!important;border-color:#fff!important;color:var(--c-accent)!important}.s-quick-order-container .s-button-light *{color:var(--c-accent)!important;fill:var(--c-accent)!important}

/* PRODUCT DETAIL — FINAL BUTTONS */
.product-single .swiper salla-button.btn--wishlist.s-button-wrap{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}.product-single .swiper salla-button.btn--wishlist.s-button-wrap>button.btn--wishlist{width:42px!important;height:42px!important;background:var(--c-accent)!important;border:0!important;border-radius:50%!important;color:#fff!important}.product-single .swiper salla-button.btn--wishlist.s-button-wrap>button.btn--wishlist .sicon-heart{color:#fff!important}
.product-form .s-add-product-button-main>salla-button button[data-testid="store-product-add-to-cart"],.product-form .s-add-product-button-main>salla-mini-checkout-widget.s-add-product-button-mini-checkout{background:var(--c-accent)!important;border-color:var(--c-accent)!important;color:#fff!important}.product-form .s-add-product-button-main>salla-button button[data-testid="store-product-add-to-cart"] *, .product-form .s-add-product-button-main>salla-mini-checkout-widget.s-add-product-button-mini-checkout *{color:#fff!important;fill:#fff!important}
.s-gifting-widget,.s-gifting-widget .s-list-tile-item{background:var(--c-accent)!important;border-color:var(--c-accent)!important;color:#fff!important}.s-gifting-widget h3,.s-gifting-widget .s-list-tile-item-subtitle,.s-gifting-widget .s-list-tile-item-subtitle *{color:#fff!important}.s-gifting-widget .s-gifting-widget-action{background:#fff!important;border-color:#fff!important;color:var(--c-accent)!important}.s-gifting-widget .s-gifting-widget-action *{color:var(--c-accent)!important;fill:var(--c-accent)!important}
.s-quick-order-container .s-button-light{background:#fff!important;border-color:#fff!important;color:var(--c-accent)!important}.s-quick-order-container .s-button-light *{color:var(--c-accent)!important;fill:var(--c-accent)!important}
/* ========== معالجة: زر المفضلة دائرة نظيفة + توحيد أزرار الشراء ========== */

/* زر القلب (المفضلة) — دائرة فوشية موحّدة بدون أي دائرة بيضاء داخلية */
[data-testid="store-product-wishlist-btn"],
.product-single [class*="btn--wishlist"] {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: var(--c-accent) !important;
  border: 0 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}
[data-testid="store-product-wishlist-btn"] *,
.product-single [class*="btn--wishlist"] * {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
}

/* زر "أضف إلى السلة" — فوشي بدل الأسود + حواف مشطوفة معتدلة */
[data-testid="store-product-add-to-cart"] {
  background: var(--c-accent) !important;
  border-color: var(--c-accent) !important;
  border-radius: 14px !important;
  color: #ffffff !important;
}
[data-testid="store-product-add-to-cart"] * {
  color: #ffffff !important;
  fill: #ffffff !important;
}

/* زر "اشترِ الآن" (الشراء السريع) — نفس الفوشي لكن بحواف مشطوفة بدل الحادة */
.product-form salla-mini-checkout-widget button,
.product-form .s-add-product-button-mini-checkout {
  background: var(--c-accent) !important;
  border-color: var(--c-accent) !important;
  border-radius: 14px !important;
  color: #ffffff !important;
}
.product-form salla-mini-checkout-widget button *,
.product-form .s-add-product-button-mini-checkout * {
  color: #ffffff !important;
  fill: #ffffff !important;
}
/* ========== معالجة ٢: كسر أولوية القاعدة القديمة لزر "أضف إلى السلة" ========== */
.product-form salla-add-product-button .s-add-product-button-main > salla-button button[data-testid="store-product-add-to-cart"] {
  background: var(--c-accent) !important;
  border-color: var(--c-accent) !important;
  border-radius: 14px !important;
  color: #ffffff !important;
}
.product-form salla-add-product-button .s-add-product-button-main > salla-button button[data-testid="store-product-add-to-cart"] * {
  color: #ffffff !important;
  fill: #ffffff !important;
}

/* ========== معالجة ٣: تشطيف زوايا بطاقتَي "أهدِ من تحب" و"ليش تنتظر؟" ========== */
.s-gifting-widget,
.s-quick-order-container {
  border-radius: 14px !important;
  overflow: hidden !important;
}
/* ========== معالجة ٤: تشطيف حواف الصندوق الداخلي لبطاقة "أهدِ من تحب" ========== */
.s-gifting-widget,
.s-gifting-widget .s-list-tile-item,
.s-gifting-widget * {
  border-radius: 14px !important;
}
.s-gifting-widget {
  overflow: hidden !important;
}
/* ========== معالجة: زر "أضف ملاحظة" فوشي دائم ========== */
[data-testid="store-product-add-note"] {
  background: var(--c-accent) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
}
[data-testid="store-product-add-note"] i,
[data-testid="store-product-add-note"] span {
  color: #ffffff !important;
}
[data-testid="store-product-add-note"]:hover {
  background: var(--c-accent-dark) !important;
}
.collapse-content textarea,
.collapse-content .s-form-control {
  border-color: var(--c-line) !important;
  border-radius: 12px !important;
  background: #ffffff !important;
}