:root {
  --bg: #070608;
  --bg2: #0c0b0f;
  --accent: #e87f23;
  --accent-h: #f09040;
  --glow: rgba(232,127,35,.14);
  --glow2: rgba(232,127,35,.30);
  --glass: rgba(255,255,255,.04);
  --gb: rgba(255,255,255,.07);
  --gh: rgba(255,255,255,.10);
  --text: #f0ede8;
  --text2: rgba(240,237,232,.55);
  --text3: rgba(240,237,232,.30);
  --r: 14px;
  --rl: 20px;
  --t: .26s ease;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── Atmosphere / Smoke ─────────────────────────────────────── */
.bc-atmosphere {
  position: fixed;
  inset: auto 0 0 0;
  height: 40vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bc-smoke {
  position: absolute;
  bottom: -8%;
  border-radius: 999px;
  animation: bcSmokeRise linear infinite;
  background: radial-gradient(
    ellipse at center,
    rgba(232,127,35,.22) 0%,
    rgba(200,100,20,.13) 24%,
    rgba(120,60,18,.07) 44%,
    rgba(20,12,6,0) 70%
  );
}
.bc-smoke--1 { left: -6%; width: 50vw; height: 26vh; animation-duration: 9s; animation-delay: 0s; }
.bc-smoke--2 { left: 20%; width: 60vw; height: 32vh; opacity: .60; animation-duration: 12s; animation-delay: -3.5s; }
.bc-smoke--3 { right: -8%; width: 46vw; height: 24vh; opacity: .46; animation-duration: 15s; animation-delay: -7s; }
@keyframes bcSmokeRise {
  0%   { transform: translateY(22px) scale(.94); opacity: .14; }
  22%  { opacity: .52; }
  58%  { transform: translateY(-8px) scale(1.04); opacity: .72; }
  100% { transform: translateY(-30px) scale(1.10); opacity: .08; }
}
@media (prefers-reduced-motion: reduce) {
  .bc-smoke { animation: none; opacity: .28; }
}

/* ─── Nav ────────────────────────────────────────────────────── */
.bc-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 56px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7,6,8,.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.055);
}
.bc-nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.bc-nav__logo-mark {
  width: 34px; height: 34px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600; font-size: 13px; letter-spacing: .6px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 14px rgba(232,127,35,.40);
}
.bc-nav__name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: .3px;
  color: var(--text);
}
.bc-nav__right { display: flex; align-items: center; gap: 9px; }
.bc-nav__table-badge {
  background: var(--glow);
  border: 1px solid rgba(232,127,35,.28);
  color: var(--accent);
  padding: 3px 11px;
  border-radius: 20px;
  font-size: .69rem;
  font-weight: 600;
}
.bc-nav__cart-btn {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--gb);
  color: var(--text);
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--t);
}
.bc-nav__cart-btn:hover {
  background: var(--gh);
  border-color: var(--accent);
  color: var(--accent);
}
.bc-cart-badge {
  position: absolute;
  top: -4px; right: -4px;
  width: 17px; height: 17px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: .6rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.bc-btn--sm { padding: 7px 14px; font-size: .75rem; }

/* ─── Main ───────────────────────────────────────────────────── */
.bc-main {
  padding-top: 56px;
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

/* ─── Menu Header ────────────────────────────────────────────── */
.bc-menu-header {
  padding: 24px 18px 8px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.bc-menu-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .4px;
  color: var(--text);
}
.bc-preview-notice {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(232,127,35,.06);
  border: 1px solid rgba(232,127,35,.18);
  color: var(--accent);
  padding: 4px 13px;
  border-radius: 20px;
  font-size: .68rem;
  font-weight: 500;
  margin-top: 9px;
}

/* ─── Accordion ──────────────────────────────────────────────── */
.bc-accordion-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 14px 72px;
  position: relative;
  z-index: 1;
}
.bc-cat-item { margin-bottom: 8px; }

/* Category Header = real food banner with PHP-injected background-image */
.bc-cat-header {
  position: relative;
  width: 100%;
  min-height: 82px;
  background-color: #15120e;
  background-size: cover;
  background-position: center;
  border: none;
  border: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 0 20px;
  cursor: pointer;
  color: #fff;
  border-radius: var(--r);
  transition: box-shadow .22s ease, border-color .22s ease, border-radius .22s ease;
  text-align: left;
}
@media (min-width: 768px) { .bc-cat-header { min-height: 92px; } }
.bc-cat-header:hover {
  border-color: rgba(232,127,35,.26);
  box-shadow: 0 6px 28px rgba(0,0,0,.52), 0 0 0 1px rgba(232,127,35,.15);
}
.bc-cat-item.is-open > .bc-cat-header {
  border-radius: var(--r) var(--r) 0 0;
  border-color: rgba(232,127,35,.32);
  box-shadow: 0 4px 22px rgba(0,0,0,.48), 0 0 0 1px rgba(232,127,35,.22);
}

/* Overlay — real DOM div replacing ::before */
.bc-cat-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,4,4,.84) 0%, rgba(5,4,4,.52) 42%, rgba(5,4,4,.24) 70%, rgba(5,4,4,.10) 100%),
    linear-gradient(180deg, rgba(232,127,35,.07) 0%, rgba(232,127,35,0) 48%, rgba(0,0,0,.32) 100%);
  z-index: 1;
  pointer-events: none;
  transition: background .22s ease;
}
.bc-cat-header:hover .bc-cat-overlay {
  background:
    linear-gradient(90deg, rgba(5,4,4,.78) 0%, rgba(5,4,4,.44) 42%, rgba(5,4,4,.18) 70%, rgba(5,4,4,.06) 100%),
    linear-gradient(180deg, rgba(232,127,35,.11) 0%, rgba(232,127,35,0) 48%, rgba(0,0,0,.28) 100%);
}
.bc-cat-item.is-open > .bc-cat-header .bc-cat-overlay {
  background:
    linear-gradient(90deg, rgba(5,4,4,.76) 0%, rgba(5,4,4,.40) 42%, rgba(5,4,4,.16) 70%, rgba(5,4,4,.04) 100%),
    linear-gradient(180deg, rgba(232,127,35,.14) 0%, rgba(232,127,35,0) 48%, rgba(0,0,0,.26) 100%);
}

