/* Add custom CSS styles below */ 
.main-nav-container .inner { display: flex; justify-content: space-between; } @media (max-width: 768px) { .main-nav-container .inner>div>:not(.navbar-brand) { height: 2.5rem; min-width: 2.5rem; } .main-nav-container .f_user-avatar-button img.s-user-menu-trigger-avatar { height: 2.5rem; width: 2.5rem; } .navbar-brand img { max-height: 2.5rem; } } @media (min-width: 768px) { .main-nav-container .inner { justify-content: space-around; } } .store-header .f_start-btns { display: none !important; } .store-header .f_end-btns>:not(.f_user-icon-button):not(.f_user-avatar-button) { display: none!important; } .store-header .f_end-btns .f_user-avatar-button { display: block!important; } .main-nav-container .inner > a { color: #fff; } .main-nav-container .inner>a img { display: none; } .store-header .main-menu { display: none; } .breadcrumbs { display:none; } .f_quick-links { display: none; } .btn--wishlist { display: none; } .f_product-section .sidebar { text-align: center; } .f_product-section .sidebar .s-slider-block__title { display: none; } .f_product-section .sidebar h1 { margin: 1rem 0 .5rem; color: #fff; text-shadow: 2px 0 #000000, -2px 0 #000000, 0 2px #000000, 0 -2px #000000, 1px 1px #000000, -1px -1px #000000, 1px -1px #000000, -1px 1px #000000; } div:has(>.product-entry__sub-title) { display: flex; justify-content: center; gap: .7rem; margin-top: 10px; } div:has(>.sicon-fire) { color: #fff; padding: 0; font-size: .875rem; font-weight: 600; } .sicon-fire { font-size: 1.125rem; color: #f8f8f8; } .s-rating-stars-reviews { display: none; } .total-price { color: #ffffff; } .before-price { color: #fafafa; } .f_product-section .product__description { background: transparent; padding: 1rem 0 0; } .f_product-section .product__description img { margin: 0 auto; } recently-viewed-products { display: none; } .s-comments { text-align: center; } .s-comments > div > h2 { font-size: 1.5rem; } .s-comments .comment > p { display: none; } .s-comments h2:has(span) { display: none; } .move-product-bar { display: none; } .f_bottom-menu { display: none; } .sticky-product-bar { transform: none!important; padding: 0!important; margin: 0!important; position: fixed !important; bottom: 0; left: 0; z-index: 200; width: 100%; padding-left: 1rem; padding-right: 1rem; opacity: 1; border-radius: 1rem 1rem 0 0!important; overflow: hidden; } .product-bar { border-radius: 0 !important; flex-wrap: wrap; justify-content: space-evenly; align-items: stretch!important; gap: .5rem; display: flex; } .sticky-product-bar__quantity { display: none; } .sticky-product-bar__price .form-label { display: none; } .sticky-product-bar salla-add-product-button salla-button { display: none; } .s-add-product-button-mini-checkout { width: 100%!important; background-color: #FF4C4C; border-radius: 1rem; height: var(--salla-fast-checkout-button-height); } .sticky-product-bar .s-add-product-button-mini-checkout-content { color: #fff; font-size: 1rem; } .product__description ~ div { display: none; } .s-comments-product { padding-top: 2rem; } @media(max-width: 640px) { .sticky-product-bar__price { display: block !important; } } @media (max-width: 768px) { .f_product-section { padding: 0; } .f_product-section .sidebar { padding: 1rem; } .f_product-section .main-content { text-align: center; } .PS__price { display: none; } } @media (min-width: 640px) { salla-add-product-button { margin-top: 0 !important; } .s-add-product-button-mini-checkout { max-width: 250px; border-radius: 1.75rem !important; /* border: 2px solid #959393; */ margin: 0 auto; background-color: #FF4C4C; border-radius: 1rem; height: var(--salla-fast-checkout-button-height); } } @media (min-width: 768px) { .store-header .f_end-btns .f_user-icon-button { display: flex !important; } .f_product-section .sidebar { max-width: 425px; } .sticky-product-bar__price { display: none; } .main-nav-container .inner > a { width: fit-content; } .s-comments-product { padding: 0; margin-bottom: 1rem; } } .s-user-menu-dropdown-item:has([href="https://mentalist-sa.com/wishlist"]), .s-user-menu-dropdown-item:has([href="https://mentalist-sa.com/pending_orders"]) { display: none; } salla-social-share { position: fixed; top: 75px; left: 25px; z-index: 1; } .product-single #karzoun-widget-send-button { bottom: 115px; } @media (min-width: 768px) { .product-single #karzoun-widget-send-button { bottom: 75px; } } .store-footer, .store-footer__inner { background-color: #000; border-radius: 4rem 4rem 0 0; } .store-footer__inner { padding-bottom: 0; } .about-us-block, .about-us-block + div { padding: 0 !important; } .about-us-block div:has(>[href="https://mentalist-sa.com/whatsapp/send"]) { display: none; } .store-footer .f_payment-methods>li { height: 2rem; width: 4rem; padding: 0 .5rem; background: #ffffffdb; } .store-footer__bottom { padding-bottom: 1rem !important; } .product-single .store-footer__bottom { padding-bottom: 5.5rem !important; } @media(max-width: 768px) { .about-us-block { padding-bottom: 1rem !important; } } @media (min-width: 768px) { .store-footer__inner > div:first-child { display: flex; } .about-us-block + div { margin: 0 auto; } .store-footer .footer-list a { width: auto; } .store-footer__bottom { padding-bottom: 1.5rem !important; } .product-single .store-footer__bottom { padding-bottom: 4.5rem !important; } } .feature-icon i { color: #fff !important; /* تغيير لون الأيقونة إلى الأبيض مع أولوية عالية */ font-size: 2 rem !important; /* ضبط حجم الأيقونة (اختياري) */ } h2 { font-size: 1.40rem !important; /* تكبير حجم النص مع إعطاء أولوية للتغيير */ font-weight: bold !important; /* جعل النص غامقاً، هذا اختياري */ } .s-button-element.s-button-btn.s-button-solid.s-button-wide.s-button-primary { display: none !important; } .f_price-container.price-with-bg.f_leading-0 { display: none !important; } <!-- HTML --> <div class="right-side"> <h2>كتبنا الإلكترونية الحصرية</h2> <p>عرض الجمعة البيضاء بدأ الان</p> </div> <!-- CSS --> <style> .right-side { display: flex; flex-direction: column; align-items: center; /* توسيط العناصر أفقيًا */ justify-content: center; /* توسيط العناصر عموديًا */ text-align: center; /* توسيط النص داخل العناصر */ position: absolute; top: 50%; /* وضع العنصر في منتصف الشاشة عموديًا */ left: 50%; /* وضع العنصر في منتصف الشاشة أفقيًا */ transform: translate(-50%, -50%); /* تحريك العنصر ليصبح في منتصف الشاشة تمامًا */ } .right-side h2 { font-size: 2rem; /* يمكنك تعديل حجم النص حسب الحاجة */ margin: 0; /* إزالة الهامش العلوي والسفلي */ } .right-side p { font-size: 1.2rem; /* يمكنك تعديل حجم النص حسب الحاجة */ margin: 0; /* إزالة الهوامش */ } </style> /* تغيير لون النص داخل العنصر */ salla-quick-order { color: #FF4C4C !important; /* تغيير اللون للنص داخل العنصر */ } /* تغيير خلفية العنصر */ salla-quick-order { background-color: #FF4C4C !important; /* تغيير الخلفية للون الأحمر */ padding: 10px; /* إضافة بعض المسافات داخل العنصر */ border-radius: 5px; /* إضافة حدود منحنية */ } /* إضافة تأثير عند التمرير فوق العنصر */ salla-quick-order:hover { background-color: #e04c4c; /* تغيير الخلفية عند التمرير */ color: white; /* تغيير لون النص عند التمرير */ } /* تغيير لون الخلفية للعنصر الذي يحتوي على الزر */ .sticky-product-bar { background-color: #FF4C4C !important; /* اللون الأحمر المطلوب */ } /* تغيير خلفية الزر داخل المنتج */ .s-button-element.s-button-solid.s-button-primary.s-button-loader-center { background-color: #FF4C4C !important; /* تغيير اللون الخلفي للزر */ border-color: #FF4C4C !important; /* تغيير اللون في حدود الزر */ } /* تغيير النص داخل الزر إلى الأبيض */ .s-button-element .s-button-text { color: white !important; } img[src*="sbc.png"] { display: none !important; }




/* غيّر خلفية الستكي بار */
body .product-bar.small-bar,
body .product-bar.small-bar::before {
  background: #432459 !important;
}

/* نص السعر على الخلفية الجديدة */
.product-bar.small-bar .total-price,
.product-bar.small-bar .before-price {
  color: #fff !important;
}

/* إزالة أي شفافية/ظل قد يغمّق الخلفية */
.product-bar.small-bar {
  box-shadow: none !important;
  backdrop-filter: none !important;
}


.sticky-product-bar {
  background-color: #432459; /* البنفسجي */
  position: relative;
  overflow: hidden;
}

.sticky-product-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(white 1px, transparent 1px),
    radial-gradient(white 1px, transparent 1px),
    radial-gradient(white 1px, transparent 1px),
    radial-gradient(white 1px, transparent 1px),
    radial-gradient(white 1px, transparent 1px);
  background-size: 30px 30px, 40px 40px, 60px 60px, 80px 80px, 100px 100px;
  background-position: 
    5px 10px, 
    20px 40px, 
    50px 30px, 
    70px 80px, 
    100px 50px;
  opacity: 0.5;
  pointer-events: none;
}


