/* اللوجو بدون دائرة بيضاء وبدون أي أنيميشن وبأعلى جودة */
/* اللوجو بدون دائرة بيضاء وبلون أبيض ناصع */
.logo-box {
  width: 170px;
  height: auto;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding: 0;
  margin-bottom: -6px;
}

.brand-logo {
  width: 100%;
  height: auto;
  max-width: 170px;
  display: block;
  object-fit: contain;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
  /* تحويل لون اللوجو وكلمة كراميل إلى الأبيض الصافي مع ظل نيون خفيف يبرزه */
  filter: brightness(0) invert(1) drop-shadow(0 3px 10px rgba(216, 27, 114, 0.75)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.9));
  animation: none !important;
  transition: none !important;
}

/* الجملة الدعائية ملتصقة مباشرة تحت كلمة كراميل باللون الأبيض */
.brand-subtitle {
  font-family: 'Marhey', 'Cairo', var(--font-main);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: -8px;
  line-height: 1.2;
  text-shadow: 0 3px 10px rgba(216, 27, 114, 0.7), 0 2px 6px rgba(0, 0, 0, 0.95);
}

/* شارة آخر تحديث بتاريخ اليوم (في آخر المنيو) */
.update-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(216, 27, 114, 0.25);
  border: 1px solid rgba(255, 110, 176, 0.5);
  color: #ffeef6;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  max-width: 100%;
  text-align: center;
}

.update-pill i {
  color: #ff79b8;
}

/* أزرار السوشيال ميديا */
.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.social-btn.whatsapp { background: #25D366; border-color: #25D366; }
.social-btn.facebook { background: #1877F2; border-color: #1877F2; }
.social-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border: none; }
.social-btn.tiktok { background: #000000; border-color: #333333; }

/* حقل البحث الذكي */
.search-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 12px;
}

.search-input {
  width: 100%;
  padding: 13px 44px 13px 42px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(216, 27, 114, 0.4);
  background: var(--surface-card);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  outline: none;
}

.search-input:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(216, 27, 114, 0.2);
}

.search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand-primary);
  font-size: 1.05rem;
  pointer-events: none;
}

.clear-search-btn {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* أزرار التنقل بين الأقسام */
.categories-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.categories-nav::-webkit-scrollbar {
  display: none;
}

.cat-tab {
  white-space: nowrap;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.cat-tab.active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #ffffff;
}

/* كروت الأقسام والأصناف */
.category-block {
  background: var(--surface-glass);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--brand-primary-light);
}

.category-header i {
  color: var(--brand-primary);
  font-size: 1.35rem;
}

.category-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-primary-dark);
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.menu-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
}

.item-name {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
}

.item-price-box {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  background: var(--brand-primary-light);
  color: var(--brand-primary-dark);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  white-space: nowrap;
}

.price-value {
  font-size: 1.08rem;
}

.price-currency {
  font-size: 0.78rem;
  font-weight: 700;
}

/* حالة البحث الفارغ */
.empty-state {
  text-align: center;
  background: var(--surface-glass);
  padding: 40px 20px;
  border-radius: var(--radius-lg);
  color: var(--text-main);
}

.empty-icon {
  font-size: 2.6rem;
  color: var(--brand-primary);
  margin-bottom: 10px;
}

/* زر الواتساب العائم */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 90;
  background: #25D366;
  color: #ffffff;
  text-decoration: none;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.floating-whatsapp i {
  font-size: 1.3rem;
}

.copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
}

/* توقيع POWERED BY VCX.Studio */
.powered-by {
  margin-top: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.75);
  direction: ltr;
}

.powered-by span {
  color: #ff4081;
  font-weight: 800;
}

@media (max-width: 600px) {
  .items-grid {
    grid-template-columns: 1fr;
  }
  .category-block {
    padding: 16px;
  }
  .logo-box {
    width: 145px;
  }
  .brand-logo {
    max-width: 145px;
  }
  .brand-subtitle {
    font-size: 1.2rem;
  }
}