body {
  background-color: #121212;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  padding-bottom: 120px !important;
  text-transform: capitalize;
}
header {
  color: #ba0000;
  text-align: center;
  padding: 2rem 1rem 1rem;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 2px;
}
.menu-section {
  margin: 2rem auto;
  max-width: 900px;
  padding: 0 1rem;
}
h2 {
  border-bottom: 2px solid #ba0000;
  color: #ba0000;
  padding-bottom: 0.5rem;
}
.menu-item {
  margin: 1rem 0;
  padding: 1rem 1rem 1rem 2.5rem;
  border-radius: 10px;
  background-color: #1f1f1f;
  box-shadow: 0 0 10px rgba(139, 0, 0, 0.1);
  position: relative;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.1s ease;
}
.menu-item h3 {
  color: #ffffff;
  margin: 0 0 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
}
.menu-item p {
  color: #cccccc;
  margin: 0;
  font-size: 0.9rem;
}
.menu-item.selected {
  box-shadow: 0 0 0 2px #ba0000;
  transform: translateY(-1px);
}
.menu-checkbox {
  position: absolute;
  left: 0.8rem;
  top: 0.9rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: #ba0000;
  cursor: pointer;
  margin: -3px 0 0 -18px;
}

/* WhatsApp ORDER BAR */
#order-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1f1f1f;
  border-top: 1px solid #333;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  text-align: center;
}
#order-btn {
  background: #25D366;
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.8rem;
  font-size: 1rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  margin-top: 6px;
}

/* Arabic layout overrides */
html[lang="ar"] body {
  direction: rtl;
}
html[lang="ar"] .menu-item {
  padding: 1rem 2.5rem 1rem 1rem;
}
html[lang="ar"] .menu-item h3 {
  padding-right: 2.2rem;
}
html[lang="ar"] .menu-checkbox {
  left: auto;
  right: 0.8rem;
}
.menu-checkbox {
  pointer-events: none;
}

.menu-item .item-bar h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px; /* المسافة بين الاسم والسعر */
}

.menu-item .item-bar h3 span {
    margin-left: auto;
}



/* Quantity Integration */
.menu-item {
    border-bottom: 1px solid #eee;
    padding: 10px 0 0 20px;
    cursor: pointer;
}

.item-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qty-selected {
    background: #000;
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 14px;
    display: none;
    margin: -6px 5px 0 15px;
}

.qty-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    background: #ffffff;
    padding: 0 5px;
    margin-top: 7px;
}

.qty-menu.open {
    max-height: 300px;
    padding: 10px;
}

.qty-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.qty-grid div {
    padding: 10px;
    background: #ba0000;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    transition: .2s;
}

.qty-grid div:hover {
    background: #bbb;
}
