* {
  font-family: 'Vazirmatn', sans-serif;
  margin: 0;
  padding:0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;

}

:root {
  --primary: #06B493;
  --primary-light: #06B493;
  --primary-dark: #06B493;
  --white: #fff;
  --black: #333;
  --light-bg: #f9f9f9;
  --gray: #e0e0e0;
  --dark-gray: #999;
  --transition: all .3s cubic-bezier(.175, .885, .32, 1.275);
  --shadow: 0 4px 12px rgba(0,0,0,.1);
  --nav-z-index: 1000;
  --menu-z-index: 1050;
  --overlay-z-index: 1040;
  --glass-effect: rgba(255,255,255,.9);
  --tomato-red: #ff6347;
  --slider-z-index: 900;
  --category-bg: #f0f0f0;
  --category-bottom-bar: #d3d3d3;
  --section-divider: linear-gradient(90deg, transparent, var(--primary-light), transparent);
}

body {
  padding-bottom: 0;
  transition: var(--transition);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.dark-mode {
  --white: #1a1a1a;
  --black: #f5f5f5;
  --light-bg: #121212;
  --gray: #333;
  --dark-gray: #666;
  --glass-effect: rgba(26,26,26,.9);
  --shadow: 0 4px 12px rgba(0,0,0,.3);
  --primary: #1e9d57;
  --category-bg: #2a2a2a;
  --category-bottom-bar: #444;
  --section-divider: linear-gradient(90deg, transparent, rgba(30, 157, 87, 0.5), transparent);
}

.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.5);
  z-index: -1;
}

.scroll-indicator {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 50;
  color: var(--white);
  animation: pulse 2s infinite;
}

.scroll-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}

.scroll-arrow {
  font-size: 1.5rem;
  opacity: 0;
  animation: arrowAnimation 2s infinite;
}

.scroll-arrow:nth-child(1) {
  animation-delay: .1s;
}

.scroll-arrow:nth-child(2) {
  animation-delay: .3s;
}

.scroll-arrow:nth-child(3) {
  animation-delay: .5s;
}

.scroll-text {
  font-size: 1rem;
  text-align: center;
}

@keyframes pulse {
  0%, 100% { opacity: .7; }
  50% { opacity: 1; }
}

@keyframes arrowAnimation {
  0% { opacity: 0; transform: translateY(0); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translateY(10px); }
}

.unified-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 25px;
  height: 100px;
  box-shadow: var(--shadow);
  z-index: var(--nav-z-index);
  transition: var(--transition);
  border-bottom: 1px solid rgba(46,204,113,.1);
  border-radius: 0 0 12px 12px;
}

.dark-mode .unified-nav {
  border-bottom: 1px solid rgba(30,157,87,.2);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  margin-right: auto;
}

.brand-logo {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.brand-name {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #01A54F;
  position: relative;
}

.brand-name .char-food {
  color: var(--tomato-red);
}

.brand-divider {
  color: rgba(0,0,0,.2);
  margin: 0 15px;
  font-size: 2rem;
}

.dark-mode .brand-divider {
  color: rgba(255,255,255,.2);
}

.nav-icons {
  display: flex;
  gap: 15px;
}

.nav-icon {
  position: relative;
  width: 45px;
  height: 45px;
  background: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.2rem;
}

.nav-icon::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 50%;
  transform: translateX(50%);
  width: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: var(--transition);
}

.nav-icon:hover {
  color: var(--white);
  background: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(46,204,113,.3);
}

.nav-icon:hover::after {
  width: 70%;
}

.mobile-menu {
  display: none;
  width: 45px;
  height: 45px;
  background: var(--primary);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(46,204,113,.3);
  z-index: calc(var(--nav-z-index) + 1);
  margin-right: 0;
  margin-left: auto;
}

.mobile-menu:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(46,204,113,.4);
}

.side-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--glass-effect);
  box-shadow: -5px 0 25px rgba(0,0,0,.15);
  z-index: var(--menu-z-index);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.side-menu.active {
  right: 0;
}