.bc-cat-title {
  position: relative;
  z-index: 2;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: .5px;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0,0,0,.92), 0 0 28px rgba(0,0,0,.6);
}
@media (max-width: 479px) { .bc-cat-title { font-size: .96rem; } }

.bc-cat-chevron {
  position: relative;
  z-index: 2;
  width: 20px; height: 20px;
  color: rgba(255,255,255,.55);
  flex-shrink: 0;
  transition: transform .25s ease, color .22s ease;
}
.bc-cat-header:hover .bc-cat-chevron { color: rgba(255,255,255,.88); }
.bc-cat-item.is-open > .bc-cat-header .bc-cat-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

/* Category Content */
.bc-cat-content {
  display: none;
  background: rgba(7,6,8,.74);
  border: 1px solid rgba(255,255,255,.055);
  border-top: none;
  border-left: 2px solid rgba(232,127,35,.26);
  border-radius: 0 0 var(--r) var(--r);
  padding: 16px;
}
.bc-cat-content.is-open { display: block; }
.bc-cat-empty {
  color: var(--text3);
  font-size: .82rem;
  text-align: center;
  padding: 20px 0;
}

/* ─── Product Grid ───────────────────────────────────────────── */
.bc-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 12px;
}
@media (min-width: 600px) {
  .bc-product-grid { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; }
}
@media (min-width: 900px) {
  .bc-product-grid { grid-template-columns: repeat(auto-fill, minmax(188px, 1fr)); gap: 16px; }
}

