 :root {
  --primary-gold: #D4AF37;
  --secondary-gold: #FFD700;
  --dark-bg: #000;
  --darker-bg: #111;
  --light-text: #fff;
  --gray-text: #ccc;
  --discount: #FF4500;
  --success: #4CAF50;
  --danger: #F44336;
  --whatsapp: #25D366;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--dark-bg);
  color: var(--light-text);
  line-height: 1.6;
}
header {
  text-align: center;
  padding: 1.5rem 1rem;
  background: linear-gradient(to bottom, #000000, #1a1a1a);
  color: var(--primary-gold);
  border-bottom: 3px solid var(--primary-gold);
  position: relative;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
  margin-top: 80px;
}
.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.logo {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-gold);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
  margin-bottom: 0.5rem;
}
.tagline {
  font-size: 1.1rem;
  color: var(--gray-text);
  margin-top: 0.3rem;
  position: relative;
  display: inline-block;
}
.tagline::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--primary-gold);
}
/* promo carousel */
.promo-carousel-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  height: 300px;
  border: 3px solid var(--primary-gold);
}
.promo-carousel {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease-in-out;
}
.promo-slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.promo-slide::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.8) 100%);
  pointer-events: none;
}
.promo-content {
  text-align: center;
  color: white;
  z-index: 2;
  max-width: 80%;
  padding: 1rem;
}
.promo-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
  letter-spacing: 1px;
  font-family: 'Arial Black', sans-serif;
  animation: slideInText 1.2s ease-out forwards;
  transform-origin: center;
}
.promo-text {
  font-size: 1.1rem;
  margin: 0.5rem 0;
  opacity: 0.9;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}
.promo-badge {
  display: inline-block;
  background: var(--primary-gold);
  color: var(--dark-bg);
  padding: 0.4rem 0.8rem;
  border-radius: 30px;
  font-weight: bold;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.promo-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(212, 175, 55, 0.9);
  color: #000;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  opacity: 0.8;
  transition: all 0.3s;
}
.promo-nav:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}
.promo-nav.prev { left: 10px; }
.promo-nav.next { right: 10px; }
.promo-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.promo-dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}
.promo-dot.active {
  background: var(--primary-gold);
  transform: scale(1.2);
}
@keyframes slideInText {
  0% { transform: scaleX(0); opacity: 0; }
  50% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 1; }
}
.scroll-top {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-gold);
  color: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.scroll-top.visible {
  opacity: 1;
}
.scroll-top:hover {
  transform: translateY(-5px);
}
main {
  padding: 1.5rem;
  max-width: 1300px;
  margin: 0 auto;
}
h1 {
  text-align: center;
  color: var(--primary-gold);
  font-size: 2.2rem;
  margin: 1.5rem 0;
  position: relative;
  padding-bottom: 0.5rem;
}
h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--primary-gold), transparent);
}
.search-container {
  margin: 1.5rem 0;
  display: flex;
  justify-content: center;
}
.search-box {
  display: flex;
  align-items: center;
  background: var(--darker-bg);
  border: 1px solid #555;
  border-radius: 30px;
  padding: 0.5rem 1rem;
  width: 100%;
  max-width: 500px;
  transition: all 0.3s;
}
.search-box:focus-within {
  border-color: var(--primary-gold);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}
