/* ============================================================
   Cabin Rose Station - laman rasmi (monokrom minimalis)
   Sistem bentuk: butang = pill penuh, kad/imej = 10px, konsisten.
   Palet: hitam/putih sahaja. Imej grayscale; warna muncul on-hover
   pada kad menu (maklum balas interaksi). Tema: auto ikut sistem.
   ============================================================ */

:root {
  --bg: #f7f7f6;
  --surface: #ffffff;
  --ink: #141414;
  --muted: #6c6c6c;
  --line: #e4e4e2;
  --accent: #c84b61; /* Dusty Rose */
  --scrim: rgb(10 10 10 / .62);
  --shadow: 0 10px 30px rgb(0 0 0 / .08);
  --radius: 10px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111111;
    --surface: #1a1a1a;
    --ink: #f1f1f0;
    --muted: #9d9d9c;
    --line: #2b2b2b;
    --accent: #e66a81; /* Light Dusty Rose */
    --scrim: rgb(5 5 5 / .66);
    --shadow: 0 10px 30px rgb(0 0 0 / .4);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1160px; margin-inline: auto; padding-inline: 20px; }

h1, h2, h3 { line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { margin: 0 0 1em; }

a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Butang (pill) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: 999px;
  padding: .8rem 1.5rem;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s cubic-bezier(.16,1,.3,1), opacity .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); opacity: .88; }
.btn:active { transform: scale(.98); }
.btn i { font-size: 1.15rem; }

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: skewX(-20deg);
  z-index: -1;
  animation: shimmer 6s infinite;
}
@keyframes shimmer {
  0% { left: -100%; }
  15% { left: 100%; }
  100% { left: 100%; }
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.btn-sm { padding: .55rem 1.1rem; font-size: .88rem; }

.btn-book {
  background: #25d366;
  color: #ffffff;
}
.btn-book:hover { opacity: .9; }

/* ---------- Header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 40; /* skala z: 40 header, 50 panel nav mudah alih */
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.head-in { display: flex; align-items: center; gap: 1.5rem; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em; color: var(--ink); margin: 0; }
.brand span { font-style: italic; font-weight: 700; }
.brand:hover { text-decoration: none; }
.logo-img { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); object-fit: cover; }

.nav { display: flex; gap: 1.4rem; margin-left: auto; }
.nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: .95rem;
  transition: color .2s ease;
}
.nav a:hover { color: var(--accent); text-decoration: none; }

@media (min-width: 861px) {
  .nav a {
    position: relative;
    padding-bottom: 4px;
  }
  .nav a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .25s ease;
  }
  .nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }
}

.head-actions { display: flex; align-items: center; gap: .7rem; }

.lang-toggle {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-weight: 600;
  font-size: .82rem;
  border-radius: 999px;
  padding: .45rem .85rem;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }

