@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Rubik", sans-serif;
  direction: rtl;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 70px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  z-index: 99;
}

nav .navbar {
  height: 100%;
  max-width: 1250px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  /* background: red; */
  padding: 0 50px;
}

.navbar .logo img {
  width: 139px;
  object-fit: cover;
  height: 50px;
}

nav .navbar .nav-links {
  line-height: 70px;
  height: 100%;
}

nav .navbar .links {
  display: flex;
}

nav .navbar .links li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  padding: 0 14px;
}

nav .navbar .links li a {
  /* height: 100%; */
  text-decoration: none;
  white-space: nowrap;
  color: #000000;
  font-size: 15px;
  font-weight: 500;
}

.links li:hover .htmlcss-arrow,
.links li:hover .js-arrow {
  transform: rotate(180deg);
}

nav .navbar .links li .arrow {
  /* background: red; */
  height: 100%;
  width: 22px;
  line-height: 70px;
  text-align: center;
  display: inline-block;
  color: #fff;
  transition: all 0.3s ease;
}

nav .navbar .links li .sub-menu {
  position: absolute;
  top: 70px;
  left: 0;
  line-height: 40px;
  background: #3e8da8;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 4px 4px;
  display: none;
  z-index: 2;
}

nav .navbar .links li:hover .htmlCss-sub-menu,
nav .navbar .links li:hover .js-sub-menu {
  display: block;
}

.navbar .links li .sub-menu li {
  padding: 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .links li .sub-menu a {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

.navbar .links li .sub-menu .more-arrow {
  line-height: 40px;
}

.navbar .links li .htmlCss-more-sub-menu {
  /* line-height: 40px; */
}

.navbar .links li .sub-menu .more-sub-menu {
  position: absolute;
  top: 0;
  left: 100%;
  border-radius: 0 4px 4px 4px;
  z-index: 1;
  display: none;
}

.links li .sub-menu .more:hover .more-sub-menu {
  display: block;
}

/* 
.navbar .search-box {
  position: relative;
  height: 40px;
  width: 40px;
}

.navbar .search-box i {
  position: absolute;
  height: 100%;
  width: 100%;
  line-height: 40px;
  text-align: center;
  font-size: 22px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.navbar .search-box .input-box {
  position: absolute;
  right: calc(100% - 40px);
  top: 80px;
  height: 60px;
  width: 300px;
  background: #3E8DA8;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
}

.navbar.showInput .search-box .input-box {
  top: 65px;
  opacity: 1;
  pointer-events: auto;
  background: #3E8DA8;
}

.search-box .input-box::before {
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  background: #3E8DA8;
  right: 10px;
  top: -6px;
  transform: rotate(45deg);
}

.search-box .input-box input {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 4px;
  transform: translate(-50%, -50%);
  height: 35px;
  width: 280px;
  outline: none;
  padding: 0 15px;
  font-size: 16px;
  border: none;
} */

.navbar .nav-links .sidebar-logo {
  display: none;
}

.navbar .bx-menu {
  display: none;
}

@media (max-width: 920px) {
  nav .navbar {
    max-width: 100%;
    padding: 0 25px;
  }

  nav .navbar .logo a {
    font-size: 27px;
  }

  nav .navbar .links li {
    padding: 0 10px 8px 0;
    white-space: nowrap;
  }

  nav .navbar .links li a {
    font-size: 15px;
  }
}

@media (max-width: 800px) {
  nav {
    /* position: relative; */
  }

  .navbar .bx-menu {
    display: block;
  }

  nav .navbar .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    display: block;
    max-width: 270px;
    width: 100%;
    background: #ffffff;
    line-height: 40px;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    z-index: 1000;
  }

  .navbar .nav-links .sidebar-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .sidebar-logo .logo-name {
    font-size: 25px;
    color: #000000;
  }

  .sidebar-logo i,
  .navbar .bx-menu {
    font-size: 25px;
    color: #000000;
  }

  nav .navbar .links {
    display: block;
    margin-top: 20px;
  }

  nav .navbar .links li .arrow {
    line-height: 40px;
  }

  nav .navbar .links li {
    display: block;
  }

  nav .navbar .links li .sub-menu {
    position: relative;
    top: 0;
    box-shadow: none;
    display: none;
  }

  nav .navbar .links li .sub-menu li {
    border-bottom: none;
  }

  .navbar .links li .sub-menu .more-sub-menu {
    display: none;
    position: relative;
    left: 0;
  }

  .navbar .links li .sub-menu .more-sub-menu li {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .links li:hover .htmlcss-arrow,
  .links li:hover .js-arrow {
    transform: rotate(0deg);
  }

  .navbar .links li .sub-menu .more-sub-menu {
    display: none;
  }

  .navbar .links li .sub-menu .more span {
    /* background: red; */
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
  }

  .links li .sub-menu .more:hover .more-sub-menu {
    display: none;
  }

  nav .navbar .links li:hover .htmlCss-sub-menu,
  nav .navbar .links li:hover .js-sub-menu {
    display: none;
  }

  .navbar .nav-links.show1 .links .htmlCss-sub-menu,
  .navbar .nav-links.show3 .links .js-sub-menu,
  .navbar .nav-links.show2 .links .more .more-sub-menu {
    display: block;
  }

  .navbar .nav-links.show1 .links .htmlcss-arrow,
  .navbar .nav-links.show3 .links .js-arrow {
    transform: rotate(180deg);
  }

  .navbar .nav-links.show2 .links .more-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 370px) {
  nav .navbar .nav-links {
    max-width: 100%;
  }
}

.home-hero-badge {
  position: relative;
  height: 100vh;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url("../img/intro-1707357885.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.78) contrast(1.05);
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.68) 60%,
    rgba(0, 0, 0, 0.85) 100%
  );
}

.hero-text-container {
  position: relative;
  z-index: 3;
  max-width: 920px;
  padding: 0 20px;
}

.hero-main-title {
  font-size: 35px;
  line-height: 1.5;
  margin-bottom: 1.4rem;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.75);
}
.hero-subtitle {
  font-size: 18px;
  margin-bottom: 2.8rem;
}