/* ─── Product Card ───────────────────────────────────────────── */
.bc-product-card {
  background: rgba(255,255,255,.034);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.bc-product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(232,127,35,.32);
  box-shadow: 0 8px 28px rgba(0,0,0,.50), 0 0 0 1px rgba(232,127,35,.11);
}
.bc-product-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.bc-product-card__img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #16130e;
  flex-shrink: 0;
  position: relative;
}
.bc-product-card__img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(7,6,8,.50) 0%, transparent 44%);
  pointer-events: none;
}
.bc-product-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.bc-product-card:hover .bc-product-card__img { transform: scale(1.06); }
.bc-product-card__body {
  padding: 10px 12px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.bc-product-card__name {
  font-size: .86rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.28;
}
.bc-product-card__desc {
  font-size: .71rem;
  color: var(--text2);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  margin-top: 2px;
}
.bc-product-card__price {
  font-size: .92rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: auto;
  padding-top: 6px;
  letter-spacing: .2px;
}

/* ─── Modal ──────────────────────────────────────────────────── */
.bc-modal-overlay {
  position: fixed; inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,.74);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  align-items: flex-end;
  justify-content: center;
  transition: opacity .26s, visibility .26s;
}
@media (min-width: 768px) { .bc-modal-overlay { align-items: center; } }
.bc-modal-overlay.is-open {
  display: flex;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.bc-modal {
  background: #0e0d14;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--rl) var(--rl) 0 0;
  width: 100%;
  max-width: 460px;
  max-height: 93vh;
  overflow-y: auto;
  transform: translateY(40px);
  transition: transform .26s ease;
  position: relative;
}
@media (min-width: 768px) {
  .bc-modal { border-radius: var(--rl); margin: 12px; transform: translateY(14px) scale(.97); }
}
.bc-modal-overlay.is-open .bc-modal { transform: translateY(0) scale(1); }
.bc-modal__handle {
  width: 36px; height: 3px;
  background: rgba(255,255,255,.10);
  border-radius: 2px;
  margin: 11px auto 0;
}
@media (min-width: 768px) { .bc-modal__handle { display: none; } }
.bc-modal__close {
  position: absolute; top: 10px; right: 12px;
  width: 29px; height: 29px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: rgba(240,237,232,.6);
  z-index: 10;
  transition: var(--t);
}
.bc-modal__close:hover { background: rgba(255,255,255,.11); color: var(--text); }
.bc-modal__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.bc-modal__body { padding: 14px 18px; }
.bc-modal__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.22rem;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.3;
}
.bc-modal__desc { font-size: .83rem; color: var(--text2); line-height: 1.6; margin-bottom: 12px; }
.bc-modal__price-row { display: flex; align-items: baseline; gap: 7px; margin-bottom: 4px; }
.bc-modal__price { font-size: 1.26rem; font-weight: 700; color: var(--accent); }
.bc-modal__portion-diff { font-size: .73rem; color: var(--text3); }
.bc-modal__portion { margin: 12px 0 0; }
.bc-modal__notes  { margin: 9px 0 0; }
.bc-modal__portion label, .bc-modal__notes label {
  display: block;
  font-size: .71rem; font-weight: 600;
  color: var(--text2);
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.bc-portion-select, .bc-notes-input {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  color: var(--text);
  border-radius: 8px;
  padding: 8px 11px;
  width: 100%;
  font-size: .83rem;
  font-family: inherit;
}
.bc-portion-select { cursor: pointer; appearance: none; }
.bc-portion-select:focus, .bc-notes-input:focus { outline: none; border-color: var(--accent); }
.bc-notes-input { resize: none; }
.bc-modal__footer { padding: 10px 18px 18px; display: flex; gap: 8px; }

/* ─── Buttons ────────────────────────────────────────────────── */
.bc-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 22px;
  border-radius: var(--r);
  font-size: .86rem; font-weight: 600;
  text-decoration: none;
  cursor: pointer; border: none;
  transition: var(--t);
  letter-spacing: .2px;
  font-family: inherit;
}
.bc-btn--primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 3px 16px var(--glow2);
}
.bc-btn--primary:hover {
  background: var(--accent-h); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--glow2);
}
.bc-btn--ghost {
  background: var(--glass); color: var(--text);
  border: 1px solid var(--gb);
}
.bc-btn--ghost:hover { background: var(--gh); transform: translateY(-2px); }
.bc-btn--wa {
  background: rgba(37,211,102,.09); color: #25d366;
  border: 1px solid rgba(37,211,102,.20);
}
.bc-btn--wa:hover {
  background: rgba(37,211,102,.16);
  border-color: rgba(37,211,102,.38);
  transform: translateY(-2px);
}

