.is-sticky-product-bar .sticky-product-bar salla-add-product-button button[quick-buy],
.tabs__product .tab-trigger {

    color: #fff !important;
}



.is-sticky-product-bar .sticky-product-bar{
    z-index:557755  !important;
    left:0 !important;
    right:0 !important;
}
section.s-block.s-block--fixed-banner .container{
    width:100% !important;
    max-width:100% !important;
    padding:0 !important;
    margin:0 !important
    
}


section.s-block.s-block--fixed-banner .container{
    width:100% !important;
    max-width:100% !important;
    padding:0 !important;
    margin:0 !important
    
}


.s-product-card-content-footer salla-add-product-button .s-button-outline span{
    background:#4546fe !important;
    color:#fff !important
}
.store-footer__inner *,
.s-product-card-content-footer salla-add-product-button .s-button-outline{
    background:#4546fe !important;
    color:#fff !important
}

section.s-block.s-block--fixed-banner.wide-placeholder {
    padding-top: 0;
    margin-top: 0;
    padding-bottom: 0;
}


.main-nav-container.fixed-header .inner {
    z-index: 5555555555555555;
}






custom-salla-product-card.s-product-card-entry,
.swiper-slide {
    overflow: visible !important;
}

custom-salla-product-card.s-product-card-entry {
    margin-top: 100px !important; 
    display: flex !important;
    flex-direction: column !important;
    height: auto !important; 
    min-height: auto !important;
    padding: 0 !important;
    background-color: rgb(220, 229, 245) !important;
    position: relative !important;
}

/* 2. حاوية الصورة - ضبطها كمرساة لتقليل الفراغ السفلي */
.s-product-card-image.grow-0 {
    overflow: visible !important;
    position: relative !important;
    height: 122px !important;
    min-height: 50px !important;
    margin: 0 !important;
    z-index: 10;
}

/* 3. الصورة البارزة - مطابقة تماماً للتصميم */
.s-product-card-image-contain {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translate(-50%, -85%) scale(1.4) !important;
    width: 170px !important;
    height: auto !important;
    z-index: 20 !important;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.1));
}

/* 4. إجبار الفورم والمحتوى على الانكماش */
.product-form.flex.h-full {
    height: auto !important; 
    display: block !important;
}

.s-product-card-content {
    padding: 15px !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    z-index: 5 !important;
    background: transparent !important;
}

/* 5. ضبط العناوين والأسعار والفجوات */
.s-product-card-content-title {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

.s-product-card-content-sub {
    margin-bottom: 15px !important;
}

/* 6. تعديل زر الإضافة للسلة */
.s-product-card-content-footer {
    width: 100% !important;
    margin-top: auto !important;
}

/* 7. معالجة العناصر الشفافة وأزرار الأكشن */
.s-product-card-image a, 
.angel-shine-obj {
    overflow: visible !important;
    display: block !important;
}

.s-product-card-actions {
    z-index: 25 !important;
    top: -20px !important;
}

.s-product-card-image.grow-0 {
max-height:100% !important;
    
}
/* 1. زيادة المسافة العلوية للكارد لمنع التداخل مع القسم السابق */
custom-salla-product-card.s-product-card-entry {
    margin-top: 130px !important; /* زيادة المسافة من 100 إلى 130 لتأمين مساحة الصورة */
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important; 
    min-height: auto !important;
    padding: 0 !important;
    background-color: rgb(220, 229, 245) !important;
    position: relative !important;
}

/* 2. حاوية الصورة كمرساة */
.s-product-card-image.grow-0 {
    overflow: visible !important;
    position: relative !important;
    height: 30px !important; /* تقليل الارتفاع لضبط نقطة انطلاق الصورة */
    min-height: 30px !important;
    margin: 0 !important;
    z-index: 10;
}

/* 3. الصورة البارزة - ضبط الموضع لعدم تخطي حدود المارجن العلوي */
.s-product-card-image-contain {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    /* رفع الصورة مع التأكد أنها ضمن نطاق الـ 130px المحددة بالأعلى */
    transform: translate(-50%, -95%) scale(1.4) !important;
    width: 170px !important;
    height: auto !important;
    z-index: 20 !important;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.1));
}

/* 4. معالجة السلايدر لضمان عدم قص الأطراف */
.s-product-list-container, 
.swiper, 
.swiper-wrapper {
    padding-top: 100px !important; /* إضافة بادينج للقسم بالكامل ليحتوي بروز الصور */
    margin-top: -80px !important; /* موازنة المسافة لكي لا يظهر فراغ كبير تحت العنوان */
    overflow: visible !important;
}

/* باقي التنسيقات ثابتة */
.product-form.flex.h-full {
    height: auto !important; 
    display: block !important;
}

.s-product-card-content {
    padding: 15px !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    z-index: 5 !important;
}

