:root{--bg:#070b14;--bg2:#0b1120;--card:rgba(255,255,255,.07);--card2:rgba(255,255,255,.11);--text:#f7fbff;--muted:#9fb1c8;--line:rgba(255,255,255,.12);--neon:#41f3ff;--pink:#ff4fd8;--lime:#99ff6b;--warn:#ffcc66;--danger:#ff5b7a;--radius:24px;--shadow:0 22px 60px rgba(0,0,0,.38)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Arial;background:radial-gradient(circle at top left,#11284a 0,#070b14 42%,#05070d 100%);color:var(--text);min-height:100vh}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}button,input,select,textarea{font:inherit}input,select,textarea{width:100%;background:rgba(255,255,255,.08);border:1px solid var(--line);border-radius:16px;color:var(--text);padding:13px 14px;outline:none}textarea{resize:vertical}.glass{background:linear-gradient(145deg,rgba(255,255,255,.11),rgba(255,255,255,.045));border:1px solid var(--line);box-shadow:var(--shadow);backdrop-filter:blur(18px)}.topnav{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;padding:14px clamp(14px,3vw,34px);background:rgba(7,11,20,.78);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;font-weight:900;letter-spacing:.2px}.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:14px;background:linear-gradient(135deg,var(--neon),var(--pink));color:#07101c;box-shadow:0 0 22px rgba(65,243,255,.35)}.dot{color:var(--neon)}.navlinks{display:flex;gap:10px;align-items:center}.navlinks a{padding:10px 12px;border-radius:14px;color:var(--muted)}.navlinks a.active,.navlinks a:hover,.pill{background:rgba(255,255,255,.09);color:var(--text)}.btn{border:1px solid var(--line);border-radius:16px;padding:11px 16px;background:rgba(255,255,255,.09);color:var(--text);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.2s}.btn:hover{transform:translateY(-1px);background:rgba(255,255,255,.14)}.btn.primary{border-color:transparent;background:linear-gradient(135deg,var(--neon),var(--pink));color:#06101e;font-weight:900}.btn.ghost{background:transparent}.btn.mini{padding:7px 10px;border-radius:12px;font-size:12px}.btn.full{width:100%}.container{max-width:1180px;margin:0 auto;padding:34px 18px}.hero{display:grid;grid-template-columns:1.1fr .9fr;min-height:520px;align-items:center;gap:30px;padding:60px clamp(18px,5vw,70px);overflow:hidden}.eyebrow{display:inline-flex;color:var(--neon);font-weight:800;text-transform:uppercase;letter-spacing:.12em;font-size:12px}.hero h1,.dash-head h1{font-size:clamp(36px,6vw,78px);line-height:.94;margin:14px 0}.hero p,.dash-head p,.section-head p{color:var(--muted);font-size:18px;max-width:720px}.hero-actions,.actions{display:flex;gap:12px;flex-wrap:wrap}.hero-orb{height:360px;border-radius:50%;background:radial-gradient(circle,var(--neon),transparent 58%);filter:drop-shadow(0 0 50px rgba(65,243,255,.4));display:grid;place-items:center;animation:float 6s ease-in-out infinite}.cart-planet{width:190px;height:190px;border-radius:50%;display:grid;place-items:center;font-size:62px;background:rgba(255,255,255,.13);border:1px solid var(--line);position:relative}.cart-planet span{position:absolute;bottom:34px;font-size:14px;color:var(--lime);text-transform:uppercase;font-weight:900}@keyframes float{50%{transform:translateY(-16px) rotate(2deg)}}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}.restaurant-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.restaurant-card{border-radius:var(--radius);overflow:hidden;transition:.25s}.restaurant-card:hover{transform:translateY(-4px)}.cover{height:168px;background-size:cover;background-position:center;position:relative}.badge{display:inline-flex;background:rgba(0,0,0,.55);border:1px solid var(--line);padding:7px 10px;border-radius:999px;font-size:12px;font-weight:900}.cover .badge{position:absolute;top:12px;left:12px}.badge.neon{background:rgba(65,243,255,.12);color:var(--neon)}.restaurant-row{display:flex;gap:14px;align-items:center;padding:16px}.restaurant-logo{width:64px;height:64px;min-width:64px;border-radius:20px;background:#fff;display:grid;place-items:center;padding:8px;overflow:hidden}.restaurant-logo img{width:100%;height:100%;object-fit:contain}.restaurant-logo.big{width:110px;height:110px;border-radius:32px}.restaurant-row h3{margin:0 0 4px}.restaurant-row p{margin:0;color:var(--muted);font-size:13px}.restaurant-hero{min-height:320px;background-size:cover;background-position:center;display:flex;align-items:end;gap:20px;padding:46px clamp(18px,5vw,70px)}.restaurant-hero h1{font-size:clamp(34px,5vw,68px);margin:8px 0}.restaurant-hero p{color:var(--muted)}.menu-layout{display:grid;grid-template-columns:210px 1fr 320px;gap:18px;padding:20px;align-items:start}.category-rail{position:sticky;top:84px;border-radius:22px;padding:12px;display:flex;flex-direction:column;gap:10px}.cat-chip{border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.06);color:var(--text);padding:12px;text-align:left;cursor:pointer}.cat-chip.active{background:linear-gradient(135deg,rgba(65,243,255,.28),rgba(255,79,216,.18));border-color:rgba(65,243,255,.5)}.products-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.product-card{border-radius:22px;display:grid;grid-template-columns:145px 1fr;overflow:hidden}.product-img{height:100%;min-height:160px;background:rgba(255,255,255,.06)}.product-img img{width:100%;height:100%;object-fit:cover}.product-body{padding:14px}.product-head{display:flex;justify-content:space-between;gap:10px}.product-head h3{margin:0}.product-body p{color:var(--muted);font-size:14px}.tiny,.small{font-size:12px;color:var(--muted)}.product-foot{display:flex;align-items:center;justify-content:space-between;gap:8px}.btn.add{background:rgba(153,255,107,.16);border-color:rgba(153,255,107,.35)}.cart-panel{position:sticky;top:84px;border-radius:22px;padding:16px}.cart-total{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:14px 0;margin-top:10px}.cart-item{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px dashed var(--line)}.footer{padding:28px;text-align:center;color:var(--muted);border-top:1px solid var(--line);margin-top:40px}.auth-wrap,.setup-shell,.checkout-wrap{min-height:75vh;display:grid;place-items:center;padding:22px}.auth-card,.setup-card,.checkout-card{width:min(820px,100%);border-radius:28px;padding:28px}.stack{display:flex;flex-direction:column;gap:12px}.grid-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.grid-form label{display:flex;flex-direction:column;gap:8px;color:var(--muted);font-weight:700}.span2{grid-column:span 2}.alert{padding:14px;border-radius:14px;margin:12px 0}.alert.danger{background:rgba(255,91,122,.15);border:1px solid rgba(255,91,122,.4)}.dashboard{padding:22px;max-width:1440px;margin:0 auto}.dash-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin:18px 0 22px}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.kpi{border-radius:22px;padding:18px}.kpi span{color:var(--muted)}.kpi strong{display:block;font-size:32px;margin-top:8px}.panel{border-radius:24px;padding:18px;margin:16px 0}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px}table{width:100%;border-collapse:collapse}td,th{border-bottom:1px solid var(--line);padding:12px;text-align:left}th{color:var(--muted)}.table-wrap{overflow:auto}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.cat-mini{padding:8px 10px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid var(--line)}.admin-product,.order-card{display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:12px 0}.orders-list{display:grid;gap:12px}.order-ticket{border:1px solid var(--line);border-radius:18px;padding:14px;background:rgba(255,255,255,.06)}.order-ticket.new{border-color:rgba(153,255,107,.55);box-shadow:0 0 24px rgba(153,255,107,.12)}.pos-shell,.kds-shell{padding:18px}.pos-header,.kds-head{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px}.pos-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.kds-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.kiosk-page{overflow:hidden}.kiosk-shell{display:grid;grid-template-columns:360px 1fr 330px;gap:18px;height:100vh;padding:18px}.kiosk-welcome,.kiosk-cart{border-radius:28px;padding:22px}.kiosk-logo{width:120px;height:120px;object-fit:contain;background:#fff;border-radius:34px;padding:10px}.kiosk-choice{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.kiosk-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;overflow:auto;padding-bottom:40px}.kiosk-product{border-radius:24px;padding:12px;color:var(--text);border:1px solid var(--line);cursor:pointer;text-align:left}.kiosk-product img{width:100%;height:140px;object-fit:cover;border-radius:18px;margin-bottom:10px}.kiosk-product span,.kiosk-product b{display:block}#secretHotspot{position:fixed;right:0;top:0;width:90px;height:90px;z-index:9999}dialog{border:1px solid var(--line);border-radius:24px;background:#101827;color:var(--text);padding:22px}.legal .doc{border-radius:28px;padding:28px}.muted{color:var(--muted)}
.setup-fixed{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0;padding:12px;border-radius:18px}.setup-fixed div{display:flex;flex-direction:column;gap:4px;background:rgba(255,255,255,.055);border:1px solid var(--line);border-radius:14px;padding:12px}.setup-fixed b{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.setup-fixed span{font-weight:900;word-break:break-word}@media(max-width:620px){.setup-fixed{grid-template-columns:1fr}.setup-card{padding:18px}.setup-card h1{font-size:30px}}

/* v1.3 full refactor overrides */
body:before{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at 18% 6%,rgba(65,243,255,.14),transparent 30%),radial-gradient(circle at 85% 8%,rgba(255,79,216,.12),transparent 28%);z-index:-1}.home-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.8fr);gap:36px;align-items:center;min-height:570px;padding:70px clamp(18px,5vw,72px);overflow:hidden}.home-hero:after{content:"DELIVERY OS";position:absolute;right:4vw;top:54px;font-size:clamp(72px,12vw,170px);font-weight:1000;color:rgba(255,255,255,.045);letter-spacing:-.08em;white-space:nowrap;pointer-events:none}.home-hero h1{font-size:clamp(42px,7vw,92px);line-height:.9;margin:16px 0;letter-spacing:-.055em}.hero-radar{position:relative;height:400px;border-radius:42px;display:grid;place-items:center;overflow:hidden}.radar-ring{position:absolute;width:300px;height:300px;border-radius:50%;border:1px solid rgba(65,243,255,.24);box-shadow:0 0 0 45px rgba(65,243,255,.05),0 0 0 90px rgba(255,79,216,.04);animation:spin 12s linear infinite}.radar-chip{position:absolute;padding:10px 12px;border-radius:999px;background:rgba(255,255,255,.11);border:1px solid var(--line);font-weight:900}.radar-chip.c1{top:46px;left:46px}.radar-chip.c2{right:44px;top:110px}.radar-chip.c3{bottom:60px;left:84px}@keyframes spin{to{transform:rotate(360deg)}}.home-stack{max-width:1320px}.section-block{margin-bottom:38px}.recommend-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.recommend-card{overflow:hidden;border-radius:26px;transition:.22s}.recommend-card:hover,.promo-card:hover{transform:translateY(-4px)}.recommend-img{height:150px;background:rgba(255,255,255,.055)}.recommend-img img{width:100%;height:100%;object-fit:cover}.recommend-body{padding:14px}.recommend-body h3{margin:10px 0 6px}.recommend-body p{color:var(--muted);font-size:13px;min-height:36px}.promo-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.promo-card{border-radius:30px;overflow:hidden;transition:.22s}.promo-cover{height:210px;background-size:cover;background-position:center;position:relative}.promo-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent,rgba(0,0,0,.45))}.promo-cover .badge{position:absolute;z-index:2;top:14px;left:14px}.promo-info{display:flex;gap:14px;align-items:center;padding:16px}.promo-info h3{margin:0 0 5px}.promo-info p{margin:0;color:var(--muted)}.restaurant-logo{background:#060606;border:1px solid rgba(255,255,255,.12);box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}.restaurant-logo.logo-light,.logo-light{background:#fff}.restaurant-logo.logo-dark,.logo-dark{background:#050505}.restaurant-logo img{object-fit:contain}.restaurant-hero-v2{position:relative;min-height:300px;background-size:cover;background-position:center;display:flex;align-items:center;gap:22px;padding:46px clamp(18px,5vw,70px);overflow:hidden}.restaurant-hero-v2 .hero-bg-word{position:absolute;right:24px;top:18px;font-size:clamp(58px,10vw,132px);font-weight:1000;letter-spacing:-.08em;color:rgba(255,255,255,.06);white-space:nowrap;z-index:0}.restaurant-hero-v2>*:not(.hero-bg-word){position:relative;z-index:2}.restaurant-hero-copy h1{font-size:clamp(34px,5.2vw,68px);line-height:.98;margin:6px 0 10px;letter-spacing:-.045em}.restaurant-hero-copy p{color:#c7d8f1;margin:0}.hero-meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.hero-meta span{padding:8px 10px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid var(--line);color:#dbe9ff;font-weight:800;font-size:13px}.menu-layout-v2{display:grid;grid-template-columns:220px minmax(0,1fr) 320px;gap:18px;padding:20px;align-items:start;max-width:1500px;margin:0 auto}.products-grid-v2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0}.product-card{min-width:0}.product-card .product-body{min-width:0}.product-card .product-head{align-items:flex-start}.product-card .product-head h3{word-break:break-word}.product-card .product-img img{object-fit:cover}.inline-tools{display:flex;gap:8px;flex-wrap:wrap}.inline-tools input{width:auto}.terminal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.terminal-card,.franchise-card{border:1px solid var(--line);background:rgba(255,255,255,.055);border-radius:20px;padding:14px}.terminal-card{display:flex;flex-direction:column;gap:4px}.franchise-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.franchise-card{display:grid;grid-template-columns:74px 1fr;gap:14px;align-items:center}.mini-stats{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.mini-stats span{font-size:12px;background:rgba(255,255,255,.08);border:1px solid var(--line);border-radius:999px;padding:7px 9px}.btn.loading{pointer-events:none;opacity:.84}.spinner{width:16px;height:16px;border-radius:50%;border:2px solid rgba(0,0,0,.25);border-top-color:#06101e;display:inline-block;animation:spin .8s linear infinite}.btn.ghost .spinner,.btn:not(.primary) .spinner{border-color:rgba(255,255,255,.25);border-top-color:#fff}.ajax-form.is-saving{filter:drop-shadow(0 0 12px rgba(65,243,255,.18))}.wf-toast{position:fixed;right:18px;bottom:18px;z-index:10000;background:rgba(11,17,32,.95);border:1px solid var(--line);box-shadow:var(--shadow);padding:13px 16px;border-radius:16px;color:#fff;transform:translateY(20px);opacity:0;pointer-events:none;transition:.22s}.wf-toast.show{transform:translateY(0);opacity:1}.wf-toast.danger{border-color:rgba(255,91,122,.5);background:rgba(65,20,35,.95)}.cart-pulse{animation:pulseCart .7s ease}@keyframes pulseCart{50%{transform:scale(1.018);box-shadow:0 0 36px rgba(153,255,107,.22)}}.kiosk-logo-wrap{width:120px;height:120px;border-radius:34px;display:grid;place-items:center;padding:10px}.kiosk-logo{width:100%;height:100%;object-fit:contain;background:transparent!important;padding:0!important;border-radius:0!important}

/* v1.6 operational polish */
select, option { background:#182132; color:#fff; }
.select-contrast option[value="light"]{background:#fff;color:#111}.select-contrast option[value="dark"]{background:#05070d;color:#fff}
.hero-admin{background:radial-gradient(circle at top left,rgba(70,230,255,.16),transparent 28%),linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.025));border-radius:28px;padding:24px;border:1px solid rgba(255,255,255,.08)}
.schedule-box{display:flex;flex-direction:column;gap:10px}.schedule-box h3{margin:12px 0 2px;color:#fff}.schedule-row{display:grid;grid-template-columns:120px 120px 1fr 1fr;gap:10px;align-items:center;padding:12px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.035);border-radius:18px}.inline-check{display:flex!important;align-items:center;gap:8px;min-height:44px}.inline-check input{width:auto!important}.check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:rgba(255,255,255,.035)}.attribute-list{display:grid;gap:10px;margin-top:14px}.attribute-card{border:1px solid rgba(255,255,255,.08);border-radius:18px;padding:12px;background:rgba(255,255,255,.04)}.attribute-card b{display:block;color:#fff}.attribute-card span{font-size:12px;color:#b6c4d8}.assign-mini{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:8px}.assign-mini label{display:flex!important;flex-direction:row!important;gap:5px;align-items:center;font-size:12px}.assign-mini input{width:auto!important}.btn.danger{border-color:rgba(255,79,111,.4);background:rgba(255,79,111,.13);color:#fff}
.footer.legal-sticky{position:sticky;bottom:0;z-index:70;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:10px 14px;background:rgba(5,9,18,.96);backdrop-filter:blur(14px);border-top:1px solid rgba(255,255,255,.08)}.footer-main{display:flex;flex-direction:column;gap:3px}.footer-main b{color:#fff}.footer-main span{color:#aab8cf;font-size:12px}.anpc-row{display:flex;gap:10px;align-items:center}.anpc-row img{height:44px;width:auto;max-width:245px;border-radius:8px;background:#fff;display:block}
.recommend-strip{grid-column:1/-1;border:1px solid rgba(255,255,255,.08);background:linear-gradient(135deg,rgba(74,229,255,.09),rgba(255,74,220,.06));border-radius:26px;padding:16px;overflow:hidden}.recommend-strip h2{margin:0 0 12px;color:#fff}.recommend-strip>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.recommend-card{cursor:pointer;text-align:left;border:1px solid rgba(255,255,255,.12);border-radius:20px;padding:14px;background:rgba(255,255,255,.05);color:#fff}.recommend-card span{font-size:11px;color:#57efff;font-weight:900}.recommend-card b{display:block;margin:6px 0}.recommend-card small{color:#dbe5f7}.cart-float-icon{width:46px;height:46px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,#50e8ff,#ff4cdb);box-shadow:0 0 24px rgba(80,232,255,.25);animation:cartbob 2.2s ease-in-out infinite}.cart-pulse{animation:cartpulse .8s ease-out}@keyframes cartbob{50%{transform:translateY(-5px)}}@keyframes cartpulse{0%{transform:scale(1)}35%{transform:scale(1.035)}100%{transform:scale(1)}}
.attr-modal{position:fixed;inset:0;z-index:200;display:none;align-items:flex-end;justify-content:center;background:rgba(0,0,0,.62);padding:16px}.attr-modal.show{display:flex}.attr-sheet{width:min(680px,100%);max-height:86vh;overflow:auto;border-radius:28px;padding:20px;position:relative}.attr-close{position:absolute;right:16px;top:14px;border:0;border-radius:14px;width:38px;height:38px;background:rgba(255,255,255,.09);color:#fff;font-size:24px}.attr-group{padding:12px;border:1px solid rgba(255,255,255,.08);border-radius:20px;margin-bottom:12px;background:rgba(255,255,255,.035)}.attr-group h3{margin:0 0 10px;color:#fff}.attr-group h3 em{font-style:normal;color:#ff86bb;font-size:12px}.attr-group h3 small{color:#aab8cf;font-weight:500}.attr-option{display:grid!important;grid-template-columns:24px 1fr auto;gap:8px;align-items:center;padding:10px;border-radius:14px;background:rgba(255,255,255,.04);margin-top:7px}.attr-option input{width:auto!important}.attr-option b{color:#5cf0ff;font-size:12px}.checkout-friendly{display:grid;grid-template-columns:1fr 330px;gap:18px}.checkout-hero{grid-column:1/-1;padding:18px;border-radius:26px;background:radial-gradient(circle at 10% 0,rgba(80,232,255,.18),transparent 35%),rgba(255,255,255,.04)}.checkout-hero h1{margin:4px 0;color:#fff}.checkout-summary{grid-column:2;grid-row:2;padding:16px;border-radius:24px;position:sticky;top:82px}.checkout-friendly form{grid-column:1;grid-row:2}.soft-hidden{display:none!important}.success-pop{animation:successpop .7s ease-out}@keyframes successpop{0%{transform:scale(.95);opacity:.2}100%{transform:scale(1);opacity:1}}
@media(max-width:900px){.schedule-row{grid-template-columns:1fr 1fr}.check-grid{grid-template-columns:1fr 1fr}.recommend-strip>div{grid-template-columns:1fr 1fr}.checkout-friendly{grid-template-columns:1fr}.checkout-summary,.checkout-friendly form{grid-column:1;grid-row:auto}.footer.legal-sticky{position:relative;flex-direction:column;align-items:flex-start}.anpc-row{width:100%;overflow-x:auto}.anpc-row img{height:38px}.menu-layout-v2{grid-template-columns:1fr!important}.category-rail{position:relative!important;top:auto!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.product-card{min-width:0!important}.restaurant-hero-v2 h1{font-size:clamp(28px,7vw,46px)!important}.hero-bg-word{font-size:64px!important;opacity:.08!important}.restaurant-logo.big{width:92px!important;height:92px!important}.products-grid-v2{min-width:0!important}}
@media(max-width:560px){.schedule-row,.check-grid,.recommend-strip>div{grid-template-columns:1fr}.category-rail{grid-template-columns:1fr!important}.product-card{grid-template-columns:92px minmax(0,1fr)!important}.product-img{width:92px!important;height:92px!important}.product-foot{grid-column:1/-1}.anpc-row img{height:34px}.footer.legal-sticky{padding-bottom:calc(10px + env(safe-area-inset-bottom))}}


/* v1.6.2 fixed sticky footer + centered powered by */
body{padding-bottom:118px!important;}
.footer.legal-sticky{position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:99999!important;display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:center!important;gap:14px!important;padding:8px 14px calc(8px + env(safe-area-inset-bottom))!important;margin-top:0!important;background:rgba(5,9,18,.97)!important;backdrop-filter:blur(18px)!important;border-top:1px solid rgba(255,255,255,.11)!important;box-shadow:0 -14px 38px rgba(0,0,0,.38)!important;}
.footer.legal-sticky .footer-main{grid-column:2!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:2px!important;min-width:260px!important;}
.footer.legal-sticky .footer-main b{font-size:15px!important;color:#fff!important;letter-spacing:.2px!important;}
.footer.legal-sticky .footer-main span{font-size:12px!important;color:#aab8cf!important;}
.footer.legal-sticky .footer-main a{color:#55ecff!important;font-weight:900!important;text-decoration:none!important;}
.footer.legal-sticky .anpc-row{grid-column:3!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;min-width:0!important;}
.footer.legal-sticky .anpc-row img{height:42px!important;width:auto!important;max-width:min(240px,42vw)!important;border-radius:8px!important;background:#fff!important;display:block!important;}
@media(max-width:900px){body{padding-bottom:178px!important;}.footer.legal-sticky{position:fixed!important;grid-template-columns:1fr!important;justify-items:center!important;gap:7px!important;padding:8px 10px calc(8px + env(safe-area-inset-bottom))!important;}.footer.legal-sticky .footer-main{grid-column:1!important;min-width:0!important;}.footer.legal-sticky .anpc-row{grid-column:1!important;width:100%!important;justify-content:center!important;overflow-x:auto!important;}.footer.legal-sticky .anpc-row img{height:34px!important;max-width:46vw!important;}}
@media(max-width:560px){body{padding-bottom:174px!important;}.footer.legal-sticky .footer-main b{font-size:14px!important;}.footer.legal-sticky .footer-main span{font-size:11px!important;}.footer.legal-sticky .anpc-row img{height:31px!important;}}

/* v1.6.3 save/media/location isolation fixes */
.restaurant-logo{display:grid;place-items:center;overflow:hidden;flex:0 0 auto;position:relative;color:transparent}
.restaurant-logo img{width:100%;height:100%;object-fit:contain;display:block;padding:10px;box-sizing:border-box}
.restaurant-logo.big{width:118px;height:118px;border-radius:26px}
.restaurant-card .restaurant-logo,.promo-info .restaurant-logo,.franchise-card .restaurant-logo{width:72px;height:72px;min-width:72px;border-radius:18px}
.logo-dark{background:#050505!important}.logo-light{background:#fff!important}.logo-light img{filter:none}.restaurant-logo img:not([src]),.restaurant-logo img[src=""]{visibility:hidden}
.media-current{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:4px 0 8px}.media-current>div{padding:14px;border-radius:20px;border:1px solid var(--line);background:rgba(255,255,255,.045);display:flex;gap:10px;align-items:center;flex-wrap:wrap}.media-current b{width:100%;color:#fff}.media-current small{width:100%;font-size:11px;color:var(--muted);word-break:break-all}.media-current .restaurant-logo{width:90px;height:90px;border-radius:22px}.cover-preview{width:180px;height:90px;border-radius:18px;overflow:hidden;background:#091326;border:1px solid var(--line);display:block}.cover-preview img{width:100%;height:100%;object-fit:cover;display:block}.restaurant-settings-form input[type=file]{padding:13px;background:#111a2a;color:#fff;border:1px dashed rgba(79,224,255,.35)}.attribute-card{display:flex;justify-content:space-between;gap:12px;align-items:center}.inline-delete{display:inline-flex;margin:0}.btn.danger{background:rgba(255,80,112,.12);border-color:rgba(255,80,112,.35);color:#ffd5df}.btn.danger:hover{background:rgba(255,80,112,.22)}.product-create-form{position:relative}.product-attr-box{max-height:260px;overflow:auto;padding:14px;border:1px solid var(--line);border-radius:22px;background:rgba(255,255,255,.04);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:center}.product-attr-box>b{grid-column:1/-1}.product-submit-sticky{position:sticky;bottom:8px;grid-column:1/-1;z-index:5;margin-top:8px}.assign-mini{max-width:520px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}.assign-mini label{font-size:12px;color:var(--muted);display:inline-flex;gap:4px;align-items:center}.admin-product{align-items:flex-start}.admin-product>div:first-child{min-width:220px}.topnav{z-index:1000}.legal-sticky{position:sticky;bottom:0;z-index:900;background:rgba(7,12,24,.96);backdrop-filter:blur(14px);border-top:1px solid rgba(255,255,255,.09)}
@media(max-width:900px){.media-current{grid-template-columns:1fr}.product-attr-box{grid-template-columns:1fr}.restaurant-logo.big{width:92px;height:92px}.restaurant-card .restaurant-logo,.promo-info .restaurant-logo{width:62px;height:62px;min-width:62px}.admin-product{display:grid;grid-template-columns:1fr;gap:10px}}
.footer-main{display:flex!important;align-items:center;justify-content:center;text-align:center;gap:10px;flex-wrap:wrap;width:100%}.footer-main b{letter-spacing:.02em}.footer-main a{color:#67e8ff;font-weight:900}.anpc-row{justify-content:center}
.location-switch{min-width:230px;height:44px;border-radius:16px;border:1px solid var(--line);background:#151d2d;color:#fff;font-weight:800;padding:0 12px}
.product-attr-wrapper{display:grid!important;gap:10px!important;align-items:start!important;}
.product-attr-wrapper>b{color:#fff!important;}
.product-attr-wrapper .product-attr-box{max-height:180px!important;overflow:auto!important;margin:0!important;}
.product-submit-fixed{width:100%!important;position:relative!important;bottom:auto!important;grid-column:1/-1!important;margin-top:0!important;}


/* v1.6.5 fixes: footer must not cover attribute modal; modal visible on desktop/mobile */
.footer.legal-sticky{z-index:90!important;}
body.modal-open{overflow:hidden!important;}
body.modal-open .footer.legal-sticky{display:none!important;}
.attr-modal{z-index:1000000!important;align-items:center!important;justify-content:center!important;padding:18px!important;background:rgba(0,0,0,.72)!important;}
.attr-modal.show{display:flex!important;}
.attr-sheet{width:min(720px,calc(100vw - 28px))!important;max-height:calc(100dvh - 42px)!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;padding:18px!important;border-radius:26px!important;}
.attr-sheet h2{font-size:clamp(20px,3vw,28px)!important;line-height:1.14!important;margin:0 48px 14px 0!important;}
#attrGroups{overflow:auto!important;max-height:calc(100dvh - 180px)!important;padding-right:4px!important;display:flex!important;flex-direction:column!important;gap:12px!important;}
.attr-group{margin:0!important;padding:14px!important;}
.attr-option{min-height:46px!important;grid-template-columns:26px minmax(0,1fr) auto!important;}
.attr-option span{white-space:normal!important;line-height:1.25!important;}
#attrAddBtn{position:sticky!important;bottom:0!important;z-index:2!important;flex:0 0 auto!important;margin-top:14px!important;min-height:52px!important;box-shadow:0 -14px 32px rgba(0,0,0,.22)!important;}
@media(max-width:560px){.attr-modal{align-items:stretch!important;padding:8px!important;}.attr-sheet{width:100%!important;max-height:calc(100dvh - 16px)!important;border-radius:22px!important;padding:14px!important;}#attrGroups{max-height:calc(100dvh - 162px)!important;}.attr-option{font-size:14px!important}.attr-close{right:12px!important;top:10px!important;}}
