.customer-account-button{min-height:44px;padding:8px 12px;border:1px solid #64535b;border-radius:10px;background:#231d25;color:#fff;font:inherit;cursor:pointer}.customer-dialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #584552;border-radius:18px;padding:20px;background:#1b181e;color:#fff}.customer-dialog::backdrop{background:#000b}.customer-dialog header{display:flex;justify-content:space-between;align-items:start;gap:12px}.customer-dialog h2{font-size:24px;line-height:1.25;margin:0 0 16px}.customer-dialog p{color:#e0d6df;line-height:1.55;font-size:15px;overflow-wrap:anywhere}.customer-dialog button,.customer-dialog input,.customer-dialog select,.customer-dialog textarea{font:inherit;min-height:44px;box-sizing:border-box;max-width:100%;border:1px solid #685467;border-radius:10px;padding:10px;background:#302532;color:#fff}.customer-dialog button{cursor:pointer}.customer-dialog button:disabled{cursor:not-allowed;opacity:.6}.customer-dialog .customer-close{font-size:25px;min-width:44px;background:#302532}.customer-provider{display:block;width:100%;margin:10px 0;text-align:center;font-weight:700}.customer-dialog .customer-provider-telegram{background:#116e9a}.customer-dialog .customer-provider-whatsapp{background:#176640}.customer-consent{display:flex;gap:10px;align-items:start;font-size:14px;line-height:1.5;margin:14px 0}.customer-dialog .customer-consent input{min-height:20px;width:20px;height:20px;flex-shrink:0;padding:0;margin:0}.customer-dialog a{color:#ffb16a}.customer-form{display:grid;gap:12px;margin:16px 0}.customer-form input,.customer-form textarea{width:100%}.customer-order{padding:14px;border:1px solid #594652;border-radius:12px;margin:12px 0}.customer-order button{margin:4px 8px 4px 0}.customer-balance,.customer-loyalty-promo{padding:12px;border:1px solid #ff941f;border-radius:10px;background:#30251c}.customer-avatar{width:72px;height:72px;object-fit:cover;border-radius:50%}.customer-dialog :is(button,input,select,textarea,a):focus-visible{outline:3px solid #ff941f;outline-offset:3px}.customer-unavailable{border-left:3px solid #ff941f;padding-left:12px}.customer-bonus-box[hidden]{display:none}.customer-bonus-box input{max-width:100%;box-sizing:border-box;min-height:44px}.customer-bonus-box button{min-height:44px;background:#bc1230;color:#fff;border:0;border-radius:9px;padding:10px 14px;margin-top:8px}.restaurant-brand-logo{max-width:180px;max-height:54px;object-fit:contain}.platform-attribution{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px;padding:18px;font-size:13px;color:#c7bdc8}.platform-attribution img{max-width:130px;max-height:36px;object-fit:contain}@media(max-width:600px){.customer-dialog{padding:16px}.customer-account-button{font-size:13px;padding:8px}.restaurant-brand-logo{max-width:135px;max-height:42px}}
.customer-mobile-account{display:none}@media(max-width:900px){.customer-mobile-account{display:block;width:100%;text-align:left}}

/* Login window: dark card with a soft glowing edge and brand-coloured provider buttons. */
.customer-dialog.customer-auth{width:min(560px,calc(100vw - 24px));padding:28px 44px 40px;border:1px solid #ff941f88;border-radius:32px;background:radial-gradient(120% 80% at 50% 0%,#2c2230,#18151b 70%);text-align:center;box-shadow:0 0 0 1px #ff941f33,0 0 28px #ff941f66,0 0 70px #e8462f44,inset 0 0 30px #ff941f1a;animation:customer-glow 4s ease-in-out infinite}
@keyframes customer-glow{50%{box-shadow:0 0 0 1px #ff941f55,0 0 40px #ff941f88,0 0 90px #e8462f66,inset 0 0 36px #ff941f26}}
@media(prefers-reduced-motion:reduce){.customer-dialog.customer-auth{animation:none}}
.customer-auth header{justify-content:center;position:relative}.customer-auth h2{margin:36px 0 8px;font-size:28px}
.customer-dialog.customer-auth .customer-close{position:absolute;top:0;right:-20px;width:40px;min-width:40px;min-height:40px;height:40px;padding:0;border:1px solid #685467;border-radius:50%;font-size:24px;line-height:1}
.customer-auth .customer-auth-subtitle{margin:0 0 26px;font-size:17px}
.customer-auth .customer-consent{text-align:left;font-size:16px;margin:0 0 32px}.customer-auth .customer-consent span:nth-child(2){flex:1}
.customer-dialog.customer-auth .customer-consent input{appearance:none;width:28px;height:28px;border:1px solid #8a7489;border-radius:50%;background:#302532;margin-top:2px;cursor:pointer}
.customer-dialog.customer-auth .customer-consent input:checked{background:#e8462f radial-gradient(circle,#fff 30%,transparent 33%);border-color:#e8462f;box-shadow:0 0 12px #e8462f}
.customer-auth .customer-consent-required{color:#ff4d4d;font-size:22px}
.customer-dialog.customer-auth .customer-provider{display:flex;align-items:center;justify-content:center;gap:10px;min-height:58px;margin:10px 0;border:0;border-radius:30px;color:#fff;font-size:19px;font-weight:600;transition:transform .15s,filter .15s}
.customer-dialog.customer-auth .customer-provider:hover{transform:translateY(-1px);filter:brightness(1.12)}.customer-provider svg{width:22px;height:22px;flex-shrink:0}
.customer-dialog.customer-auth .customer-provider-telegram{background:#229ed9}.customer-dialog.customer-auth .customer-provider-max{background:linear-gradient(90deg,#4fc8ff,#1f6bff 45%,#a300c8)}
.customer-dialog.customer-auth .customer-provider-vk{background:#0077ff}.customer-dialog.customer-auth .customer-provider-whatsapp{background:#25d366}.customer-dialog.customer-auth .customer-provider-phone{background:#e8462f}
.customer-auth .customer-auth-or{margin:16px 0 6px;color:#a99aa8;font-size:16px}
.customer-auth .customer-form button{background:#e8462f;border:0;border-radius:30px;min-height:54px;font-weight:600}
@media(max-width:600px){.customer-dialog.customer-auth{padding:20px 18px 28px;border-radius:24px}.customer-dialog.customer-auth .customer-close{right:0}.customer-auth h2{font-size:24px}.customer-auth .customer-consent{font-size:15px}}

/* Account: app-style dark profile with a glowing bonus card. */
.customer-dialog.customer-profile{width:min(520px,calc(100vw - 16px));padding:22px 22px 26px;border:1px solid #ff941f55;border-radius:28px;background:radial-gradient(120% 60% at 50% 0%,#2a2030,#17141a 70%);box-shadow:0 0 30px #ff941f33,0 0 80px #e8462f22}
.customer-profile header h2{font-size:26px;margin:4px 0 14px}.customer-dialog.customer-profile .customer-close{width:42px;min-width:42px;height:42px;min-height:42px;padding:0;border-radius:50%;font-size:22px}
.profile-body{display:grid;gap:14px}.profile-icon{display:inline-flex;width:24px;height:24px;flex-shrink:0}.profile-icon svg{width:100%;height:100%}
.profile-top{display:flex;align-items:center;gap:14px}.profile-avatar{width:68px;height:68px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;font-size:28px;font-weight:700;color:#fff;background:linear-gradient(135deg,#ff941f,#e8462f);box-shadow:0 0 18px #e8462f66;overflow:hidden}.profile-avatar img{width:100%;height:100%;object-fit:cover}
.profile-who{display:grid;gap:3px;flex:1;min-width:0}.profile-who strong{font-size:19px;overflow-wrap:anywhere}.profile-who span{color:#b9adb8;font-size:14px}
.customer-dialog .profile-round{width:48px;min-width:48px;height:48px;min-height:48px;padding:12px;border-radius:50%;background:#2c2430;border-color:#4a3c4a;color:#fff}
.customer-dialog .profile-hint{background:#2c2430;border:1px dashed #ff941f88;color:#ffcf9e;text-align:left}
.customer-dialog .profile-bonus{position:relative;display:grid;gap:2px;justify-items:start;padding:18px 20px;border:0;border-radius:22px;text-align:left;color:#fff;background:linear-gradient(120deg,#ff7a3d,#e8462f 55%,#c8102e);box-shadow:0 8px 28px #e8462f55;overflow:hidden}
.profile-bonus::after{content:"";position:absolute;right:-30px;top:-30px;width:140px;height:140px;border-radius:50%;background:radial-gradient(circle,#ffffff40,transparent 70%)}
.profile-bonus-title{font-weight:700;font-size:17px}.profile-bonus-value{font-size:38px;line-height:1.1;margin-top:6px}.profile-bonus-note{font-size:13px;color:#ffe3da}.profile-bonus-link{margin-top:8px;font-size:13px;opacity:.9}
.profile-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.customer-dialog .profile-tile{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:22px;min-height:110px;padding:14px;border:1px solid #3d3240;border-radius:18px;background:#241e27;text-align:left;font-size:14px;line-height:1.25;transition:border-color .2s,transform .15s}
.customer-dialog .profile-tile:hover,.customer-dialog .profile-menu-item:hover{border-color:#ff941f88;transform:translateY(-1px)}.profile-tile .profile-icon{color:#ff941f}
.profile-menu{display:grid;margin-top:4px}.customer-dialog .profile-menu-item{display:flex;align-items:center;gap:14px;padding:14px 4px;border:0;border-bottom:1px solid #2e2631;border-radius:0;background:none;color:#fff;font-size:16px;text-align:left;text-decoration:none}.customer-dialog .profile-menu-item .profile-icon{color:#b9adb8}
.profile-contacts{display:grid;gap:10px;padding-top:6px}.customer-dialog a.profile-contact,.profile-contact{display:flex;align-items:center;gap:10px;margin:0;color:#ff9a6b;font-size:16px;text-decoration:none}.profile-contact .profile-icon{width:20px;height:20px}
.profile-socials{display:flex;gap:10px}.customer-dialog .profile-social{display:grid;place-items:center;width:46px;height:46px;border:1px solid #4a3c4a;border-radius:50%;color:#fff}.profile-social span:not(.about-social-icon){display:none}.profile-social svg{width:22px;height:22px;fill:currentColor}
.customer-dialog .profile-logout{display:flex;align-items:center;justify-content:center;gap:8px;background:none;border:1px solid #4a3c4a;color:#c9bcc8}.customer-dialog .profile-logout:hover{border-color:#e8462f;color:#fff}
.profile-screen-head{display:flex;align-items:center;gap:12px}.profile-screen-head h3{margin:0;font-size:20px}.customer-dialog .profile-back{min-height:38px;padding:6px 12px;border-radius:19px;background:#2c2430}
.profile-list{display:grid;gap:10px}.profile-empty{color:#a99aa8;text-align:center;padding:20px 0}
.profile-order{display:grid;gap:8px;padding:14px;border:1px solid #3d3240;border-radius:18px;background:#211b24}.profile-order-head,.profile-order-foot{display:flex;justify-content:space-between;align-items:center;gap:10px}.profile-order-foot span{color:#a99aa8;font-size:13px}
.profile-order-items{margin:0;color:#ddd2dc;font-size:14px}.profile-status{padding:3px 10px;border-radius:12px;font-size:12px;font-weight:600;background:#3a3040;color:#e0d6df}.profile-status-completed{background:#1f4a32;color:#8fe3b0}.profile-status-cancelled{background:#4a1f24;color:#ff9a9a}.profile-status-delivering,.profile-status-cooking,.profile-status-accepted,.profile-status-ready,.profile-status-new{background:#4a3519;color:#ffc27a}
.customer-dialog .profile-primary{background:linear-gradient(90deg,#ff7a3d,#e8462f);border:0;border-radius:24px;font-weight:600}.customer-dialog .profile-secondary{border-radius:22px;background:#2c2430}
.customer-dialog .profile-link{background:none;border:0;color:#ff9a6b;min-height:36px;padding:4px 8px}.customer-dialog .profile-danger{color:#ff7b7b}.profile-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.profile-label{margin:6px 0 0!important;color:#a99aa8!important;font-size:13px!important;text-transform:uppercase;letter-spacing:.04em}
.profile-switch{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #2e2631;cursor:pointer}.profile-switch input{position:absolute;opacity:0;width:1px;height:1px}
.profile-switch i{position:relative;width:46px;height:26px;flex-shrink:0;border-radius:13px;background:#4a3c4a;transition:.2s}.profile-switch i::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:.2s}
.profile-switch input:checked~i{background:#e8462f;box-shadow:0 0 10px #e8462f88}.profile-switch input:checked~i::after{left:23px}.profile-switch input:focus-visible~i{outline:3px solid #ff941f;outline-offset:2px}
.profile-row{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #2e2631;color:#ddd2dc}.profile-plus{color:#8fe3b0}.profile-minus{color:#ff9a9a}
.profile-add{padding-top:6px;border-top:1px solid #2e2631}
@media(max-width:420px){.customer-dialog.customer-profile{padding:16px}.profile-tiles{gap:8px}.customer-dialog .profile-tile{min-height:96px;padding:10px;font-size:13px}}