.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,.05);
  margin-bottom: 20px;
}

.dark-mode .menu-header {
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.menu-logo {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.close-menu {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(46,204,113,.3);
}

.close-menu:hover {
  transform: rotate(90deg) scale(1.1);
}

.menu-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.menu-item::before {
  content: '';
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,rgba(46,204,113,.1),rgba(46,204,113,.2));
  transition: var(--transition);
  z-index: -1;
}

.menu-item:hover {
  transform: translateX(-5px);
}

.menu-item:hover::before {
  right: 0;
}

.menu-item.active {
  background: rgba(46,204,113,.1);
  border-right: 3px solid var(--primary);
}

.menu-item.active .menu-icon {
  background: var(--primary);
  color: var(--white);
}

.menu-item.active .menu-name {
  color: var(--primary-dark);
  font-weight: 600;
}

.menu-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46,204,113,.1);
  color: var(--primary-dark);
  border-radius: 8px;
  transition: var(--transition);
  font-size: 1.1rem;
}

.menu-name {
  font-weight: 500;
  color: var(--black);
  transition: var(--transition);
  flex-grow: 1;
  font-size: 1rem;
}

.menu-footer {
  background: var(--primary);
  border-radius: 8px;
  padding: 15px;
  margin-top: 15px;
  text-align: center;
}

.footer-text {
  color: var(--white);
  font-size: 1rem;
  line-height: 1.5;
}

.overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.5);
  z-index: var(--overlay-z-index);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  border-radius: 8px;
  background: rgba(0,0,0,.03);
  cursor: pointer;
  transition: var(--transition);
  margin-top: 15px;
}

.dark-mode .theme-toggle {
  background: rgba(255,255,255,.05);
}

.theme-toggle:hover {
  background: rgba(0,0,0,.05);
}

.dark-mode .theme-toggle:hover {
  background: rgba(255,255,255,.1);
}

.theme-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.05);
  border-radius: 8px;
  color: var(--black);
}

.dark-mode .theme-icon {
  background: rgba(255,255,255,.1);
}

.theme-name {
  font-weight: 500;
  color: var(--black);
  font-size: 1rem;
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gray);
  transition: var(--transition);
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: '';
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 50%;
}

input:checked + .slider {
  background: var(--primary);
}

input:checked + .slider:before {
  transform: translateX(24px);
}

.content-container {
  position: relative;
  width: 100%;
  background: var(--white);
  margin-top: 100px;
  padding-bottom: 120px; /* مساحة لشريط الحقوق */
  flex-grow: 1;
  min-height: calc(100vh - 100px);
}

.slider-section {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 20px 0 50px;
}

.slider-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,.2);
}

.slider-wrapper {
  display: flex;
  transition: transform .5s ease;
  height: auto;
}

.slider-slide {
  min-width: 100%;
  height: 100%;
}

.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  z-index: 10;
}

.slider-btn {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--black);
  font-size: 1.2rem;
  box-shadow: 0 2px 5px rgba(0,0,0,.2);
}

.slider-btn:hover {
  background: var(--white);
  transform: scale(1.1);
}

.slider-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,.5);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--white);
  transform: scale(1.2);
}

.food-categories-section {
  width: 90%;
  margin: 0 auto;
  padding: 20px 0 20px;
  position: relative;
}

.section-title {
  text-align: right;
  font-size: 1.8rem;
  color: var(--black);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 250px;
  bottom: 0;
  width: 100px;
  height: 3px;
  background: var(--tomato-red);
}

.category-arrow {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--black);
  font-size: 1.2rem;
  z-index: 1;
}

.dark-mode .category-arrow {
  color: var(--white);
}

.food-categories-container {
  position: relative;
  background: var(--category-bg);
  border-radius: 12px 12px 0 0;
  padding: 15px 10px 20px;
  box-shadow: var(--shadow);
}