/* ─── Cart Drawer ────────────────────────────────────────────── */
.bc-cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 330px; max-width: 100vw;
  background: #09090f;
  border-left: 1px solid rgba(255,255,255,.07);
  z-index: 1500;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  box-shadow: -6px 0 32px rgba(0,0,0,.52);
}
.bc-cart-drawer.is-open { transform: translateX(0); }
.bc-cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1499;
  opacity: 0; visibility: hidden;
  transition: opacity .28s, visibility .28s;
}
.bc-cart-overlay.is-active { opacity: 1; visibility: visible; }
.bc-cart-drawer__header {
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: space-between;
}
.bc-cart-drawer__title { font-size: .93rem; font-weight: 700; }
.bc-cart-drawer__close {
  width: 28px; height: 28px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text2); font-size: .86rem;
  transition: var(--t);
}
.bc-cart-drawer__close:hover { background: rgba(255,255,255,.10); color: var(--text); }
.bc-cart-drawer__body { flex: 1; overflow-y: auto; padding: 8px 12px; }
.bc-cart-empty {
  text-align: center; padding: 36px 14px;
  color: var(--text2); font-size: .83rem;
}
.bc-cart-empty__icon { margin-bottom: 10px; }
.cart-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px; padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  align-items: start;
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }
.cart-item-body { display: flex; flex-direction: column; gap: 2px; }
.cart-item-name { font-size: .8rem; font-weight: 600; }
.cart-item-portion { font-size: .68rem; color: var(--text2); }
.cart-item-notes { font-size: .66rem; color: var(--text3); font-style: italic; }
.cart-item-controls { display: flex; align-items: center; gap: 5px; margin-top: 4px; }
.cart-item-price { font-size: .77rem; color: var(--accent); font-weight: 600; }
.cart-item-linetotal { font-size: .71rem; color: var(--text3); margin-top: 1px; }
.qty-btn, .remove-btn {
  width: 22px; height: 22px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--text); border-radius: 4px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 700;
  transition: var(--t);
}
.qty-btn:hover { background: rgba(255,255,255,.10); }
.qty-val { font-size: .78rem; font-weight: 600; min-width: 14px; text-align: center; }
.remove-btn { color: rgba(255,80,80,.62); }
.remove-btn:hover { background: rgba(255,80,80,.10); border-color: rgba(255,80,80,.26); }
.bc-cart-drawer__footer { padding: 10px 12px 14px; border-top: 1px solid rgba(255,255,255,.06); }
.bc-cart-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.bc-cart-total-label { font-size: .82rem; color: var(--text2); font-weight: 600; }
.bc-cart-total-amount { font-size: 1.08rem; font-weight: 800; color: var(--accent); }

/* ─── Toast ──────────────────────────────────────────────────── */
.bc-toast {
  position: fixed; bottom: 20px; left: 50%;
  transform: translateX(-50%) translateY(14px);
  background: rgba(12,12,16,.97);
  color: var(--text);
  padding: 9px 20px;
  border-radius: 40px;
  font-size: .82rem; font-weight: 500;
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(9px);
  opacity: 0;
  transition: opacity .26s, transform .26s;
  z-index: 9999;
  pointer-events: none;
  white-space: nowrap; max-width: 90vw; text-align: center;
}
.bc-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.bc-toast--success { border-color: rgba(50,200,100,.27); }
.bc-toast--error   { border-color: rgba(255,80,80,.27); }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 767px) {
  .bc-cart-drawer { width: 100%; }
  .bc-cat-header  { min-height: 68px; padding: 0 14px 0 16px; }
}
