/* Customer screens: black and gold skin from Lewis's mockup (docs/mockup/menu.jpg).
   Colours sampled from the mockup: active pill #E8B04F, menu text #FAE6B0, price #F0C875,
   dividers #967C51, pill border #B49E79, page #070707. Scoped to customer views only, so
   staff Orders and Admin are untouched. Floral images are optional: drop floral-tl.png and
   floral-tr.png into /assets/ and they appear; if they are missing nothing breaks. */
:root{
  --bb-bg:#070707;--bb-gold:#E8B04F;--bb-cream:#FAE6B0;--bb-price:#F0C875;
  --bb-line:#967C51;--bb-ring:#B49E79;
  --bb-serif:'Cormorant Garamond',Georgia,'Times New Roman',serif;
  --bb-script:'Pinyon Script','Dancing Script',cursive;
}

/* ── top bar: transparent, scrolls with the page ── */
#custTopBar{background:transparent!important;border-bottom:none!important;box-shadow:none!important;position:relative!important;z-index:2;min-height:calc(48px + env(safe-area-inset-top))}
#custTopBar .tb-title{font-family:var(--bb-serif);font-size:1.35rem;font-weight:700;color:var(--bb-cream)}
#custTopBar .tb-back{color:var(--bb-gold)}
#custTopBar .tb-basket svg{stroke:var(--bb-gold)}

/* ── menu screen ── */
#menuView{background:var(--bb-bg)!important;min-height:100vh;position:relative}
/* The florals are fixed in the corners and sit ABOVE the locked header (z-index 20) so they show over it; they ignore taps. */
#menuView::before,#menuView::after{content:'';position:fixed;pointer-events:none;z-index:30;background-repeat:no-repeat;background-size:100% 100%;opacity:.9}
#menuView::before{top:0;left:0;width:74px;height:198px;background-image:url(/assets/floral-tl.png)}
#menuView::after{top:55px;right:0;width:70px;height:92px;background-image:url(/assets/floral-tr.png)}
.mv-head,#menuView #hoursBanner,#menuView .cat-bar,#menuView .menu-body,.mv-foot{position:relative;z-index:1}

/* Locked to the top while the menu scrolls: the logo header, then the section pills just under it.
   The opening-hours and allergen strips scroll away. --bb-head-h is the logo header's height, set by menu-data.js. */