.nav-burger {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(520px, 85vh, 720px);
  display: flex;
  align-items: center;
  padding-block: 4rem;
  background: transparent;
  overflow: hidden;
  color: #ffffff; /* Semua teks di hero berwarna putih */
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: 
    linear-gradient(to right, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.7) 45%, rgba(10, 10, 10, 0.25) 100%),
    url("../img/hero_food.webp") center / cover no-repeat;
  transition: transform 0.6s ease;
}
.hero:hover::before {
  transform: scale(1.02); /* Kesan parallax zum masuk halus apabila di-hover */
}
.hero-copy h1 {
  font-family: "Kaushan Script", cursive; /* skrip brush, seiring logo Cabin Rose */
  font-weight: 400;
  font-size: clamp(3.4rem, 8vw, 5.4rem);
  line-height: 1.18;
  letter-spacing: 0;
  padding-bottom: .15em; /* ruang untuk ekor huruf skrip, elak terpotong */
  margin-bottom: .15em;
  color: #ffffff;
}
.rose-icon {
  display: inline-block;
  width: .8em;
  height: .8em;
  margin-left: .18em;
  vertical-align: -0.08em;
  background: var(--accent);
  -webkit-mask: url("../img/rose.svg") center / contain no-repeat;
  mask: url("../img/rose.svg") center / contain no-repeat;
}
.hero-copy .eyebrow {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--accent); /* Warna accent Dusty Rose pada eyebrow */
  margin-bottom: 1rem;
}
.hero .lede { font-size: 1.12rem; color: rgba(255, 255, 255, 0.88); max-width: 34rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* Butang khusus untuk hero agar nampak jelas di atas gambar latar belakang gelap */
.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}
.hero .btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- Bar info ---------- */
.info-bar { border-block: 1px solid var(--line); margin-top: clamp(2.5rem, 6vw, 4.5rem); background: var(--surface); }
.info-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding-block: .9rem;
  font-size: .92rem;
  color: var(--muted);
}
.info-in strong { color: var(--ink); font-weight: 600; }
.info-in i { vertical-align: -2px; margin-right: .4rem; color: var(--ink); }
.info-in a { color: var(--muted); }
.info-in a:hover { color: var(--ink); text-decoration: none; }
.info-sep { width: 1px; height: 1rem; background: var(--line); }

/* ---------- Seksyen am ---------- */
.section { padding-block: clamp(4rem, 9vw, 6.5rem); }
.section h2 { margin-bottom: 1.6em; }

/* ---------- Bento menu ---------- */
.bento {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.1rem;
}
.cell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s ease;
}
.cell:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cell img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.cell:hover img {
  transform: scale(1.03);
}
.cell-body { padding: 1.1rem 1.25rem 1.25rem; }
.cell-body p { color: var(--muted); font-size: .95rem; margin: 0; }

.cell-feature {
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.6rem;
  min-height: 380px;
  border: none;
  color: #fff;
  position: relative;
  z-index: 1;
  background: transparent;
  overflow: hidden;
}
.cell-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(200deg, rgb(12 12 12 / 0) 42%, rgb(12 12 12 / .9) 84%),
    url("../img/corndog.webp") center / cover no-repeat #141414;
  transition: transform 0.4s ease;
}
.cell-feature:hover::before {
  transform: scale(1.03);
}
.cell-feature h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: inherit; }
.cell-feature p { color: rgb(255 255 255 / .86); margin: 0; max-width: 26rem; }
.cell-tag {
  align-self: flex-start;
  font-size: .74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  border: 1px solid rgb(255 255 255 / .4);
  background: rgb(12 12 12 / .38);
  border-radius: 999px;
  padding: .3rem .8rem;
  margin: 0 0 auto;
}

.cell-wide { grid-column: 2 / 4; display: grid; grid-template-columns: 1.1fr 1fr; }
.cell-wide img { height: 100%; aspect-ratio: auto; }
.cell-wide .cell-body { align-self: center; }

.menu-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}
.menu-actions .btn {
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
}

