:root{--orange:#ff7119;--ink:#1b1b20;--bg:#f6f7fa}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;touch-action:manipulation}a{text-decoration:none;color:inherit}button,input,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}.wrap{max-width:1110px;padding:0 18px;margin:auto}.top{position:sticky;top:0;z-index:10;background:#f6f7faf0;backdrop-filter:blur(14px);border-bottom:1px solid #e7e7eb}.head{display:flex;align-items:center;gap:16px;justify-content:space-between;padding-top:10px;padding-bottom:10px}.brand{display:flex;align-items:center;gap:9px;white-space:nowrap}.brand img{width:53px;height:53px;border-radius:16px;object-fit:cover}.brand strong{font-size:27px;font-weight:950;letter-spacing:-1px}.brand span{color:var(--orange)}.address{text-align:center;font-size:14px;font-weight:800}.address small{display:block;color:#999;font-weight:500;margin-top:4px}.max{background:#1675ff;color:white;border-radius:22px;padding:13px;font-size:13px;font-weight:800;white-space:nowrap}.max:not([href]){opacity:.5;pointer-events:none}.banners{display:grid;grid-template-columns:1.4fr 1fr;gap:14px;margin:22px 0 30px}.hero{border-radius:30px;background:linear-gradient(125deg,#ff862b,#fc5923);color:white;padding:28px;min-height:260px;position:relative;overflow:hidden}.hero h1{font-size:clamp(29px,5vw,50px);line-height:1.03;margin:12px 0;letter-spacing:-1.5px}.hero h2{font-size:30px;line-height:1.1}.hero p{font-size:15px;line-height:1.5;max-width:350px;position:relative;z-index:1}.eyebrow{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:800;letter-spacing:.8px}.eyebrow img{width:26px;height:26px;border-radius:8px;object-fit:cover}.beer{position:absolute;font-size:145px;right:-5px;bottom:-40px;transform:rotate(-12deg);opacity:.85}.dark{background:#232328}.whiteLink{display:inline-block;border-radius:24px;background:white;color:#222;padding:11px 17px;font-size:14px;font-weight:800}.menuTitle{display:flex;align-items:center;justify-content:space-between;gap:8px}.menuTitle h2{font-size:33px;margin:0}.menuTitle input{border:0;outline:0;background:#e9eaf0;border-radius:17px;width:185px;padding:13px}.tabs{display:flex;gap:7px;overflow:auto;scrollbar-width:none;padding:18px 0}.tabs button{white-space:nowrap;border:0;border-radius:30px;background:transparent;font-weight:800;padding:13px 20px}.tabs button.active{background:#222;color:white}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding-bottom:50px}.card{border:0;background:#eeeff4;border-radius:26px;padding:10px;display:flex;flex-direction:column;min-height:293px;overflow:hidden;text-align:center}.card img{width:100%;aspect-ratio:1.07;object-fit:cover;border-radius:21px}.card strong{font-size:17px;line-height:1.25;margin:14px 5px auto}.card span{background:white;border-radius:30px;padding:12px;margin-top:18px;font-weight:800}.footer{border-top:1px solid #ddd;display:flex;align-items:start;gap:12px;padding-top:24px;padding-bottom:40px;color:#888;font-size:13px}.footer img{width:45px;height:45px;border-radius:12px}.footer strong{color:#222}.footer small{display:block;margin-top:6px}.adminOpen{display:block;background:transparent;border:0;padding:10px 0;color:#777;text-decoration:underline;font-size:12px}.shade{position:fixed;inset:0;background:#0009;z-index:40;display:flex;align-items:center;justify-content:center;padding:12px}.productPanel{position:relative;width:min(510px,100%);max-height:94dvh;overflow:auto;background:white;border-radius:28px}.round{border:0;border-radius:50%;background:#fffffff0;width:43px;height:43px;display:grid;place-items:center;font-size:26px;line-height:1;box-shadow:0 4px 16px #0002}.close{position:absolute;top:12px;left:12px;z-index:2}.photoFrame{position:relative}.photoFrame img{display:block;width:100%;height:320px;object-fit:cover;cursor:zoom-in}.prev,.next{position:absolute;top:50%;transform:translateY(-50%)}.prev{left:10px}.next{right:10px}.counter{position:absolute;bottom:12px;right:12px;border-radius:20px;background:#fffffff0;padding:7px 11px;font-weight:800;font-size:12px}.thumbs{display:flex;gap:10px;overflow:auto;padding:13px 18px}.thumbs button{width:74px;height:62px;border:2px solid transparent;border-radius:12px;padding:0;overflow:hidden;flex-shrink:0}.thumbs button.active{border-color:var(--orange)}.thumbs img{width:100%;height:100%;object-fit:cover}.details{padding:5px 18px 25px}.details h2{font-size:26px;margin:8px 0 10px}.details p{color:#85858c;font-size:14px;line-height:1.5}.location{display:flex;align-items:center;gap:12px;background:#f5f5f7;border-radius:18px;padding:13px;margin:16px 0}.location img{width:44px;height:44px;border-radius:11px}.location strong,.location small{display:block}.location small{margin-top:3px;color:#777}.actions{display:grid;grid-template-columns:1.45fr 1fr;gap:9px}.cta,.call,.primary{min-height:52px;border:0;border-radius:17px;display:grid;place-items:center;text-align:center;padding:12px;font-weight:800;color:white;background:var(--orange)}.call{background:#222}.lightbox{position:fixed;inset:0;background:#000;z-index:60;display:flex;align-items:center;justify-content:center}.lightbox img{width:100%;height:100%;object-fit:contain}.x{position:absolute;top:max(15px,env(safe-area-inset-top));left:15px}.lightPrev,.lightNext{position:absolute;top:50%;transform:translateY(-50%)}.lightPrev{left:10px}.lightNext{right:10px}.lightCounter{bottom:max(15px,env(safe-area-inset-bottom))}.adminShade{z-index:80}.adminPanel{background:#fff;width:min(560px,100%);max-height:94dvh;overflow:auto;border-radius:24px;padding:18px}.adminHeader{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eee;padding-bottom:12px}.adminHeader strong{font-size:22px}.adminHeader small{display:block;color:#999;margin-top:5px}.adminTabs{display:flex;gap:6px;margin:16px 0}.adminTabs button{flex:1;border:0;background:#eee;border-radius:15px;padding:13px 6px;font-size:14px;font-weight:800}.adminTabs button.active{background:#222;color:white}.adminPage{padding:3px 0 14px}label{display:block;font-size:14px;font-weight:750;margin:15px 0}label input,label textarea{display:block;width:100%;margin-top:7px;padding:14px;border:1px solid #ddd;border-radius:13px;font-size:16px;outline-color:var(--orange);background:#fff}label input[type=file]{padding:12px;font-size:14px}.primary{width:100%;font-size:15px}.secondary{background:#eee;color:#222;border:0;border-radius:15px;padding:13px 16px}.buttonRow{display:flex;gap:8px}.buttonRow .primary{flex:1}.editor{background:#f7f7f9;border-radius:18px;padding:14px;margin:14px 0}.editor h3{margin:0}.adminProducts{margin-top:14px}.adminItem{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #eee}.adminItem img{width:64px;height:64px;border-radius:12px;object-fit:cover;background:#eee}.adminItem .itemText{flex:1;min-width:0}.adminItem strong,.adminItem small{display:block;overflow:hidden;text-overflow:ellipsis}.adminItem small{color:#888;margin-top:5px}.adminItem button{border:0;background:#f0f0f2;padding:10px;border-radius:11px;font-size:13px}.adminItem .delete{color:#d33}.photoPreview{display:flex;gap:9px;flex-wrap:wrap}.photoPreview div{position:relative}.photoPreview img{width:75px;height:75px;object-fit:cover;border-radius:10px}.photoPreview button{position:absolute;right:-5px;top:-5px;border:0;border-radius:50%;background:#222;color:#fff;width:22px;height:22px}.logout{border:0;background:transparent;text-decoration:underline;color:#888;padding:14px 0}#notice{color:#b35b12;font-size:13px;min-height:15px}@media(max-width:740px){.wrap{padding:0 14px}.head{gap:7px}.brand img{width:40px;height:40px;border-radius:12px}.brand strong{font-size:21px}.address{font-size:11px}.address small{font-size:10px}.max{font-size:11px;padding:10px}.banners{grid-template-columns:1fr 1fr;gap:8px;margin:12px 0 26px}.hero{border-radius:23px;padding:17px;min-height:219px}.hero h1{font-size:27px}.hero h2{font-size:21px}.hero p{font-size:12px}.beer{font-size:85px;bottom:-14px}.whiteLink{font-size:11px;padding:10px}.menuTitle h2{font-size:28px}.menuTitle input{width:115px}.tabs button{font-size:13px;padding:12px 17px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.card{min-height:248px;padding:8px;border-radius:22px}.card img{aspect-ratio:1}.card strong{font-size:15px}.card span{font-size:12px}.shade{padding:0}.productPanel{width:100%;height:100dvh;max-height:100dvh;border-radius:0}.photoFrame img{height:39dvh}.adminPanel{width:100%;height:100dvh;max-height:100dvh;border-radius:0}.actions{grid-template-columns:1fr 1fr}.cta,.call{font-size:13px}}

/* Mobile-first header refinement: brand and MAX on row one, full-width map address on row two. */
.top .brand,.top .brand:link,.top .brand:visited,.top .brand span{color:#19191d}
.top .address,.top .address:link,.top .address:visited{color:#16171a}
.top .address small{color:#474950}
.top .max,.top .max:link,.top .max:visited{background:#fff;color:#17171a;border:1px solid #dedfe4;box-shadow:0 3px 14px rgba(17,17,17,.05);text-decoration:none}
.top .max:not([href]){opacity:.58;pointer-events:none}
.top .max:hover{background:#f0f1f5}
.top .brand:focus-visible,.top .address:focus-visible,.top .max:focus-visible,.round:focus-visible{outline:3px solid #ffad58;outline-offset:3px}
.top .brand{min-width:0}
.top .brand strong{font-weight:900}
.productPanel .close{font-size:30px;font-weight:400;color:#151515;top:14px;left:14px}
.productPanel .close,.lightbox .x{width:44px;height:44px}
@media(max-width:740px){
  .head{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand max" "address address";gap:8px 12px;padding-top:10px;padding-bottom:10px}
  .head .brand{grid-area:brand;min-width:0;justify-self:start}
  .head .brand img{width:45px;height:45px;border-radius:13px;flex:none}
  .head .brand strong{font-size:23px;overflow:hidden;text-overflow:ellipsis}
  .head .max{grid-area:max;justify-self:end;display:flex;align-items:center;justify-content:center;min-height:42px;min-width:112px;padding:10px 14px;font-size:12px;border-radius:15px}
  .head .address{grid-area:address;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#edeef2;padding:11px 13px;border-radius:14px;font-size:13px;font-weight:750;text-align:left;min-width:0;line-height:1.3}
  .head .address small{display:inline-flex;align-items:center;flex:none;font-size:11px;font-weight:650;white-space:nowrap;margin:0}
  .top{backdrop-filter:blur(12px)}
  .productPanel .close{top:max(14px,env(safe-area-inset-top));left:14px}
}
@media(max-width:360px){
  .head .brand img{width:40px;height:40px}
  .head .brand strong{font-size:21px}
  .head .max{min-width:103px;font-size:11px;padding:9px 10px}
  .head .address{font-size:12px;padding:10px 11px}
  .head .address small{font-size:10px}
}


/* Поиск занимает всё доступное место рядом с «Наше меню». */
.menuTitle{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:12px}
.menuTitle h2{white-space:nowrap;line-height:1.13}
.menuTitle input[type="search"]{width:100%;min-width:0;max-width:none;box-sizing:border-box;-webkit-appearance:none;appearance:none;font-size:16px;color:#17171a}
.menuTitle input[type="search"]::placeholder{color:#777b85}
.menuTitle input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}
.menuTitle input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}
@media(max-width:740px){
  .menuTitle{gap:10px}
  .menuTitle h2{font-size:clamp(21px,6vw,28px);letter-spacing:-.5px}
  .menuTitle input[type="search"]{width:100%;padding:12px 14px;border-radius:15px}
  /* Адрес не должен мешать логотипу и кнопке MAX на узких телефонах. */
  .head .address{overflow:hidden}
}
@media(max-width:400px){
  .head{grid-template-areas:"brand max";row-gap:0}
  .head .address{display:none}
}
