div#mainnav {
    background-color: #E49BA6;
}
.main-menu li.root-level{
  color:antiquewhite;
}

.logo {
  filter: brightness(0) saturate(100%) invert(95%) sepia(10%) saturate(300%) hue-rotate(330deg);
}
a.navbar-brand {
    filter: brightness(0) saturate(100%) invert(95%) sepia(10%) saturate(300%) hue-rotate(330deg);
}

::before {
    filter: brightness(0) saturate(100%) invert(95%) sepia(10%) saturate(300%) hue-rotate(330deg);
}

button.undefined.s-button-element.s-button-btn.s-button-outline.s-button-wide.s-button-primary-outline.s-button-loader-center {
    background-color: #E49BA6;
  color: antiquewhite;
}
.mm-spn li{
  background-color:#E49BA6;
    color:antiquewhite;

}
.mm-spn.mm-spn--navbar.mm-spn--main {
    background-color:#E49BA6; ;
}
@media only screen and (max-width: 1024px) {
    .mm-spn.mm-spn--navbar.mm-spn--main:where([dir=rtl],[dir=rtl] *):after {
        padding-right: .75rem;
        color: white;
    }
}

.s-product-card-vertical .s-product-card-wishlist-btn button {
    --tw-bg-opacity: 1 !important;
    background-color: #E49BA6 !important;
    margin: 0;
}



.s-products-list-vertical-cards {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (min-width: 768px) {
  .s-products-list-vertical-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .s-products-list-vertical-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.s-user-menu-trigger {
    background-color:#E49BA6; ;

}
.s-product-card-image img.loaded{
  border-radius:10px;
}


.footer-is-light .store-footer .store-footer__inner{
      background-color:#E49BA6; ;
      color: antiquewhite;
}

.md\:flex.items-center.justify-between.py-4.container.text-center{

   background-color:#E49BA6; ;

}

svg.absolute.top-0.w-full.h-6.-mt-5.sm\:-mt-10.sm\:h-16.store-footer__curve.z-\[0\] {
    position: relative;
}




















/* --- Reels FAB Button --- */
.reels-fab-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9990;
    cursor: pointer;
}

.reels-fab {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    animation: pulse-animation 2s infinite;
    position: relative;
}

.reels-fab svg {
    width: 30px;
    height: 30px;
    fill: white;
}

@keyframes pulse-animation {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(238, 42, 123, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 15px rgba(238, 42, 123, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(238, 42, 123, 0); }
}

/* --- Full Screen Modal --- */
.reels-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: none; /* Hidden by default */
    flex-direction: column;
}

.reels-modal.active {
    display: flex;
}

.reels-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    z-index: 10001;
    cursor: pointer;
    background: rgba(0,0,0,0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
}

/* --- Video Container (Snap Scroll) --- */
.reels-feed {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scrollbar-width: none; /* Firefox */
}
.reels-feed::-webkit-scrollbar { display: none; }

.reel-item {
    position: relative;
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reel-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Makes it full screen like TikTok */
}

/* --- UI Overlay (Info & Buttons) --- */
.reel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 40%);
    pointer-events: none; /* Allow clicks to pass through to video */
}

.reel-info {
    position: absolute;
    bottom: 80px;
    right: 20px; /* Arabic Layout (RTL) */
    text-align: right;
    color: white;
    width: 70%;
    pointer-events: auto;
}