.category-bottom-bar {
  height: 8px;
  background: var(--category-bottom-bar);
  border-radius: 0 0 12px 12px;
  margin-top: -4px;
}

.food-categories-wrapper {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scroll-behavior: smooth;
  flex: 1;
  padding: 0 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  direction: rtl;
}

.food-categories-wrapper::-webkit-scrollbar {
  display: none;
}

.food-category {
  white-space: nowrap;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--black);
  padding: 8px 15px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  min-width: 120px;
  text-align: center;
}

.food-category:hover {
  color: var(--tomato-red);
}

.food-category:hover::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: var(--tomato-red);
  animation: underline .3s forwards;
}

@keyframes underline {
  from { width: 0; }
  to { width: 100%; }
}

.category-divider {
  color: var(--dark-gray);
  font-size: 1.5rem;
  margin: 0 5px;
}

.appetizers-section {
  width: 95%;
  margin: 0 auto 50px;
  padding: 30px 0;
  direction: rtl;
  position: relative;
}

.appetizers-section:not(:first-child) {
  margin-top: 40px;
  padding-top: 50px;
  border-top: 1px dashed var(--primary-light);
  background-image: var(--section-divider);
  background-position: top;
  background-repeat: no-repeat;
  background-size: 100% 1px;
}

.dark-mode .appetizers-section:not(:first-child) {
  border-top-color: rgba(46,204,113,.2);
}

.appetizers-section .section-title {
  text-align: center;
  font-size: 1.8rem;
  color: var(--black);
  margin: 0 auto 30px;
  padding-bottom: 10px;
  width: fit-content;
  position: relative;
}

.appetizers-section .section-title::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg,var(--primary),var(--tomato-red));
  border-radius: 3px;
}

.appetizers-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
  margin: 0 auto;
  max-width: 1200px;
}

.appetizer-item {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
}

.dark-mode .appetizer-item {
  background: var(--light-bg);
}

.appetizer-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.appetizer-details {
  padding: 15px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background: var(--white);
}

.dark-mode .appetizer-details {
  background: var(--light-bg);
}

.item-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
}

.item-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.add-to-cart {
  width: calc(100% + 30px);
  margin-left: -15px;
  margin-right: -15px;
  margin-bottom: -15px;
  padding: 12px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 0 0 12px 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s ease;
  margin-top: auto;
}

.add-to-cart:hover {
  background: var(--primary-dark);
}

.appetizer-item.full-width {
  grid-column: 1/-1;
}

.appetizer-item.full-width .appetizer-img {
  height: 220px;
}

.item-description {
  font-size: .85rem;
  color: var(--dark-gray);
  margin-bottom: 10px;
  font-weight: 400;
}

.dark-mode .item-description {
  color: var(--gray);
}

@keyframes highlightSection {
  0% { background-color: rgba(46,204,113,.1); }
  50% { background-color: rgba(46,204,113,.3); }
  100% { background-color: rgba(46,204,113,.1); }
}

.cart-icon {
  position: relative;
  width: 45px;
  height: 45px;
  background: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.2rem;
  margin-left: 15px;
}

.cart-icon:hover {
  color: var(--white);
  background: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(46,204,113,.3);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--tomato-red);
  color: var(--white);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 450px;
  height: 100%;
  background: var(--white);
  z-index: 1100;
  transition: var(--transition);
  overflow-y: auto;
  padding: 20px;
  box-shadow: -5px 0 15px rgba(0,0,0,.1);
  display: flex;
  flex-direction: column;
}

.cart-panel.active {
  right: 0;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  background: var(--primary);
  color: var(--white);
  border-radius: 8px;
  margin-bottom: 20px;
}

.cart-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.close-cart {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.2);
  color: var(--white);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.close-cart:hover {
  background: rgba(255,255,255,.3);
  transform: rotate(90deg);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 20px;
  padding: 0 10px;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--gray);
  position: relative;
}

