
@font-face{font-family:BMOnest;src:url('/miniapp/assets/onest-0.woff2') format('woff2');font-weight:100 900;unicode-range:U+0400-052F,U+2DE0-2DFF,U+A640-A69F;font-display:swap}
@font-face{font-family:BMOnest;src:url('/miniapp/assets/onest-1.woff2') format('woff2');font-weight:100 900;font-display:swap}
#bm-design{font-family:BMOnest,Arial,sans-serif;color:#1c1c1c;--bm-yellow:#dcbc2c;--bm-green:#57aa5b;--bm-radius:18px}
#bm-design *{box-sizing:border-box}
#bm-design button,#bm-design select,#bm-design textarea{font:inherit}
#bm-design button{cursor:pointer;color:inherit;-webkit-tap-highlight-color:transparent}
#bm-design button:focus-visible,#bm-design textarea:focus-visible,#bm-design select:focus-visible{outline:3px solid #518555;outline-offset:3px}
#bm-design button:disabled{cursor:default;opacity:.5}
#bm-design .bm-stage{padding:22px 12px 24px;min-height:830px}
#bm-design .bm-controls{max-width:420px;margin:0 auto 14px;display:flex;gap:6px;flex-wrap:wrap}
#bm-design .bm-controls button{flex:1;padding:10px 8px;min-height:42px;border:1px solid #d8d8d3;background:#fff;border-radius:10px;font-size:12px;font-weight:600}
#bm-design .bm-controls button[aria-pressed=true]{background:#1c1c1c;color:#fff;border-color:#1c1c1c}
#bm-design .bm-phone{max-width:390px;margin:auto;background:#fff;border:1px solid #d8d8d3;border-radius:28px;overflow:hidden;color-scheme:light}
#bm-design .bm-tg{height:48px;display:flex;align-items:center;justify-content:center;background:#fff;border-bottom:1px solid #ededeb;font-size:13px;font-weight:650;position:relative}
#bm-design .bm-tg span{font-size:10px;margin-left:8px;color:#777;font-weight:400}
#bm-design .bm-content{min-height:620px;display:flex;flex-direction:column}
#bm-design .bm-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 22px 18px}
#bm-design .bm-logo{width:116px;height:48px;object-fit:contain}
#bm-design .bm-pickup{font-size:11px;text-align:right;color:#62645e;line-height:1.6}
#bm-design .bm-pickup strong{display:block;color:#1c1c1c;font-size:12px;font-weight:600}
#bm-design .bm-hero{margin:0 18px 20px;background:#f7e9cc;border-radius:var(--bm-radius);overflow:hidden;display:grid;grid-template-columns:1.05fr 1fr;align-items:center;min-height:132px}
#bm-design .bm-hero-copy{padding:20px 0 20px 18px;position:relative;z-index:1}
#bm-design h1,#bm-design h2,#bm-design h3,#bm-design p{margin:0}
#bm-design .bm-hero h1{font-size:25px;line-height:1.05;letter-spacing:-1px;font-weight:800}
#bm-design .bm-hero p{font-size:11px;margin-top:10px;line-height:1.5}
#bm-design .bm-art{width:100%;height:132px;object-fit:cover;object-position:70% center}
#bm-design .bm-tabs{display:flex;gap:6px;padding:0 18px 19px;flex-wrap:wrap}
#bm-design .bm-tabs button{border:0;border-radius:12px;padding:11px 15px;background:#f3f3f0;font-size:13px;min-height:42px}
#bm-design .bm-tabs button[aria-pressed=true]{background:#1c1c1c;color:#fff}
#bm-design .bm-section-head{display:flex;align-items:baseline;justify-content:space-between;padding:0 22px 4px}
#bm-design .bm-section-head h2{font-size:23px;font-weight:750;letter-spacing:-.7px}
#bm-design .bm-section-head span{font-size:11px;color:#686a63}
#bm-design .bm-products{padding:0 22px 12px}
#bm-design .bm-product{display:flex;align-items:center;gap:10px;border-bottom:1px solid #efefeb;padding:16px 0}
#bm-design .bm-product:last-child{border:0}
#bm-design .bm-product-info{border:0;text-align:left;padding:0;background:none;flex:1;min-height:47px}
#bm-design .bm-product h3{font-size:16px;font-weight:650;letter-spacing:-.3px}
#bm-design .bm-product p{font-size:11px;color:#6b6d65;margin-top:5px;line-height:1.45}
#bm-design .bm-add{background:#f7e9cc;border:0;border-radius:12px;min-width:91px;min-height:43px;font-size:13px;font-weight:650;display:flex;align-items:center;justify-content:center;gap:9px;padding:10px}
#bm-design .bm-add svg{width:14px;height:14px}
#bm-design .bm-footer{margin-top:auto;padding:14px 18px 20px;border-top:1px solid #efefeb;background:#fff}
#bm-design .bm-primary{width:100%;min-height:52px;border:0;border-radius:var(--bm-radius);background:var(--bm-yellow);display:flex;align-items:center;justify-content:space-between;gap:8px;padding:15px 18px;font-size:14px;font-weight:700}
#bm-design .bm-primary.center{justify-content:center}
#bm-design .bm-primary .bm-count{background:#1c1c1c;color:#fff;border-radius:7px;min-width:23px;padding:3px 6px;margin-right:8px;font-size:12px}
#bm-design .bm-safe{height:4px;width:108px;background:#1c1c1c;border-radius:4px;margin:12px auto 0}
#bm-design .bm-empty-footer{text-align:center;color:#66685f;font-size:12px;padding:6px}
#bm-design .bm-active-order{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 18px 18px;padding:14px;border:0;background:#eaf3e7;border-radius:12px;font-size:12px;min-height:44px}
#bm-design .bm-pagehead{padding:20px 20px 12px;display:flex;align-items:center;gap:12px}
#bm-design .bm-back{border:0;border-radius:12px;width:42px;height:42px;display:flex;align-items:center;justify-content:center;background:#f3f3f0;flex-shrink:0}
#bm-design .bm-pagehead h1{font-size:24px;font-weight:750;letter-spacing:-.7px}
#bm-design .bm-pagehead p{font-size:11px;color:#686a63;margin-top:3px}
#bm-design .bm-body{padding:12px 22px 24px}
#bm-design .bm-detail-top{background:#f7e9cc;margin:0 18px 5px;padding:22px;border-radius:var(--bm-radius)}
#bm-design .bm-detail-top .bm-detail-kicker{font-size:11px;color:#64604e;margin-bottom:7px}
#bm-design .bm-detail-top h2{font-size:30px;font-weight:800;letter-spacing:-1.2px;line-height:1.1}
#bm-design .bm-detail-top p{font-size:12px;line-height:1.6;margin-top:10px;max-width:265px}
#bm-design .bm-field{margin:19px 0 0;border:0;padding:0;min-width:0}
#bm-design .bm-field legend{font-size:13px;font-weight:650;padding:0;margin-bottom:10px}
#bm-design .bm-options{display:flex;gap:7px;flex-wrap:wrap}
#bm-design .bm-option{border:1px solid #e2e3dc;background:#fff;border-radius:12px;padding:11px 13px;min-height:44px;font-size:12px;flex:1}
#bm-design .bm-option small{display:block;font-size:10px;margin-top:3px;color:#686a63}
#bm-design .bm-option[aria-pressed=true]{border-color:#1c1c1c;background:#1c1c1c;color:#fff}
#bm-design .bm-option[aria-pressed=true] small{color:#d6d7d0}
#bm-design .bm-secondary{border:0;background:#f3f3f0;min-height:44px;border-radius:12px;font-size:13px;padding:12px 16px}
#bm-design .bm-cart-item{padding:16px 0;border-bottom:1px solid #ededeb}
#bm-design .bm-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
#bm-design .bm-cart-item h2{font-size:16px;font-weight:650}
#bm-design .bm-cart-item p{font-size:11px;line-height:1.6;color:#686a63;margin:6px 0 12px}
#bm-design .bm-stepper{display:flex;align-items:center;background:#f3f3f0;border-radius:11px}
#bm-design .bm-stepper button{width:42px;height:40px;background:none;border:0;display:grid;place-items:center}
#bm-design .bm-stepper svg{width:15px;height:15px}
#bm-design .bm-stepper span{min-width:22px;text-align:center;font-size:13px;font-weight:600}
#bm-design .bm-note{font-size:11px;color:#686a63;line-height:1.6;margin-top:9px}
#bm-design .bm-order-info{background:#f5f5f1;padding:16px;border-radius:var(--bm-radius);margin-top:23px}
#bm-design .bm-order-info h3{font-size:13px;font-weight:650}
#bm-design .bm-order-info p{font-size:12px;margin-top:6px;color:#62645c;line-height:1.5}
#bm-design .bm-comment{display:block;font-size:12px;font-weight:600;margin:22px 0 8px}
#bm-design textarea{width:100%;min-height:74px;resize:vertical;border:1px solid #dedfd7;border-radius:12px;padding:12px;background:#fff;color:#1c1c1c;font-size:16px}
#bm-design .bm-total{margin-top:22px;font-size:19px;font-weight:750}
#bm-design .bm-empty{padding:65px 22px;text-align:center}
#bm-design .bm-empty h2{font-size:23px;margin-bottom:10px}
#bm-design .bm-empty p{font-size:13px;line-height:1.6;color:#686a63;margin-bottom:22px}
#bm-design .bm-status{padding:25px 24px 18px;text-align:center}
#bm-design .bm-status-badge{display:inline-flex;align-items:center;gap:6px;background:#f7e9cc;border-radius:30px;padding:8px 13px;font-size:12px;font-weight:600}
#bm-design .bm-status-badge.ready{background:#57aa5b;color:#1c1c1c}
#bm-design .bm-status-badge svg{width:14px;height:14px}
#bm-design .bm-status .bm-number{font-size:79px;letter-spacing:-5px;font-weight:800;line-height:1.15;margin:16px 0 2px}
#bm-design .bm-status .bm-number-label{font-size:12px;color:#686a63}
#bm-design .bm-status h2{font-size:25px;letter-spacing:-.8px;margin-top:24px;font-weight:750}
#bm-design .bm-status p{font-size:13px;line-height:1.6;color:#62645e;margin-top:8px}
#bm-design .bm-progress{display:flex;gap:5px;margin:25px 0 6px}
#bm-design .bm-progress div{flex:1;height:5px;background:#eaece5;border-radius:5px}
#bm-design .bm-progress div.done{background:#57aa5b}
#bm-design .bm-status-art{width:100%;border-radius:var(--bm-radius);margin:21px 0 0;max-height:150px;object-fit:cover;object-position:center}
#bm-design .bm-summary{border-top:1px solid #ededeb;padding-top:16px;margin-top:20px;text-align:left;font-size:12px;line-height:1.7}
#bm-design .bm-summary p{font-size:12px;margin-top:4px}
#bm-design .bm-prototype-note{font-size:11px;color:light-dark(#66685f,#b7b9b0);text-align:center;margin:14px 0 0;line-height:1.5}
#bm-design .bm-state-control{max-width:390px;margin:12px auto 0;display:flex;align-items:center;justify-content:center;gap:12px;font-size:12px;color:light-dark(#55574f,#b7b9b0)}
#bm-design .bm-state-control select{border:1px solid #d8d8d3;padding:8px;border-radius:8px;background:#fff;color:#1c1c1c;min-height:40px}
#bm-design .bm-grid .bm-products{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-top:12px}
#bm-design .bm-grid .bm-product{display:flex;flex-direction:column;align-items:stretch;background:#f5f5f1;border-radius:var(--bm-radius);border:0;padding:15px 12px;gap:12px}
#bm-design .bm-grid .bm-product-info{min-height:72px}
#bm-design .bm-grid .bm-add{background:#fff;width:100%;justify-content:space-between}
@media(max-width:360px){#bm-design .bm-stage{padding:15px 0}#bm-design .bm-phone{border-radius:20px}#bm-design .bm-head,#bm-design .bm-body,#bm-design .bm-products{padding-left:16px;padding-right:16px}#bm-design .bm-hero h1{font-size:23px}#bm-design .bm-controls{gap:4px}#bm-design .bm-controls button{padding:9px 5px;font-size:11px}#bm-design .bm-option{padding:10px 8px}}

#bm-design .bm-phone{max-width:410px}
#bm-design .bm-head{padding:18px 20px 15px}
#bm-design .bm-logo{width:108px;height:45px}
#bm-design .bm-hero{margin:0 18px 17px;grid-template-columns:1.25fr 1fr;min-height:94px;position:relative}
#bm-design .bm-hero-copy{padding:16px 0 16px 16px}
#bm-design .bm-hero h1{font-size:22px;line-height:1.08;letter-spacing:-.8px}
#bm-design .bm-hero p{font-size:10px;line-height:1.4;margin-top:6px;max-width:145px}
#bm-design .bm-art{height:110px;object-position:65% center}
#bm-design .bm-tabs{gap:7px;padding:0 18px 16px;flex-wrap:nowrap}
#bm-design .bm-tabs button{flex:1;padding:11px 8px;font-size:12px;font-weight:600}
#bm-design .bm-tabs button[aria-pressed=true]{background:#dcbc2c;color:#1c1c1c}
#bm-design .bm-section-head{padding:0 20px 12px}
#bm-design .bm-section-head h2{font-size:22px}
#bm-design .bm-products{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px 12px;padding:0 18px 22px}
#bm-design .bm-product{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;border:0;min-width:0;background:#fff}
#bm-design .bm-product-photo{position:relative;display:block;padding:0;border:0;width:100%;aspect-ratio:1.12;border-radius:var(--bm-radius);overflow:hidden;background:#f4ebdf}
#bm-design .bm-product-photo img{width:100%;height:100%;object-fit:cover;display:block}
#bm-design .bm-in-cart{position:absolute;left:8px;top:8px;background:#fff;padding:5px 7px;border-radius:8px;font-size:10px;font-weight:600}
#bm-design .bm-product-info{padding:11px 1px 8px;min-height:70px;display:flex;flex-direction:column;justify-content:space-between}
#bm-design .bm-product-info h3{font-size:14px;line-height:1.35;letter-spacing:-.3px;overflow-wrap:anywhere}
#bm-design .bm-product-info p{font-size:11px;margin-top:5px;color:#696a63}
#bm-design .bm-add{background:#f2f3ed;border-radius:12px;justify-content:space-between;min-height:44px;font-size:14px;padding:10px 12px}
#bm-design .bm-add svg{width:18px;height:18px}
#bm-design .bm-food-photo{background:#f3f3eb}
#bm-design .bm-food-photo img{object-fit:contain;width:100%;height:100%;padding:20px}
#bm-design .bm-food-photo.bm-product-photo img{padding:22px 28px}
#bm-design .bm-active-order{align-items:center;gap:12px;margin:0 18px 16px}
#bm-design .bm-active-order span,#bm-design .bm-active-order strong{display:flex;align-items:center;gap:6px}
#bm-design .bm-active-order svg{width:15px;height:15px;flex-shrink:0}
#bm-design .bm-footer{padding:12px 18px 12px}
#bm-design .bm-bottom-nav{display:flex;gap:8px;padding:8px 0 0}
#bm-design .bm-bottom-nav button{flex:1;border:0;background:transparent;min-height:57px;padding:8px 4px 3px;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px;color:#74766c;font-weight:500}
#bm-design .bm-bottom-nav button[aria-current]{color:#1c1c1c;font-weight:700}
#bm-design .bm-bottom-nav svg{width:21px;height:21px}
#bm-design .bm-bottom-nav b{font-size:10px;background:#dcbc2c;color:#1c1c1c;border-radius:5px;padding:1px 4px;margin-left:2px}
#bm-design .bm-safe{margin-top:10px}
#bm-design .bm-pagehead h1{font-size:23px}
#bm-design .bm-detail-photo{margin:3px 18px 18px;height:210px;border-radius:var(--bm-radius);overflow:hidden;background:#f4ebdf}
#bm-design .bm-detail-photo img{width:100%;height:100%;object-fit:cover}
#bm-design .bm-detail-photo.bm-food-photo img{object-fit:contain;padding:40px}
#bm-design .bm-detail-title{padding:0 22px}
#bm-design .bm-detail-kicker{font-size:11px;color:#686a63;margin-bottom:7px}
#bm-design .bm-detail-title h2{font-size:25px;line-height:1.15;letter-spacing:-.7px;font-weight:750}
#bm-design .bm-detail-title p{font-size:12px;line-height:1.65;color:#686a63;margin-top:9px}
#bm-design .bm-options-body{padding-top:0}
#bm-design .bm-single-portion{font-size:13px;margin-top:20px;font-weight:600}
#bm-design .bm-composition{font-size:12px;line-height:1.7;margin-top:22px;border-top:1px solid #ededeb;padding-top:16px}
#bm-design .bm-composition summary{font-weight:650;min-height:30px;cursor:pointer}
#bm-design .bm-composition p{margin-top:8px;color:#62645e}
#bm-design .bm-cart-top{display:flex;gap:13px;align-items:flex-start;margin-bottom:12px}
#bm-design .bm-cart-photo{width:67px;height:67px;flex-shrink:0;border-radius:13px;overflow:hidden;background:#f4ebdf}
#bm-design .bm-cart-photo img{width:100%;height:100%;object-fit:cover}
#bm-design .bm-cart-photo.bm-food-photo img{object-fit:contain;padding:8px}
#bm-design .bm-cart-copy{flex:1;min-width:0}
#bm-design .bm-cart-copy h2{font-size:14px;line-height:1.4}
#bm-design .bm-cart-copy p{font-size:11px;margin:5px 0 0}
#bm-design .bm-cart-actions{display:flex;gap:9px}
#bm-design .bm-edit{width:42px;min-height:42px;border:0;border-radius:10px;background:#f3f3f0;display:grid;place-items:center}
#bm-design .bm-more{display:flex;align-items:center;gap:8px;justify-content:center;min-height:44px;border:0;background:transparent;width:100%;font-size:12px;font-weight:600;margin-top:12px}
#bm-design .bm-order-info{margin-top:16px}
#bm-design .bm-order-info h3{display:flex;align-items:center;gap:8px}
#bm-design .bm-order-info h3 svg{width:17px;height:17px}
#bm-design .bm-payment-method{display:flex;flex-direction:column;gap:9px}
#bm-design .bm-pay-choice{display:flex;align-items:center;gap:12px;padding:14px 12px;border:1px solid #e0e2da;border-radius:14px;background:#fff;text-align:left;min-height:70px;width:100%}
#bm-design .bm-pay-choice[aria-pressed=true]{border:2px solid #1c1c1c;padding:13px 11px;background:#fafaf6}
#bm-design .bm-pay-choice strong{display:block;font-size:14px;font-weight:650}
#bm-design .bm-pay-choice small{display:block;font-size:11px;color:#686a63;margin-top:4px}
#bm-design .bm-pay-icon{display:grid;place-items:center;width:34px;height:34px;background:#f2f3ed;border-radius:9px}
#bm-design .bm-radio{width:18px;height:18px;border:1px solid #b5b8ac;border-radius:50%;margin-left:auto;flex-shrink:0}
#bm-design [aria-pressed=true]>.bm-radio{border:5px solid #1c1c1c;background:#dcbc2c}
#bm-design .bm-pay-amount{padding:18px 0 28px;text-align:center}
#bm-design .bm-pay-amount span{display:block;font-size:12px;color:#686a63;margin-bottom:8px}
#bm-design .bm-pay-amount strong{display:block;font-size:39px;line-height:1.1;font-weight:750;letter-spacing:-1.4px}
#bm-design .bm-bank-title{font-size:20px;font-weight:700;letter-spacing:-.5px}
#bm-design .bm-bank-note{font-size:12px;line-height:1.7;color:#62645e;margin:8px 0 19px}
#bm-design .bm-banks{display:flex;flex-direction:column;gap:8px}
#bm-design .bm-bank{display:flex;align-items:center;gap:12px;width:100%;border:1px solid #e2e3dc;background:#fff;border-radius:13px;padding:13px;font-size:14px;font-weight:600;min-height:64px}
#bm-design .bm-bank[aria-pressed=true]{border:2px solid #1c1c1c;padding:12px;background:#fafaf6}
#bm-design .bm-bank-letter{width:32px;height:32px;border-radius:10px;background:#f0f1eb;display:grid;place-items:center;font-size:16px;font-weight:700}
#bm-design .bm-payment-wait{text-align:center}
#bm-design .bm-pay-state-icon{width:70px;height:70px;margin:0 auto 18px;display:grid;place-items:center;background:#f7e9cc;border-radius:24px}
#bm-design .bm-pay-state-icon svg{width:30px;height:30px}
#bm-design .bm-pay-state-icon.bm-warn{background:#f7e9cc}
#bm-design .bm-payment-wait h2{font-size:23px;letter-spacing:-.6px;font-weight:700}
#bm-design .bm-payment-wait>p{font-size:13px;line-height:1.7;color:#62645e;margin-top:12px}
#bm-design .bm-wait-label{display:flex;align-items:center;justify-content:center;gap:8px;margin:22px 0;font-size:12px;font-weight:600}
#bm-design .bm-payment-summary{margin-top:28px;padding-top:18px;border-top:1px solid #ededeb;text-align:left;font-size:12px;line-height:1.7}
#bm-design .bm-payment-summary .bm-row{align-items:flex-start;margin:7px 0}
#bm-design .bm-payment-summary .bm-row>span:last-child{white-space:nowrap}
#bm-design .bm-pay-cancel{width:100%;min-height:44px;background:transparent;border:0;font-size:12px;margin-top:7px}
#bm-design .bm-paid-line{display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;color:#3b633e;padding-top:12px}
#bm-design .bm-status{padding-top:15px}
#bm-design .bm-status .bm-number{font-size:69px;letter-spacing:-4px;margin-top:15px}
#bm-design .bm-status h2{margin-top:18px}
#bm-design .bm-status-art{max-height:125px}
#bm-design .bm-summary .bm-row{align-items:flex-start;margin-bottom:7px}
#bm-design .bm-summary .bm-row>span:last-child{white-space:nowrap}
#bm-design .bm-demo-controls{max-width:410px;margin:12px auto 0;display:flex;align-items:center;justify-content:center;gap:10px;font-size:12px;color:light-dark(#55574f,#b7b9b0)}
#bm-design .bm-demo-controls[hidden]{display:none}
#bm-design .bm-demo-controls select{font:inherit;border:1px solid #d8d8d3;padding:9px;border-radius:9px;background:#fff;color:#1c1c1c;min-height:42px;min-width:0;max-width:205px}
#bm-design .bm-controls{max-width:440px}
#bm-design .bm-controls button{padding:9px 6px;font-size:11px}
#bm-design .bm-prototype-note{max-width:420px;margin:14px auto 0;font-size:11px}
@media(max-width:360px){#bm-design .bm-products{gap:14px 10px;padding:0 12px 18px}#bm-design .bm-product-info h3{font-size:13px}#bm-design .bm-product-info{min-height:70px}#bm-design .bm-food-photo.bm-product-photo img{padding:19px}#bm-design .bm-hero h1{font-size:20px}#bm-design .bm-detail-photo{height:185px}#bm-design .bm-controls button{font-size:10px;padding:9px 3px}#bm-design .bm-pay-choice small{font-size:10px}#bm-design .bm-active-order{font-size:11px;padding:12px 10px}#bm-design .bm-active-order strong{gap:3px}#bm-design .bm-detail-title{padding:0 16px}#bm-design .bm-demo-controls{font-size:11px;gap:5px}}
#bm-design .bm-loyalty-entry{display:flex;align-items:center;gap:12px;width:calc(100% - 36px);margin:0 18px 17px;padding:14px;border:0;border-radius:16px;background:#f5f4ec;text-align:left;min-height:67px}
#bm-design .bm-loyalty-entry>span{flex:1}
#bm-design .bm-loyalty-entry strong{display:block;font-size:13px;font-weight:650}
#bm-design .bm-loyalty-entry small{display:block;font-size:11px;margin-top:4px;color:#56594f}
#bm-design .bm-loyalty-entry>svg{width:20px;height:20px;flex-shrink:0}
#bm-design .bm-body>.bm-loyalty-entry{width:100%;margin:20px 0}
#bm-design .bm-loyalty-body{padding-top:10px;min-height:350px}
#bm-design .bm-loyalty-body h2{font-size:24px;letter-spacing:-.7px;line-height:1.2;margin-top:20px}
#bm-design .bm-loyalty-symbol{width:64px;height:64px;background:#f7e9cc;border-radius:20px;display:grid;place-items:center}
#bm-design .bm-loyalty-symbol svg{width:28px;height:28px}
#bm-design .bm-loyalty-intro{font-size:14px;line-height:1.6;color:#62645e;margin-top:12px}
#bm-design .bm-loyalty-note{font-size:12px;line-height:1.6;color:#62645e;margin-top:12px}
#bm-design .bm-loyalty-error{font-size:12px;line-height:1.6;color:#a62d20;margin-top:12px}
#bm-design .bm-bonus-card{background:#dcbc2c;border-radius:22px;padding:22px;color:#1c1c1c}
#bm-design .bm-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
#bm-design .bm-card-top img{width:105px;height:45px;object-fit:contain}
#bm-design .bm-card-top>span{display:flex;align-items:center;gap:5px;font-size:11px}
#bm-design .bm-card-top svg{width:15px;height:15px}
#bm-design .bm-card-number{font-size:15px;letter-spacing:2px;margin-top:22px}
#bm-design .bm-balance-label{font-size:12px;margin-top:28px}
#bm-design .bm-balance-value{font-size:48px;line-height:1.1;letter-spacing:-2px;margin-top:8px;font-weight:700;font-variant-numeric:tabular-nums}
#bm-design .bm-balance-value span{font-size:16px;letter-spacing:0;font-weight:500}
#bm-design .bm-card-qr{width:232px;max-width:100%;margin:24px auto 0;background:#fff;border-radius:16px;overflow:hidden}
#bm-design .bm-card-qr svg{display:block;width:100%;height:auto;aspect-ratio:1;shape-rendering:crispEdges}
#bm-design .bm-card-qr-caption{margin-top:12px;text-align:center;font-size:13px;line-height:1.5}
#bm-design .bm-balance-unavailable{font-size:21px;line-height:1.3;margin-top:10px;font-weight:650}
#bm-design .bm-balance-refresh{border:0;background:#f3f4ee;border-radius:12px;min-height:46px;padding:12px 16px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;margin-top:20px;width:100%}
#bm-design .bm-loyalty-info{display:flex;gap:10px;align-items:flex-start;margin-top:26px;padding:17px 0;border-top:1px solid #e9eae3;color:#4a5746}
#bm-design .bm-loyalty-info p{font-size:13px;line-height:1.6}
#bm-design .bm-loyalty-info svg{flex-shrink:0;margin-top:2px}
#bm-design .bm-card-demo{max-width:410px;margin:12px auto 0;font-size:12px;line-height:1.6;text-align:center;color:light-dark(#55574f,#b7b9b0)}
#bm-design .bm-controls{flex-wrap:wrap}
#bm-design .bm-bottom-nav button{font-size:11px}
@media(max-width:360px){#bm-design .bm-bonus-card{padding:18px}#bm-design .bm-card-top img{width:90px}#bm-design .bm-controls button{flex-basis:28%}}
#bm-design .bm-linked-phone{display:flex;align-items:center;gap:7px;font-size:11px;line-height:1.6;color:#62645e;margin-top:16px}
#bm-design .bm-linked-phone svg{flex-shrink:0;width:16px;height:16px}
#bm-design .bm-contact-request{padding:22px 18px;border:1px solid #e5e6df;border-radius:22px;background:#fafbf7;text-align:center}
#bm-design .bm-contact-request .bm-loyalty-symbol{margin:0 auto;background:#e1f1fa;color:#245d7c}
#bm-design .bm-request-kicker{font-size:12px;color:#62645e;margin-top:16px}
#bm-design .bm-contact-request h2{margin-top:10px}
#bm-design .bm-request-phone{font-size:18px;font-weight:600;margin:22px 0;white-space:nowrap}
#bm-design .bm-contact-request .bm-primary{font-size:14px}


body{margin:0;background:#fff}#bm-design{padding:0}#bm-design .bm-phone{border:0;border-radius:0;margin:auto;max-width:520px}#bm-design .bm-photo-empty{display:flex;align-items:center;justify-content:center;height:100%;padding:16px;font-size:13px;color:#62645e}#bm-design .bm-bottom-nav button{font-size:13px;min-height:44px}#bm-design .bm-options{flex-wrap:wrap}#bm-design .bm-option{min-width:90px}#bm-design .bm-note{font-size:14px}#bm-design button{cursor:pointer}#bm-design .bm-detail-title p{white-space:pre-line}
#bm-design .bm-tabs{flex-wrap:nowrap;overflow-x:auto;max-width:100%;scrollbar-width:none;padding:0 18px 18px;gap:8px;overscroll-behavior-x:contain}
#bm-design .bm-tabs::-webkit-scrollbar{display:none}
#bm-design .bm-tabs button{flex:0 0 auto;white-space:nowrap;min-height:44px;padding:12px 16px}

html{
  --bm-footer-bottom:max(8px,env(safe-area-inset-bottom));
  --bm-footer-space:calc(var(--bm-footer-height,160px) + var(--bm-footer-bottom) + 8px);
  scroll-padding-bottom:var(--bm-footer-space);
}
#bm-design .bm-content{min-height:100dvh;padding-bottom:var(--bm-footer-space)}
#bm-design .bm-order-access{margin:0 18px 16px;padding:12px 14px;background:#f7e9cc;border-radius:12px;font-size:13px;line-height:1.5}
#bm-design .bm-point{display:block;margin:0 18px 18px;font-size:12px;color:#62645e}
#bm-design .bm-point select{display:block;width:100%;min-height:44px;border:1px solid #dedfd7;border-radius:12px;background:#fff;padding:10px;color:#1c1c1c;margin-top:6px}
#bm-design .bm-feedback{background:#f7e9cc;padding:12px 14px;border-radius:12px;font-size:13px;line-height:1.55;margin:12px 18px;overflow-wrap:anywhere}
#bm-design .bm-body .bm-feedback{margin:12px 0}
#bm-design .bm-pairings{margin:0 18px 22px;background:#f5f4ec;border-radius:18px;padding:16px}
#bm-design .bm-pairings h2{font-size:19px;letter-spacing:-.5px}
#bm-design .bm-link{background:none;border:0;min-height:44px;padding:10px 0;text-decoration:underline;text-underline-offset:3px;font-size:13px}
#bm-design .bm-pairing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
#bm-design .bm-pairing-grid article{display:flex;flex-direction:column;align-items:stretch;background:#fff;border-radius:12px;padding:12px;min-width:0}
#bm-design .bm-pairing-grid article:only-child{grid-column:1/-1}
#bm-design .bm-pairing-grid h3{font-size:15px;line-height:1.4;margin:6px 0 14px;overflow-wrap:anywhere}
#bm-design .bm-pairing-reason{color:#426c39;font-size:11px;line-height:1.5}
#bm-design .bm-offer-photo{height:80px;background:#f4ebdf;border-radius:8px;overflow:hidden;margin-bottom:10px}
#bm-design .bm-offer-photo img{width:100%;height:100%;object-fit:cover}
#bm-design .bm-offer-photo .bm-photo-empty{font-size:10px;padding:8px}
#bm-design .bm-offer-portion{font-size:11px;color:#62645e;line-height:1.4;margin-bottom:10px}
#bm-design .bm-pairing-grid .bm-secondary{margin-top:auto;padding:10px 8px;font-size:12px;background:#f7e9cc}
#bm-design .bm-modifiers{border-top:1px solid #ededeb}
#bm-design .bm-modifier{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid #ededeb}
#bm-design .bm-modifier>div:first-child{min-width:0;flex:1}
#bm-design .bm-modifier strong{font-size:14px;overflow-wrap:anywhere}
#bm-design .bm-modifier small{display:block;font-size:12px;color:#62645e;margin-top:4px}
#bm-design .bm-modifier .bm-option{flex:0 0 auto;min-width:88px}
#bm-design .bm-field legend small{font-weight:400;color:#62645e}
@media(max-width:360px){#bm-design .bm-pairings{margin-left:12px;margin-right:12px;padding:12px}#bm-design .bm-pairing-grid{gap:8px}#bm-design .bm-pairing-grid article{padding:10px}#bm-design .bm-modifier .bm-stepper button{width:36px;min-height:44px}}

.bm-email-label{display:block;font-weight:700;margin:24px 0 10px}.bm-body input[type=email]{display:block;width:100%;box-sizing:border-box;min-height:52px;padding:14px 16px;border:1px solid #777;border-radius:14px;font:inherit;background:#fff;color:#1b1b1b}.bm-body input[type=email]:focus{outline:3px solid #dcbc2c;outline-offset:2px}.bm-primary:disabled{opacity:.55;cursor:wait}.bm-order-state{padding-top:32px}.bm-order-state h2{font-size:28px;line-height:1.15}.bm-order-state>p{line-height:1.55}.bm-order-amount{font-size:36px;font-weight:800;margin:0 0 20px}.bm-footer>.bm-primary+.bm-primary{margin-top:8px}

#bm-design .bm-supplements{margin-top:20px}
#bm-design .bm-supplement{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #ddd}
#bm-design .bm-supplement small{display:block;font-variant-numeric:tabular-nums}
#bm-design .bm-supplement button{min-height:44px}
#bm-design .bm-supplement .bm-stepper button{min-width:44px}
#bm-design .bm-supplement button:disabled{opacity:.45;cursor:default}
#bm-design #order-comment{display:block;width:100%;box-sizing:border-box;padding:14px 16px;border:1px solid #777;border-radius:14px;font:inherit;background:#fff;color:#1b1b1b;resize:vertical}
#bm-design #order-comment:focus{outline:3px solid #dcbc2c;outline-offset:2px}
#bm-design .bm-email-label .bm-note{font-weight:400}

/* Saved recipes and order recovery share the guest brand and existing controls. */
#bm-design .bm-pickup{max-width:58%;overflow-wrap:anywhere}
#bm-design .bm-pickup-note{padding:0 22px 16px;font-size:12px;line-height:1.5;color:#62645e;white-space:pre-line;overflow-wrap:anywhere}
#bm-design .bm-active-order{text-align:left}
#bm-design .bm-active-order span{display:block;min-width:0;overflow-wrap:anywhere}
#bm-design .bm-active-order strong{display:block}
#bm-design .bm-active-order small{display:block;font-size:11px;line-height:1.5;margin-top:4px}
#bm-design .bm-quick-order{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:0 18px 18px}
#bm-design .bm-quick-order button{flex-shrink:0;font-weight:650}
#bm-design .bm-quick-order p{font-size:11px;line-height:1.5;color:#62645e}
#bm-design .bm-save-favorite{width:100%;margin-top:18px}
#bm-design .bm-experience-message{font-size:13px;line-height:1.5;margin:14px 0;overflow-wrap:anywhere}
#bm-design .bm-experience-message[role=alert]{padding:12px;border:1px solid #bd7b66;border-radius:12px;background:#fff4ee}
#bm-design .bm-favorite{padding:20px 0;border-bottom:1px solid #ededeb;overflow-wrap:anywhere}
#bm-design .bm-favorite h2{font-size:18px;line-height:1.3}
#bm-design .bm-favorite p{font-size:12px;color:#62645e;margin-top:6px}
#bm-design .bm-favorite-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}
#bm-design .bm-text-button{min-height:44px;padding:10px;border:0;background:none;text-decoration:underline;text-underline-offset:3px}
#bm-design .bm-bottom-nav button{flex:1 1 auto;min-height:44px;min-width:min-content;white-space:normal;overflow-wrap:normal}
#bm-design .bm-order-info p{white-space:pre-line;overflow-wrap:anywhere}
@media(max-width:360px){#bm-design .bm-bottom-nav{gap:2px}#bm-design .bm-bottom-nav button{font-size:12px;padding-left:1px;padding-right:1px;overflow-wrap:normal}}

/* Guest account: use the existing brand, controls and mobile spacing. */
.bm-profile-label{display:block;margin:20px 0 12px;font-weight:600}
.bm-profile-label input{display:block;width:100%;box-sizing:border-box;margin-top:8px;min-height:48px;padding:12px 14px;border:1px solid #696b63;border-radius:12px;background:#fff;color:#1c1c1c;font:inherit}
.bm-profile-label input:focus-visible{outline:3px solid #518555;outline-offset:2px}
.bm-profile-checkbox{display:flex;align-items:center;gap:10px;min-height:44px;margin:8px 0 12px;font-weight:600}
.bm-profile-checkbox input{width:20px;height:20px;margin:0;accent-color:#518555}

/* Menu discovery and recipe preview retain the cafe brand. */
#bm-design .bm-menu-search{display:block;margin:20px 24px 12px;font-size:13px;font-weight:600}
#bm-design .bm-menu-search input{display:block;width:100%;min-height:48px;margin-top:8px;padding:12px;border:1px solid #696b63;border-radius:12px;background:#fff;font:inherit;color:#1c1c1c}
#bm-design .bm-menu-search input:focus-visible{outline:3px solid #518555;outline-offset:2px}
#bm-design .bm-recipe-total{margin:20px 0;font-size:16px}
#bm-design .bm-recipe-total small{display:block;margin-top:6px;font-size:12px;line-height:1.5;color:#62645e}

#bm-design .bm-price-pair{display:inline-flex;flex-wrap:wrap;align-items:baseline;column-gap:6px;max-width:100%}
#bm-design .bm-price-pair .bm-old-price{font-weight:400;white-space:nowrap}
#bm-design .bm-price-final{color:#921b27;font-weight:750;white-space:nowrap}
#bm-design .bm-option[aria-pressed=true] .bm-price-final{background:#f9dadd;border-radius:4px;padding-inline:3px}
#bm-design .bm-primary:has(.bm-price-pair){flex-wrap:wrap;column-gap:6px;row-gap:3px}

#bm-design .bm-history-order{padding:20px 0;border-bottom:1px solid #deded8;overflow-wrap:anywhere}
#bm-design .bm-history-order h2{font-size:18px}#bm-design .bm-history-order h3{font-size:16px;margin-top:14px}
#bm-design .bm-history-order p,#bm-design .bm-history-order li{font-size:13px;line-height:1.6}
#bm-design .bm-history-order ul{padding-left:18px;margin:12px 0}
#bm-design .bm-history-order .bm-row{gap:12px;flex-wrap:wrap}

#bm-design .bm-nutrition{padding:16px 0;border-bottom:1px solid #deded8}
#bm-design .bm-nutrition h3{font-size:16px}#bm-design .bm-nutrition p{font-size:12px;line-height:1.5;margin-top:8px}
#bm-design .bm-nutrition dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}
#bm-design .bm-nutrition dt{font-size:12px;color:#62645e}#bm-design .bm-nutrition dd{margin:4px 0 0;font-size:15px;font-weight:600}

#bm-design .bm-profile-actions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}

#bm-design .bm-content-strip{margin:20px 18px}
#bm-design .bm-content-strip h2{font-size:20px;margin-bottom:12px}
#bm-design .bm-content-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#bm-design .bm-content-card{min-width:0;text-align:left;padding:14px;border:1px solid #deded8;border-radius:18px;background:#f3f3f0;overflow-wrap:anywhere}
#bm-design .bm-content-card small,#bm-design .bm-content-card strong{display:block;margin-top:8px}
#bm-design .bm-content-card small{color:#62645e;font-size:12px}
#bm-design .bm-content-card strong{font-size:16px}
#bm-design .bm-content-image{display:block;width:100%;max-height:300px;object-fit:cover;border-radius:12px}
#bm-design .bm-content-card .bm-content-image{height:110px}
#bm-design .bm-content-detail h2{margin:12px 0;font-size:23px}
#bm-design .bm-content-detail p{line-height:1.6;margin-bottom:14px}
#bm-design .bm-content-body{white-space:pre-line;overflow-wrap:anywhere}
#bm-design .bm-votes{display:grid;gap:10px;margin:18px 0}
#bm-design .bm-vote{min-height:48px;border:1px solid #deded8;border-radius:12px;background:#f3f3f0;text-align:left;padding:12px}
#bm-design .bm-vote[aria-pressed=true]{background:#dcefdc;border-color:#57aa5b}
#bm-design .bm-preferred{margin-top:24px;padding-top:18px;border-top:1px solid #deded8}
#bm-design .bm-preferred p{margin:12px 0;line-height:1.5}
#bm-design .bm-support-link{display:block;width:fit-content;padding:12px 0;margin-top:12px;min-height:44px;color:#1c1c1c;text-underline-offset:3px}

#bm-design .bm-composition{padding:12px 0}#bm-design .bm-composition summary{min-height:44px;padding:12px 0;cursor:pointer;font-weight:600}#bm-design .bm-composition p{white-space:pre-line;overflow-wrap:anywhere;line-height:1.6}

/* Compact guest catalog */
#bm-design .bm-catalog .bm-head{min-height:54px;padding:4px 16px;box-sizing:border-box}
#bm-design .bm-catalog .bm-logo{width:90px;height:44px;object-fit:contain}
#bm-design .bm-catalog-search-toggle{min-height:44px;padding:0 12px;background:transparent;border:0;border-radius:10px;font-weight:650}
#bm-design .bm-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#bm-design .bm-catalog-location{margin:0 16px 7px;line-height:24px;font-size:14px;font-weight:630;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#bm-design .bm-point-compact{margin:0 16px 7px}
#bm-design .bm-point-compact select{min-height:44px;margin:0;padding:6px 12px;font:inherit;font-size:14px}
#bm-design .bm-point-confirm{margin:0 16px 10px;padding:12px;background:#f2f3ed;border-radius:12px}
#bm-design .bm-point-confirm p{margin-bottom:8px}
#bm-design .bm-point-confirm button{min-height:44px;margin-right:8px}
#bm-design .bm-catalog .bm-menu-search{margin:0 16px 8px}
#bm-design .bm-catalog .bm-tabs{padding:0 16px 8px}
#bm-design .bm-catalog .bm-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 16px 12px}
#bm-design .bm-catalog .bm-product-photo{aspect-ratio:1;border-radius:16px}
#bm-design .bm-catalog .bm-product-info{display:block;min-height:44px;padding:4px 0;text-align:left}
#bm-design .bm-catalog .bm-product-info h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:16px;line-height:1.16}
#bm-design .bm-catalog-price{display:flex;min-height:44px;align-items:center;justify-content:space-between;gap:4px;font-size:15px}
#bm-design .bm-catalog-add{flex:none;width:44px;height:44px;padding:0;border:0;border-radius:12px;background:#dcbc2c;color:#1c1c1c;font-size:22px;font-weight:650}
#bm-design .bm-catalog-add:disabled{opacity:.55}
#bm-design .bm-catalog button:focus-visible{outline:2px solid #518555;outline-offset:2px}
#bm-design .bm-catalog .bm-active-order{width:calc(100% - 32px);min-height:44px;margin:0 16px 8px;padding:8px 12px;font-size:13px}
#bm-design .bm-catalog .bm-active-order span{font-size:12px;text-align:right}
#bm-design .bm-catalog .bm-active-order .bm-active-order-details{text-align:left}
#bm-design .bm-catalog-promotion{margin:0 16px 8px;padding:10px 12px;border-radius:12px;background:#f8e9a7;font-size:13px}
#bm-design .bm-catalog-promotion p{margin-top:3px;overflow-wrap:anywhere}
#bm-design .bm-catalog .bm-hero{margin:12px 16px}
#bm-design .bm-catalog .bm-hero h2{font-size:20px;line-height:1.1}
#bm-design .bm-catalog-actions{display:flex;gap:2px}

#bm-design .bm-order-progress{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));list-style:none;margin:16px -12px 22px;padding:0}
#bm-design .bm-order-progress::before{content:"";position:absolute;top:15px;left:10%;right:10%;height:2px;background:linear-gradient(to right,#518555 var(--confirmed-line,0%),#e7e7e1 var(--confirmed-line,0%))}
#bm-design .bm-order-progress li{position:relative;min-width:0;text-align:center}
#bm-design .bm-order-progress-node{display:grid;place-items:center;width:32px;height:32px;margin:0 auto;border-radius:50%;background:#e7e7e1;color:#696b63}
#bm-design .bm-order-progress-node svg{width:16px;height:16px}
#bm-design .bm-order-progress-label{display:block;margin-top:8px;color:#696b63;font-size:11px;line-height:1.3;overflow-wrap:anywhere}
#bm-design .bm-order-progress [data-stage-state="complete"] .bm-order-progress-node{background:#518555;color:#fff}
#bm-design .bm-order-progress [data-stage-state="complete"] .bm-order-progress-label{color:#1c1c1c;font-weight:700}
#bm-design .bm-order-signoff{margin:12px 0;font-weight:650}
#bm-design .bm-order-progress[data-confirmed-stages="2"]{--confirmed-line:25%}
#bm-design .bm-order-progress[data-confirmed-stages="3"]{--confirmed-line:50%}
#bm-design .bm-order-progress[data-confirmed-stages="4"]{--confirmed-line:75%}
#bm-design .bm-order-progress[data-confirmed-stages="5"]{--confirmed-line:100%}

#bm-design .bm-featured-close{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:#fff}
#bm-design .bm-featured-close svg,#bm-design .bm-featured-banner svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#bm-design .bm-featured-banner{display:flex;align-items:center;gap:10px;width:calc(100% - 32px);margin:0 16px 8px;padding:6px 14px;min-height:66px;border:0;border-radius:16px;background:#edcd40;text-align:left}
#bm-design .bm-featured-banner>span{flex:1;min-width:0}
#bm-design .bm-featured-banner strong,#bm-design .bm-featured-banner small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#bm-design .bm-featured-banner strong{font-size:22px;line-height:1.15;letter-spacing:-.6px}
#bm-design .bm-featured-banner small{font-size:14px}
#bm-design .bm-featured-banner img{width:54px;height:54px;object-fit:cover;border-radius:10px}
#bm-design .bm-featured-banner svg{flex:none;width:16px}
#bm-design #bm-featured-dialog{width:min(348px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:0;border:0;border-radius:22px;background:white;color:inherit;overflow:auto;overscroll-behavior:contain}
#bm-featured-dialog::backdrop{background:#201b188c}
#bm-design .bm-featured-art{position:relative;height:134px;overflow:hidden;background:#edcd40}
#bm-design .bm-featured-art img{display:block;margin:8px auto;height:calc(100% - 16px);max-width:76%;object-fit:contain;border-radius:12px}
#bm-design .bm-featured-art.bm-no-art{height:54px}
#bm-design .bm-featured-close{position:absolute;right:6px;top:6px}
#bm-design .bm-featured-body{padding:20px;overflow-wrap:anywhere}
#bm-design .bm-featured-body small{font-size:14px;font-weight:650}
#bm-design .bm-featured-body h2{margin:4px 0 8px;font-size:27px;line-height:1.1;letter-spacing:-.7px}
#bm-design .bm-featured-body p{font-size:15px;white-space:pre-line}
#bm-design .bm-featured-price{font-weight:650;margin-top:8px}
#bm-design .bm-featured-body button{margin-top:14px}

/* Кнопка оплаты СБП, утверждена 27.11.2026 (#40). */
#bm-design {
  --bm-pay-bg: var(--bm-yellow);
  --bm-pay-bg-pressed: #c4a51f;
  --bm-pay-text: #1c1c1c;
  --bm-pay-off-bg: #ecece8;
  --bm-pay-off-text: #55574f;
  --bm-pay-plate: #fff;
}
#bm-design[data-theme="dark"] {
  --bm-pay-off-bg: #35352f;
  --bm-pay-off-text: #c9cbc0;
}
#bm-design .bm-sbp {
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 6px 6px 18px;
  border: 0;
  border-radius: var(--bm-radius);
  background: var(--bm-pay-bg);
  color: var(--bm-pay-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  overflow-wrap: anywhere;
}
#bm-design .bm-sbp-label { display: flex; align-items: center; gap: 10px; min-width: 0; }
/* Плашка задаёт защитное поле: две толщины штриха знака при высоте 40 px — 10 px. */
#bm-design .bm-sbp-plate {
  flex: none;
  display: block;
  padding: 10px;
  border-radius: 12px;
  background: var(--bm-pay-plate);
}
#bm-design .bm-sbp-plate img { display: block; height: 40px; width: auto; }
#bm-design .bm-sbp:active:not(:disabled) { background: var(--bm-pay-bg-pressed); }
/* Знак не бледнеет: общее правило button:disabled с opacity здесь отменено. */
#bm-design .bm-sbp:disabled { opacity: 1; cursor: default; background: var(--bm-pay-off-bg); color: var(--bm-pay-off-text); }
#bm-design .bm-sbp[aria-busy="true"] { cursor: wait; background: var(--bm-pay-bg); color: var(--bm-pay-text); }
#bm-design .bm-sbp-spin {
  flex: none;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: bm-sbp-spin .8s linear infinite;
}
@keyframes bm-sbp-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  #bm-design .bm-sbp-spin { animation: none; }
}

#bm-design .bm-sbp-reason {
  margin: 0;
  color: #55574f;
  font-size: 13px;
  overflow-wrap: anywhere;
}
@media (prefers-color-scheme: dark) {
  #bm-design:not([data-theme="light"]) {
    --bm-pay-off-bg: #35352f;
    --bm-pay-off-text: #c9cbc0;
  }
}
#bm-design .bm-footer > .bm-sbp ~ [data-action="refresh-order"] {
  min-height: 44px;
  background: #f3f3f0;
  color: #33342f;
}

#bm-design .bm-product-details{margin:0;padding:14px 0;display:grid;gap:8px;border-bottom:1px solid #deded8}
#bm-design .bm-product-details div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 16px}
#bm-design .bm-product-details dt{color:#62645e}
#bm-design .bm-product-details dd{margin:0;font-weight:600;white-space:pre-line}

#bm-design .bm-pagehead .bm-back { width: 44px; height: 44px }
#bm-design .bm-modifier .bm-stepper button { min-width: 44px; min-height: 44px }
#bm-design .bm-serving { margin-top: 18px }
#bm-design .bm-serving-toggle,
#bm-design .bm-milk-option {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 12px;
 width: 100%;
 min-height: 48px;
 padding: 10px 0;
 border: 0;
 border-bottom: 1px solid #ededeb;
 background: #fff;
 color: inherit;
 text-align: left;
}
#bm-design .bm-serving-toggle small { display: block; margin-top: 4px }
#bm-design .bm-serving-toggle > span:last-child { font-size: 13px; font-weight: 650 }
#bm-design .bm-milk-option[aria-pressed=true] { box-shadow: inset 3px 0 #dcbc2c; padding-left: 10px }
#bm-design .bm-milk-option small { color: #62645e; text-align: right }
#bm-design .bm-cart-line-actions { display: flex; gap: 16px }
#bm-design .bm-undo-remove { margin-left: 22px }
#bm-design .bm-comment-preview { margin-top: 16px }
#bm-design .bm-comment-preview p { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 6px }

#bm-design .bm-santa-entry { padding: 8px 18px 14px }
#bm-design .bm-santa-entry button { font-weight: 650 }
#bm-design .bm-santa > p { margin: 0 0 16px; line-height: 1.55 }
#bm-design .bm-santa-rules { line-height: 1.55; overflow-wrap: anywhere }
#bm-design .bm-santa-rules > :is(h2,h3,p,ol,ul) { margin: 0 0 16px }
#bm-design .bm-santa-rules h2 { font-size: 20px; line-height: 1.25 }
#bm-design .bm-santa-rules h3 { font-size: 17px; line-height: 1.3 }
#bm-design .bm-santa-rules :is(ol,ul) { padding-inline-start: 1.5em }
#bm-design .bm-santa-rules li + li { margin-top: 10px }
#bm-design .bm-santa-status { margin-top: 18px; padding: 16px; border-radius: 12px; background: #f3f3f0 }
#bm-design .bm-santa-code { display: block; margin: 12px 0; font-size: 24px; letter-spacing: .12em }

#bm-design .bm-featured-art.bm-santa-art{height:min(202px,36dvh)}
#bm-design .bm-santa-art img{margin:0;width:100%;height:100%;max-width:none;border-radius:0;object-fit:cover}
#bm-design .bm-santa-promotion{margin:12px 18px 0}
#bm-design .bm-santa-promotion p{margin:8px 0 12px}

#bm-design .bm-syrup-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) }
#bm-design .bm-syrup-choice { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px; min-width: 0 }
#bm-design .bm-syrup-options .bm-option { min-width: 0; overflow-wrap: anywhere }
#bm-design .bm-syrup-choice .bm-stepper button { min-width: 44px; min-height: 44px }

.bm-promo-stories{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x proximity;padding:4px 16px 8px}
.bm-promo-story{position:relative;isolation:isolate;overflow:hidden;flex:0 0 min(44%,172px);height:136px;border:0;border-radius:16px;background:#674322;color:white;text-align:left;padding:11px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;scroll-snap-align:start;cursor:pointer}
.bm-promo-story img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.bm-promo-story::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 30%,rgba(25,16,8,.9));z-index:-1}
.bm-promo-story .bm-promo-story-label{font-size:11px;color:#282212;background:#ffe269;padding:3px 7px;border-radius:12px}
.bm-promo-story strong{color:white;font-size:18px;line-height:1.08;overflow-wrap:anywhere}

/* Website uses the same guest column. */
body.bm-site #bm-design .bm-login{display:flex;flex-direction:column;gap:10px}
body.bm-site #bm-design .bm-login .bm-profile-label{margin:8px 0 4px}
body.bm-site #bm-design .bm-demand-note+.bm-secondary{margin-top:8px}
body.bm-site #bm-design noscript p{padding:16px;text-align:center}
@media(min-width:521px){body.bm-site{background:#f3f3f0}body.bm-site #bm-design .bm-phone{border-inline:1px solid #e4e4df}}

/* Гостевой интерфейс «У Макса». */
body, body.bm-site, #bm-design .bm-phone {
  background: #f8f6f1;
}
#bm-design .bm-catalog .bm-hero {
  min-height: 90px;
  margin: 8px 16px 14px;
  grid-template-columns: 1fr 35%;
  border-radius: 20px;
  background: #f3e5c8;
}
#bm-design .bm-hero .bm-art {
  height: 90px;
  object-fit: contain;
}
#bm-design .bm-catalog .bm-hero h2 {
  font-size: 24px;
  letter-spacing: -.04em;
}
#bm-design .bm-footer {
  position: fixed;
  bottom: var(--bm-footer-bottom);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: grid;
  gap: 8px;
  width: min(calc(100% - 20px), 500px);
  padding: 6px 10px;
  border: 1px solid #dbd7cb;
  border-radius: 22px;
  background: #fffdf8;
  box-shadow: 0 5px 20px #42341820;
}
#bm-design .bm-bottom-nav {
  padding: 0;
}
#bm-design .bm-bottom-nav button {
  justify-content: center;
  color: #504d43;
  border-radius: 16px;
}
#bm-design .bm-bottom-nav [aria-current="page"] {
  background: #e9d477;
  color: #242017;
}
#bm-design .bm-catalog .bm-tabs button {
  border: 1px solid #ddd8ce;
  border-radius: 18px;
  background: #fffdf8;
}
#bm-design .bm-catalog .bm-tabs [aria-pressed="true"] {
  background: #27251e;
  color: white;
}
#bm-design .bm-catalog .bm-product {
  padding: 5px 5px 8px;
  border-radius: 20px;
  background: #fffdf8;
}
#bm-design .bm-catalog-price, #bm-design .bm-catalog .bm-product-info {
  padding-inline: 6px;
}
#bm-design .bm-detail-photo { border-radius: 20px; margin-inline: 16px; overflow: hidden; }
#bm-design .bm-order-state { background: #f8f6f1; }
@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  #bm-design .bm-footer {
    background: rgba(255, 253, 248, .88);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}