.reel-product-name {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.reel-price-box {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.reel-price {
    color: #f9ce34;
    font-weight: bold;
    font-size: 1.2rem;
}

.reel-old-price {
    color: #ddd;
    text-decoration: line-through;
    font-size: 0.9rem;
}

.reel-cart-btn {
    background: #ee2a7b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
    text-decoration: none;
}
.reel-cart-btn:active { transform: scale(0.95); }

/* --- Sidebar Actions (Likes, Share) --- */
.reel-actions {
    position: absolute;
    bottom: 100px;
    left: 10px; /* Left side for actions in RTL setup */
    display: flex;
    flex-direction: column;
    gap: 20px;
    pointer-events: auto;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    gap: 5px;
    cursor: pointer;
}

.action-btn span {
    font-size: 12px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.action-icon {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.action-icon svg { fill: white; width: 20px; height: 20px; }
.action-btn:hover .action-icon { background: rgba(255,255,255,0.4); }

/* Mobile Responsiveness */
@media (min-width: 768px) {
    .reels-modal {
        align-items: center;
        justify-content: center;
        background: rgba(0,0,0,0.8);
    }
    .reels-feed {
        width: 400px; /* Phone size on desktop */
        height: 80vh;
        border-radius: 20px;
        overflow: hidden;
    }
    .reels-close-btn {
        top: 20px;
        right: auto;
        margin-left: 450px; /* Position outside the phone frame */
    }
}


.moon-recolor {
  filter: 
    brightness(0)           /* يحولها لأسود */
    invert(90%)             /* قلب اللون */
    sepia(60%) 
    saturate(500%) 
    hue-rotate(-20deg) 
    brightness(150%) 
    contrast(90%);
}



.max-w-sm.leading-6.mb-6 {
    text-align: center;
}

.store-footer h3 {
    width: 100%;
    text-align: center;
}
.s-menu-footer-list {
    text-align: center;
}

/* ديسكتوب: 3 أعمدة */
.store-footer__inner > .container {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 40px !important;
}

/* ترتيب الأعمدة */
.store-footer__inner > .container > div:nth-child(1) {
  grid-column: 1;
}

.store-footer__inner > .container > div:nth-child(2) {
  grid-column: 2;
}

.store-footer__inner > .container > div:nth-child(3) {
  grid-column: 3;
}


/* جوال: عمود واحد */
@media (max-width: 1024px) {
  .store-footer__inner > .container {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    gap: 30px !important;
  }

  /* نخلي كل قسم ياخذ صف */
  .store-footer__inner > .container > div {
    grid-column: auto !important;
  }
}

#contact-slot {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}


.trust-container {
  display: flex;
  flex-wrap: wrap;             /* يخليها تروح للسطر الثاني لو ما يكفي عرض */
  gap: 12px;                   /* مسافات بين العناصر */
  justify-content: center;     /* وسّط العناصر */
  align-items: center;
  text-align: center;
}

.trust-container salla-trust-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #f8f8f8;
  min-width: 170px;
  justify-content: center;
}

/* شاشات صغيرة: تصير عمود */
@media (max-width: 640px) {
  .trust-container {
    flex-direction: column;
  }
}


.flex.gap-4 {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: start;
}

.flex.gap-4 salla-trust-badges {
  display: flex;
  align-items: center;
  gap: 8px;
}


.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  min-width: 180px;
  justify-content: center;
  text-align: center;
}

.top-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* الشكل العام للعناصر */
.top-row .trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  min-width: 180px;
  justify-content: center;
  text-align: center;
}

/* ⚡ الجوال: عنصرين فوق وواحد تحت */
@media (max-width: 640px) {
  .top-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
  }

  /* آخر عنصر يروح تحتهم */
  .top-row .trust-item:last-child {
    grid-column: span 2;
    justify-self: center;
  }
}



/* -----------------------------
   زر البحث الجديد
------------------------------*/
.custom-search-trigger {
  cursor: pointer;
  margin-inline-end: 12px;
}
.custom-search-trigger i {
  font-size: 26px;
  color: var(--primary-color);
}


/* -----------------------------
   مودال البحث
------------------------------*/
.custom-search-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 999999;
}

.custom-search-modal.show {
  display: block;
}

.custom-search-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
}

.custom-search-box {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 480px;
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,.18);
  animation: popUp .25s ease;
}

@keyframes popUp {
  from { transform: translate(-50%, -20px); opacity: 0; }
  to   { transform: translate(-50%, 0); opacity: 1; }
}

.close-search {
  font-size: 26px;
  cursor: pointer;
  float: left;
  margin-bottom: 10px;
}

.custom-search-input {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  margin-bottom: 12px;
  font-size: 16px;
}

.custom-search-btn {
  width: 100%;
  padding: 14px;
  background: var(--primary-color);
  color: #fff;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
}










/* زر البحث الجديد */
.custom-search-trigger {
  cursor: pointer;
  margin-inline-end: 12px;
}
.custom-search-trigger i {
  font-size: 26px;
  color: var(--primary-color);
}


/* مودال البحث */
.custom-search-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 999999;
}
.custom-search-modal.show {
  display: block;
}

.custom-search-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(4px);
}

.custom-search-box {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 480px;
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,.18);
  animation: popUp .25s ease;
}

