.aladam-header {
  position: relative;
  background: var(--aladam-gradient-sea);
  padding-top: 14px;
  padding-bottom: 30px;
  overflow: hidden;
}

.aladam-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 3;
  margin-bottom: 14px;
}

/* ===== الشعار واسم المطعم ===== */
.aladam-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.aladam-brand__logo {
  width: 46px;
  height: 46px;
  border-radius: var(--aladam-radius-pill);
  background: var(--aladam-gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--aladam-navy-deep);
  font-size: 19px;
  box-shadow: var(--aladam-shadow-gold);
  flex-shrink: 0;
}

.aladam-brand__name {
  color: var(--aladam-white);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.aladam-brand__tagline {
  display: block;
  color: var(--aladam-teal-light);
  font-size: 11.5px;
  font-weight: 500;
  margin-top: 2px;
}

/* ===== حالة المطعم ===== */
.aladam-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 7px 14px;
  border-radius: var(--aladam-radius-md);
  font-size: 12.5px;
  color: var(--aladam-white);
  font-weight: 500;
}

.aladam-status__row {
  display: flex;
  align-items: center;
  gap: 7px;
}

.aladam-status__hours {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
}

.aladam-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3DDC84;
  box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6);
  animation: aladamPulse 2s infinite;
}

.aladam-status[data-state="closed"] .aladam-status__dot {
  background: #E5594F;
  animation: none;
  box-shadow: none;
}

/* ===== الهيرو ===== */
.aladam-hero {
  position: relative;
  margin: 0 16px;
  border-radius: var(--aladam-radius-lg);
  overflow: hidden;
  height: 168px;
  box-shadow: var(--aladam-shadow-soft);
  z-index: 2;
}

.aladam-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aladam-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6,20,31,0.88) 0%, rgba(6,20,31,0.25) 55%, rgba(6,20,31,0.05) 100%);
}

.aladam-hero__content {
  position: absolute;
  bottom: 32px;
  right: 20px;
  left: 20px;
  color: var(--aladam-white);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.aladam-hero__welcome {
  font-size: 11.5px;
  color: var(--aladam-gold-light);
  font-weight: 500;
  margin: 0;
}

.aladam-hero__title {
  font-size: 19px;
  font-weight: 900;
  line-height: 1.3;
  margin: 0;
}

/* ===== موجة الفصل ===== */
.aladam-header__wave {
  position: absolute;
  bottom: -2px;
  right: 0;
  left: 0;
  height: 70px;
  z-index: 1;
  background: var(--aladam-cream);
  border-radius: 60% 40% 0 0 / 100% 100% 0 0;
  opacity: 0.06;
  transform: scaleX(1.4);
}

/* ===== صندوق البحث (ثابت أثناء التمرير) ===== */
.aladam-search-wrap {
  position: sticky;
  top: 0;
  z-index: 61;
  margin-top: 0;
  padding: 10px 0 8px;
  background: var(--aladam-cream);
}

.aladam-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--aladam-radius-pill);
  padding: 12px 18px;
  box-shadow: var(--aladam-shadow-card);
  border: 1px solid rgba(255,255,255,0.5);
  transition: box-shadow var(--aladam-speed-mid) var(--aladam-ease);
}

.aladam-search__icon {
  color: var(--aladam-teal);
  font-size: 16px;
}

.aladam-search__input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--aladam-font-body);
  font-size: 14.5px;
  color: var(--aladam-text-dark);
}

.aladam-search__input::placeholder {
  color: var(--aladam-text-muted);
}

.aladam-search__clear {
  border: none;
  background: var(--aladam-gray-light);
  color: var(--aladam-text-muted);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  transition: background var(--aladam-speed-fast) var(--aladam-ease);
}

.aladam-search__clear.aladam-active {
  display: flex;
}

.aladam-search__clear:hover {
  background: #e2e6e8;
}

@media (min-width: 768px) {
  .aladam-hero { height: 230px; }
  .aladam-hero__content { bottom: 38px; }
  .aladam-hero__title { font-size: 26px; }
}

@media (min-width: 1200px) {
  .aladam-hero { height: 260px; }
}