.search-box input {
  background: transparent;
  border: none;
  color: var(--light-text);
  padding: 0.5rem;
  width: 100%;
  font-size: 1rem;
  outline: none;
}
.search-box i {
  color: var(--primary-gold);
  font-size: 1.2rem;
}
.main-categories-container {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  background: var(--darker-bg);
  padding: 0.8rem 0;
  border-bottom: 2px solid var(--primary-gold);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.main-categories {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.7rem;
  overflow-x: auto;
  padding: 0.5rem 1rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  width: 100%;
  cursor: grab;
  position: relative;
  z-index: 2;
}
.main-categories.active {
  cursor: grabbing;
  user-select: none;
}
.main-categories::-webkit-scrollbar {
  height: 6px;
}
.main-categories::-webkit-scrollbar-track {
  background: #222;
  border-radius: 10px;
}
.main-categories::-webkit-scrollbar-thumb {
  background: var(--primary-gold);
  border-radius: 10px;
}
.main-cat-btn {
  background: var(--darker-bg);
  color: var(--gray-text);
  border: 1px solid #555;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  white-space: nowrap;
}
.main-cat-btn:hover,
.main-cat-btn.active {
  background: var(--primary-gold);
  color: var(--dark-bg);
  border-color: var(--primary-gold);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}
.main-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--primary-gold);
  color: var(--dark-bg);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: all 0.3s ease;
  border: 2px solid #333;
}
.main-scroll-btn:hover {
  transform: translateY(-50%) scale(1.1);
}
.main-scroll-btn.left {
  left: -10px;
}
.main-scroll-btn.right {
  right: -10px;
}
.main-categories-container:hover .main-scroll-btn {
  opacity: 0.9;
}
.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
  padding: 1rem;
  background: var(--darker-bg);
  border-radius: 12px;
  border: 1px solid #333;
  overflow: hidden;
  position: sticky;
  top: 70px;
  z-index: 90;
}
.controls-group {
  display: flex;
  width: 100%;
  justify-content: center;
}
.filters-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}
.filters-container::before,
.filters-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 25px;
  height: 100%;
  pointer-events: none;
  z-index: 3;
  opacity: 0.6;
}
.filters-container::before {
  left: 0;
  background: linear-gradient(to left, rgba(17,17,17,0.9), transparent);
}
.filters-container::after {
  right: 0;
  background: linear-gradient(to right, rgba(17,17,17,0.9), transparent);
}
.filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.7rem;
  overflow-x: auto;
  padding: 0.5rem 1rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  width: 100%;
  cursor: grab;
  position: relative;
  z-index: 2;
}
.filters.active {
  cursor: grabbing;
  user-select: none;
}
.filters::-webkit-scrollbar {
  height: 6px;
}
.filters::-webkit-scrollbar-track {
  background: #222;
  border-radius: 10px;
}
.filters::-webkit-scrollbar-thumb {
  background: var(--primary-gold);
  border-radius: 10px;
}
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--primary-gold);
  color: var(--dark-bg);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: all 0.3s ease;
  border: 2px solid #333;
}
.scroll-btn:hover {
  transform: translateY(-50%) scale(1.1);
}
.scroll-btn.left {
  left: -10px;
}
.scroll-btn.right {
  right: -10px;
}
.filters-container:hover .scroll-btn {
  opacity: 0.9;
}
.filter-btn {
  background: var(--darker-bg);
  color: var(--gray-text);
  border: 1px solid #555;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  white-space: nowrap;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-gold);
  color: var(--dark-bg);
  border-color: var(--primary-gold);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}