@media (prefers-reduced-transparency: reduce) {
  #bm-design .bm-footer { background: #fffdf8; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

#bm-design .bm-grind { display:grid; gap:8px; margin:20px 0; font-weight:700 }
#bm-design .bm-grind select { width:100%; min-height:48px; padding:8px 12px; border:1px solid #dedbd1; border-radius:12px; color:#25231f; background:#fffdf8; font:inherit; font-weight:500 }

/* Keep registration fields and actions in one scrollable document when the keyboard opens. */
#bm-design .bm-registration + .bm-footer {
  position: static;
  transform: none;
  width: auto;
  margin-inline: 10px;
}
#bm-design .bm-content:has(.bm-registration) { padding-bottom: env(safe-area-inset-bottom); }
#bm-design .bm-registration input { font-size: 16px; }

#bm-design .bm-account{display:grid;gap:24px}
#bm-design .bm-account-data,#bm-design .bm-account-links{min-width:0;background:white;border:1px solid #e4e0d9;border-radius:18px}
#bm-design .bm-account-data{display:grid;gap:14px;padding:18px;overflow-wrap:anywhere}
#bm-design .bm-account-data :is(h2,p){margin:0}
#bm-design .bm-account-links{padding:0 16px}
#bm-design .bm-account-links button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:52px;border:0;background:transparent;text-align:left;color:inherit;font:inherit;font-weight:600;padding:12px 2px}
#bm-design .bm-account-links button+button{border-top:1px solid #e4e0d9}
#bm-design .bm-account-links button::after{content:"";width:7px;height:7px;border:solid #746f64;border-width:1.5px 1.5px 0 0;transform:rotate(45deg);margin-right:4px;flex:none}
