/* ترتيب السعرين داخل بطاقة المنتج */
.s-product-card-content-sub .s-product-card-sale-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-top: 6px;
}

/* السعر الحالي */
.s-product-card-content-sub .s-product-card-sale-price h4 {
  margin: 0;
  color: #8b3f63;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

/* السعر السابق */
.s-product-card-content-sub .s-product-card-sale-price span {
  color: #888;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}


.mobile-bottom-menu {
  display: none;
}

@media (max-width: 767px) {
  body.has-mobile-bottom-menu {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }

  .mobile-bottom-menu {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 -3px 14px rgb(0 0 0 / 8%);
    direction: rtl;
  }

  .mobile-bottom-menu a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #51445a;
    font-size: 11px;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
  }

  .mobile-bottom-menu .menu-icon {
    font-size: 19px;
    line-height: 1;
  }
}

@media (max-width: 767px) {
  .mobile-bottom-menu {
    bottom: 0;
    z-index: 40;
  }

  body.has-mobile-bottom-menu .sticky-product-bar {
    bottom: calc(64px + env(safe-area-inset-bottom)) !important;
    z-index: 39;
  }
}

@media (max-width: 767px) {
  body.has-mobile-bottom-menu
  salla-cart-summary-card.s-cart-summary-card--mobile {
    bottom: 72px !important;
    z-index: 39 !important;
  }

  body.has-mobile-bottom-menu .mobile-bottom-menu {
    z-index: 40 !important;
  }
}