.menu-note { margin-top: 1.8rem; color: var(--muted); font-size: .98rem; text-align: center; }
.menu-note a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Suasana (full-bleed) ---------- */
.ambience { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 440px; }
.ambience-bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.ambience::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--scrim) 0%, rgb(10 10 10 / .3) 100%); }
.ambience-copy { padding-block: 4rem; width: 100%; }
.ambience-copy h2, .ambience-copy p { color: #fff; max-width: 30rem; }
.ambience-copy h2 em { font-style: italic; padding-inline: 0.08em; }
.ambience-copy p { color: rgb(255 255 255 / .85); font-size: 1.08rem; margin: 0; }

/* ---------- Majlis & Event (blok kontras tunggal) ---------- */
.event { background: var(--ink); color: var(--bg); }
.event-grid {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.event h2 { color: inherit; }
.event p { color: color-mix(in srgb, var(--bg) 75%, transparent); max-width: 30rem; }
.event .btn-primary { background: var(--bg); color: var(--ink); }
.event-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ---------- Ulasan ---------- */
.quotes { display: grid; grid-template-columns: 1.3fr 1fr .72fr; gap: 1.1rem; align-items: stretch; }
.quote-media { margin: 0; }
.quote-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.quote {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.quote blockquote { margin: 0; font-weight: 500; }
.quote-lead blockquote { font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.35; letter-spacing: -0.015em; }
.quote figcaption { margin-top: auto; font-size: .9rem; color: var(--muted); }
.quote figcaption em { font-style: normal; font-weight: 600; color: var(--ink); }
.quote-stack { display: grid; gap: 1.1rem; }

/* ---------- Lokasi ---------- */
.location { position: relative; }
/* Peta lokasi & Container */
.map-container {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
}
.map { display: block; width: 100%; height: 100%; border: 0; }

/* Overlay interaksi peta */
.map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 10;
  text-align: center;
  padding: 20px;
}
.map-overlay i {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
  color: var(--accent);
  animation: map-pulse 2s infinite ease-in-out;
}
.map-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes map-pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.location .container { position: relative; }
.loc-card {
  position: absolute;
  right: 20px;
  bottom: 40px;
  width: min(400px, calc(100% - 40px));
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}
.loc-card h2 { font-size: 1.5rem; margin-bottom: .8em; }
.loc-addr { color: var(--muted); font-size: .95rem; }
.loc-addr i, .loc-phone i { color: var(--ink); margin-right: .5rem; vertical-align: -2px; }
.loc-hours { margin: 0 0 1rem; }
.loc-hours div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .45rem; border-top: 1px solid var(--line); font-size: .95rem; }
.loc-hours dt { color: var(--muted); }
.loc-hours dd { margin: 0; font-weight: 600; }
.loc-phone { font-size: .95rem; }
.loc-phone a { color: var(--ink); font-weight: 600; }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--surface); }
.foot-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 2.4rem 1.2rem;
}
.foot-brand { display: flex; align-items: center; gap: 1rem; }
.foot-brand .logo-img { width: 52px; height: 52px; }
.foot-tag { color: var(--muted); font-size: .95rem; margin: .3rem 0 0; }
.foot-social { display: flex; gap: .7rem; }
.foot-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 1.25rem;
  transition: border-color .18s ease, transform .18s ease;
}
.foot-social a:hover { border-color: var(--ink); transform: translateY(-2px); text-decoration: none; }
.foot-base { padding-block: 0 1.6rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.foot-base p { color: var(--muted); font-size: .85rem; margin: 0; }
.admin-link {
  font-size: 0.78rem;
  color: var(--muted);
  opacity: 0.6;
  transition: opacity 0.2s ease, color 0.2s ease;
  text-decoration: none;
  padding: 12px 16px; /* Besarkan kawasan sentuhan (touch target) untuk jari telefon pintar */
  margin: -12px -16px; /* Imbang semula margin agar tidak mengganggu kedudukan copyright */
}
.admin-link:hover {
  opacity: 1;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Animasi reveal (dipandu IntersectionObserver) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
  .reveal.in { opacity: 1; transform: none; }

  .hero-copy > * { animation: rise .8s cubic-bezier(.16,1,.3,1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-copy > *:nth-child(4) { animation-delay: .24s; }
  .hero-media { animation: rise .9s cubic-bezier(.16,1,.3,1) .15s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Mudah alih ---------- */
@media (max-width: 860px) {
  .nav {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    z-index: 50;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: .5rem 20px 1rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: none; }
  .nav-burger { display: inline-flex; }
  .head-in .btn-sm span { display: none; }
  .head-in .btn-sm { width: 40px; height: 40px; padding: 0; justify-content: center; }

  .hero {
    min-height: 480px;
    padding-block: 3.5rem 2rem;
  }
  .hero::before {
    background: 
      linear-gradient(to bottom, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.65) 60%, rgba(10, 10, 10, 0.4) 100%),
      url("../img/hero_food.webp") center / cover no-repeat;
  }

  .bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .cell-feature { grid-row: auto; min-height: 260px; }
  .cell-wide { grid-column: auto; grid-template-columns: 1fr; }
  .cell-wide img { aspect-ratio: 4 / 3; }

  .event-grid { grid-template-columns: 1fr; }

  .quotes { grid-template-columns: 1fr; }
  .quote-media img { aspect-ratio: 4 / 3; height: auto; }

  .map-container { height: 380px; }
  .loc-card { position: static; width: 100%; margin-top: 1.1rem; margin-bottom: 2.5rem; }

  .info-in { justify-content: flex-start; }
  .info-sep { display: none; }
}

@media (max-width: 560px) {
  /* Skrin sempit: logo sahaja di header (teks jenama disembunyikan, alt logo kekal untuk a11y) */
  .site-head .brand { font-size: 0; gap: 0; }
}

/* ---------- Soalan lazim (accordion <details> asli) ---------- */
.faq-list {
  border-top: 1px solid var(--line);
  max-width: 780px;
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.15rem 0;
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  transition: color .2s ease;
}
.faq-item summary:hover { color: var(--accent); }
/* Sembunyikan segi tiga lalai (WebKit dan yang lain) */
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
  transition: transform .25s cubic-bezier(.16,1,.3,1);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin: 0;
  padding: 0 2.5rem 1.25rem 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.65;
}

/* ---------- Modal (cth: makluman sebelum buka menu PDF) ---------- */
.modal-latar {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}
.modal-latar[hidden] { display: none; }
.modal-kad {
  position: relative;
  background: var(--surface);
  color: var(--ink);
  border-radius: 14px;
  padding: 2rem 1.75rem 1.75rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.modal-kad h3 { margin: 0.75rem 0 0.5rem; font-size: 1.2rem; }
.modal-kad p { color: var(--muted); margin: 0 0 1.4rem; font-size: 0.95rem; line-height: 1.5; }
.modal-tutup {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
}
.modal-aksi { display: flex; flex-direction: column; gap: 0.6rem; }
.modal-aksi .btn { width: 100%; justify-content: center; }

/* Modal borang tempahan */
.modal-booking { max-width: 440px; }
.booking-form { display: flex; flex-direction: column; gap: 0.9rem; text-align: left; margin-top: 0.4rem; }
.booking-form label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.85rem; color: var(--muted); }
.booking-form input,
.booking-form textarea {
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.65rem 0.8rem;
  resize: vertical;
}
.booking-form input:focus,
.booking-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

/* Modal menu penuh */
.modal-menu {
  max-width: 720px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  overflow: hidden;
}
.modal-menu-kepala {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.modal-menu-kepala h3 { margin: 0; font-size: 1.25rem; }
.modal-menu-kepala .modal-tutup { position: static; }
.modal-menu-isi {
  overflow-y: auto;
  padding: 0.5rem 1.5rem 1rem;
}
.modal-menu-nota {
  margin: 0;
  padding: 0.8rem 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}
.menu-sek { margin-top: 1.4rem; }
.menu-sek-kepala {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}
.menu-sek-kepala img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.menu-sek-kepala h4 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--accent);
  flex: 1;
}
.menu-sek-hc { color: var(--muted); font-size: 0.8rem; white-space: nowrap; }
.menu-sek ul { list-style: none; margin: 0; padding: 0; }
.menu-sek li {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.95rem;
}
.menu-sek li:last-child { border-bottom: 0; }
.menu-kod { color: var(--muted); font-size: 0.78rem; flex: none; min-width: 4.6em; }
.menu-nama { flex: 1; }
.menu-harga { font-weight: 600; white-space: nowrap; }

@media (max-width: 560px) {
  .modal-latar { padding: 12px; }
  .modal-menu { max-height: 92vh; }
  .modal-menu-kepala, .modal-menu-isi, .modal-menu-nota { padding-left: 1rem; padding-right: 1rem; }
  .menu-kod { display: none; }
}