/* لون البنفسجي لثلثقلالفاتح */
:root {
  --pn-lilac: #F3E9FF; /* غيّره لو عندك كودك الخاص */
  --pn-text: #1f1633;  /* لون نص غامق مناسب على البنفسجي */
}

/* الفوتر نفسه + الغلاف الداخلي + الشريط السفلي */
footer.store-footer,
footer.store-footer .store-footer__inner,
footer.store-footer .store-footer__bottom {
  background: var(--pn-lilac) !important;
  color: var(--pn-text) !important;
}

/* معالجة أي خلفية مضافة عبر pseudo elements أو تدرجات */
footer.store-footer::before,
footer.store-footer::after,
footer.store-footer .store-footer__inner::before,
footer.store-footer .store-footer__inner::after {
  background: var(--pn-lilac) !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

/* الكروت/البلوكات داخل الفوتر لو فيها خلفية داكنة */
footer.store-footer .about-us-block,
footer.store-footer .contact-social,
footer.store-footer .s-payments-list-wrap,
footer.store-footer .p-8,
footer.store-footer .py-4,
footer.store-footer .flex {
  background: var(--pn-lilac) !important;
  color: var(--pn-text) !important;
}

/* روابط الفوتر */
footer.store-footer a {
  color: var(--pn-text) !important;
}
footer.store-footer a:hover {
  opacity: .8;
}

/* نص الحقوق (غالباً لونه رمادي فاتح) */
footer.store-footer .copyright-text,
footer.store-footer .text-gray-400 {
  color: var(--pn-text) !important;
}

/* أي حواف/حدود داكنة غير مرغوبة */
footer.store-footer,
footer.store-footer * {
  border-color: rgba(0,0,0,0) !important; /* احذفها إن احتجت حدود */
  box-shadow: none !important;
}

/* أي دوائر أيقونات ممكن تكون بخلفية سوداء */
footer.store-footer .s-social-icon,
footer.store-footer .s-contacts-icon {
  background: transparent !important; /* أو var(--pn-lilac) لو تبغى نفس الخلفية */
}

/* تأكيد أن الجسم حول الفوتر ما يعطي خلفية سوداء */
footer.store-footer .store-footer__inner > div {
  background: var(--pn-lilac) !important;
}

/* استهداف العنصر اللي فيه النص + النجوم */
.most-sold {
  display: flex;
  flex-direction: column; /* يخلي العناصر تحت بعض */
  align-items: center;    /* يخليهم بالنص */
}

/* النص يظهر أول */
.most-sold .text {
  order: 1;
}

/* النجوم يظهر ثاني */
.most-sold .stars {
  order: 2;
  margin-top: 5px; /* مسافة بسيطة تحت النص */
}

/* أنزل النجوم مسافة تحت مكانها */
.s-rating-stars,
.stars,
.rating {
  margin-top: 8px !important;  /* عدّل الرقم حسب ما تحب */
}

h2.mb-1.sm\:mb-5.text-lg.font-bold {
  font-size: 1.5rem !important;
  font-weight: bold !important;
}

h2.mb-1.sm\:mb-5.text-lg.font-bold::after {
  content: "أحدث التعليقات";
}

h2.mb-1.sm\:mb-5.text-lg.font-bold {
  color: transparent !important; /* يخفي النص الأصلي */
  position: relative;
}

h2.mb-1.sm\:mb-5.text-lg.font-bold::after {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  color: #000 !important; /* لون النص */
}

/* إخفاء جميع أزرار الدفع */
.s-button-element.s-button-btn.s-button-solid.s-button-wide.s-button-primary {
  display: none !important;
}

/* إظهار زر Apple Pay */
.s-button-element.s-button-btn[title*="Apple"] {
  display: block !important;
}

/* زر "اشتري الآن" (ميني تشيك آوت) */
.s-add-product-button-mini-checkout {
  display: block !important;
}

input, textarea, select, button {
  font-size: 16px !important;
}