.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  align-self: center;
}

.cart-item-details {
  display: flex;
  flex-direction: column;
}

.cart-item-name {
  font-size: 1.1rem;
  color: var(--black);
  margin-bottom: 5px;
  font-weight: 600;
}

.cart-item-price {
  font-size: 1rem;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 10px;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.quantity-control {
  display: flex;
  align-items: center;
  background: var(--light-bg);
  border-radius: 8px;
  padding: 5px;
}

.quantity-btn {
  width: 30px;
  height: 30px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
}

.quantity-btn:hover {
  background: var(--primary-dark);
}

.quantity-input {
  width: 40px;
  text-align: center;
  margin: 0 5px;
  border: none;
  background: transparent;
  font-weight: 600;
}

.remove-item {
  background: 0 0;
  color: var(--tomato-red);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.remove-item i {
  font-size: .9rem;
}

.add-note-btn {
  background: 0 0;
  color: var(--dark-gray);
  border: none;
  cursor: pointer;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
}

.note-input {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--gray);
  border-radius: 8px;
  margin-top: 10px;
  display: none;
  resize: none;
  font-family: 'Almarai', sans-serif;
}

.cart-footer {
  background: var(--light-bg);
  border-radius: 12px;
  padding: 20px;
  margin-top: auto;
}

.total-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px dashed var(--gray);
}

.total-label {
  font-size: 1.2rem;
  color: var(--black);
  font-weight: 600;
}

.total-value {
  font-size: 1.3rem;
  color: var(--primary-dark);
  font-weight: 700;
}

.checkout-btn {
  width: 100%;
  padding: 15px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.checkout-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(46,204,113,.3);
}

.empty-cart {
  text-align: center;
  padding: 40px 0;
  color: var(--dark-gray);
}

.empty-cart i {
  font-size: 3rem;
  margin-bottom: 15px;
  color: var(--gray);
}

.empty-cart p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.empty-cart-btn {
  padding: 10px 20px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.empty-cart-btn:hover {
  background: var(--primary-dark);
}

.add-to-cart-notification {
  position: fixed;
  top: 120px;
  right: 20px;
  background: var(--white);
  border-radius: 8px;
  padding: 15px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  display: flex;
  align-items: center;
  z-index: 1200;
  transform: translateX(150%);
  transition: transform .3s ease;
  border-right: 4px solid var(--primary);
  direction: rtl;
}

.add-to-cart-notification.active {
  transform: translateX(0);
}

.notification-icon {
  color: var(--primary);
  font-size: 1.2rem;
  margin-left: 10px;
}

.notification-text {
  color: var(--black);
  font-size: 1rem;
  font-weight: 500;
}

@keyframes slideIn {
  from { transform: translateX(150%); }
  to { transform: translateX(0); }
}

@keyframes slideOut {
  from { transform: translateX(0); }
  to { transform: translateX(150%); }
}

.restaurant-location-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 500px;
  height: 100%;
  background: var(--white);
  z-index: 1100;
  transition: var(--transition);
  overflow-y: auto;
  padding: 20px;
  box-shadow: -5px 0 15px rgba(0,0,0,.1);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.restaurant-location-panel.active {
  right: 0;
}

.location-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  background: var(--primary);
  color: var(--white);
  border-radius: 8px;
  margin-bottom: 20px;
}

.location-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.location-address {
  font-size: 1.1rem;
  color: var(--black);
  margin: 20px;
  padding: 15px;
  background: var(--light-bg);
  border-radius: 8px;
  line-height: 1.6;
}

.location-map {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  margin: 20px 0;
  box-shadow: var(--shadow);
}