h2.section-title {
  color: var(--secondary-gold);
  font-size: 1.7rem;
  margin: 2.5rem 0 1.5rem;
  padding-bottom: 0.6rem;
  text-align: center;
  position: relative;
  border-bottom: 1px solid #444;
}
h2.section-title::before {
  content: "✻";
  color: var(--primary-gold);
  margin-left: 0.5rem;
}
h2.section-title::after {
  content: "✻";
  color: var(--primary-gold);
  margin-right: 0.5rem;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 0;
}
.menu-card {
  background: var(--darker-bg);
  border: 1px solid #333;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}
.menu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
  border-color: var(--primary-gold);
}
.menu-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--primary-gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.menu-card:hover::before {
  opacity: 1;
}
/* ✅ جعل الصورة غير تفاعلية */
.menu-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-bottom: 1px solid #333;
  transition: transform 0.5s;
  /* cursor: pointer; ← تم حذفها */
}
.menu-card:hover img {
  transform: scale(1.05);
}
.image-container {
  overflow: hidden;
  position: relative;
}
/* ✅ تم حذف زر عرض الصورة بالكامل */
.menu-content {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.menu-card h3 {
  color: var(--primary-gold);
  font-size: 1.1rem;
  margin: 0.3rem 0;
  text-align: center;
  font-weight: bold;
  word-wrap: break-word;
  overflow: visible;
  min-height: 0.1em;
}
.menu-card .description {
  font-size: 0.75rem;
  color: var(--gray-text);
  text-align: center;
  margin: 0.5rem 0;
  line-height: 1.4;
  max-height: 30.4em;
  overflow: hidden;
  transition: max-height 0.3s ease;
  word-wrap: break-word;
}
.menu-card:hover .description {
  max-height: 6.8em;
}
.price-and-cart {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0 0.1rem;
  flex-wrap: wrap;
}
.price-section {
  flex: 1;
}
.price {
  text-align: center;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--secondary-gold);
  margin: 0;
}
.fees-note {
  font-size: 0.75rem;
  color: #aaa;
  text-align: center;
  margin: 0.25rem 0;
  font-style: italic;
  border-top: 1px solid #444;
  padding-top: 0.3rem;
}
.discount {
  text-align: center;
  font-size: 1rem;
  color: var(--discount);
  font-weight: bold;
  margin: 0.5rem 0 0.7rem;
  background: rgba(255, 69, 0, 0.1);
  padding: 0.35rem;
  border-radius: 6px;
  border: 1px dashed var(--discount);
}
.item-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0;
  z-index: 5;
}
.item-badge::before {
  font-size: 0.75rem;
  color: #fff;
}
.badge-popular { background: #FF5252; }
.badge-popular::before { content: "🔥"; }
.badge-new { background: var(--success); }
.badge-new::before { content: "✨"; }
.badge-offer { background: #FF9800; }
.badge-offer::before { content: "🏷"; }
.rate-trigger-star {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.6);
  color: var(--primary-gold);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  opacity: 0.7;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 5;
}
.rate-trigger-star:hover {
  opacity: 1;
  transform: scale(1.1);
}
.item-rating {
  display: none;
  text-align: center;
  margin: 0.5rem 0 0.8rem;
  padding: 0.5rem 0;
  border-top: 1px dashed #555;
  border-radius: 8px;
  background: rgba(0,0,0,0.2);
  font-size: 0.85rem;
  color: var(--gray-text);
}
.item-rating .rating-text {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--secondary-gold);
}
.item-rating .stars {
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  margin: 0.2rem 0;
}
.item-rating .stars i {
  font-size: 1rem;
  color: #666;
  cursor: pointer;
  transition: color 0.2s;
}
.item-rating .stars i:hover,
.item-rating .stars i:hover ~ i {
  color: var(--primary-gold);
}
.item-rating .stars i.fas {
  color: var(--primary-gold);
}
.avg-rating {
  font-size: 0.85rem;
  color: var(--secondary-gold);
  font-weight: bold;
  margin-top: 0.2rem;
}
.rated {
  opacity: 0.7;
  cursor: not-allowed;
}
/* ✅ زر إضافة إلى السلة - في الجهة اليمنى وثابت */
.add-to-cart-external {
  position: absolute;
  top: 10px;           /* 👈 */
  right: 10px;         /* 👈 */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-gold);
  color: var(--dark-bg);
  border: none;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 10;
}
.add-to-cart-external:active {
  transform: scale(0.95); /* 👈 فقط تصغير */
}
.add-to-cart-external.added {
  background: var(--success);
}
.location-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.location-modal.show {
  opacity: 1;
}
.location-content {
  position: relative;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
  transform: scale(0.9);
  transition: transform 0.3s;
}
.location-modal.show .location-content {
  transform: scale(1);
}
.location-content h3 {
  color: var(--primary-gold);
  margin: 1.5rem;
  text-align: center;
}
.location-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.5rem 1.5rem;
}
.location-btn {
  padding: 0.8rem 1.2rem;
  background: var(--primary-gold);
  color: var(--dark-bg);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.3s;
}
.location-btn:hover {
  transform: scale(1.05);
}
.close-location {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary-gold);
  color: var(--dark-bg);
  font-size: 1.8rem;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 0 15px rgba(0,0,0,0.6);
  transition: transform 0.3s;
}
.close-location:hover {
  transform: rotate(90deg);
}
footer {
  text-align: center;
  padding: 2rem 1.2rem;
  background: #000;
  color: var(--gray-text);
  border-top: 1px solid #333;
  font-size: 0.9rem;
  margin-top: 4rem;
  position: relative;
}
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--primary-gold), transparent);
}
.contact {
  margin-top: 0.8rem;
  color: var(--primary-gold);
  font-weight: bold;
  font-size: 1.1rem;
}
.social-icons {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.social-icons a {
  color: var(--gray-text);
  font-size: 1.5rem;
  transition: color 0.3s;
}
.social-icons a:hover {
  color: var(--primary-gold);
}
.loading {
  text-align: center;
  color: var(--primary-gold);
  font-size: 1.3rem;
  margin: 3rem 0;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.loading::after {
  content: "";
  width: 40px;
  height: 40px;
  border: 4px solid rgba(212, 175, 55, 0.3);
  border-top: 4px solid var(--primary-gold);
  border-radius: 50%;
  margin-top: 1rem;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.no-items {
  text-align: center;
  color: var(--primary-gold);
  font-size: 1.2rem;
  grid-column: 1 / -1;
  padding: 2rem;
  background: var(--darker-bg);
  border-radius: 12px;
  border: 1px solid #333;
}
.cart-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
}
.cart-btn {
  width: 45px;
  height: 45px;
  border-radius: 30%;
  background: var(--primary-gold);
  color: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s;
  position: relative;
}
.cart-btn:hover {
  transform: scale(1.1);
}
.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--discount);
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
}
.cart-panel {
  position: fixed;
  bottom: 100px;
  right: 25px;
  width: 350px;
  max-height: 400px;
  background: var(--darker-bg);
  border: 2px solid var(--primary-gold);
  border-radius: 15px;
  padding: 1rem;
  overflow-y: auto;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 998;
}
.cart-panel.show {
  display: block;
}
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid #444;
}
.cart-item-info {
  flex: 1;
}
.cart-item-name {
  font-weight: bold;
  color: var(--primary-gold);
}
.cart-item-price {
  color: var(--secondary-gold);
}
.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.quantity-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-gold);
  color: var(--dark-bg);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: bold;
}
.cart-total {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--primary-gold);
  text-align: center;
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--secondary-gold);
}
.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
}
.table-number-input {
  padding: 0.7rem;
  border-radius: 8px;
  border: 1px solid #555;
  width: 100%;
  font-size: 1rem;
  text-align: center;
  background: var(--darker-bg);
  color: var(--light-text);
}
.order-note-input {
  padding: 0.7rem;
  border-radius: 8px;
  border: 1px solid #555;
  width: 100%;
  font-size: 1rem;
  text-align: center;
  background: var(--darker-bg);
  color: var(--light-text);
  resize: none;
}
.cart-action-btn {
  flex: 1;
  padding: 0.7rem;
  border-radius: 8px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}