/* 1. ضبط الكارد كحاوية مستقلة مع رفع رتبة الظهور */
custom-salla-product-card.s-product-card-entry {
    overflow: visible !important;
    position: relative !important;
    z-index: 10 !important; /* لضمان الظهور فوق القسم السابق */
    margin-top: 80px !important; /* مساحة أمان علوية بسيطة */
    height: auto !important;
    background-color: rgb(220, 229, 245) !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
}

/* 2. حاوية الصورة - نجعلها قصيرة جداً لتقليل الارتفاع الكلي */
.s-product-card-image.grow-0 {
    overflow: visible !important;
    height: 40px !important;
    min-height: 40px !important;
    position: relative !important;
    margin: 0 !important;
}

/* 3. الصورة البارزة - نرفعها باستخدام الـ Top لضمان حجز مساحة وهمية */
.s-product-card-image-contain {
    position: absolute !important;
    top: -60px !important; /* رفع الصورة للأعلى بمقدار ثابت */
    left: 50% !important;
    transform: translateX(-50%) scale(1.4) !important;
    width: 160px !important;
    height: auto !important;
    z-index: 20 !important;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

/* 4. معالجة المحتوى النصي لمنع الفراغ السفلي الضخم */
.product-form, .content-wrap {
    height: auto !important;
    display: block !important;
}

.s-product-card-content {
    padding: 10px 15px 15px 15px !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 5px !important;
}

/* 5. منع السلايدر من قص الصور (هذا الجزء ضروري جداً) */
.swiper, .swiper-wrapper, .swiper-slide {
    overflow: visible !important;
}

/* 6. ضبط أزرار الأكشن لتبتعد عن جسم الصورة */
.s-product-card-actions {
    top: -20px !important;
    right: 5px !important;
    z-index: 30 !important;
}

/* 7. إخفاء أي خلفيات قد تظهر خلف الصورة */
.s-product-card-image a {
    background: transparent !important;
}
/* 1. ضبط الكارد مع إضافة مساحة علوية داخلية للنص */
custom-salla-product-card.s-product-card-entry {
    overflow: visible !important;
    position: relative !important;
    z-index: 10 !important;
    margin-top: 100px !important; 
    height: auto !important;
    background-color: #f7f7f7 !important;
    display: flex !important;
    flex-direction: column !important;
    padding-top: 60px !important; /* هذه المساحة تمنع الصورة من تغطية النص */
    border-radius: 20px !important;
}

/* 2. حاوية الصورة - مرساة بارتفاع صفر لعدم دفع المحتوى */
.s-product-card-image.grow-0 {
    overflow: visible !important;
    height: 0 !important;
    min-height: 0 !important;
    position: relative !important;
    margin: 0 !important;
    z-index: 20;
}

/* 3. الصورة البارزة - تحديد الموضع بدقة بعيداً عن النص */
.s-product-card-image-contain {
    position: absolute !important;
    bottom: 20px !important; /* رفعها بالنسبة لنقطة الصفر */
    left: 50% !important;
    transform: translate(-50%, -60%) scale(1.3) !important;
    width: 150px !important; /* حجم متوازن لا يطغى على الكارد */
    height: auto !important;
    z-index: 30 !important;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.1));
}

/* 4. المحتوى النصي - إزاحة إضافية للتأمين */
.s-product-card-content {
    padding: 20px 15px !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    z-index: 5 !important;
}

/* 5. ضبط العناوين والأسعار */
.s-product-card-content-title {
    margin-bottom: 8px !important;
    font-weight: bold !important;
}

/* 6. منع القص في السلايدر والقوائم */
.swiper, .swiper-wrapper, .swiper-slide, .s-product-card-image a {
    overflow: visible !important;
}

/* 7. أزرار الأكشن (المفضلة/العين) */
.s-product-card-actions {
    top: -40px !important;
    z-index: 40 !important;
}

/* 8. زر الإضافة للسلة */
.s-product-card-content-footer {
    width: 100% !important;
    margin-top: 10px !important;
}
.store-footer {
    background: #f7f7f7;
}


/* 1. إخفاء الصور الأصلية تماماً */
.logo-footer img {
    display: none !important;
}

/* 2. إضافة الصورة الجديدة باستخدام الـ Pseudo-element */
.logo-footer::after {
    content: "";
    display: block;
    
    background-image: url("https://cdn.files.salla.network/theme/2106989042/32e23ca4-2ad5-4bcf-b46d-413c97151714.webp");
    
    width: 200px; 
    height: 40px; 
    
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    
    margin: 0 auto; 
}

 3. تعديل بسيط للشاشات الكبيرة (Desktop) لو أردت محاذاتها لليمين */
@media (min-width: 768px) {
    .logo-footer::after {
        margin: 0;
    }
}
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}

