/* Joy Club — صفحة المنيو
   بتعتمد على style.css (التوكنز والهيدر والفوتر) وبتضيف اللي يخص المنيو بس. */

/* ─────────── الهيرو ─────────── */

.menu-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  padding-block: clamp(40px, 7vw, 76px) clamp(34px, 6vw, 64px);
  text-align: center;
}
.menu-hero::before,
.menu-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.menu-hero::before {
  inset-block-start: -45%;
  inset-inline-start: -12%;
  width: 60vw; height: 60vw; max-width: 620px; max-height: 620px;
  background: radial-gradient(circle, rgba(31,184,166,.30), transparent 68%);
}
.menu-hero::after {
  inset-block-end: -55%;
  inset-inline-end: -10%;
  width: 55vw; height: 55vw; max-width: 560px; max-height: 560px;
  background: radial-gradient(circle, rgba(255,197,61,.24), transparent 68%);
}
.menu-hero .wrap { position: relative; z-index: 1; }
.menu-hero .eyebrow {
  color: var(--yellow);
  background: rgba(255,197,61,.14);
}
.menu-hero h1 { margin-bottom: .25em; }
.menu-hero p {
  margin: 0;
  color: #CFCBE4;
  font-size: clamp(.95rem, 2.2vw, 1.08rem);
}

/* ─────────── شريط الأقسام ─────────── */

.chips-bar {
  position: sticky;
  top: 68px;                     /* ارتفاع الهيدر */
  z-index: 40;
  background: rgba(251,248,242,.93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.chips-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-block: 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x proximity;
}
.chips-scroll::-webkit-scrollbar { display: none; }

.chip-link {
  flex: 0 0 auto;
  scroll-snap-align: center;
  text-decoration: none;
  white-space: nowrap;
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 7px 15px;
  border-radius: 999px;
  transition: color .18s, border-color .18s, background .18s;
}
.chip-link:hover {
  color: var(--teal-dark);
  border-color: var(--teal);
}
.chip-link.is-active {
  color: var(--navy);
  background: var(--yellow);
  border-color: var(--yellow);
}
.chip-link:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

/* ─────────── الأقسام ─────────── */

.menu-wrap {
  padding-block: clamp(28px, 5vw, 52px) clamp(20px, 4vw, 36px);
  display: grid;
  gap: clamp(18px, 3vw, 30px);
}

.menu-sec {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(20px, 3.4vw, 34px) clamp(16px, 3vw, 32px) clamp(16px, 3vw, 28px);
  scroll-margin-top: 136px;      /* الهيدر + شريط الأقسام */
  overflow: hidden;
}
/* خط اللون فوق الكارت — بيتبادل بين التركواز والأصفر عشان الصفحة متبقاش رتيبة */
.menu-sec::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 4px;
  background: var(--teal);
}
.menu-sec:nth-of-type(even)::before { background: var(--yellow); }

.menu-sec h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.3rem, 3.2vw, 1.75rem);
  margin: 0 0 clamp(14px, 2.4vw, 22px);
}
.menu-sec .ic {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: rgba(31,184,166,.12);
  color: var(--teal-dark);
}
.menu-sec:nth-of-type(even) .ic {
  background: rgba(255,197,61,.18);
  color: var(--yellow-dark);
}
.menu-sec .ic svg { width: 24px; height: 24px; }

/* ─────────── الأصناف ─────────── */

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px 38px;
}
@media (min-width: 880px) {
  .menu-list { grid-template-columns: 1fr 1fr; }
}

.menu-list li {
  display: flex;
  align-items: baseline;
  gap: 2px;
  padding-block: 9px;
  border-bottom: 1px solid transparent;
}
.menu-list li + li { border-top: 1px solid rgba(230,225,214,.6); }
@media (min-width: 880px) {
  /* في عمودين أول صنف في العمود التاني مينفعش ياخد خط فوقه */
  .menu-list li:nth-child(2) { border-top: 0; }
}