.hero-action-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.main-order-btn,
.secondary-btn {
  display: inline-block;
  font-weight: 700;
  padding: 1rem 1.6rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.main-order-btn {
  background: #588157;
  color: white;
  width: 200px;
}

.main-order-btn:hover {
  background: #466541;
  transform: translateY(-4px);
}

.secondary-btn {
  background: transparent;
  color: white;
  border: 2px solid white;
  width: 200px;
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

/* تحسينات للموبايل */
@media (max-width: 768px) {
  .home-hero-badge {
    min-height: 85vh;
  }
  .hero-action-buttons {
    flex-direction: column;
    gap: 16px;
  }

  .main-order-btn,
  .secondary-btn {
    padding: 0.95rem 2.4rem;
    font-size: 1.25rem;
    width: 85%;
    max-width: 360px;
  }
}
:root {
  --accent: #466541;
  --dark: #2c3e50;
  --gray: #7f8c8d;
  --bg: #f0f2f5;
}

.main-title {
  text-align: center;
  padding: 31px;
  color: var(--dark);
  /* margin-bottom: 50px; */
  font-size: 32px;
}

/* شبكة الكروت */
.cards-grid {
  display: grid;
  
    padding: 23px 0;
  grid-template-columns: repeat(
    auto-fit,
    minmax(300px, 1fr)
  ); /* يخلي الكروت تنزل تحت بعض في الموبايل تلقائياً */
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto;
}

.food-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: all 0.3s ease;
}

/* تمييز الكرت المختار أو الأكثر مبيعاً */
.food-card.featured {
  border: 2px solid var(--accent);
  transform: scale(1.03);
}

.food-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

/* ملصق العرض */
.discount-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #e74c3c;
  color: white;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: bold;
  z-index: 5;
}

.food-image {
  width: 100%;
  height: 200px;
  position: relative;
}

.food-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chef-tag {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 12px;
  border-radius: 10px;
  font-size: 13px;
  backdrop-filter: blur(4px);
}

.chef-tag span {
  color: var(--accent);
  font-weight: bold;
}

