/* الهيدر */ 
.navbar-brand img{
  max-height:6rem;
}

@media (min-width: 1024px) {
    .main-nav-container {
        min-height: 100px;
    }
}
a.navbar-brand {

  margin: 10px 0;
}  
.main-nav-container.fixed-pinned .navbar-brand img {
    max-height: 5.5rem;
}
.main-nav-container.fixed-header .inner {
    transform: translate3d(0, 0, 0);
    background-color: rgb(255 255 255 / 30%);
    backdrop-filter: blur(10px);
}
div#mainnav {
    box-shadow: 0 2px 6px rgb(0 0 0 / 28%);
}

/* نختار فقط الكونتينر داخل الهيدر */
.inner.bg-inherit > .container {
  margin: 10px auto !important;
  padding: 0px 40px 0px 50px !important;
  max-width: 100% !important;
}


/* نخلي الاتجاه من اليمين لليسار */
.inner > .container > .flex {
  direction: rtl !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* نخلي الشعار أقصى اليمين */
.navbar-brand {
  order: 1;
  margin-inline-end: 1rem;
  display: flex;
  align-items: center;
}

/* نخلي التصنيفات بالنص */
custom-main-menu {
  order: 2;
  flex-grow: 1;
  margin-inline: 1rem;
}


/* نخلي البروفايل والسلة بأقصى اليسار */
.inner > .container > .flex > .items-center.justify-end {
  order: 3;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}



/*////////////////////////////////////////////*/

/*///بطاقة المنتج///*/
custom-salla-product-card {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  transition: transform 0.3s !important;
}

custom-salla-product-card:hover {
  transform: scale(1.05);
}

custom-salla-product-card img {
  max-width: 100%;
  border-radius: 4px;
}

custom-salla-product-card .s-product-card-price {
  color: #e91e63;
  font-weight: bold;
  margin-top: 8px;
}
.s-user-menu-trigger{
  background: #ff000000;
}

img.s-user-menu-trigger-avatar{
  height: 45px;
  width: 45px;
}


.live-chat-entry {
  position: fixed;
  bottom: 30px;
  right: 16px; 
  z-index: 9999; 
}


  #liveChatWrapper {
    transition: transform 0.4s ease, opacity 0.5s ease;
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
  }

  #liveChatWrapper.open {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }
  
@keyframes bubbleIn {
  0% {
    opacity: 0;
    transform: scale(0.95) rotate(-1deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.chat-text-animate {
  animation: bubbleIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

salla-advertisement .s-advertisement-content{
height:60px;
}
.s-advertisement-content {
    display: flex;
    justify-content: center;  /* لتوسيط المحتوى أفقيًا */
    align-items: center;      /* لتوسيط المحتوى عموديًا */
    height: 100%;             /* لضمان أن العنصر يحتوي على كامل الارتفاع */
}

.s-advertisement-content-main {
    text-align: center;       /* لتوسيط النص داخل h2 */
    margin: 0;                /* إزالة المسافات الافتراضية */
}

.s-advertisement-content a {
    color: white;             /* لجعل النص باللون الأبيض */
    text-decoration: none;    /* لإزالة الخط السفلي من الرابط */
}