.clear-cart {
  background: var(--danger);
  color: white;
}
.send-whatsapp {
  background: var(--whatsapp);
  color: white;
}
.whatsapp-float {
  position: fixed;
  bottom: 80px;
  left: 25px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s;
  z-index: 999;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}
.map-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.map-modal.show {
  opacity: 1;
}
.map-content {
  position: relative;
  width: 90%;
  height: 80%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
  transform: scale(0.9);
  transition: transform 0.3s;
}
.map-modal.show .map-content {
  transform: scale(1);
}
.map-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.close-map {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary-gold);
  color: var(--dark-bg);
  font-size: 1.8rem;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 0 15px rgba(0,0,0,0.6);
  transition: transform 0.3s;
}
.close-map:hover {
  transform: rotate(90deg);
}
.top-fixed-controls {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1000;
  display: flex;
  gap: 10px;
  flex-direction: column;
  background: rgba(17, 17, 17, 0.85);
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #333;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.top-fixed-controls.hide {
  opacity: 0;
}
.lang-toggle-btn {
  background: var(--darker-bg);
  color: var(--primary-gold);
  border: 2px solid var(--primary-gold);
  padding: 0.7rem 1rem;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.lang-toggle-btn:hover {
  background: var(--primary-gold);
  color: var(--dark-bg);
}
.language-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--darker-bg);
  border: 1px solid var(--primary-gold);
  border-radius: 8px;
  overflow: hidden;
  z-index: 1001;
  margin-top: 4px;
  display: none;
}
.lang-option {
  width: 100%;
  padding: 0.8rem 1.2rem;
  background: var(--darker-bg);
  color: var(--light-text);
  border: none;
  text-align: right;
  cursor: pointer;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: background 0.2s;
  border-bottom: 1px solid #333;
}
.lang-option:last-child {
  border-bottom: none;
}
.lang-option:hover {
  background: var(--primary-gold);
  color: var(--dark-bg);
}
.lang-option i {
  font-size: 1rem;
}
.notification {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gold);
  color: var(--dark-bg);
  padding: 1rem 2rem;
  border-radius: 30px;
  font-weight: bold;
  z-index: 2000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  animation: fadeInOut 3s forwards;
}
@keyframes fadeInOut {
  0% { opacity: 0; transform: translateX(-50%) translateY(20px); }
  10% { opacity: 1; transform: translateX(-50%) translateY(0); }
  90% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-20px); }
}