/* 2️⃣ إجبار كل السكاشن والراپر الأساسي يلتزم بعرض الشاشة */
.salla-theme {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.s-product-options-grid-mode input:checked+div {
    background-color: #414042;
    background-color: var(--color-primary);
    color: var(--text-btn);
    color: #fff !important;
}
@media(min-width:992px){
.index .s-products-slider-wrapper .s-slider-swiper-wrapper{
    justify-content: center;
}

  
}
  .s-block__display-all, .s-slider-block__display-all{
    display: none;
}
.tabs .tab-trigger.is-active {
    color: #000 !important;
}



@media(min-width:992px){
     .index .s-products-list-wrapper {

  flex-wrap: nowrap !important;
}

     .index  .s-products-list-wrapper {
  display: flex !important;
  justify-content: center !important;
  align-items: stretch;
  gap: 20px;
}

  .index .s-products-list-wrapper .s-product-card-entry {
  flex: 0 0 auto;
  width: 300px; 
}


}
/*
@media(max-width:991px){
  .index  .s-products-list-wrapper {

  flex-wrap: wrap !important; 
}
*/


}


.angel-shine-obj {
  position: relative;
  display: block;
}

/* الصورتين فوق بعض */
.angel-shine-obj img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}
.store-footer__inner *{
    background: #f7f7f7 !important;
    color: #4546fe !important;
}
/* الصورة الأولى ظاهرة */
.angel-shine-obj img:first-of-type {
  opacity: 1;
  z-index: 1;
}

/* الصورة الثانية مخفية */
.angel-shine-obj img:nth-of-type(2) {
  opacity: 0;
  z-index: 2;
}

/* ديسكتوب */
.angel-shine-obj:hover img:first-of-type {
  opacity: 0;
}

.angel-shine-obj:hover img:nth-of-type(2) {
  opacity: 1;
}

/* موبايل */
.angel-shine-obj:active img:first-of-type,
.angel-shine-obj:focus img:first-of-type {
  opacity: 0;
}

.angel-shine-obj:active img:nth-of-type(2),
.angel-shine-obj:focus img:nth-of-type(2) {
  opacity: 1;
}

/* تحفيز التغيير عند الوقوف على البطاقة الكبيرة بالكامل */
custom-salla-product-card:hover .angel-shine-obj img:first-of-type {
  opacity: 0;
}

custom-salla-product-card:hover .angel-shine-obj img:nth-of-type(2) {
  opacity: 1;
}

/* دعم اللمس للموبايل عند الضغط على البطاقة */
custom-salla-product-card:active .angel-shine-obj img:first-of-type {
  opacity: 0;
}

custom-salla-product-card:active .angel-shine-obj img:nth-of-type(2) {
  opacity: 1;
}

/* تحسين إضافي لضمان تجربة سلسة */
.angel-shine-obj {
  overflow: hidden; /* لمنع خروج الصور عن الحواف إذا كانت الحواف مستديرة */
  isolation: isolate; /* لضمان عدم تداخل z-index مع عناصر خارجية */
}

.angel-shine-obj img {
  pointer-events: none; /* لمنع الصور من اعتراض أحداث الماوس وتمريرها للرابط */
}
@media(max-width:992px){
    .index .s-products-list-wrapper {
    display: grid;
    grid-template-columns: repeat(1,minmax(0,1fr));
    grid-gap: .25rem;
    gap: .25rem;
    width: 300px;
    margin: auto;
}
}

/* الحاوية الأساسية للصور */
.angel-shine-obj {
    position: relative;
    display: block;
    height: 100%;
}

/* التنسيق الافتراضي للصورتين */
.angel-shine-obj img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* لضمان التوسيط التام */
    width: 100%;
    height: auto;
    transition: all 0.4s ease-in-out;
}

/* الصورة الأولى (الظاهرة) */
.angel-shine-obj img:first-of-type {
    opacity: 1;
    z-index: 10;
}

/* الصورة الثانية (المخفية - الـ Hover) */
.angel-shine-obj img:nth-of-type(2) {
    opacity: 0;
    z-index: 5;
    transform: translate(-50%, -45%) scale(1.05); /* تأثير حركي بسيط للـ Hover */
}

/* عند الوقوف على البوكس بالكامل */
custom-salla-product-card:hover .angel-shine-obj img:first-of-type {
    opacity: 0;
    z-index: 5;
}

custom-salla-product-card:hover .angel-shine-obj img:nth-of-type(2) {
    opacity: 1;
    z-index: 10;
    transform: translate(-50%, -50%) scale(1);
}
.s-block__title h2 {
    color: #4546fe !important
}

.similar-products.container.mt-4 {

    display:none !important
}


.header-container button#back-Btn {
    display: none !important;
}
.cart-submit-wrap  .s-button-text {

    color: #fff !important;
}