.location-link {
  display: inline-block;
  margin: 15px 0;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.location-link:hover {
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.contact-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 500px;
  height: 100%;
  background: var(--white);
  z-index: 1100;
  transition: var(--transition);
  overflow-y: auto;
  padding: 20px;
  box-shadow: -5px 0 15px rgba(0,0,0,.1);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.contact-panel.active {
  right: 0;
}

.contact-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  background: var(--primary);
  color: var(--white);
  border-radius: 8px;
  margin-bottom: 20px;
}

.contact-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.contact-info {
  font-size: 1.1rem;
  color: var(--black);
  margin: 20px 0;
  padding: 15px;
  background: var(--light-bg);
  border-radius: 8px;
  line-height: 1.6;
}

.phone-number {
  display: block;
  margin: 10px 0;
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.phone-number:hover {
  color: var(--primary);
  transform: scale(1.05);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition);
  box-shadow: 0 4px 8px rgba(46,204,113,.3);
  text-decoration: none;
}

.social-link:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 6px 12px rgba(46,204,113,.4);
}

.social-link.whatsapp {
  background: #25D366;
}

.social-link.facebook {
  background: #3b5998;
}

.social-link.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.back-button {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 100;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  opacity: 0;
  pointer-events: none;
}

.back-button.active {
  opacity: 1;
  pointer-events: all;
}

.back-button:hover {
  background: var(--primary-dark);
  transform: translateY(-3px) scale(1.1);
}

.food-category {
  position: relative;
  overflow: hidden;
}

.food-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(46,204,113,.1), rgba(46,204,113,.3));
  transform: translateX(-100%);
  transition: var(--transition);
}

.food-category:hover::before {
  transform: translateX(0);
}

.food-category.active {
  color: var(--primary);
  font-weight: 700;
}

.food-category.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  animation: underline .3s forwards;
}

.notes-section {
  width: 100%;
  margin: 30px 0 20px;
  padding: 10px;
  position: relative;
}

.note-box {
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  animation: float 3s infinite ease-in-out;
  direction: rtl;
  max-width: 800px;
  margin: 0 auto;
}

.info-note {
  background-color: rgba(0,123,255,.1);
  border-right: 5px solid #007bff;
  color: #0056b3;
}

.note-icon {
  font-size: 24px;
  margin-left: 15px;
  color: #007bff;
}

.note-content {
  flex: 1;
}

.note-content p {
  margin: 10px;
  line-height: 1.6;
  font-size: 1.1rem;
  font-weight: 500;
}

.note-content p:last-child {
  margin-bottom: 0;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.dark-mode .info-note {
  background-color: rgba(0,123,255,.2);
  color: #b3d7ff;
}

.dark-mode .note-icon {
  color: #4da6ff;
}

/* Copyright Bar Styles */
.copyright-bar {
  
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: var(--light-bg);
  color: var(--black);
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid var(--gray);
  z-index: 100;
  box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
}

.copyright-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  direction: ltr;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.owner-logo {
  height: 70px;
  width: auto;
  opacity: 0.8;
  transition: var(--transition);
}

.owner-logo:hover {
  opacity: 1;
}

.copyright-divider {
  color: var(--dark-gray);
  font-size: 1.2rem;
}

.copyright-text {
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark-gray);
}

.copyright-text a {
  text-decoration: none;
  color: var(--dark-gray);
  transition: var(--transition);
}

.copyright-text a:hover {
  color: var(--primary);
}

.dark-mode .copyright-bar {
  background: var(--light-bg);
  border-top-color: var(--gray);
}

.checkout-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1300;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.checkout-modal.active {
  opacity: 1;
  pointer-events: all;
}

.checkout-container {
  background: var(--white);
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 20px;
  position: relative;
}

.checkout-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--gray);
}

.checkout-header i {
  font-size: 1.8rem;
  color: var(--primary);
}

.checkout-header h3 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--black);
  flex-grow: 1;
}

.close-checkout {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-bg);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.close-checkout:hover {
  background: var(--gray);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--black);
  font-size: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--gray);
  border-radius: 8px;
  font-family: 'Almarai', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.error-message {
  color: #ff4757;
  font-size: 0.9rem;
  margin-top: 5px;
  display: none;
}