.mv-head{position:sticky!important;top:env(safe-area-inset-top,0px);z-index:20!important;background:rgba(7,7,7,.95);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
#menuView .cat-bar{position:sticky!important;top:calc(env(safe-area-inset-top,0px) + var(--bb-head-h,105px));z-index:19!important;background:rgba(7,7,7,.95)!important;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}

/* Banner shown only inside the Facebook / Instagram in-app browser (menu-data.js) */
.bb-inapp{position:relative;z-index:25;display:flex;align-items:flex-start;gap:8px;margin:8px 16px 0;padding:10px 4px 10px 14px;border:1px solid var(--bb-gold);border-radius:12px;background:rgba(232,176,79,.1)}
.bb-inapp-txt{flex:1;min-width:0}
.bb-inapp-t{font-family:var(--bb-serif);font-size:1.1rem;font-weight:700;line-height:1.2;color:var(--bb-cream)}
.bb-inapp-s{font-size:.86rem;line-height:1.4;color:#EFE8DA;margin-top:3px}
.bb-inapp-btn{display:inline-flex;align-items:center;min-height:44px;margin-top:8px;padding:0 20px;border-radius:999px;background:var(--bb-gold);color:#1A1206;font-family:var(--bb-serif);font-size:1.05rem;font-weight:700;text-decoration:none}
.bb-inapp-x{flex:0 0 44px;width:44px;height:44px;margin-top:-6px;border:0;background:none;color:var(--bb-gold);font-size:1.7rem;line-height:1}

/* Header kept short so the first screen shows the pills and the first items, not just the logo */
.mv-head{text-align:center;padding:0 20px 8px}
.mv-wordmark{font-family:var(--bb-script);font-size:clamp(2.3rem,12vw,3.1rem);line-height:1.1;color:#F2CF86;
  background:linear-gradient(180deg,#FDEEBD 10%,#E0AE55 90%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;padding:0 .1em}
.mv-sub{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 auto;max-width:340px}
.mv-rule{flex:1;height:1px;background:linear-gradient(90deg,transparent,#C9A25E)}
.mv-rule-r{background:linear-gradient(270deg,transparent,#C9A25E)}
.mv-dia{width:7px;height:7px;border:1px solid #E0B866;transform:rotate(45deg);flex:none}
.mv-t{font-family:var(--bb-serif);font-size:1rem;font-weight:700;letter-spacing:.32em;padding-left:.32em;color:#FDEDBA;white-space:nowrap}
/* one line at 375px like the mockup: the size follows the screen width */
.mv-nav{margin-top:8px;font-family:var(--bb-serif);font-size:clamp(.54rem,2.8vw,.74rem);font-weight:700;letter-spacing:.18em;white-space:nowrap;text-transform:uppercase;color:#F1E3BA}

/* Opening hours and the allergen line: slim strips instead of two big boxes */
#menuView #hoursBanner>*{margin:0 16px 6px!important;padding:6px 12px!important;min-height:0!important;font-size:.82rem!important;line-height:1.3!important}
#menuView .lp-ag-notice{margin:0 16px 8px!important;padding:6px 12px!important;min-height:0!important;font-size:.76rem!important;line-height:1.35!important}

/* category pills */
#menuView .cat-bar{border-bottom:1px solid var(--bb-line)!important;padding:4px 16px 10px;gap:10px}
#menuView .cat-pill{background:transparent!important;box-shadow:none!important;border:1.5px solid var(--bb-ring)!important;color:var(--bb-cream)!important;
  font-family:var(--bb-serif);font-size:1.05rem;font-weight:700;min-height:44px;padding:0 20px;border-radius:999px}
#menuView .cat-pill.on{background:var(--bb-gold)!important;border-color:var(--bb-gold)!important;color:#1A1206!important;box-shadow:none!important}

/* rows: no images, serif names, ringed plus */
#menuView .menu-body{padding-bottom:150px}
#menuView .menu-item{background:transparent!important;border-bottom:1px solid var(--bb-line)!important;padding:16px 20px;gap:14px;align-items:center}
#menuView .menu-item:active{background:rgba(232,176,79,.06)!important}
#menuView .mi-name{font-family:var(--bb-serif);font-size:1.2rem;font-weight:700;line-height:1.15;color:var(--bb-cream)!important;margin-bottom:4px}
#menuView .mi-desc{font-size:.82rem;line-height:1.4;color:#EFE8DA}
#menuView .mi-price{font-family:var(--bb-serif);font-size:1.2rem;font-weight:700;color:var(--bb-price)!important;text-shadow:none;margin-top:4px}
#menuView .mi-add{min-width:44px;height:44px;margin-top:0;background:transparent!important;border:1.5px solid var(--bb-gold)!important;color:var(--bb-gold)!important;
  box-shadow:none!important;font-size:1.7rem;font-weight:400;line-height:1;border-radius:50%}
#menuView .mi-add:disabled{opacity:.4}

/* ornament at the end of the list */
.mv-orn{display:flex;align-items:center;justify-content:center;gap:8px;padding:28px 40px 8px}
.mv-orn span{flex:1;height:1px;background:linear-gradient(90deg,transparent,var(--bb-gold))}
.mv-orn span:last-child{background:linear-gradient(270deg,transparent,var(--bb-gold))}
.mv-orn i{display:block;width:9px;height:9px;border:1px solid var(--bb-gold);transform:rotate(45deg)}
.mv-foot{text-align:center;padding-bottom:8px}

/* floating View Cart pill: sits above the round "Report a problem" button, which owns the bottom-right corner */
.view-cart{position:fixed!important;right:14px;bottom:calc(80px + env(safe-area-inset-bottom));z-index:60;display:flex;align-items:center;gap:10px;
  height:50px;min-width:44px;padding:0 24px;border-radius:999px;border:1.5px solid var(--bb-gold);background:rgba(7,7,7,.92);
  color:var(--bb-cream);font-family:var(--bb-serif);font-size:1.15rem;font-weight:700;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.view-cart svg{width:22px;height:22px;stroke:var(--bb-gold);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.view-cart:active{opacity:.8}

/* checkout headings */
.ck-head{font-family:var(--bb-serif);font-size:1.25rem;font-weight:700;color:var(--bb-cream);margin:22px 0 10px}
#payView .pay-title{font-family:var(--bb-serif);font-size:1.7rem}