/* Image Modal */
.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.image-modal.show {
  opacity: 1;
}
.image-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
  transform: scale(0.9);
  transition: transform 0.3s;
}
.image-modal.show .image-content {
  transform: scale(1);
}

/* ✅ التعديل هنا — عرض الصورة بحجمها الأصلي فقط */
.image-content img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 80vh;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.close-image {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary-gold);
  color: var(--dark-bg);
  font-size: 1.8rem;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 0 15px rgba(0,0,0,0.6);
  transition: transform 0.3s;
}
.close-image:hover {
  transform: rotate(90deg);
}

/* Media Queries */
@media (max-width: 600px) {
  .top-fixed-controls {
    right: 5px;
    top: 5px;
    padding: 8px;
  }
  .lang-toggle-btn {
    font-size: 0.9rem;
    padding: 0.6rem 0.9rem;
  }
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 0.5rem;
  }
  .menu-card {
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
  }
  .menu-content {
    padding: 0.9rem;
  }
  .menu-card h3 {
    font-size: 1.1rem;
  }
  .price {
    font-size: 1rem;
  }
  footer {
    padding: 1.5rem 1rem;
  }
  .cart-panel {
    width: 300px;
    right: 10px;
  }
  .main-scroll-btn, .scroll-btn {
    opacity: 0.7 !important;
    background: var(--darker-bg);
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
  }
  .main-scroll-btn:hover, .scroll-btn:hover {
    opacity: 1 !important;
  }
  .main-categories-container::before,
  .main-categories-container::after,
  .filters-container::before,
  .filters-container::after {
    opacity: 0.4;
  }
  .add-to-cart-external {
    width: 40px;
    height: 40px;
    top: 10px;
    left: 112%;
    font-size: 1.1rem;
  }
}
@media (max-width: 400px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 601px) and (max-width: 900px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 1rem;
  }
}
