/* Le Bistrot / Atelier. Scoped to the customer shell; print and staff views stay independent. */
body:has(.bistrot-pro) { --accent:#184c3b; --accent-light:#e5eee8; --bg:#f6f5f0; --text:#18382d; --muted:#656e65; --brand-ink:#18382d; --brand-green:#184c3b; --brand-paper:#fffefa; --brand-line:#e1e5db; margin:0; padding-top:0 !important; background:#f6f5f0; color:#18382d; font-family:'Lato',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; }
.bistrot-pro { min-height:100dvh; --content-width:1200px; padding-bottom:90px; }
.bistrot-pro [hidden] { display:none !important; }
.bistrot-pro button, .bistrot-pro input, .bistrot-pro textarea, .bistrot-pro select { font:inherit; }
.bistrot-pro button { cursor:pointer; touch-action:manipulation; }
.bistrot-pro :where(button,a,input,select,textarea):focus-visible { outline:3px solid #a27729; outline-offset:3px; }
.bistrot-pro button:disabled { cursor:not-allowed; }
.bistrot-pro .bistrot-header { position:sticky; top:0; width:100%; min-height:84px; height:auto; display:flex; flex-wrap:nowrap; gap:24px; padding:16px max(24px,calc((100vw - var(--content-width))/2)); z-index:90; background:#fffefaed; border-bottom:1px solid #e1e5db; backdrop-filter:blur(18px); box-shadow:none; }
.bistrot-pro .bistrot-brand { display:flex; align-items:center; gap:14px; text-decoration:none; color:#173f30; margin-right:auto; }
.bistrot-pro .logo img { display:block; height:52px; width:52px; }
.bistrot-wordmark { display:grid; gap:5px; }
.bistrot-wordmark strong { font-size:19px; letter-spacing:.14em; font-weight:900; }
.bistrot-wordmark small { font-size:9px; font-weight:700; letter-spacing:.15em; color:#64705b; }
.bistrot-pro .menu-help-button { display:flex; align-items:center; gap:8px; min-height:44px; padding:0 12px; border:0; background:transparent; color:#315848; font-size:13px; font-weight:700; }
.menu-help-button > span:first-child { display:grid; place-items:center; width:21px; height:21px; border:1px solid #9dab9f; border-radius:50%; font-size:13px; }
.bistrot-pro #langSelect .selected { min-height:44px; border-radius:12px; background:#edf2e9; color:#173f30; border:1px solid #d8e3d5; }
.bistrot-pro #langSelect .options { border-radius:14px; padding:6px; box-shadow:0 12px 40px #193a2920; }
.menu-welcome { max-width:var(--content-width); margin:0 auto; padding:36px 0 30px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.menu-eyebrow, .bistrot-pro .menu-eyebrow { font-size:10px; font-weight:900; letter-spacing:.16em; color:#626d50; line-height:1.5; margin:0 0 9px; }
.menu-welcome h1 { font-family:Georgia,'Times New Roman',serif; font-weight:400; letter-spacing:-1.4px; font-size:44px; line-height:1.1; margin:0 0 12px; color:#173f30; }
.menu-welcome #tagline { font-size:14px; line-height:1.5; color:#66705f; margin:0; }
.menu-session-status { display:flex; align-items:center; gap:8px; font-size:12px; padding:10px 14px; border:1px solid #d9e3d5; border-radius:8px; color:#52634c; background:#f0f3e9; white-space:nowrap; }
.session-dot { width:6px; height:6px; flex-shrink:0; border-radius:50%; background:#74826a; }
.menu-session-status[data-armed="true"] .session-dot { background:#187544; box-shadow:0 0 0 4px #18754412; }
.bistrot-pro #categoriesBar { position:sticky; top:var(--header-height,84px); z-index:70; display:flex; align-items:stretch; gap:6px; padding:7px; max-width:var(--content-width); margin:0 auto 0; border:1px solid #dde4d8; border-radius:15px; background:#fffefaf5; box-shadow:0 5px 16px #163a2410; }
.bistrot-pro #categoriesBar button { flex:1 1 0; min-width:0; min-height:48px; padding:10px 15px; font-size:14px; border:0; border-radius:10px; background:transparent; color:#52624e; transition:background .16s,color .16s; }
.bistrot-pro #categoriesBar button.active { background:#184c3b; color:#fffefa; box-shadow:0 3px 8px #184c3b20; }
.bistrot-pro #categoriesBar button:hover:not(.active) { background:#f0f3e9; }
.bistrot-pro #sectionsToggle { display:none; }
.menu-discovery { max-width:var(--content-width); margin:22px auto 0; display:flex; align-items:center; gap:12px; }
.menu-search-field { flex:1; display:flex; align-items:center; gap:12px; min-height:48px; padding:0 16px; border:1px solid #dde4d8; border-radius:12px; background:#fffefa; color:#647457; }
.menu-search-field:focus-within { border-color:#35634c; box-shadow:0 0 0 3px #35634c12; }
.menu-search-field svg, .menu-view-button svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.7; flex-shrink:0; }
.bistrot-pro .menu-search-field input { border:0; outline:none; background:transparent; color:#18382d; width:100%; min-width:0; min-height:46px; font-size:15px; box-shadow:none; padding:0; }
.menu-search-field kbd { border:1px solid #e2e6de; border-radius:4px; padding:0 7px; font-size:12px; font-family:inherit; color:#637253; }
.menu-view-button { display:flex; align-items:center; justify-content:center; gap:8px; min-height:48px; padding:10px 15px; border:1px solid #dde4d8; border-radius:12px; background:#fffefa; color:#4d604b; font-size:12px; font-weight:700; }
.menu-view-button[aria-pressed="true"] { background:#e5eee3; border-color:#799578; }
.menu-search-feedback { max-width:var(--content-width); margin:14px auto; display:flex; justify-content:space-between; gap:15px; color:#65735e; font-size:13px; }
.menu-search-feedback button { border:0; color:#184c3b; text-decoration:underline; text-underline-offset:3px; background:transparent; min-height:32px; }
.bistrot-pro #subcat-bar { position:relative; top:auto; display:flex; flex-wrap:wrap; gap:8px; width:100%; max-width:var(--content-width); margin:0 auto; padding:20px 0; background:transparent; border:0; box-shadow:none; }
.bistrot-pro #subcat-bar button { min-height:40px; padding:9px 15px; border:1px solid #e0e5da; background:transparent; border-radius:8px; color:#5c6a53; font-size:12px; font-weight:700; line-height:1.3; }
.bistrot-pro #subcat-bar button.active { background:#e5eddc; border-color:#b8c9a7; color:#294b26; }
.bistrot-pro #subcat-bar .food-tab,.bistrot-pro #subcat-bar .dessert-tab { min-height:40px; border-radius:6px; border-color:transparent; font-size:13px; padding:8px 12px; }
.bistrot-pro #subcat-bar .food-tab.active,.bistrot-pro #subcat-bar .dessert-tab.active { background:transparent; color:#184c3b; border-bottom:2px solid #184c3b; border-radius:0; }
@keyframes menu-shimmer { to { background-position:-200% 0; } }
body.menu-cart-open { overflow:hidden; }
.bistrot-pro .cart-backdrop { position:fixed; inset:0; z-index:199; background:#102d2370; backdrop-filter:blur(3px); }
.bistrot-pro #cartDock { position:fixed; inset:12px 12px 12px auto; z-index:200; width:450px; max-width:calc(100vw - 24px); height:calc(100dvh - 24px); max-height:none; border:1px solid #d2ddca; border-radius:22px; background:#fffefa; color:#234330; display:flex; flex-direction:column; overflow:auto; box-shadow:0 15px 70px #102d2326; padding:0; transform:none; }
.bistrot-pro #cartDock.hidden { display:none; }
.bistrot-pro .cart-header { position:sticky; top:0; z-index:2; display:flex; align-items:flex-start; justify-content:space-between; gap:15px; padding:24px 24px 20px; border-bottom:1px solid #e1e6d9; background:#fffefaf5; border-radius:0; }
.bistrot-pro .cart-header h3 { color:#21472f; font-family:Georgia,serif; font-size:32px; font-weight:400; margin:0; }
.bistrot-pro .cart-subheading { font-size:12px; color:#617052; line-height:1.5; margin:7px 0 0; }
.bistrot-pro .cart-header .icon-btn { width:42px; height:42px; min-width:42px; border-radius:50%; border:1px solid #dfe6d5; background:#f1f5e9; color:#4c663a; }
.bistrot-pro #cartItems { padding:6px 24px; overflow:visible; flex:0 0 auto; }
.bistrot-pro #cartItems .row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; border-bottom:1px solid #e5eadb; padding:20px 0; margin:0; align-items:start; }
.bistrot-pro #cartItems .name { font-size:16px; font-weight:700; line-height:1.4; color:#21482f; min-width:0; }
.bistrot-pro #cartItems .price { color:#32512f; text-align:right; font-size:16px; font-weight:900; white-space:nowrap; }
.bistrot-pro #cartItems .price small { display:block; font-size:11px; font-weight:400; color:#627052; margin-top:4px; }
.bistrot-pro #cartItems .qty-mini { grid-column:1/-1; display:flex; align-items:center; gap:13px; justify-content:flex-start; }
.bistrot-pro #cartItems .qty-mini button { width:40px; height:40px; min-width:40px; padding:0; border:1px solid #d7e1cb; border-radius:9px; background:#f0f4e8; color:#34572f; font-size:20px; }
.bistrot-pro .cart-footer { padding:20px 24px 24px; border:0; margin-top:auto; background:#fffefa; }
.bistrot-pro .checkout-table-field { display:flex; flex-direction:column; gap:8px; margin-bottom:22px; }
.bistrot-pro .checkout-table-field label,.bistrot-pro .cart-comment-label { font-size:12px; font-weight:700; color:#52613f; line-height:1.5; }
.bistrot-pro #orderTableNumber,.bistrot-pro #orderComment { width:100%; border:1px solid #d4dfc8; border-radius:10px; padding:12px 14px; background:#f9fbf5; color:#234330; font-size:16px; box-shadow:none; min-height:48px; }
.bistrot-pro #orderTableNumber[aria-invalid="true"] { border:2px solid #aa4e35; background:#fff7ed; }
.cart-breakdown { display:grid; gap:9px; font-size:13px; color:#617052; border-bottom:1px solid #e1e7d8; padding-bottom:14px; }
.cart-breakdown > div { display:flex; justify-content:space-between; gap:12px; }
.bistrot-pro .cart-total { display:flex; justify-content:space-between; margin:16px 0 8px; font-size:21px; color:#254f32; }
.bistrot-pro #cartTotal { font-size:26px; font-weight:900; letter-spacing:-.5px; }
.bistrot-pro .cart-notice { padding:0; border:0; background:transparent; font-size:11px; color:#667254; line-height:1.55; margin:0 0 20px; }
.bistrot-pro .cart-lock-notice { padding:12px; border:1px solid #dbc59a; background:#fbf3e3; color:#866534; font-size:13px; border-radius:10px; }
.bistrot-pro .cart-comment-label { display:block; margin:10px 0 7px; }
.bistrot-pro .cart-footer .actions { display:flex; gap:10px; margin-top:16px; }
.bistrot-pro #clearCart { width:48px; height:52px; flex:0 0 48px; background:#f1f3e9; color:#6f785f; border:1px solid #dfe5d4; border-radius:10px; }
.bistrot-pro #sendOrder { flex:1; min-height:52px; border:0; border-radius:10px; background:#184c3b; color:#fff; font-size:14px; font-weight:900; box-shadow:0 6px 14px #184c3b15; }
.bistrot-pro #sendOrder:disabled { background:#e7eadf; color:#727d66; box-shadow:none; opacity:1; }
body:has(.bistrot-pro) .fab { position:fixed; left:auto; right:24px; bottom:max(20px,env(safe-area-inset-bottom)); z-index:100; min-height:62px; min-width:310px; max-width:calc(100vw - 32px); padding:10px 18px; gap:16px; justify-content:space-between; border:1px solid #2a6045; border-radius:14px; background:#184c3b; color:#fffefa; font-size:14px; font-weight:700; box-shadow:0 8px 32px #184c3b35; transform:none; }
body:has(.bistrot-pro) .fab-badge { position:static; display:grid; place-items:center; width:30px; height:30px; padding:0; margin:0; border:0; border-radius:8px; background:#ffffff1c; color:#fffefa; font-size:13px; }
body:has(.bistrot-pro) .fab-total { padding-left:14px; border-left:1px solid #ffffff35; font-size:16px; white-space:nowrap; }
body:has(.bistrot-pro) #historyFab { min-width:150px; min-height:48px; }
.bistrot-footer { display:grid; grid-template-columns:1fr 1fr; gap:20px; max-width:var(--content-width); margin:55px auto 0; padding:28px 0 15px; border-top:1px solid #dae2cf; color:#657258; text-align:left; font-size:12px; }
.bistrot-footer div { display:grid; gap:9px; }
.bistrot-footer strong { font-size:13px; letter-spacing:.14em; color:#335137; }
.bistrot-footer p { max-width:330px; justify-self:end; line-height:1.6; margin:0; }
.bistrot-footer small { grid-column:1/-1; color:#657258; font-size:10px; }
.bistrot-pro .menu-skip-link { position:fixed; top:10px; left:10px; transform:translateY(-200%); z-index:400; padding:14px 22px; background:#184c3b; color:white; border-radius:8px; }
.bistrot-pro .menu-skip-link:focus { transform:none; }
.bistrot-pro .menu-help-dialog { position:fixed; inset:0; margin:auto; width:min(450px,calc(100vw - 32px)); max-height:85dvh; padding:32px; border:1px solid #d1dac5; border-radius:20px; background:#fffefa; color:#335239; box-shadow:0 25px 90px #102d2340; }
.bistrot-pro .menu-help-dialog::backdrop, body:has(.bistrot-pro) dialog.modifier-sheet::backdrop { background:#102d2370; backdrop-filter:blur(3px); }
.bistrot-pro .menu-help-dialog h2 { font-family:Georgia,serif; font-size:30px; line-height:1.2; font-weight:400; letter-spacing:-.7px; color:#264d32; }
.bistrot-pro .menu-help-dialog p,.bistrot-pro .menu-help-dialog li { font-size:14px; line-height:1.6; color:#657454; }
.bistrot-pro .menu-help-dialog ol { padding-left:24px; display:grid; gap:15px; margin:28px 0; }
.bistrot-pro .dialog-close { position:absolute; right:15px; top:15px; width:38px; height:38px; border:0; border-radius:50%; background:#edf2e5; color:#4b6240; font-size:23px; }
.confirm-actions { display:flex; gap:10px; margin-top:22px; }
.confirm-actions button { flex:1; min-height:48px; padding:10px; border-radius:8px; border:1px solid #d6dfca; background:#f3f6ec; color:#34582f; font-size:13px; font-weight:700; }
.confirm-actions .confirm-danger { background:#984b3b; color:white; border-color:#984b3b; }
body:has(.bistrot-pro) .toast { border:1px solid #d1dfc8; border-radius:12px; background:#fffefa; color:#31532d; box-shadow:0 7px 25px #183d2720; font-size:13px; padding:14px 20px; }
body:has(.bistrot-pro) .toast.error { color:#92492f; border-color:#d8baa2; background:#fff8ef; }
body:has(.bistrot-pro) .hist-overlay { z-index:220; padding:24px; align-items:center; background:#102d2370; }
body:has(.bistrot-pro) .hist-card { background:#fffefa; color:#284a31; border:1px solid #d6dfcc; border-radius:20px; padding:25px; max-height:85dvh; box-shadow:0 25px 90px #102d2340; }
body:has(.bistrot-pro) .hist-close { background:#ecf2e4; color:#395b36; min-width:44px; min-height:44px; }
body:has(.bistrot-pro) .hist-order { border:1px solid #dce4d0; border-radius:12px; background:#f6f8ef; color:#425c3a; }
body:has(.bistrot-pro) dialog.modifier-sheet { color:#2b4e32; background:#fffefa; padding:24px; border-radius:20px; border-color:#d3dfc6; z-index:250; }
body:has(.bistrot-pro) .modifier-sheet h3 { font-family:Georgia,serif; font-size:25px; font-weight:400; line-height:1.3; color:#294f32; margin-bottom:20px; }
body:has(.bistrot-pro) .modifier-sheet__actions { display:flex; gap:10px; padding-top:12px; }
body:has(.bistrot-pro) .modifier-sheet__actions button { min-height:48px; border:1px solid #d9e1cc; border-radius:10px; padding:12px; background:#f0f5e6; color:#416032; font-size:13px; }
body:has(.bistrot-pro) .modifier-sheet__actions .modifier-sheet__add { background:#184c3b; color:#fffefa; border-color:#184c3b; flex:1; }
.bistrot-pro .revenue-pick__add { min-height:38px; border:0; border-radius:6px; background:#e2ebd8; color:#31542b; padding:8px 12px; }
@media (max-width:1250px) { .bistrot-pro { --content-width:calc(100vw - 48px); } }
@media (max-width:900px) {
  .menu-welcome h1 { font-size:36px; }
  .menu-session-status { font-size:11px; padding:8px 10px; }
}
@media (max-width:600px) {
  .bistrot-pro { --content-width:calc(100vw - 32px); padding-bottom:95px; }
  .bistrot-pro .bistrot-header { padding:13px 16px; min-height:72px; gap:12px; }
  .bistrot-pro .bistrot-brand { gap:10px; }
  .bistrot-pro .logo img { width:42px; height:42px; }
  .bistrot-wordmark strong { font-size:15px; letter-spacing:.13em; }
  .bistrot-wordmark small { font-size:9px; letter-spacing:.08em; }
  .bistrot-pro .menu-help-button { min-width:34px; padding:0; }
  .bistrot-pro .menu-help-button > span:last-child { display:none; }
  .bistrot-pro #langSelect .selected { min-width:54px; min-height:40px; padding:8px; font-size:12px; }
  .menu-welcome { padding:26px 0 24px; display:block; }
  .menu-welcome h1 { font-size:31px; letter-spacing:-1px; margin-bottom:8px; }
  .menu-welcome #tagline { font-size:12px; line-height:1.55; }
  .menu-welcome .menu-eyebrow { font-size:8px; letter-spacing:.15em; }
  .menu-session-status { display:none; }
  .bistrot-pro #categoriesBar { padding:5px; gap:2px; border-radius:12px; }
  .bistrot-pro #categoriesBar button { min-height:43px; font-size:12px; padding:8px 5px; border-radius:8px; }
  .menu-discovery { margin-top:17px; gap:8px; }
  .menu-view-button { width:46px; padding:10px; flex:none; }
  .menu-view-button span,.menu-search-field kbd { display:none; }
  .menu-search-field { padding:0 12px; gap:10px; }
  .bistrot-pro .menu-search-field input { font-size:16px; }
  .bistrot-pro #subcat-bar { padding:14px 0 18px; gap:7px; }
  .bistrot-pro #subcat-bar button { min-height:36px; font-size:11px; padding:8px 11px; }
  .bistrot-pro #subcat-bar .food-tab,.bistrot-pro #subcat-bar .dessert-tab { font-size:12px; padding:7px 10px; min-height:38px; }
  .bistrot-pro #cartDock { inset:auto 0 0; width:100%; max-width:100%; height:auto; max-height:94dvh; border-radius:22px 22px 0 0; padding-bottom:env(safe-area-inset-bottom); }
  .bistrot-pro .cart-header { padding:22px 22px 16px; }
  .bistrot-pro #cartItems { padding:0 22px; }
  .bistrot-pro .cart-footer { padding:18px 22px 22px; }
  body:has(.bistrot-pro) .fab { left:16px; right:16px; bottom:max(14px,env(safe-area-inset-bottom)); width:calc(100% - 32px); max-width:none; min-width:0; border-radius:13px; }
  body:has(.bistrot-pro) #historyFab { left:auto; width:auto; }
  .bistrot-footer { grid-template-columns:1fr; margin-top:35px; padding-top:24px; }
  .bistrot-footer p { justify-self:start; max-width:260px; }
  .bistrot-pro .menu-help-dialog { padding:28px; }
}
@media (prefers-reduced-motion:reduce) {
  .bistrot-pro *,body:has(.bistrot-pro) .fab { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}
/* Override the few legacy !important declarations on shared spotlight/checkout parts. */
.offer-count { display:grid; place-items:center; width:23px; height:23px; border-radius:6px; background:#edf3e3; color:#4a683c; font-size:11px; }
.offer-chevron { margin-left:auto; font-size:22px; color:#60774b; font-weight:400; }
details[open] > summary .offer-chevron { transform:rotate(45deg); }
.bistrot-pro #cartDock .cart-footer { padding:20px 24px 24px !important; }
.bistrot-pro #cartDock #sendOrder { min-height:52px !important; border-radius:10px !important; }
.bistrot-pro .menu-empty-state { padding:38px 20px; text-align:center; }
.bistrot-pro .menu-empty-state h2 { font-family:Georgia,serif; font-size:27px; font-weight:400; color:#315a32; line-height:1.3; }
.bistrot-pro .menu-empty-state p { font-size:14px; color:#647757; }
@media (max-width:600px) {
  .bistrot-pro #cartDock .cart-footer { padding:18px 22px 22px !important; }
}
/* Keep the primary checkout action visible while long orders scroll independently. */
.bistrot-pro #cartDock { padding:0 !important; overflow:hidden; }
.bistrot-pro #cartDock .cart-header { flex:0 0 auto; position:relative; padding:22px 24px 16px; }
.bistrot-pro #cartDock .cart-scroll { flex:1 1 auto; min-height:0; overflow-y:auto; overscroll-behavior:contain; }
.bistrot-pro #cartDock #cartItems { max-height:none; overflow:visible; }
.bistrot-pro #cartDock .cart-footer { display:flex; flex-direction:column; }
.bistrot-pro #cartDock .cart-actions-bar { flex:0 0 auto; display:flex; align-items:center; gap:10px; padding:16px 24px max(16px,env(safe-area-inset-bottom)); border-top:1px solid #dce5d2; background:#fffefa; box-shadow:0 -6px 15px #193b2507; }
.bistrot-pro #cartDock .cart-actions-bar #sendOrder { opacity:1; }
.bistrot-pro #cartDock .qty-mini { background:transparent; padding:0; border-radius:0; }
.bistrot-pro #cartDock .qty-mini button { -webkit-text-fill-color:currentColor; color:#34572f; }
.bistrot-pro #cartDock .checkout-table-field { padding:0; border:0; background:transparent; margin-bottom:18px; align-items:stretch; }
.bistrot-pro #cartDock .checkout-table-field label { text-align:left; text-transform:none; letter-spacing:0; }
.bistrot-pro #cartDock .cart-total { text-transform:none; letter-spacing:0; }
.bistrot-pro #cartDock #orderComment { min-height:70px !important; border-radius:10px !important; order:initial; margin:0; }
.bistrot-pro #cartDock #cartNudges { border:1px solid #e0e8d5; border-radius:9px; margin:18px 0 0; padding:0; background:#f6f9f0; }
.bistrot-pro #cartDock #cartNudges > summary { padding:14px; min-height:46px; font-size:12px; font-weight:700; color:#49663a; cursor:pointer; }
.bistrot-pro #cartDock #cartNudges .revenue-nudge__rail { padding:0 12px 12px; }
.bistrot-pro .menu-search-field input,.bistrot-pro .menu-search-field input::placeholder { font-weight:400; }
.bistrot-pro .pro-filter-strip { display:contents; }
@media (max-width:600px) {
  .bistrot-pro #cartDock { height:92dvh; max-height:94dvh; }
  .bistrot-pro #cartDock .cart-header { padding:20px 22px 14px; }
  .bistrot-pro #cartDock .cart-actions-bar { padding:14px 22px max(14px,env(safe-area-inset-bottom)); }
  .bistrot-pro .menu-welcome { padding:21px 0 20px; }
  .bistrot-pro .pro-filter-strip { display:flex; gap:7px; overflow-x:auto; max-width:100%; padding:0 0 2px; scrollbar-width:none; -webkit-overflow-scrolling:touch; flex:1 1 100%; }
  .bistrot-pro .pro-filter-strip::-webkit-scrollbar { display:none; }
  .bistrot-pro .pro-filter-strip button { flex:none; }
}
/* Neutralize legacy optical padding so all checkout columns share a single edge. */
.bistrot-pro #cartDock .cart-header { padding:22px 24px 18px !important; margin:0 !important; }
.bistrot-pro #cartDock #cartItems { padding:0 24px !important; }
.bistrot-pro #cartDock #cartItems .row { padding:18px 0 !important; }
.bistrot-pro #cartDock .checkout-table-field,.bistrot-pro #cartDock .cart-total { padding:0 !important; }
.bistrot-pro #cartDock .cart-actions-bar { padding:16px 24px max(16px,env(safe-area-inset-bottom)) !important; margin:0; }
.bistrot-pro #cartDock #orderComment { padding:12px 14px !important; margin:0 !important; }
@media (max-width:600px) {
  .bistrot-pro #cartDock .cart-header { padding:20px 22px 16px !important; }
  .bistrot-pro #cartDock #cartItems { padding:0 22px !important; }
  .bistrot-pro #cartDock .cart-actions-bar { padding:14px 22px max(14px,env(safe-area-inset-bottom)) !important; }
}

/* Switch tab text/background together: avoid unreadable mid-transition colors. */
.bistrot-pro #categoriesBar button { transition:box-shadow .16s; }

/* Replace the legacy single-column !important rule at every supported breakpoint. */

/* Native history modal occupies the top layer without losing the compact inner card. */
body:has(.bistrot-pro) dialog.hist-overlay { inset:0; width:100vw; height:100dvh; max-width:none; max-height:none; margin:0; border:0; padding:18px; background:transparent; }
body:has(.bistrot-pro) dialog.hist-overlay::backdrop { background:#173b2b88; backdrop-filter:blur(3px); }
body:has(.bistrot-pro) dialog.hist-overlay:not([open]) { display:none; }
body:has(.bistrot-pro) dialog.hist-overlay .hist-card { width:min(720px,100%); max-height:calc(100dvh - 36px); }

/* Shared restaurant chrome. Content and card geometry live in menu-cards.css. */
body:has(.bistrot-pro){background-image:none;--brand-ink:#234532;--brand-muted:#627555;}
.bistrot-pro .bistrot-header{background:#fffefa;border-bottom:1px solid #dce4d3;box-shadow:0 2px 10px #173f3004;backdrop-filter:none;}
.bistrot-pro #categoriesBar{background:#fffefa;box-shadow:0 6px 16px #173f3008;}
.menu-welcome{gap:34px;padding:29px 0 27px;}
.menu-welcome>div:first-child{min-width:0;}
.welcome-utility{display:flex;align-items:center;gap:14px;margin-top:13px;}
.welcome-utility .menu-help-button{min-height:36px;padding:0;font-size:11px;white-space:nowrap;}
.welcome-utility .menu-help-button>span:last-child{display:inline!important;}
.welcome-utility .menu-help-button>span:first-child{width:18px;height:18px;font-size:11px;}
.welcome-utility .menu-session-status{font-size:10px;padding:6px 9px;border-radius:6px;}
.bistrot-pro #subcat-bar .wine-filter-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;width:100%;min-width:0;}
.bistrot-pro #subcat-bar .wine-format-segment{display:flex;align-items:center;gap:5px;flex:0 0 auto;padding:3px;border:1px solid #dce5d1;border-radius:9px;background:#fffefa;}
.bistrot-pro #subcat-bar .wine-format-segment button{border:0;min-height:36px;margin:0;background:transparent;padding:8px 12px;}
.bistrot-pro #subcat-bar .wine-format-segment button.active{background:#e5edd9;color:#32562a;}
.bistrot-pro #subcat-bar .subcat-origin-control{display:flex;flex:1;min-width:130px;max-width:250px;}
.bistrot-pro #subcat-bar .subcat-origin-select{min-height:44px;font-size:12px;border:1px solid #d6e1ca;border-radius:9px;padding:10px 28px 10px 12px;background:#fffefa;color:#4d663b;max-width:100%;}
.bistrot-pro #subcat-bar .subcat-line-break{width:100%;height:0;}
.bistrot-pro #subcat-bar .wine-glass-value-hint{flex:1 1 100%;font-size:12px;color:#5b7149;line-height:1.5;margin:0;}
.bistrot-pro .menu-search-field{box-shadow:0 2px 6px #21432a02;}
.bistrot-pro #cartDock .cart-header h3{font-size:29px;line-height:1.15;}
@media(max-width:849px){.menu-welcome{flex-direction:column;align-items:stretch;gap:20px;}.menu-welcome>.menu-sports-entry{width:100%;}.menu-welcome h1{font-size:34px;}}
@media(max-width:600px){
 .bistrot-pro .bistrot-header{min-height:68px;padding:12px 16px;gap:12px;}.bistrot-pro .logo img{width:39px;height:39px;}.bistrot-pro .bistrot-brand{gap:9px;}.bistrot-wordmark strong{font-size:14px;}.bistrot-wordmark small{font-size:7px;letter-spacing:.07em;}.bistrot-pro #langSelect .selected{min-width:52px;min-height:42px;padding:7px;font-size:12px;}.bistrot-pro #langSelect .selected>span:first-child{font-size:13px;}
 .bistrot-pro .menu-welcome{display:flex;padding:21px 0 22px;gap:17px;}.menu-welcome h1{font-size:29px;margin:0 0 7px;line-height:1.1;}.menu-welcome #tagline{font-size:12px;}.menu-welcome .menu-eyebrow{font-size:8px;margin-bottom:8px;}.welcome-utility{margin-top:9px;gap:14px;}.welcome-utility .menu-help-button{font-size:11px;min-height:32px;}.welcome-utility .menu-session-status{display:none;}
 .bistrot-pro #categoriesBar{border-radius:11px;padding:5px;}.bistrot-pro #categoriesBar button{min-height:44px;font-size:12px;padding:8px 6px;}.menu-discovery{margin-top:15px;}.bistrot-pro #subcat-bar{padding:14px 0 19px;gap:7px;}.bistrot-pro #subcat-bar .subcat-origin-select{font-size:14px;}.bistrot-pro #subcat-bar .wine-filter-row{gap:8px;}
 .bistrot-pro #cartDock .cart-header{padding:19px 22px 15px!important;}.bistrot-pro .cart-subheading{font-size:12px;line-height:1.5;}.bistrot-pro .cart-header .menu-eyebrow{font-size:9px;margin-bottom:6px;}
}
