/* ============================================================
   Re:Bond — Menu / Price List Styles
   css/menu.css
   ============================================================ */

/* ── Language Switcher ──────────────────────────────────────── */
.lang-switcher {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.5rem 0 1rem 0;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  color: inherit;
  opacity: 0.55;
  transition: opacity 0.15s;
}
.lang-btn.active,
.lang-btn:hover {
  opacity: 1;
}

/* ── Menu Section Wrapper ───────────────────────────────────── */
.menu-section {
  width: 100%;
  margin: 2rem 0 0;
  text-align: left;
}
.menu-section-title {
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  margin: 0 0 0.25rem;
}
.menu-section-note {
  font-size: 0.85rem;
  text-align: center;
  opacity: 0.7;
  margin: 0 0 0.5rem;
}
.menu-cash-note {
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  background: #f5f0e8;
  border: 1px solid #d4b896;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  margin: 0 0 1.5rem;
  color: #7a5c2e;
}
@media (prefers-color-scheme: dark) {
  .menu-cash-note {
    background: #2a2118;
    border-color: #6b4f28;
    color: #d4b896;
  }
}

/* ── Individual Price Block ─────────────────────────────────── */
.menu-block {
  margin-bottom: 2rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  overflow: hidden;
}
@media (prefers-color-scheme: dark) {
  .menu-block {
    border-color: rgba(255,255,255,0.12);
  }
}

.menu-block-header {
  padding: 0.75rem 1rem 0.6rem;
  background: rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
@media (prefers-color-scheme: dark) {
  .menu-block-header {
    background: rgba(255,255,255,0.05);
    border-bottom-color: rgba(255,255,255,0.08);
  }
}
.menu-block-header .menu-block-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
  line-height: 1.35;
}
.menu-block-header .menu-block-subtitle {
  font-size: 0.8rem;
  opacity: 0.65;
  margin: 0;
  line-height: 1.35;
}

/* ── Price Table ────────────────────────────────────────────── */
.menu-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.menu-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.menu-table th {
  padding: 0.45rem 0.6rem;
  font-weight: 600;
  text-align: right;
  font-size: 0.78rem;
  opacity: 0.7;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  white-space: nowrap;
}
@media (prefers-color-scheme: dark) {
  .menu-table th {
    border-bottom-color: rgba(255,255,255,0.08);
  }
}
.menu-table th:first-child {
  text-align: left;
}
.menu-table td {
  padding: 0.45rem 0.6rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  text-align: right;
  white-space: nowrap;
}
@media (prefers-color-scheme: dark) {
  .menu-table td {
    border-bottom-color: rgba(255,255,255,0.05);
  }
}
.menu-table td:first-child {
  text-align: left;
  white-space: normal;
  font-weight: 500;
}
.menu-table tr:last-child td {
  border-bottom: none;
}
.menu-table tr:hover td {
  background: rgba(0,0,0,0.02);
}
@media (prefers-color-scheme: dark) {
  .menu-table tr:hover td {
    background: rgba(255,255,255,0.03);
  }
}
.price-consultation {
  opacity: 0.6;
  font-style: italic;
  font-size: 0.82rem;
}

/* ── Simple 2-col list (for removal, standalone services) ───── */
.menu-simple-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-simple-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.45rem 0.6rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.88rem;
  gap: 1rem;
}
@media (prefers-color-scheme: dark) {
  .menu-simple-list li {
    border-bottom-color: rgba(255,255,255,0.05);
  }
}
.menu-simple-list li:last-child {
  border-bottom: none;
}
.menu-simple-name {
  font-weight: 500;
}
.menu-simple-price {
  font-weight: 600;
  white-space: nowrap;
  text-align: right;
}

/* ── Add-ons ────────────────────────────────────────────────── */
.menu-addons {
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(0,0,0,0.02);
  border-top: 1px solid rgba(0,0,0,0.06);
}
@media (prefers-color-scheme: dark) {
  .menu-addons {
    background: rgba(255,255,255,0.02);
    border-top-color: rgba(255,255,255,0.06);
  }
}
.menu-addons li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.35rem 0.6rem;
  font-size: 0.82rem;
  gap: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.menu-addons li:last-child {
  border-bottom: none;
}
.menu-addon-label {
  opacity: 0.75;
}
.menu-addon-price {
  font-weight: 600;
  white-space: nowrap;
}

/* ── Notes / Disclaimers ────────────────────────────────────── */
.menu-notes {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0.6rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  background: rgba(0,0,0,0.015);
}
@media (prefers-color-scheme: dark) {
  .menu-notes {
    background: rgba(255,255,255,0.015);
    border-top-color: rgba(255,255,255,0.06);
  }
}
.menu-notes li {
  font-size: 0.77rem;
  opacity: 0.65;
  padding: 0.15rem 0;
}
.menu-notes li::before {
  content: "* ";
}

/* ── Coming Soon Placeholder ────────────────────────────────── */
.menu-coming-soon {
  padding: 1.25rem 1rem;
  text-align: center;
  font-size: 0.88rem;
  opacity: 0.6;
  font-style: italic;
}

/* ── Dark theme explicit class support ─────────────────────── */
:root.theme-dark .menu-block { border-color: rgba(255,255,255,0.12); }
:root.theme-dark .menu-block-header { background: rgba(255,255,255,0.05); border-bottom-color: rgba(255,255,255,0.08); }
:root.theme-dark .menu-table th { border-bottom-color: rgba(255,255,255,0.08); }
:root.theme-dark .menu-table td { border-bottom-color: rgba(255,255,255,0.05); }
:root.theme-dark .menu-table tr:hover td { background: rgba(255,255,255,0.03); }
:root.theme-dark .menu-simple-list li { border-bottom-color: rgba(255,255,255,0.05); }
:root.theme-dark .menu-addons { background: rgba(255,255,255,0.02); border-top-color: rgba(255,255,255,0.06); }
:root.theme-dark .menu-addons li { border-bottom-color: rgba(255,255,255,0.04); }
:root.theme-dark .menu-notes { background: rgba(255,255,255,0.015); border-top-color: rgba(255,255,255,0.06); }
:root.theme-dark .menu-cash-note { background: #2a2118; border-color: #6b4f28; color: #d4b896; }