.menu-list .n {
  font-weight: 600;
  color: var(--ink);
  font-size: clamp(.95rem, 2.2vw, 1.02rem);
}
.menu-list .dots {
  flex: 1 1 auto;
  min-width: 18px;
  margin-inline: 8px;
  border-bottom: 1px dotted #CFC9BA;
  transform: translateY(-4px);
}
/* الذهبي في هوية Joy Club بييجي على الكحلي، مش نص ذهبي على أبيض —
   ده تباينه ١٫٩:١ ومش مقروء. فالرقم كحلي جوه شارة ذهبية خفيفة. */
.menu-list .pr {
  flex: 0 0 auto;
  font-family: "Baloo Bhaijaan 2", "Cairo", sans-serif;
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink);
  background: rgba(255,197,61,.20);
  border-radius: 999px;
  padding: 1px 11px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.menu-list .pr small {
  font-family: "Cairo", sans-serif;
  font-size: .7rem;
  font-weight: 700;
  color: var(--ink-soft);
}

/* ─────────── قسم لسه مالوش أسعار ─────────── */

.menu-sec.is-soon {
  background: #FDFBF6;
  border-style: dashed;
  box-shadow: none;
}
.menu-sec.is-soon::before { background: var(--line); }
.menu-sec.is-soon .ic { background: #EFEBE1; color: var(--ink-soft); }

.soon {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
}
.soon p { margin: 0; }
.soon .spin {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  border: 2.5px solid var(--line);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: joy-spin 1s linear infinite;
}
@keyframes joy-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .soon .spin { animation: none; border-top-color: var(--line); }
}

/* ─────────── تذييل المنيو ─────────── */

.menu-foot {
  text-align: center;
  color: var(--ink-soft);
  font-size: .86rem;
  max-width: 46ch;
  margin: 0 auto clamp(40px, 7vw, 72px);
  padding-inline: var(--gutter);
}

/* ─────────── موبايل ─────────── */

@media (max-width: 560px) {
  .menu-sec { border-radius: var(--radius); }
  .menu-sec .ic { width: 38px; height: 38px; border-radius: 12px; }
  .menu-sec .ic svg { width: 21px; height: 21px; }
  .menu-list .pr { font-size: 1.02rem; }
}

/* ─────────── صنف لسه سعره مش متحدد ─────────── */

/* صنف مقفول عليه الطلب. مش بيتشال من المنيو عشان الزبون ميسألش عنه
   ويتردّ عليه إنه مش موجود — بيفضل مكتوب وجنبه «غير متاح». */
.menu-list .pr.is-tbd,
.menu-list .pr.is-off {
  background: #F1EEE6;
  color: var(--ink-soft);
  font-family: "Cairo", sans-serif;
  font-weight: 700;
  font-size: .82rem;
}
.menu-list li.is-off .n {
  color: var(--ink-soft);
  font-weight: 500;
}
.menu-list li.is-off .thumb { opacity: .4; filter: grayscale(1); }
.menu-list li.is-off .dots { opacity: .45; }
.sec-note {
  margin: -6px 0 16px;
  font-size: .88rem;
  color: var(--ink-soft);
  background: #FBF6E9;
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 9px 14px;
}

/* ─────────── رسمة/صورة الصنف ─────────── */

.vessel-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.thumb {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #FAF6EE;
  border: 1px solid var(--line);
  margin-inline-end: 12px;
  overflow: hidden;
  /* --c بيتحدد لكل صنف من المولّد، --g/--k ثابتين */
  --g: #FFFFFF;
  --k: #8F8878;
}
.thumb svg { width: 34px; height: 34px; display: block; }
.thumb.has-photo { background: var(--white); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* الصف بقى فيه صورة، فالمحاذاة بقت على النص مش على السطر الأساسي */
.menu-list li { align-items: center; padding-block: 7px; }
.menu-list .dots { transform: none; align-self: flex-end; margin-bottom: 7px; }

@media (max-width: 560px) {
  .thumb { width: 42px; height: 42px; border-radius: 12px; margin-inline-end: 10px; }
  .thumb svg { width: 31px; height: 31px; }
}