.food-info {
  padding: 20px;
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.food-title {
  font-size: 18px;
  color: var(--dark);
  margin: 0;
}

.rating {
  color: #f1c40f;
  font-size: 14px;
  font-weight: bold;
}

.food-description {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.5;
  height: 45px; /* توحيد ارتفاع الوصف */
  overflow: hidden;
  margin-bottom: 20px;
}

.price-section {
  margin-bottom: 20px;
}

.current-price {
  font-size: 22px;
  font-weight: bold;
  color: var(--accent);
  margin-left: 8px;
}

.old-price {
  color: #bdc3c7;
  text-decoration: line-through;
  font-size: 15px;
}

.order-btn {
  width: 100%;
  padding: 12px;
  background: var(--dark);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.order-btn:hover {
  background: var(--accent);
}
/* إعدادات الموبايل أولاً */
.mobile-catering {
  background: #fdfdfd;
  padding: 20px 15px;
  direction: rtl;
  font-family: "Segoe UI", sans-serif;
  min-height: 100vh;
}

/* تقسيم السطر لنصفين في الموبايل */
.row-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mobile-submit-btn {
  width: 100%;
  padding: 16px;
  background: #466541;
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  cursor: pointer;
  box-shadow: 0 8px 15px rgba(230, 126, 34, 0.2);
}

.mobile-submit-btn:active {
  transform: scale(0.97); /* إحساس بالضغط */
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: 0.3s;
}
.whatsapp-float img {
  width: 25px;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}
.reviews-section {
  padding: 50px 20px;
  background: #fff;
  text-align: center;
  direction: rtl;
}
.reviews-container {
  display: flex;
  overflow-x: auto; /* يخليها تتحرك في الموبايل بالصبع */
  gap: 20px;
  padding: 20px 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* إخفاء شريط التمرير */
}
.review-card {
  min-width: 280px;
  background: #fdfaf7;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  scroll-snap-align: center;
  border: 1px solid #eee;
}
.stars {
  color: #f1c40f;
  margin-bottom: 15px;
}
.review-card p {
  font-style: italic;
  color: #555;
  line-height: 1.6;
}
.client-info {
  margin-top: 15px;
  color: #466541;
  font-weight: bold;
}
.main-footer {
  background: #e3e3e3;
  color: rgb(0, 0, 0);
  padding: 40px 20px;
  text-align: center;
  direction: rtl;
}
.footer-logo {
  font-size: 24px;
  font-weight: bold;
  color: #466541;
  margin-bottom: 15px;
}
.social-links {
  margin: 20px 0;
  cursor: pointer;
}
.social-links span:hover {
  color: #466541;
}
hr {
  border: 0;
  border-top: 1px solid #444;
  margin: 20px 0;
}
.copyright {
  font-size: 12px;
  color: #000000;
}
.limited-edition-section {
  padding: 20px;
  display: flex;
  background: #f8f9fa;
}

.luxury-card {
  background: white;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  max-width: 450px;
  margin: 0 auto;
}

.status-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #e67e22;
  color: white;
  padding: 6px 15px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: bold;
  z-index: 5;
  box-shadow: 0 4px 10px rgba(230, 126, 34, 0.3);
}

.food-hero-img {
  width: 100%;
  height: 280px;
  position: relative;
}

.food-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chef-signature {
  position: absolute;
  bottom: -15px;
  right: 20px;
  background: white;
  padding: 8px 15px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.chef-signature img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.chef-signature span {
  font-size: 12px;
  font-weight: bold;
  color: #333;
}

.card-body {
  padding: 35px 20px 25px;
}

.dish-name {
  font-size: 22px;
  color: #2c3e50;
  margin-bottom: 10px;
}

.dish-desc {
  font-size: 14px;
  color: #7f8c8d;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* ستايل الـ Stock Tracker */
.stock-tracker {
  background: #fff5f0;
  padding: 15px;
  border-radius: 15px;
  margin-bottom: 20px;
}

.stock-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
}

.stock-text strong {
  color: #e74c3c;
  font-size: 16px;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #eee;
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(to left, #e67e22, #e74c3c);
  border-radius: 10px;
  transition: width 1s ease-in-out;
}

.booking-btn {
  width: 100%;
  padding: 16px;
  background: #2c3e50;
  color: white;
  border: none;
  border-radius: 15px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.booking-btn:active {
  transform: scale(0.96);
}
.mega-offers-slider {
  padding: 30px 0;
  background: #fdfdfd;
  direction: rtl;
  font-family: "Segoe UI", sans-serif;
}

.section-title-box {
  padding: 0 20px;
  margin-bottom: 25px;
}
.section-title-box h2 {
  color: #2c3e50;
  font-size: 20px;
}
.section-title-box p {
  color: #888;
  font-size: 13px;
}

/* السلايدر السحري للموبايل */
.offers-wrapper {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  padding: 10px 20px 30px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.offers-wrapper::-webkit-scrollbar {
  display: none;
}

.luxury-offer-card {
  min-width: 300px; /* العرض المثالي للموبايل */
  background: white;
  border-radius: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  scroll-snap-align: center;
  position: relative;
  border: 1px solid #f0f0f0;
}

.luxury-offer-card.featured {
  border: 2px solid #e67e22;
}

.promo-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #27ae60;
  color: white;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: bold;
  z-index: 5;
}
.promo-badge.red {
  background: #e74c3c;
}
.promo-badge.black {
  background: #2c3e50;
}

.offer-image {
  height: 180px;
  position: relative;
}
.offer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px 25px 0 0;
}

.chef-tag-mini {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
}
.chef-tag-mini span {
  color: #466541;
  font-weight: bold;
}

.offer-details {
  padding: 20px;
}
.offer-details h3 {
  font-size: 17px;
  margin-bottom: 10px;
  color: #333;
}
.offer-desc {
  font-size: 13px;
  color: #7f8c8d;
  line-height: 1.5;
  height: 40px;
  overflow: hidden;
}

.pricing-row {
  margin: 15px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.new-price {
  font-size: 20px;
  font-weight: bold;
  color: #466541;
}
.old-price {
  font-size: 14px;
  text-decoration: line-through;
  color: #bdc3c7;
}

.stock-alert {
  background: #fff5f0;
  padding: 10px;
  border-radius: 12px;
  margin-bottom: 15px;
}
.stock-header {
  font-size: 12px;
  margin-bottom: 6px;
  color: #444;
}
.stock-header span {
  color: #e74c3c;
  font-weight: bold;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: #eee;
  border-radius: 10px;
}
.progress-bar .fill {
  height: 100%;
  background: #466541;
  border-radius: 10px;
}

.buy-btn {
  width: 100%;
  padding: 14px;
  background: #2c3e50;
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: bold;
  font-size: 15px;
}
/* تصميم محترف وأنيق */
.chef-search-section {
  background: #ffffff;
  border-radius: 24px;
  padding: 50px 40px;
  box-shadow: 0 20px 50px rgba(139, 69, 19, 0.15);
}

.chef-search-section h1 {
  text-align: center;
  font-size: 2.6rem;
  color: #2c3e50;
  margin-bottom: 10px;
}

.subtitle {
  text-align: center;
  color: #555;
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.search-box {
  margin-bottom: 40px;
}

.chef-search-input {
  width: 100%;
  padding: 18px 24px;
  font-size: 1.25rem;
  border: 2px solid #d2b48c;
  border-radius: 16px;
  outline: none;
  transition: all 0.3s;
}

.chef-search-input:focus {
  border-color: #8b4513;
  box-shadow: 0 0 0 4px rgba(139, 69, 19, 0.15);
}

.chef-buttons {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.chef-btn {
  padding: 16px 32px;
  font-size: 1.15rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  flex: 1;
  min-width: 160px;
}

.search-btn {
  background: #2c3e50;
  color: white;
}
.search-btn:hover {
  background: #3a5570;
  transform: translateY(-3px);
}

.auto-btn {
  background: #2c3e50;
  color: white;
}
.auto-btn:hover {
  background: #3a5570;
  transform: translateY(-3px);
}

.chef-card {
  background: #fdfaf0;
  border: 1px solid #e6d5b8;
  border-radius: 16px;
  padding: 24px;height: 200px;
  margin-bottom: 20px;
  box-shadow: 0 8px 25px rgba(139, 69, 19, 0.1);
  cursor: pointer;
  transition: all 0.4s;
}

.chef-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(139, 69, 19, 0.2);
}

.chef-card h3 {
  color: #2c3e50;
  margin-bottom: 12px;
  font-size: 1.45rem;
}

/* Popup */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.popup-content {
  background: white;
  padding: 40px 35px;
  border-radius: 24px;
  width: 90%;
  max-width: 520px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  max-height: 92vh;
  overflow-y: auto;
}

.close-btn {
  position: absolute;
  top: 18px;
  right: 25px;
  font-size: 36px;
  cursor: pointer;
  color: #999;
  line-height: 1;
}

.popup-title,
.form-title {
  color: #2c3e50;
  text-align: center;
  margin-bottom: 25px;
  font-size: 1.8rem;
}

.chef-info p {
  margin: 12px 0;
  font-size: 1.1rem;
  color: #444;
}

/* Form */
.order-form .form-group {
  margin-bottom: 22px;
}

.order-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #555;
  font-size: 1.05rem;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #ddd;
  border-radius: 12px;
  font-size: 1.05rem;
  transition: all 0.3s;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  border-color: #2c3e50;
  box-shadow: 0 0 0 4px rgba(139, 69, 19, 0.12);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.submit-btn {
  width: 100%;
  padding: 18px;
  background: #466541;
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 15px;
  transition: all 0.3s;
}

.submit-btn:hover {
  background: #466541;
  transform: translateY(-3px);
}

.popup-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 30px;
}

.popup-btn {
  padding: 16px;
  font-size: 1.15rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
}

.ready-btn {
  background: #2e7d32;
  color: white;
}
.custom-btn {
  background: #2c3e50;
  color: white;
}

/* Responsive */
@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .popup-content {
    padding: 30px 25px;
  }
}

.auth-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px; /* هام جداً للموبايل */
}

.auth-card {
  background: #ffffff;
  width: 100%;
  margin-top: 74px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.header {
  text-align: center;
  margin-bottom: 25px;
}

.header h2 {
  color: #111827;
  font-size: 22px;
  margin-bottom: 5px;
}

.header p {
  color: #6b7280;
  font-size: 14px;
}

/* نظام الشبكة (Grid) */
.form-grid {
  display: grid;
  grid-template-columns: 1fr; /* حقل واحد في الصف للموبايل */
  gap: 15px;
}

/* شاشات التابلت والكمبيوتر (أكبر من 600px) */
@media (min-width: 600px) {
  .auth-card {
    padding: 40px;
  }
}

.field {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

input,
select {
  width: 100%;
  padding: 14px; /* مريح للمس بالأصابع */
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 16px; /* يمنع الـ Zoom التلقائي في الآيفون */
  outline: none;
  transition: 0.2s ease;
  background-color: #fff;
}

input:focus,
select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.submit-btn {
  width: 100%;
  margin-top: 25px;
  padding: 16px;
  background-color: #466541;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.auth-footer {
  margin-top: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.forgot-link {
  color: #ef4444; /* لون أحمر هادي للتحذير أو النسيان */
  font-size: 13px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.forgot-link:hover {
  text-decoration: underline;
  color: #dc2626;
}

.auth-footer p {
  font-size: 14px;
  color: #64748b;
}

.login-link {
  color: #466541;
  text-decoration: none;
  font-weight: bold;
}

/* تعديل بسيط للزرار عشان الموبايل */
.submit-btn {
  width: 100%;
  margin-top: 20px;
  padding: 15px;
  background-color: #466541;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
  transition: 0.3s ease;
}

.submit-btn:active {
  transform: scale(0.98);
}
/* تنسيقات إضافية (توضع مع الكود السابق) */

.full-width {
  grid-column: 1 / -1; /* يخلي الحقل ياخد العرض كله في الموبايل والكمبيوتر */
}

/* تنسيق الفاصل */
.separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 25px 0;
  color: #94a3b8;
  font-size: 13px;
}
.separator::before,
.separator::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #e2e8f0;
}
.separator span {
  padding: 0 10px;
}

/* أزرار السوشيال ميديا */
.social-login {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.btn-social {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: white;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.google:hover {
  background: #fef2f2;
  border-color: #f87171;
  color: #dc2626;
}
.facebook:hover {
  background: #eff6ff;
  border-color: #60a5fa;
  color: #2563eb;
}

/* للموبايل: الأزرار تيجي جنب بعض عادي لأن حجمها مناسب */
@media (max-width: 400px) {
  .social-login {
    flex-direction: column;
  }
}

.chefs-section {
  padding: 20px 15px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.badge {
  color: #1a5d5a;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}
.section-header h2 {
  color: #1e293b;
  margin-top: 10px;
  font-size: 24px;
}
.section-header p {
  color: #94a3b8;
  font-size: 14px;
  margin-top: 5px;
}

/* شبكة الشيفات */
.chefs-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(160px, 1fr)
  ); /* مقاس معقول جداً للموبايل */
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.chef-item {
  text-align: center;
  cursor: pointer;
}

.chef-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5; /* شكل طولي احترافي */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chef-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%); /* لمسة سينمائية خفيفة */
  transition: 0.4s;
}

.view-hint {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  font-size: 10px;
  color: white;
  background: rgba(0, 0, 0, 0.3);
  padding: 5px;
  opacity: 1;
  transition: 0.3s;
}

/* ظهور الاسم */
.chef-info {
  max-height: 0;
  overflow: hidden;
  transition: 0.4s ease-out;
  opacity: 0;
}

.chef-name-link {
  display: block;
  margin-top: 15px;
  color: #588157;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
}

.chef-name-link span {
  display: block;
  font-size: 12px;
  color: #64748b;
  font-weight: normal;
  margin-top: 2px;
}

/* الحالة النشطة (لما تضغط) */
.chef-item.active .chef-image-wrapper {
  transform: scale(0.95);
  box-shadow: 0 0 0 3px #588157;
}

.chef-item.active img {
  filter: grayscale(0%);
}
.chef-item.active .view-hint {
  opacity: 0;
}

.chef-item.active .chef-info {
  max-height: 100px;
  opacity: 1;
  margin-top: 10px;
}

/* للموبايلات الصغيرة جداً */
@media (max-width: 400px) {
  .chefs-grid {
    gap: 20px;
  }
}

.exclusive-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
  direction: rtl;
  background-color: #f1f5f9;
}

.deal-card {
  background: white;
  width: 100%;
  max-width: 380px;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.card-image {
  position: relative;
  height: 220px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-badge {
  position: absolute;
  top: 15px;
  left: 15px; /* عكس الاتجاه عشان الـ RTL */
  background: #2d3e50;
  color: white;
  padding: 6px 15px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: bold;
}

.chef-signature {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  color: #1a5d5a;
  padding: 5px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: bold;
  border: 1px dashed #1a5d5a;
}

.chef-signatur {
  width: 45%;
  position: relative;
  bottom: 434px;
  left: 18px;
  background: #e74c3c;
  padding: 5px 12px;
  border-radius: 10px;
  font-size: 12px;
  margin-top: 10px;
  color: #ffffff;
  font-weight: bold;
}

.card-body {
  padding: 20px;
}

.dish-title {
  font-size: 20px;
  color: #1e293b;
  margin-bottom: 8px;
}

.dish-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
}

.price-section {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.cta-btn {
  width: 100%;
  padding: 14px;
  background: #2d3e50;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.cta-btn:hover {
  background: #1e293b;
}
.premium-features {
  padding: 20px 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  text-align: center;
  direction: rtl;
  overflow: hidden;
}

.features-header {
  margin-bottom: 50px;
}
.sub-title {
  color: #1a5d5a;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.features-header h2 {
  font-size: 32px;
  color: #1e293b;
  margin-top: 10px;
}
.header-line {
  width: 60px;
  height: 4px;
  background: #1a5d5a;
  margin: 15px auto;
  border-radius: 2px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 40px 30px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.icon-box {
  width: 80px;
  height: 80px;
  background: #ffffff;
  border-radius: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 25px;
  font-size: 35px;
  box-shadow: 0 15px 25px rgba(26, 93, 90, 0.1);
  transition: 0.4s;
}

.feature-card h3 {
  color: #1e293b;
  font-size: 20px;
  margin-bottom: 15px;
}
.feature-card p {
  color: #64748b;
  font-size: 15px;
  line-height: 1.7;
}

/* تأثير الـ Hover الاحترافي */
.feature-card:hover {
  transform: translateY(-15px);
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.feature-card:hover .icon-box {
  transform: rotateY(180deg);
  background: #1a5d5a;
  color: white;
}

/* وهج خفي خلف الكارت */
.card-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(26, 93, 90, 0.1) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: 0.4s;
  z-index: -1;
}

.feature-card:hover .card-glow {
  opacity: 1;
}

/* الموبايل */
@media (max-width: 600px) {
  .features-header h2 {
    font-size: 26px;
  }
  .feature-card {
    padding: 30px 20px;
  }
}