@keyframes popUp {
  from { transform: translate(-50%, -20px); opacity: 0; }
  to   { transform: translate(-50%, 0); opacity: 1; }
}

.close-search {
  font-size: 26px;
  cursor: pointer;
  float: left;
  margin-bottom: 10px;
}



/* استبدال أيقونة الحقيبة إلى عربة */
#s-cart-icon svg {
  display: none !important;
}

.custom-cart-icon {
  font-family: 'sallaicons';
  font-size: 30px;
  color: var(--primary-color);
}

.custom-cart-icon::before {
  content: "\e901"; /* رمز العربة */
}







/* ===== هيدر مون — إعادة ترتيب كاملة بطريقة آمنة ===== */

/* الحاوية الأساسية */
#mainnav .container > .flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

/* المنطقة اليمنى — الحساب */
.header-right {
    order: 3;
    display: flex;
    align-items: center;
    gap: 14px;
}

/* المنطقة الوسطى — اللوقو */
.header-center {
    order: 2;
    flex: 1;
    display: flex;
    justify-content: center;
    pointer-events: auto;
}

.header-center .navbar-brand img {
    height: 55px !important;
    width: auto !important;
}

/* المنطقة اليسرى — البحث + السلة */
.header-left {
    order: 1;
    display: flex;
    align-items: center;
    gap: 14px;
}

/* إخفاء كلمة (مرحباً بك) من الحساب */
.s-user-menu-trigger-content {
    display: none !important;
}

/* لمسة جمالية صغيرة */
#mainnav {
    padding-top: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid #eee;
}









/* استيراد خطوط فاخرة */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Tajawal:wght@300;500&display=swap');

/* إخفاء السلايدر الأصلي */
.swiper-container, .main-slider { display: none !important; }

/* 1. حاوية البنر الفخم */
.luxury-hero {
    position: relative;
    width: 100%;
    height: 100vh; /* ملء الشاشة */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

/* 2. الخلفية */
.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url('https://cdn.salla.sa/WlApNA/EzItDLW3ATRQ4SncHyGlusRP46P3AgOOkp1kOyTN.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1);
    transition: transform 10s ease; /* حركة ناعمة جداً */
    animation: slowZoom 20s infinite alternate;
}

/* 3. طبقة الظل والثلج */
.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 50%, #000 100%);
    z-index: 2;
}

/* 4. تصميم الثلج */
.snowflake {
    position: absolute;
    top: -10px;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
    pointer-events: none;
    z-index: 3; /* فوق الخلفية وتحت النص */
    animation: fall linear forwards;
    filter: blur(1px); /* تمويه خفيف لواقعية أكثر */
}

/* 5. المحتوى والنصوص */
.hero-content {
    position: relative;
    z-index: 10; /* فوق كل شيء */
    text-align: center;
    color: #fff;
    padding: 20px;
}

.hero-subtitle {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0;
    animation: slideUp 1s ease forwards 0.5s;
    color: #d4af37; /* لون ذهبي خافت */
}

.hero-title {
    font-family: 'Cinzel', serif; /* خط كلاسيكي فخم */
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #8c9097;
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
    opacity: 0;
    animation: slideUp 1s ease forwards 0.8s;
}

.hero-desc {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0;
    animation: slideUp 1s ease forwards 1.1s;
}

/* 6. الزر المتوهج */
.luxury-btn {
    position: relative;
    padding: 15px 50px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
    text-decoration: none;
    overflow: hidden;
    transition: 0.5s;
    opacity: 0;
    animation: slideUp 1s ease forwards 1.4s;
    cursor: pointer;
}

.luxury-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.luxury-btn:hover {
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
    border-color: #fff;
}

.luxury-btn:hover::before {
    left: 100%;
}

/* الأنميشن */
@keyframes fall {
    to { transform: translateY(110vh); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

/* تعديلات الجوال */
@media (max-width: 768px) {
    .hero-title { font-size: 2.8rem; }
    .hero-bg { animation: none; } /* تحسين الأداء للجوال */
}

/* جعل الهيدر شفاف */
header.store-header {
    position: absolute !important;
    top: 0; width: 100%;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    z-index: 999;
}

/* تبييض الأيقونات */
.navbar-brand h1, .sicon-menu, .sicon-search, .sicon-cart, 
.s-cart-summary-total, .s-user-menu-trigger-hello, 
.s-user-menu-trigger-name {
    color: #ffffff !important;
}