/* === Global Base === */
body,
html,
#page-wrapper,
.section,
.container,
.restaurant-page {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  background-color: #202124 !important;
  color: #f1f1f1 !important;
  margin: 0;
  padding: 0;
}

/* === Menu Section (white background fix) === */
.restaurant-page .menu {
  background-color: #202124 !important;
  color: #f1f1f1 !important;
  padding: 1rem 0;
}

/* === Headings === */
h1, h2, h3, .restaurant-title {
  color: #ffffff !important;
  font-weight: 600;
  margin: 0;
}

hr {
  border: none;
  border-top: 1px solid #444;
  margin: 2rem 0;
}

/* === Links === */
a {
  color: #4fc3f7 !important;
}
a:hover {
  color: #81d4fa !important;
  text-decoration: underline;
}

/* === Contact / Hours Text === */
.contact-info p,
.hours-info p,
.hours-info li,
.detail-item {
  color: #ccc !important;
}

/* === Expand / Collapse Buttons === */
.menu-controls {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
}

.menu-controls button {
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.85rem;
  color: #fff !important;
  background-color: transparent !important;
  border: 1.5px solid #666 !important;
  border-radius: 8px;
  padding: 0.4rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.menu-controls button:hover {
  border-color: #4caf50 !important;
  color: #4caf50 !important;
}

/* === Category Section === */
.restaurant-page .menu-category {
  background-color: #2a2c2e !important;
}

.restaurant-page .category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0.75rem;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  background-color: #2a2c2e !important;
}

.category-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff !important;
  margin: 0;
}

.arrow {
  font-size: 1.4rem;
  color: #bbb !important;
  transition: transform 0.2s ease;
}
.category-header.open .arrow {
  transform: rotate(90deg);
}
.arrow::before {
  content: none !important;
}

/* === Menu Items Container === */
.restaurant-page .menu-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background-color: #202124 !important;
}
.restaurant-page .menu-items.visible {
  display: block;
}

/* === Menu Item (your custom version) === */
.restaurant-page .menu-item {
  padding: 1rem 0.75rem;
  border-bottom: 1px solid rgb(172 179 171 / 44%) !important;
  background-color: #4a4a4a !important;
  transition: background-color 0.2s ease;
}

.restaurant-page .menu-item:hover {
  background-color: #555 !important;
}

/* === Item Content === */
.restaurant-page .item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 1rem;
  color: #fff !important;
}

.restaurant-page .item-name {
  flex: 1;
  font-weight: 600;
}

.restaurant-page .item-price {
  color: #4caf50 !important;
  font-weight: 600;
  white-space: nowrap;
}

/* === Item Description (your custom version) === */
.restaurant-page .item-description {
  font-size: 0.9rem;
  font-style: italic;
  color: #bbb !important;
  margin-top: 0.25rem;
  margin-bottom: 0;
}

/* === Inputs / Form Fields === */
.restaurant-page input,
.restaurant-page select,
.restaurant-page textarea {
  background-color: #2a2c2e !important;
  color: #f1f1f1 !important;
  border: 1px solid #555 !important;
  font-family: 'Poppins', sans-serif;
}

/* === Responsive === */
@media (max-width: 500px) {
  .menu-controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-controls button {
    width: 100%;
  }

  .item-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .item-price {
    margin-top: 0.25rem;
  }
}
/* theme css */
.menu-items { display: none; }
.menu-items.visible { display: block; }
.category-header.open + .menu-items { display: block; }
