#discount-banner {
    width: 100%;
    background-color: #70499a;
    color: white;
    padding: 4px 20px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between; /* عشان النص على اليمين و X على الشمال */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    direction: rtl;
}

.banner-text strong {
    display: block;
    font-size: 16px;
}

.close-banner {
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    margin-right: 10px;
    transition: color 0.3s;
}

.close-banner:hover {
    color: #ffcccb; /* لون مختلف عند المرور */
}


/* Popup */


#popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  direction: rtl;
}

#popup-banner {
  background-color: #70499a;
  color: white;
  padding: 40px 25px;
  border-radius: 15px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

#close-popup {
  position: absolute;
  top: 10px;
  left: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

#popup-banner h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

#discount-code {
  background: white;
  color: #70499a;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 22px;
  font-weight: bold;
  margin: 15px 0;
 
}

/* Style for whatsApp */
#whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 15px;
  background: #25D366;
  color: #fff;
  padding: 10px 15px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
}
#whatsapp-btn:hover {
  background: #1ebe5d;
}


/*Top navbar*/

.bg-inherit {
    /* background-color: inherit; */
    background-color: #70499a;
}


/*logo*/

.navbar-brand img {
    max-height: 85px;
    width: auto;
    max-width: 100px;
}

@media only screen and (min-width: 1024px) {
    .main-menu {
        color: white;
    }
    .main-menu :hover {
        color: #c9b908;
    }
}


/*FOOTER*/
.footer-is-light .store-footer .store-footer__inner {
    background-color: #70499A;
    color: white;
}


/*LOGO FOOTER*/

.m-0 {
      background-repeat: no-repeat;
    background-size: 78px;
    margin-bottom: 25px;
    background-position: right;
    background-image: url(https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/DGelgy/14wjJUTw2MV5H20Dfpk3omxO60UF7pOrW0FxgJA0.jpg);
    padding-top: 24px;
    padding-right: 97px;
    padding-bottom: -1px;
    padding-left: 37px;
}

/*Mobile CSS*/
[class^=sicon-], [class*=" sicon-"] {
    font-family: "sallaicons" !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    color: #c1ab00;
    -moz-osx-font-smoothing: grayscale;
}



@media (min-width: 1024px) {
    .lg\:grid-cols-6 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/*Test*/


/* ===== Button in header ===== */
#customMenuBtn {
    background: none;
  border: none;
  font-size: 26px;
  color: #fcea06;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  z-index: 10001;
}

/* ===== Overlay ===== */
.custom-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease;
  z-index: 9998;
}
.custom-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== Side menu ===== */
.custom-side-menu {
  position: fixed;
  top: 0;
  right: -340px;               /* مخفية خارج الشاشة */
  width: 320px;
  max-width: 85%;
  height: 100vh;
  background: #70499A;        /* بنفسجي */
  color: #fff;
  transition: right .30s ease;
  z-index: 9999;
  padding: 22px 18px;
  box-shadow: -6px 0 30px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
}
.custom-side-menu.active {
  right: 0;
}

/* ===== Close button ===== */
.custom-side-menu .custom-close-btn {
  position: absolute;
  top: 14px;
  left: 14px;                 /* داخل القائمة: على اليسار (يناسب RTL) */
  background: none;
  border: none;
  font-size: 22px;
  color: gold;
  cursor: pointer;
  padding: 6px;
}

/* ===== Logo (يأخذ عرض القائمة) ===== */
.custom-side-menu .custom-logo {
  width: 100%;
  text-align: center;
  margin: 36px 0 18px 0;
}
.custom-side-menu .custom-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-width: 130px;
    margin-right: 70px; */
}

/* ===== Menu links ===== */
.custom-side-menu .custom-menu-links {
  width: 100%;
  padding: 0;
  margin: 6px 0 20px 0;
  list-style: none;
}
.custom-side-menu .custom-menu-links li {
  margin: 8px 0;
}
.custom-side-menu .custom-menu-links li a {
  display: block;
  width: 100%;
  padding: 10px 14px;
  text-align: center;
  color: #ffffff;            /* افتراضي أبيض */
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: color .18s ease, background-color .18s ease;
}
.custom-side-menu .custom-menu-links li a:hover {
  color: gold;               /* دهبي عند hover */
  background: rgba(255,255,255,0.06);
}

/* ===== Responsive tweaks ===== */
@media (max-width: 480px) {
  .custom-side-menu { width: 86%; right: -86%; }
  .custom-side-menu.active { right: 0; }
  .custom-side-menu .custom-logo { margin-top: 30px; }
}

/* إذا أردت الزر يظهر فقط على الموبايل — فك التعليق: */
/*
@media (min-width: 1024px) {
  #customMenuBtn { display: none; }
}
*/

/*لاخفاء الزر فى الموبيل */

@media (max-width: 767px) {
  #customMenuBtn {
    display: none !important;
  }
}