.confirm-order-btn {
  width: 100%;
  padding: 15px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.confirm-order-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(46, 204, 113, 0.3);
}

.order-confirmation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1400;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.order-confirmation.active {
  opacity: 1;
  pointer-events: all;
}

.confirmation-content {
  background: var(--white);
  border-radius: 15px;
  width: 90%;
  max-width: 400px;
  padding: 30px;
  text-align: center;
}

.check-icon {
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  animation: pulseCheck 2s infinite;
}

.check-icon i {
  font-size: 2.5rem;
  color: var(--white);
}

.confirmation-content h3 {
  font-size: 1.5rem;
  color: var(--black);
  margin-bottom: 15px;
}

.confirmation-content p {
  font-size: 1.1rem;
  color: var(--dark-gray);
  margin-bottom: 25px;
}

.close-confirmation {
  padding: 10px 25px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.close-confirmation:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1500;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.loading-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.loading-content {
  background: var(--white);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  max-width: 300px;
  width: 90%;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(46, 204, 113, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 1s linear infinite;
}

.loading-content p {
  font-size: 1.2rem;
  color: var(--black);
  margin: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulseCheck {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@media (max-width: 1200px) {
  .slider-container {
    width: auto;
    height: auto;
  }
  .appetizers-grid {
    max-width: 900px;
  }
}

@media (max-width: 992px) {
  .unified-nav {
    padding: 0 20px;
    height: 90px;
  }
  .brand-logo {
    width: 60px;
    height: 60px;
  }
  .brand-name {
    font-size: 1.6rem;
  }
  .slider-container {
    width: 90%;
    height: 280px;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .food-category {
    font-size: 1.1rem;
  }
  .appetizers-section {
    margin-bottom: 40px;
    padding: 25px 0;
  }
  .appetizers-section:not(:first-child) {
    margin-top: 35px;
    padding-top: 40px;
  }
  .appetizer-img {
    height: 160px;
  }
}

@media (max-width: 768px) {
  .unified-nav {
    height: 80px;
    padding: 0 15px;
  }
  .nav-icons {
    display: none;
  }
  .mobile-menu {
    display: flex;
  }
  .brand-logo {
    width: 50px;
    height: 50px;
  }
  .brand-name {
    font-size: 1.4rem;
  }
  .brand-divider {
    margin: 0 10px;
    font-size: 1.6rem;
  }
  .side-menu {
    width: 260px;
  }
  .slider-container {
    height: 250px;
  }
  .section-title {
    font-size: 1.4rem;
  }
  .food-category {
    font-size: 1rem;
  }
  .category-arrow {
    font-size: 1rem;
  }
  .appetizers-section {
    margin-bottom: 35px;
    padding: 20px 0;
    width: 97%;
  }
  .appetizers-section:not(:first-child) {
    margin-top: 30px;
    padding-top: 35px;
  }
  .appetizer-img {
    height: 150px;
  }
  .item-name, .item-price {
    font-size: 1rem;
  }
  .location-map {
    height: 250px;
  }
  .social-links {
    gap: 15px;
  }
  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
  .back-button {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
    bottom: 20px;
    left: 20px;
  }
  .copyright-content {
    flex-direction: column;
    gap: 10px;
  }
  .copyright-divider {
    display: none;
  }
}

@media (max-width: 576px) {
  .slider-container {
    width: 95%;
    height: 220px;
    border-radius: 10px;
  }
  .slider-btn {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  .scroll-indicator {
    bottom: 20px;
  }
  .scroll-arrow {
    font-size: 1.2rem;
  }
  .scroll-text {
    font-size: .9rem;
  }
  .section-title {
    font-size: 1.2rem;
  }
  .food-category {
    font-size: .9rem;
    padding: 6px 10px;
  }
  .category-divider {
    font-size: 1.2rem;
  }
  .category-arrow {
    font-size: .9rem;
  }
  .cart-panel {
    width: 100%;
    max-width: 100%;
  }
  .cart-item {
    grid-template-columns: 70px 1fr;
    gap: 10px;
  }
  .cart-item-img {
    width: 70px;
    height: 70px;
  }
  .cart-item-name {
    font-size: 1rem;
  }
  .cart-item-price {
    font-size: .9rem;
  }
  .copyright-text {
    font-size: 0.9rem;
  }
  .owner-logo {
    height: 25px;
  }
}

@media (max-width: 480px) {
  .unified-nav {
    padding: 0 12px;
    height: 70px;
  }
  .brand-logo {
    width: 40px;
    height: 40px;
  }
  .brand-name {
    font-size: 1.2rem;
  }
  .brand-divider {
    margin: 0 8px;
    font-size: 1.4rem;
  }
  .side-menu {
    width: 240px;
    padding: 15px;
  }
  .menu-logo {
    width: 45px;
    height: 45px;
  }
  .slider-container {
    height: 200px;
  }
  .slider-dot {
    width: 10px;
    height: 10px;
  }
  .food-category {
    font-size: .8rem;
  }
  .category-arrow {
    font-size: .8rem;
  }
  .appetizer-item.full-width .appetizer-img {
    height: 180px;
  }
  .location-map {
    height: 200px;
  }
  .social-links {
    gap: 10px;
  }
  .social-link {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  .back-button {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    bottom: 15px;
    left: 15px;
  }
  .notes-section {
    margin-bottom: 50px;
  }
  .note-box {
    padding: 15px;
    flex-direction: column;
    align-items: flex-start;
  }
  .note-icon {
    margin-left: 0;
    margin-bottom: 10px;
  }
  .checkout-container {
    padding: 15px;
  }
  .checkout-header {
    gap: 10px;
  }
  .checkout-header h3 {
    font-size: 1.3rem;
  }
  .form-group input,
  .form-group textarea {
    padding: 10px 12px;
  }
  .confirm-order-btn {
    padding: 12px;
    font-size: 1rem;
  }
  .confirmation-content {
    padding: 20px;
  }
  .check-icon {
    width: 60px;
    height: 60px;
  }
  .check-icon i {
    font-size: 2rem;
  }
  .confirmation-content h3 {
    font-size: 1.3rem;
  }
  .confirmation-content p {
    font-size: 1rem;
  }
  .copyright-bar {
    padding: 15px 0;
  }
  .copyright-text {
    font-size: 0.8rem;
  }
  .owner-logo {
    height: 20px;
  }
}
.copyright-text{
	font-size: 1rem;
	direction: rtl;}
	
/* أنماط جديدة للتواصل معنا */
.phone-number-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.phone-number-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 8px;
}

.phone-icon {
    color: var(--primary);
    font-size: 1.2rem;
}

.phone-divider {
    color: var(--dark-gray);
    font-size: 1.5rem;
}

.phone-provider {
    font-weight: 600;
    color: var(--black);
}

.phone-number {
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.phone-number:hover {
    color: var(--primary);
}

/* أنماط قسم حساباتنا */
.social-accounts-section {
    margin-top: 30px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 12px;
}

.accounts-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--dark-gray);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    justify-content: center;
}

.accounts-title i {
    color: var(--primary);
}

.social-accounts {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-account {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--black);
    transition: var(--transition);
    padding: 15px;
    border-radius: 8px;
    width: 80px;
}

.social-account i {
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition);
}

.social-account span {
    font-size: 0.9rem;
    font-weight: 500;
}

.social-account:hover {
    background: rgba(46, 204, 113, 0.1);
    transform: translateY(-3px);
}

.social-account:hover i {
    transform: scale(1.1);
}

/* أنماط للوضع المظلم */
.dark-mode .phone-number-item {
    background: rgba(30, 157, 87, 0.1);
}

.dark-mode .social-accounts-section {
    background: var(--category-bg);
}

.dark-mode .social-account {
    color: var(--black);
}
