/* Bourgouzz ordering components. No dependency on the Naandoori dark theme. */

.nr-order-open{overflow:hidden}.nr-order{padding:0;border:1px solid #c7984755;border-radius:20px;width:min(760px,94vw);max-height:90dvh;background:#1e1912;color:#f4e5c7;box-shadow:0 30px 100px #0008;overflow:hidden}.nr-order::backdrop{background:#080603bb;backdrop-filter:blur(5px)}.nr-order form{display:flex;flex-direction:column;max-height:90dvh}.nr-order-head{display:flex;align-items:center;justify-content:space-between;padding:22px 27px;gap:20px;background:#251e14;border-bottom:1px solid #bb8e3a44}.nr-order-head h2{font-size:36px;margin:6px 0}.nr-order-head small{font-size:10px;color:#bfa572}.nr-order-close{border:1px solid #b68c3b55;border-radius:50%;background:#ffffff06;color:#eed8ad;width:38px;height:38px;font-size:24px;flex-shrink:0}.nr-order-dots{display:flex;gap:6px;justify-content:center;padding:14px;flex-wrap:wrap}.nr-order-dots span{width:24px;height:4px;border-radius:5px;background:#524129}.nr-order-dots .active{background:#f0bb46}.nr-order-content{overflow:auto;min-height:180px;flex:1;padding:5px 27px 25px;overscroll-behavior:contain}.nr-order-photo{width:100%;height:230px;object-fit:contain;border-radius:12px;background:#16120d}.nr-order-content p{font-size:12px;color:#beac8b}.nr-order-content fieldset{border:0;padding:0;margin-top:25px}.nr-order-content legend{font:600 28px 'Barlow Condensed',Impact,sans-serif;color:#f2d699}.nr-order-content small{font-size:10px;color:#bd9e65}.nr-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:15px}.nr-choice-grid label{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border:1px solid #c2954855;padding:18px;border-radius:10px;font-size:13px;cursor:pointer}.nr-choice-grid label:has(:checked){border-color:#f2c157;background:#e8ad2e18}.nr-choice-grid input{accent-color:#edba48;width:auto}.nr-choice-grid strong{display:block;width:100%;color:#d8b267;font-size:11px;font-weight:500}.nr-clear-choice,.nr-back{background:none;border:0;color:#c9b386;font-size:11px}.nr-order-bottom{display:flex;align-items:center;gap:15px;padding:20px 27px;border-top:1px solid #b98e3d55;background:#251e14}.nr-order-price{font-size:24px;color:#eec165;margin-right:auto;white-space:nowrap}.nr-qty{display:flex;align-items:center;border:1px solid #c2944455;border-radius:25px}.nr-qty button{background:none;border:0;color:#f1d69d;width:32px;height:40px;font-size:18px}.nr-qty output{min-width:22px;text-align:center}.nr-order-review h3{font-size:30px}.nr-order-review>div{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid #bb8e3a33;font-size:12px}.nr-order-review>div span{color:#c4af89;text-align:right}.nr-order-error{color:#ffa58a!important}.nr-order-loading{padding:40px}.nr-live-basket{display:none}#nr-live-status{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:9999;background:#efc15a;color:#211606;border-radius:8px;font-size:12px;box-shadow:0 5px 30px #0006}#nr-live-status:not(:empty){padding:14px 22px}
/* A light, readable ordering flow, shared by popup, basket, checkout and account. */
html[data-restaurant-theme="bourgouzz"]{--bn-red:#bd201f;--bn-yellow:#ffd140;--bn-ink:#24221e;--bn-muted:#655f57;--bn-line:#e8e1d7;--bn-soft:#fff8ed;color-scheme:light;scrollbar-color:#bd201f #fff8ed}
html[data-restaurant-theme="bourgouzz"] body :is(.nr-order,.nr-order-head,.nr-order-content,.nr-order-bottom,.cart-item,.cart-summary,.co-card,.co-summary,.bottom-sheet,.sheet-header,.sheet-footer,.lightbox-content,.lightbox-header,.lightbox-body,.card-auth,.profile-lb-content,.profile-lb-header){background:#fff!important;background-image:none!important;color:var(--bn-ink)!important;border-color:var(--bn-line)!important;box-shadow:0 8px 30px #34230b08}
html[data-restaurant-theme="bourgouzz"] body :is(.nr-order h2,.nr-order legend,.nr-order-price,.ci-name,.ci-name a,.ci-unit,.ci-price,.ci-opts,.cart-page-head h1,.cart-summary h3,.cs-row,.cs-row span,.co-summary h3,.co-card-section-title,.co-total-row,.co-item-name,.co-item-price,.co-summary label,.xm-wizard-title,.sheet-header h3,.sheet-header h4,#sheetPriceDisplay,.profile-tab,.tab-btn){color:var(--bn-ink)!important}
html[data-restaurant-theme="bourgouzz"] body :is(.nr-order-head small,.nr-order-content p,.nr-order-content small,.nr-order-review>div span,.xm-checkout-hint,.co-item-opts,.co-card p,.signin-nudge){color:var(--bn-muted)!important}
html[data-restaurant-theme="bourgouzz"] body :is(.nr-order-head,.nr-order-bottom,.sheet-footer,.xm-wizard-controls){background:var(--bn-soft)!important;border-color:var(--bn-line)!important}
html[data-restaurant-theme="bourgouzz"] body :is(.nr-order-photo,.ci-img-ph,.co-item-ph,.ci-img,.co-item-img){background:#f7f4ee!important;border-radius:14px}
html[data-restaurant-theme="bourgouzz"] body .nr-order{width:min(720px,96vw);max-height:90dvh;border:1px solid var(--bn-line);border-radius:24px;isolation:isolate}
html[data-restaurant-theme="bourgouzz"] body .nr-order::backdrop{background:rgb(50 25 15 / .38);backdrop-filter:blur(4px)}
html[data-restaurant-theme="bourgouzz"] body .nr-order-head{padding:20px 24px}html[data-restaurant-theme="bourgouzz"] body .nr-order-head h2{font:800 30px/1.15 'Barlow Condensed',sans-serif;margin:6px 0 10px}
html[data-restaurant-theme="bourgouzz"] body .nr-order-content{padding:0 24px 24px}html[data-restaurant-theme="bourgouzz"] body .nr-order-photo{height:180px;object-fit:contain;margin:0 0 12px}html[data-restaurant-theme="bourgouzz"] body .nr-order-content legend{font:700 24px/1.2 'DM Sans',sans-serif}
html[data-restaurant-theme="bourgouzz"] body :is(.nr-order-close,.nr-qty button,.sheet-close,.ci-btn-icon,.qty-control button){color:var(--bn-ink)!important;background:#f4f1eb!important;border-color:var(--bn-line)!important;min-width:44px;min-height:44px}
html[data-restaurant-theme="bourgouzz"] body :is(.nr-choice-grid label,.wizard-card-label,.sheet-choice-select,.popt,.coupon-input){background:#fff!important;color:var(--bn-ink)!important;border:1px solid var(--bn-line)!important;border-radius:12px}
html[data-restaurant-theme="bourgouzz"] body :is(.nr-choice-grid label:has(:checked),.wizard-radio-option input:checked+.wizard-card-label,.popt:has(:checked)){border-color:var(--bn-red)!important;background:#fff4ed!important;box-shadow:0 0 0 1px var(--bn-red)}
html[data-restaurant-theme="bourgouzz"] body .nr-choice-grid input{accent-color:var(--bn-red)}html[data-restaurant-theme="bourgouzz"] body .nr-choice-grid strong{color:var(--bn-red)!important}html[data-restaurant-theme="bourgouzz"] body .nr-order-dots span{background:#e4ddd3}html[data-restaurant-theme="bourgouzz"] body .nr-order-dots .active{background:var(--bn-red)}
html[data-restaurant-theme="bourgouzz"] body :is(.nr-next,.nr-add,.checkout-btn,.coupon-btn,#btnFinalAdd,.xm-wizard-next,.xm-wizard-controls button:last-child,.gtset button[type=submit]){background:var(--bn-red)!important;color:#fff!important;border:1px solid var(--bn-red)!important;border-radius:12px;min-height:48px;font-weight:700}
html[data-restaurant-theme="bourgouzz"] body :is(.nr-next,.nr-add,.checkout-btn,.coupon-btn,#btnFinalAdd,.xm-wizard-next,.gtset button[type=submit]):hover{background:#9b1918!important}
html[data-restaurant-theme="bourgouzz"] body :is(.nr-next,.nr-add,#btnFinalAdd,.xm-wizard-next):disabled{background:#eee9df!important;border-color:#e1d9cc!important;color:#71695d!important;cursor:not-allowed;box-shadow:none}
html[data-restaurant-theme="bourgouzz"] body :is(.nr-back,.nr-clear-choice,.co-edit-cart,.xm-textlink,.signin-nudge a,.xm-checkout-hint a){color:var(--bn-red)!important}
html[data-restaurant-theme="bourgouzz"] body :is(.qty-control,.nr-qty,.cart-count-chip,.co-item-qty){background:#fff4d2!important;color:var(--bn-ink)!important;border-color:#f1d16d!important}
html[data-restaurant-theme="bourgouzz"] body .nr-order-bottom{gap:12px;padding:16px 24px}html[data-restaurant-theme="bourgouzz"] body .nr-order-error{color:#ac1616!important}html[data-restaurant-theme="bourgouzz"] body .nr-order-review>div{border-color:var(--bn-line)}
html[data-restaurant-theme="bourgouzz"] body :is(.cs-row.total,.co-total-row.grand){color:var(--bn-red)!important;border-color:var(--bn-line)!important}
html[data-restaurant-theme="bourgouzz"] body .xm-checkout-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;background:#fff8e5!important;border:1px solid var(--bn-line);border-radius:16px;padding:6px;margin-bottom:18px}
html[data-restaurant-theme="bourgouzz"] body .xm-checkout-steps a{padding:14px 8px;text-align:center;color:#655f57!important;border-radius:10px;font-size:13px;font-weight:700;text-decoration:none}
html[data-restaurant-theme="bourgouzz"] body .xm-checkout-steps a.active,html[data-restaurant-theme="bourgouzz"] body .xm-checkout-steps a[aria-current=step]{background:var(--bn-yellow)!important;color:var(--bn-ink)!important}
html[data-restaurant-theme="bourgouzz"] body :is(.co-shell input,.co-shell select,.co-shell textarea,.sheet-choice-select){background:#fff!important;color:var(--bn-ink)!important;border-color:#d7d0c6!important;accent-color:var(--bn-red)}
html[data-restaurant-theme="bourgouzz"] body :is(.co-card label,.co-card legend,.co-summary label){color:var(--bn-ink)!important}
html[data-restaurant-theme="bourgouzz"] body #delivery_method_buttons :is(button,label).active,html[data-restaurant-theme="bourgouzz"] body .mode-btn.active{background:#fff0bd!important;color:var(--bn-ink)!important;border-color:#e1b529!important}
html[data-restaurant-theme="bourgouzz"] body .xm-wizard-controls{display:flex;justify-content:space-between;gap:12px;padding:16px 0;margin-top:20px;background:#fff!important}
html[data-restaurant-theme="bourgouzz"] body .xm-wizard-controls button{min-height:48px;padding:12px 24px;border-radius:12px}html[data-restaurant-theme="bourgouzz"] body .xm-wizard-controls button:first-child{color:var(--bn-red);border-color:var(--bn-line)}
html[data-restaurant-theme="bourgouzz"] body :is(input,select,textarea):focus-visible{outline:3px solid #ffd140!important;outline-offset:2px}html[data-restaurant-theme="bourgouzz"] body :is(button,a):focus-visible{outline:3px solid #bd201f!important;outline-offset:3px}
html[data-restaurant-theme="bourgouzz"] body #nr-privacy-reopen{background:#fff8ed!important;color:#5c3d17!important;border-color:#e8d5ac!important}
@media(max-width:760px){html[data-restaurant-theme="bourgouzz"] body .nr-order{width:100%;max-width:100%;height:auto;max-height:94dvh;margin:auto 0 0;border-radius:22px 22px 0 0}html[data-restaurant-theme="bourgouzz"] body .nr-order form{max-height:94dvh}html[data-restaurant-theme="bourgouzz"] body .nr-order-head{padding:18px 20px}html[data-restaurant-theme="bourgouzz"] body .nr-order-content{padding:0 20px 18px}html[data-restaurant-theme="bourgouzz"] body .nr-order-photo{height:140px}html[data-restaurant-theme="bourgouzz"] body .nr-order-bottom{padding:14px 16px calc(14px + env(safe-area-inset-bottom));flex-wrap:wrap}html[data-restaurant-theme="bourgouzz"] body .nr-order-price{font-size:22px}html[data-restaurant-theme="bourgouzz"] body .nr-choice-grid{grid-template-columns:1fr}html[data-restaurant-theme="bourgouzz"] body .nr-choice-grid label{padding:14px;min-height:48px}html[data-restaurant-theme="bourgouzz"] body .xm-checkout-steps a{font-size:11px;padding:12px 3px}html[data-restaurant-theme="bourgouzz"] body .co-shell{padding-top:20px}html[data-restaurant-theme="bourgouzz"] body .cart-summary{position:static}html[data-restaurant-theme="bourgouzz"] body .xm-wizard-controls{position:sticky;bottom:calc(62px + env(safe-area-inset-bottom));z-index:20;border-top:1px solid var(--bn-line);padding:12px}html[data-restaurant-theme="bourgouzz"] body .nr-live-basket{bottom:calc(76px + env(safe-area-inset-bottom))!important}}
@media(prefers-reduced-motion:reduce){html[data-restaurant-theme="bourgouzz"] body *,html[data-restaurant-theme="bourgouzz"] body *::before,html[data-restaurant-theme="bourgouzz"] body *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
html[data-restaurant-theme="bourgouzz"] body .nr-button{background:#bd201f!important;color:#fff!important;border:1px solid #bd201f!important;border-radius:12px;min-height:48px;padding:12px 20px;font-weight:700}html[data-restaurant-theme="bourgouzz"] body .nr-button:disabled{background:#eee9df!important;border-color:#e1d9cc!important;color:#71695d!important;cursor:not-allowed}html[data-restaurant-theme="bourgouzz"] body .nr-eyebrow{color:#a51a19;font-size:10px;font-weight:800;letter-spacing:1.5px}html[data-restaurant-theme="bourgouzz"] body .cart-page-head h1{font-size:clamp(28px,4vw,40px)}
html[data-restaurant-theme="bourgouzz"] body :is(.co-shell,.cart-page) :is(h1,h2,h3,h4){color:#24221e!important}html[data-restaurant-theme="bourgouzz"] body .cart-page-head h1{color:#bd201f!important}html[data-restaurant-theme="bourgouzz"] body .co-page-head h1{color:#bd201f!important}html[data-restaurant-theme="bourgouzz"] body :is(.co-summary,.cart-summary){border-top:4px solid #ffd140!important}html[data-restaurant-theme="bourgouzz"] body :is(.iden,.xm-auth-guest){background:#fff8ed!important;color:#24221e!important;border-color:#e8e1d7!important}html[data-restaurant-theme="bourgouzz"] body .iden :is(button,a){color:#bd201f!important;border-color:#e8e1d7!important;background:white!important}html[data-restaurant-theme="bourgouzz"] body :is(.co-item-name,.co-item-price,.co-summary h2,.cart-summary h2){color:#24221e!important}

/* Explicit dialog positioning survives the shared universal margin reset. */
html[data-restaurant-theme="bourgouzz"] body dialog.nr-order{position:fixed;inset:0;margin:auto!important;max-height:90dvh}
html[data-restaurant-theme="bourgouzz"] body :is(.nr-qty,.qty-control){display:inline-flex;align-items:center;gap:10px;padding:5px;background:transparent!important;border:0!important;box-shadow:none}
html[data-restaurant-theme="bourgouzz"] body :is(.nr-qty button,.qty-control button){display:inline-grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0!important;border:0!important;border-radius:50%!important;background:#bd201f!important;color:#fff!important;font-size:24px;font-weight:600;line-height:1;cursor:pointer}
html[data-restaurant-theme="bourgouzz"] body :is(.nr-qty button,.qty-control button):hover{background:#981918!important}
html[data-restaurant-theme="bourgouzz"] body :is(.nr-qty button,.qty-control button):disabled{background:#eee9df!important;color:#71695d!important;cursor:not-allowed}
html[data-restaurant-theme="bourgouzz"] body :is(.nr-qty output,.qty-control__val){min-width:24px;text-align:center;color:#24221e;font-weight:700}
@media(max-width:760px){html[data-restaurant-theme="bourgouzz"] body dialog.nr-order{inset:auto 0 0;margin:0!important;max-height:94dvh}}

html[data-restaurant-theme="bourgouzz"] body footer :is(.footer-top p,.footer-bottom,.footer-bottom span,.footer-bottom a){color:#fffdf7!important;opacity:1!important}
html[data-restaurant-theme="bourgouzz"] body #nr-privacy-reopen{display:grid;place-items:center;width:44px;height:44px;padding:0!important;border-radius:50%;background:#fff8ed!important;color:#9d201c!important;border:1px solid #e8d5ac!important;box-shadow:0 3px 12px #34230b18;left:12px;bottom:16px}
html[data-restaurant-theme="bourgouzz"] body #nr-privacy-reopen svg{display:block;flex-shrink:0}
html[data-restaurant-theme="bourgouzz"] body #nr-privacy{background:#fffdf7;color:#24221e;border-color:#e8e1d7;border-top-color:#bd201f}
html[data-restaurant-theme="bourgouzz"] body #nr-privacy :is(h2,p){color:#24221e}html[data-restaurant-theme="bourgouzz"] body #nr-privacy a{color:#a51a19}
html[data-restaurant-theme="bourgouzz"] body .nr-privacy-actions button{background:#fff4d2!important;color:#24221e!important;border-color:#efd16b!important}
@media(max-width:760px){html[data-restaurant-theme="bourgouzz"] body #nr-privacy-reopen{bottom:calc(76px + env(safe-area-inset-bottom))}html[data-restaurant-theme="bourgouzz"] body #nr-privacy{bottom:calc(76px + env(safe-area-inset-bottom))}}
