@font-face{font-family:MamamiaSans;src:url('/assets/Roboto-Regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:MamamiaSans;src:url('/assets/Roboto-Medium.woff2') format('woff2');font-weight:500 600;font-display:swap}
@font-face{font-family:MamamiaSans;src:url('/assets/Roboto-Bold.woff2') format('woff2');font-weight:700 900;font-display:swap}

:root{
  --bg:#fff;--surface:#f8f8f8;--surface-2:#f0f0f0;--active:#e8e8e8;--ink:#111;--muted:#8f8f8f;
  --line:#ececec;--dark:#282828;--accent:#82a74c;--brand-brown:#7e5943;--success:#2f8a49;
  --pizza:#f6d7cb;--pasta:#f6ecc8;--salad:#e3edcb;--soup:#f7e3c2;--hot:#efd9c2;
  --snack:#f1e6d2;--dessert:#f6d9e4;--kids:#e6e0f5;--drink:#d8e9f2;--sauce:#e9ebd6;
  --container:1180px;--r-lg:24px;--r:16px;--shadow:0 18px 36px rgba(0,0,0,.10);
}

*{box-sizing:border-box}

html,body{overscroll-behavior-x:contain}
body{margin:0;background:var(--bg);color:var(--ink);font-family:MamamiaSans,Arial,sans-serif;-webkit-font-smoothing:antialiased;overflow-x:hidden}
body.no-scroll{overflow:hidden}
button,input,textarea,select{font:inherit;color:inherit}
button,a{touch-action:manipulation}
button{border:0;cursor:pointer}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.container{width:min(var(--container),calc(100% - 48px));margin-inline:auto}
.site-header{height:86px;background:var(--bg);position:relative;z-index:40}
.header-inner{height:86px;max-width:var(--container);margin:auto;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px}
.header-side{display:flex;align-items:center;gap:10px}.header-right{justify-content:flex-end}
.icon-button,.pill-button{height:48px;background:var(--surface);border-radius:14px;display:inline-flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap}
.icon-button{width:48px}.pill-button{padding:0 18px;font-size:16px;font-weight:500}
.icon-button:hover,.pill-button:hover{background:var(--surface-2)}
.brand{position:relative;width:205px;padding:8px 10px}.brand img,.mobile-brand img{width:100%;filter:invert(64%) sepia(15%) saturate(1167%) hue-rotate(42deg) brightness(91%) contrast(88%)}
.dot-grid{display:grid;grid-template-columns:repeat(3,4px);gap:4px}.dot-grid i{width:4px;height:4px;background:currentColor;border-radius:50%}
.menu-wrap{position:relative}.grid-button[aria-expanded=true]{background:#111;color:#fff}
.mini-menu{position:absolute;left:0;top:58px;width:164px;padding:10px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 40px rgba(0,0,0,.14);opacity:0;visibility:hidden;transform:translateY(-5px);transition:.18s;z-index:50}
.mini-menu.open{opacity:1;visibility:visible;transform:none}.mini-menu a{display:flex;height:43px;align-items:center;padding:0 10px;border-radius:9px}.mini-menu a:hover{background:var(--surface)}
.search-wrap{width:48px;height:48px;position:relative;display:flex;border-radius:14px;background:var(--surface);transition:width .22s ease;z-index:45}
.search-wrap .icon-button{flex:0 0 48px;background:transparent}.search-wrap input{min-width:0;width:0;opacity:0;padding:0;border:0;outline:0;background:transparent;transition:.2s}
.search-wrap.open{width:250px}.search-wrap.open input{width:190px;opacity:1;padding-right:12px}
.search-results{display:none;position:absolute;top:56px;left:0;width:340px;max-height:390px;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow);padding:8px}
.search-results.open{display:block}.search-result{display:grid;grid-template-columns:46px 1fr auto;gap:10px;align-items:center;padding:8px;border-radius:10px}.search-result:hover{background:var(--surface)}
.search-result img{width:46px;height:46px;object-fit:cover;border-radius:9px}.search-result small{display:block;color:var(--muted);margin-top:3px}.search-empty{padding:20px;color:var(--muted);text-align:center}
.mobile-header,.mobile-tabs{display:none}

.hero{height:500px;border-radius:var(--r-lg);overflow:hidden;position:relative;background:linear-gradient(155deg,#f1e5d6 0 47%,#94a875 47.2% 100%);isolation:isolate}
.hero:before{content:"";position:absolute;left:-8%;bottom:-42%;width:77%;height:96%;background:#7f9364;border-radius:48% 54% 0 0;transform:rotate(-7deg);z-index:-1}
.hero-copy{position:absolute;left:55px;top:45px;z-index:5;max-width:600px}.hero-kicker{font-size:13px;letter-spacing:.16em;font-weight:700;color:var(--accent);text-transform:uppercase}.hero h1{font-size:52px;line-height:.98;letter-spacing:-.04em;margin:15px 0 18px;max-width:500px}.hero p{font-size:18px;line-height:1.45;margin:0;max-width:330px}.hero-cta{display:inline-flex;margin-top:26px;padding:0 20px;height:48px;align-items:center;background:var(--dark);color:#fff;border-radius:14px;font-weight:600}
.hero-word{position:absolute;right:31px;top:31px;font-size:72px;font-style:italic;font-weight:900;color:rgba(126,89,67,.12);letter-spacing:.03em}.hero-word.vertical{top:auto;bottom:28px;right:25px;font-size:24px;writing-mode:vertical-rl;letter-spacing:.14em}
.hero-dish{position:absolute;border-radius:50%;object-fit:cover;box-shadow:0 22px 50px rgba(36,39,25,.23);border:8px solid rgba(255,255,255,.52)}
.hero-dish.one{width:320px;height:320px;right:210px;bottom:-42px;transform:rotate(-7deg)}
.hero-dish.two{width:238px;height:238px;right:18px;top:91px;transform:rotate(9deg)}
.hero-dish.three{width:138px;height:138px;left:465px;top:190px;transform:rotate(8deg)}
.main-stack{display:flex;flex-direction:column;gap:42px;margin-top:24px}
.promos-rail{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-bottom:32px}
.promo-card{height:295px;border-radius:20px;overflow:hidden;position:relative;padding:24px;display:flex;flex-direction:column;isolation:isolate;transition:transform .18s ease}
.promo-card:hover{transform:translateY(-4px)}.promo-card h3{margin:0;font-size:25px;line-height:1.03;letter-spacing:-.03em;max-width:210px;position:relative;z-index:2}.promo-card em{font-family:Georgia,serif;font-weight:400}.promo-card p{margin:auto 0 0;font-size:11px;line-height:1.2;font-weight:700;letter-spacing:.12em;text-transform:uppercase;max-width:145px;position:relative;z-index:2}
.promo-card img{position:absolute;width:175px;height:175px;border-radius:50%;object-fit:cover;right:-22px;bottom:-13px;filter:drop-shadow(0 15px 18px rgba(0,0,0,.18));z-index:1}
.promo-card:before{content:"";position:absolute;width:178px;height:178px;border:18px repeating-linear-gradient(45deg,rgba(255,255,255,.55) 0 7px,transparent 7px 14px);border-radius:50%;right:-12px;bottom:-2px;opacity:.35}
.promo-one{background:#f6d9e4}.promo-two{background:#f6d7cb}.promo-three{background:#f7e3c2}.promo-four{background:#e3edcb}
.fulfilment-row{display:grid;grid-template-columns:330px 1fr;gap:14px}.segment{height:52px;background:var(--surface-2);padding:4px;border-radius:15px;display:grid;grid-template-columns:1fr 1fr;gap:3px}.segment button{border-radius:12px;background:transparent;color:#777;font-weight:500}.segment button.active{background:#fff;color:var(--ink);box-shadow:0 2px 7px rgba(0,0,0,.07)}
.address-button{height:52px;background:var(--surface);border-radius:15px;padding:0 18px;display:flex;align-items:center;gap:10px;text-align:left}.address-button span{flex:1}.address-button svg:last-child{width:17px}
.preorder{display:none;background:#ffefcb;border-radius:16px;padding:16px 18px;align-items:center;gap:13px;line-height:1.35}.preorder.show{display:flex}.preorder .warn{font-size:24px}
.section-head{display:flex;align-items:end;justify-content:space-between;margin:0 0 20px}.section-head h2,.product-section h2{font-size:30px;line-height:1.1;letter-spacing:-.025em;margin:0;font-weight:800}.section-head p{margin:0;color:var(--muted)}
.carousel-shell{position:relative}.product-rail{display:grid;grid-auto-flow:column;grid-auto-columns:210px;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:2px 2px 20px}.product-rail::-webkit-scrollbar,.chip-scroll::-webkit-scrollbar,.promos-rail::-webkit-scrollbar{display:none}
.mini-product{scroll-snap-align:start;cursor:pointer;min-width:0}.mini-product .photo-frame{height:188px}.mini-product h3{font-size:16px;line-height:1.25;margin:13px 0 8px;min-height:40px}.mini-product .mini-price{font-weight:700}.carousel-arrow{position:absolute;top:78px;width:42px;height:42px;background:#fff;border-radius:50%;box-shadow:0 5px 18px rgba(0,0,0,.16);z-index:3;font-size:22px}.carousel-arrow.prev{left:-17px}.carousel-arrow.next{right:-17px}.carousel-arrow[hidden]{display:none}.carousel-dots{display:none}
.catalog{margin-top:55px}.category-bar{position:sticky;top:0;background:#fff;backdrop-filter:none;z-index:30;border-bottom:1px solid transparent;transition:.2s}.category-bar.stuck{border-color:var(--line);box-shadow:0 6px 18px rgba(0,0,0,.04)}
.category-bar-inner{width:min(var(--container),calc(100% - 48px));height:68px;margin:auto;display:flex;align-items:center;gap:8px}.filter-button,.category-chip{height:44px;border-radius:13px;background:var(--surface);padding:0 16px;display:flex;align-items:center;gap:8px;white-space:nowrap;font-weight:500}.filter-button{flex:0 0 auto}.filter-button svg{width:18px}.chip-scroll{display:flex;align-items:center;gap:8px;overflow-x:auto;flex:1;scrollbar-width:none}.category-chip{background:transparent}.category-chip:hover,.category-chip.active{background:var(--active)}.sticky-cart{flex:0 0 auto}
.catalog-body{padding-top:44px}.product-section{scroll-margin-top:84px;margin-bottom:74px}.product-section h2{margin-bottom:24px}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px 24px}
.product-card{min-width:0;border-radius:20px;padding:15px;background:#fff;box-shadow:0 0 0 1px #f1f1f1;display:flex;flex-direction:column;transition:transform .18s ease,box-shadow .18s ease;cursor:pointer;position:relative}.product-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.photo-frame{border-radius:16px;position:relative;overflow:hidden;aspect-ratio:1;background:var(--card-bg,var(--surface));isolation:isolate}.photo-frame:before{content:attr(data-word);position:absolute;right:-4px;bottom:6px;font:italic 800 27px Georgia,serif;letter-spacing:.03em;color:rgba(60,60,60,.18);z-index:2;pointer-events:none}.photo-frame:after{content:"ITALIA";position:absolute;left:7px;top:15px;writing-mode:vertical-rl;font-weight:900;font-size:11px;letter-spacing:.18em;color:rgba(60,60,60,.14);z-index:2;pointer-events:none}.photo-frame img{position:relative;z-index:1;width:100%;height:100%;object-fit:contain;padding:10px;border-radius:22px;opacity:0;transform:scale(.98);transition:opacity .25s ease,transform .4s ease}.photo-frame img.loaded{opacity:1;transform:none}.photo-frame.missing:after{content:"M";inset:50% auto auto 50%;writing-mode:initial;transform:translate(-50%,-50%);font:900 90px Georgia,serif;color:rgba(255,255,255,.48)}
.photo-frame.neutral-photo:before,.photo-frame.neutral-photo:after{display:none}
.photo-frame:not(.missing):not(:has(img.loaded)){background-image:linear-gradient(100deg,transparent 20%,rgba(255,255,255,.33) 40%,transparent 60%);background-size:200% 100%;animation:skeleton 1.4s infinite}
@keyframes skeleton{to{background-position:-200% 0}}
.badges{position:absolute;left:10px;top:10px;display:flex;flex-wrap:wrap;gap:5px;z-index:3}.badge{min-height:24px;padding:5px 9px;border-radius:999px;color:#fff;font-size:10px;font-weight:800;line-height:1.2;letter-spacing:.035em}.badge.hit{background:#f5820b}.badge.new{background:var(--accent)}.badge.hot{background:#e8453c}.badge.veg{background:#5f8f43}
.product-card-content{padding:17px 4px 3px;display:flex;flex-direction:column;flex:1}.product-title{font-size:18px;line-height:1.22;margin:0 0 8px;font-weight:600}.product-weight{font-size:14px;color:var(--muted);font-weight:400;white-space:nowrap}.product-desc{font-size:14px;line-height:1.4;color:var(--muted);margin:0 0 17px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:58px}.product-buy{display:flex;align-items:center;justify-content:space-between;margin-top:auto;min-height:42px}.price{font-size:18px;font-weight:700}.mobile-price-add{display:none}.quick-add{width:40px;height:40px;border-radius:50%;background:var(--dark);color:#fff;font-size:26px;line-height:1;opacity:0;transform:scale(.85);transition:.18s}.product-card:hover .quick-add{opacity:1;transform:none}.stepper{height:40px;display:grid;grid-template-columns:38px minmax(28px,auto) 38px;align-items:center;background:var(--surface-2);border-radius:13px;overflow:hidden}.stepper button{height:100%;background:transparent;font-size:22px}.stepper strong{text-align:center;font-size:15px}
.empty-filter{grid-column:1/-1;padding:40px;border-radius:18px;background:var(--surface);text-align:center;color:var(--muted)}
.community{margin:36px auto 75px;background:#f3f3f3;border-radius:24px;min-height:340px;padding:58px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:55px;overflow:hidden}.community-art{position:relative;height:250px}.phone{position:absolute;width:150px;height:285px;border:8px solid #222;background:#fff;border-radius:34px;box-shadow:0 22px 35px rgba(0,0,0,.2);padding:18px 10px;overflow:hidden}.phone.one{left:35px;top:6px;transform:rotate(-8deg)}.phone.two{left:190px;top:-25px;transform:rotate(8deg)}.phone:before{content:"";display:block;width:55px;height:7px;background:#222;border-radius:10px;margin:-13px auto 22px}.phone-screen-logo{width:80px;filter:invert(64%) sepia(15%) saturate(1167%) hue-rotate(42deg);margin:auto}.phone-card{height:72px;border-radius:13px;background:var(--pizza);margin-top:14px}.community h2{font-size:34px;line-height:1.08;margin:0 0 16px}.community p{font-size:16px;color:#727272;line-height:1.5;margin:0 0 22px}.social-row{display:flex;gap:10px}.social-pill{height:46px;padding:0 16px;border-radius:13px;background:#fff;display:flex;align-items:center;font-weight:700}.qr-wrap{display:flex;align-items:center;gap:14px;margin-top:18px}.fake-qr{width:86px;height:86px;border:8px solid #fff;border-radius:9px;background:repeating-conic-gradient(#111 0 25%,#fff 0 50%) 0/14px 14px;position:relative}.fake-qr:after{content:"M";position:absolute;inset:19px;background:#fff;border:5px solid #111;display:grid;place-items:center;font:bold 14px Georgia;color:var(--accent)}.qr-wrap small{max-width:170px;color:var(--muted);line-height:1.35}
.site-footer{border-top:1px solid var(--line);padding:48px 0 120px}.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:40px}.footer-logo img{width:170px;filter:invert(64%) sepia(15%) saturate(1167%) hue-rotate(42deg)}.footer-logo p,.footer-col a,.footer-col p{color:var(--muted);font-size:14px;line-height:1.55}.footer-col h3{font-size:16px;margin:0 0 13px}.footer-col a{display:block;margin:7px 0}.footer-points{grid-column:1/-1;margin-top:20px;padding-top:25px;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(3,1fr);gap:15px;font-size:13px;color:var(--muted)}

.page{padding:42px 0 90px}.page-top{display:flex;align-items:end;justify-content:space-between;margin-bottom:35px}.page h1{font-size:46px;line-height:1;margin:0;letter-spacing:-.04em}.page-lead{font-size:18px;color:var(--muted);max-width:540px;line-height:1.5}.promo-page-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:35px 22px}.promo-page-item .promo-card{height:390px}.promo-page-item h2{font-size:18px;margin:14px 4px 5px}.promo-page-item p{color:var(--muted);margin:0 4px;line-height:1.45}.contacts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.contact-card{padding:25px;border-radius:20px;background:var(--surface);min-height:200px}.contact-card .point-no{width:34px;height:34px;border-radius:50%;background:var(--accent);color:#fff;display:grid;place-items:center;font-weight:700}.contact-card h2{font-size:21px;margin:27px 0 8px}.contact-card p{color:var(--muted);margin:6px 0;line-height:1.4}.contact-card a{font-weight:600;display:inline-block;margin-top:11px}.info-page{max-width:760px}.info-page h2{font-size:28px;margin-top:38px}.info-page p{font-size:17px;line-height:1.65;color:#555}
.tech-gate{max-width:480px;padding:36px;background:var(--surface);border-radius:22px;margin-top:30px}.tech-gate label{display:block;font-size:14px;color:var(--muted);margin:0 0 8px}.tech-gate-row{display:grid;grid-template-columns:1fr auto;gap:8px}.tech-gate input{height:52px;border:1px solid var(--line);background:#fff;border-radius:13px;padding:0 16px;letter-spacing:.25em}.dark-button{height:48px;border-radius:14px;background:var(--dark);color:#fff;padding:0 20px;font-weight:600}.tech-toolbar{display:flex;gap:10px;margin-bottom:24px}.tech-toolbar input{height:48px;flex:1;min-width:0;background:var(--surface);border:0;border-radius:14px;padding:0 16px}.tech-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.tech-card{background:var(--surface);border-radius:16px;padding:18px;display:grid;grid-template-columns:52px 1fr auto;gap:12px;align-items:center;text-align:left}.tech-card img{width:52px;height:52px;border-radius:12px;object-fit:cover}.tech-card strong{display:block}.tech-card small{color:var(--muted);display:block;margin-top:4px}.pin-error{color:#c23d36;font-size:13px;margin-top:10px;min-height:18px}

.product-page{padding:25px 0 85px}.sub-category-row{display:flex;gap:8px;overflow:auto;padding:0 0 18px;scrollbar-width:none}.breadcrumbs{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:14px;margin:24px 0}.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:start}.product-detail .photo-frame{border-radius:22px}.product-detail-info{padding-top:18px}.product-detail h1{font-size:38px;line-height:1.1;letter-spacing:-.035em;margin:0 0 18px}.rating{display:flex;gap:7px;align-items:center;color:#776000;margin-bottom:18px}.rating span{color:var(--muted)}.detail-price{font-size:24px;font-weight:700;margin-bottom:20px}.offer-segment{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));background:var(--surface-2);padding:4px;border-radius:15px;margin-bottom:15px}.offer-segment button{padding:10px;border-radius:12px;background:transparent}.offer-segment button.active{background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.07)}.offer-segment strong,.offer-segment small{display:block}.offer-segment small{color:var(--muted);margin-top:3px}.product-detail .dark-button{min-width:170px}.detail-desc{font-size:16px;line-height:1.55;margin:27px 0}.nutrition{margin-top:25px}.nutrition-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:5px}.nutrition h3{margin:0}.nutrition small{color:var(--muted)}.nutrition-row{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line)}.nutrition-row span:first-child{color:var(--muted)}.recommend{margin-top:70px}

.overlay{position:fixed;inset:0;z-index:100;display:flex;justify-content:flex-end;visibility:hidden}.overlay.open{visibility:visible}.overlay-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.42);opacity:0;transition:.23s;width:100%}.overlay.open .overlay-backdrop{opacity:1}.panel{position:relative;width:min(530px,100%);height:100%;background:#fff;box-shadow:-15px 0 45px rgba(0,0,0,.16);transform:translateX(100%);transition:transform .28s ease;overflow-y:auto;overscroll-behavior:contain;padding:28px}.overlay.open .panel{transform:none}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px;position:sticky;top:-28px;background:#fff;z-index:4;padding:18px 0 12px}.panel-head h2{font-size:25px;margin:0}.close-button,.round-button{width:42px;height:42px;border-radius:50%;background:var(--surface);font-size:23px}.grabber{display:none}.panel-empty{height:70vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.empty-plate{width:145px;height:145px;border:20px solid var(--surface-2);border-radius:50%;margin-bottom:22px;position:relative}.empty-plate:after{content:"";position:absolute;width:70px;height:2px;background:#bbb;left:18px;top:50px;transform:rotate(-24deg)}.panel-empty h3{font-size:23px;margin:0 0 8px}.panel-empty p{color:var(--muted);max-width:300px;line-height:1.45}.cart-items{display:flex;flex-direction:column;gap:11px}.cart-item{display:grid;grid-template-columns:76px 1fr auto;gap:12px;align-items:center;padding:12px;background:var(--surface);border-radius:16px}.cart-item img,.cart-thumb{width:76px;height:76px;object-fit:contain;border-radius:13px;background:var(--card-bg)}.cart-item h3{font-size:15px;margin:0 0 5px}.cart-item small{color:var(--muted)}.cart-item .price{font-size:15px;margin-top:7px}.cart-item .stepper{grid-template-columns:34px 25px 34px}.cart-tools{display:grid;gap:10px;margin:18px 0}.promo-input{display:flex;gap:8px;padding:8px;background:var(--surface);border-radius:15px}.promo-input input{flex:1;min-width:0;border:0;background:transparent;outline:0;padding:0 8px}.promo-input button{background:var(--dark);color:#fff;border-radius:10px;padding:0 14px}.promo-status{font-size:13px;color:var(--success);padding-left:8px}.upsell{margin:22px 0}.upsell h3{font-size:19px}.upsell-rail{display:grid;grid-auto-flow:column;grid-auto-columns:130px;overflow:auto;gap:10px;scrollbar-width:none}.upsell-card{background:var(--surface);border-radius:14px;padding:8px;text-align:left}.upsell-card img{height:100px;width:100%;object-fit:contain;border-radius:10px}.upsell-card strong{font-size:13px;display:block;margin:8px 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.upsell-card small{font-weight:700}.totals{background:var(--surface);border-radius:16px;padding:14px 17px}.total-row{display:flex;justify-content:space-between;padding:7px 0}.total-row.discount{color:var(--success)}.total-row.grand{font-size:20px;font-weight:700;border-top:1px solid var(--line);margin-top:7px;padding-top:14px}.panel-cta{width:100%;height:56px;border-radius:16px;background:var(--dark);color:#fff;font-weight:600;font-size:17px;margin-top:14px}.checkout-form{display:grid;gap:18px}.form-block{padding:18px;background:var(--surface);border-radius:16px}.form-block h3{margin:0 0 13px;font-size:17px}.form-block input:not([type=radio]):not([type=checkbox]),.form-block textarea,.form-block select{width:100%;border:1px solid var(--line);background:#fff;border-radius:12px;padding:14px;outline:none}.radio-list{display:grid;gap:8px}.radio-card{display:flex;gap:10px;align-items:center;background:#fff;border:1px solid var(--line);padding:14px;border-radius:12px}.thanks{text-align:center;padding:75px 5px}.thanks-mark{width:80px;height:80px;border-radius:50%;display:grid;place-items:center;background:#dff3e3;color:var(--success);font-size:40px;margin:0 auto 22px}.thanks h2{font-size:29px;margin:0 0 8px}.thanks p{color:var(--muted);line-height:1.5}.success-note{background:#dff3e3;color:#1e6f37;padding:15px;border-radius:14px;margin:24px 0}.status-track{display:grid;grid-template-columns:repeat(3,1fr);margin:24px 0}.status-step{position:relative;font-size:12px;color:var(--muted)}.status-step:before{content:"";display:block;width:30px;height:30px;margin:0 auto 7px;background:var(--surface-2);border-radius:50%;border:7px solid #fff;box-shadow:0 0 0 1px var(--line)}.status-step:not(:last-child):after{content:"";position:absolute;top:14px;height:2px;background:var(--line);left:58%;right:-42%;z-index:-1}.status-step.active:before{background:var(--accent)}
.panel .fulfilment-row{width:100%;display:flex;flex-direction:column;gap:8px;margin-bottom:18px}.panel .fulfilment-row .segment,.panel .fulfilment-row .address-button{width:100%}
.address-modal{max-width:540px}.address-modal .form-block{margin-bottom:12px}.pickup-list{display:grid;gap:8px;max-height:300px;overflow:auto}.pickup-point{display:flex;gap:10px;align-items:center;padding:12px;background:#fff;border:1px solid var(--line);border-radius:12px;text-align:left}.pickup-point.selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.filter-chips{display:flex;flex-wrap:wrap;gap:8px}.filter-chip{height:42px;padding:0 15px;border-radius:12px;background:var(--surface)}.filter-chip.active{background:var(--dark);color:#fff}
.profile-box{padding:22px;background:var(--surface);border-radius:18px;text-align:center}.profile-avatar{width:75px;height:75px;border-radius:24px;background:var(--accent);color:#fff;display:grid;place-items:center;margin:0 auto 14px;font-size:26px}.profile-actions{display:grid;gap:10px;margin-top:18px}.profile-action{display:flex;align-items:center;justify-content:space-between;padding:16px;background:var(--surface);border-radius:14px}.theme-switch{width:50px;height:29px;border-radius:20px;background:#ddd;padding:3px}.theme-switch i{display:block;width:23px;height:23px;background:#fff;border-radius:50%;transition:.2s}.theme-switch.on{background:var(--accent)}.theme-switch.on i{transform:translateX(21px)}
.toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,20px);padding:12px 17px;border-radius:13px;background:#202020;color:#fff;z-index:150;opacity:0;pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}.to-top{position:fixed;right:25px;bottom:26px;width:48px;height:48px;border-radius:50%;background:#fff;box-shadow:0 5px 20px rgba(0,0,0,.15);font-size:23px;z-index:35;opacity:0;visibility:hidden;transition:.2s}.to-top.show{opacity:1;visibility:visible}
.loading-shell{width:min(var(--container),calc(100% - 48px));margin:24px auto}.loading-hero{height:500px;border-radius:24px;background:linear-gradient(100deg,#eee 20%,#f8f8f8 40%,#eee 60%);background-size:200%;animation:skeleton 1.4s infinite}.loading-line{width:270px;height:32px;background:#eee;border-radius:8px;margin:45px 0 25px}.loading-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.loading-grid i{height:350px;background:#f4f4f4;border-radius:20px}

/* ===== ТЗ-8: разделы полной карты функционала ===== */
.mini-menu{width:510px;grid-template-columns:repeat(3,1fr);gap:5px}.mini-menu.open{display:grid}.mini-menu a{min-width:0;font-size:14px}
.editorial-head{min-height:150px;align-items:start}.editorial-head h1{margin-top:12px}.editorial-head .page-lead{margin-bottom:0}
.content-section{margin:65px 0}.content-form{display:grid;gap:15px}.content-form label{display:grid;gap:8px;font-size:13px;font-weight:600;color:var(--muted)}.content-form input,.content-form textarea,.content-form select{width:100%;min-width:0;border:1px solid var(--line);background:#fff;border-radius:13px;padding:14px;color:var(--ink);outline:none}.content-form input:focus,.content-form textarea:focus,.content-form select:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(130,167,76,.13)}.content-form small{color:var(--muted);line-height:1.4}.form-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.booking-layout{display:grid;grid-template-columns:1.2fr .8fr;gap:24px;align-items:start}.booking-notice{display:flex;gap:18px;align-items:center;min-height:205px;padding:34px;border-radius:24px;background:#ffefcb}.booking-notice>span{width:56px;height:56px;flex:0 0 56px;display:grid;place-items:center;border-radius:50%;background:#fff;font-size:28px;font-weight:800}.booking-notice h2{font-size:28px;line-height:1.15;margin:0 0 10px}.booking-notice p{margin:0;line-height:1.5}.booking-notice a{font-weight:800}.booking-form{padding:25px;border-radius:22px;background:var(--surface)}.booking-form fieldset{display:grid;gap:15px;padding:0;border:0;margin:0}.booking-form fieldset:disabled{opacity:.56}.booking-form .dark-button{width:100%}
.reviews-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:28px;align-items:start}.reviews-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.review-card{padding:22px;border:1px solid var(--line);border-radius:19px;background:#fff}.review-meta{display:flex;justify-content:space-between;gap:15px;align-items:start}.review-meta time,.blog-card time,.article-page>time{color:var(--muted);font-size:12px}.review-card p{line-height:1.55;margin:22px 0 0}.review-form-wrap{position:sticky;top:25px;padding:25px;border-radius:22px;background:var(--surface)}.review-form-wrap h2{margin:0 0 20px;font-size:25px}
.blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 20px}.blog-card{min-width:0}.blog-photo{aspect-ratio:16/10;overflow:hidden;border-radius:18px;background:var(--surface)}.blog-photo img{width:100%;height:100%;object-fit:cover}.blog-card time{display:block;margin:14px 3px 7px}.blog-card h2{font-size:20px;line-height:1.2;margin:0 3px 9px}.blog-card p{color:var(--muted);line-height:1.45;margin:0 3px 14px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.blog-card span{display:block;margin:0 3px;color:var(--accent);font-weight:700}.article-page{max-width:900px}.article-page>time{display:block;margin:25px 0 10px}.article-page h1{max-width:820px;line-height:1.08}.article-cover{width:100%;max-height:540px;object-fit:cover;border-radius:24px;margin:34px 0}.article-copy{max-width:720px;font-size:19px;line-height:1.7}.back-link{display:inline-flex;align-items:center;margin-top:30px}
.rule-banner{display:flex;align-items:center;gap:17px;padding:20px 24px;border-radius:18px;background:#dfee55;margin-bottom:30px;color:#27320e}.rule-banner span{font-size:28px;font-weight:900}.rule-banner strong{font-size:18px}.lunch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.lunch-card{overflow:hidden;border-radius:20px;background:var(--surface)}.lunch-photo{aspect-ratio:4/3;background:#f2f2f2}.lunch-photo img{width:100%;height:100%;object-fit:cover}.lunch-card>div:last-child{padding:18px}.lunch-title{display:flex;justify-content:space-between;gap:12px;align-items:start}.lunch-title h2{font-size:20px;margin:0}.lunch-title strong{white-space:nowrap}.lunch-card p{color:var(--muted);line-height:1.45;margin:13px 0 0}.banket-request{margin-top:70px;padding:42px;border-radius:25px;background:#f3eadc;display:grid;grid-template-columns:1fr 1fr;gap:55px}.banket-request h2{font-size:34px;margin:12px 0}.banket-request p{color:#6f675d}.banket-request .content-form input,.banket-request .content-form select{background:#fff}
.vacancy-form{max-width:620px;padding:30px;border-radius:23px;background:var(--surface)}
.personal-tabs{display:flex;gap:8px;overflow-x:auto;margin-bottom:30px;scrollbar-width:none}.personal-tabs button{height:46px;white-space:nowrap;padding:0 18px;border-radius:14px;background:var(--surface);font-weight:600}.personal-tabs button.active{background:var(--dark);color:#fff}.personal-section{display:grid;grid-template-columns:1fr 390px;gap:25px;align-items:start}.address-book{display:grid;gap:10px}.address-book article{display:flex;justify-content:space-between;gap:20px;padding:20px;border-radius:17px;background:var(--surface)}.address-book article small{display:block;color:var(--muted);margin-top:5px}.address-book article button{background:transparent;color:var(--accent);font-size:13px;margin-left:8px}.address-book article button:last-child{color:#b1473f}.address-book-form,.profile-form{max-width:480px;padding:25px;border-radius:20px;background:var(--surface)}.address-book-form h3{margin:0 0 5px}.profile-form .profile-avatar{margin-bottom:0}.demo-pill{justify-self:center;padding:6px 10px;border-radius:999px;background:#dfee55;color:#33410f;font-size:11px;font-weight:800}.empty-copy{padding:30px;border:1px dashed var(--line);border-radius:17px;color:var(--muted)}.bonus-summary{display:grid;grid-template-columns:repeat(2,minmax(0,260px));gap:15px}.bonus-summary>div{min-height:180px;padding:25px;border-radius:22px;background:var(--surface);display:flex;flex-direction:column;justify-content:space-between}.bonus-summary small{color:var(--muted)}.bonus-summary strong{font-size:52px}.bonus-summary p{grid-column:1/-1;margin:0;padding:18px 22px;border-radius:15px;background:#fff0dc;color:#8c5620;font-weight:700}.bonus-card-screen{display:grid;grid-template-columns:1fr 280px;gap:24px;align-items:start}.loyalty-card{min-height:300px;padding:30px;border-radius:28px;background:linear-gradient(145deg,#9ab76b,#647e39);color:#fff;display:flex;flex-direction:column;box-shadow:0 24px 45px rgba(74,94,42,.2)}.loyalty-card>span{font-size:14px;text-transform:uppercase;letter-spacing:.12em}.loyalty-card>strong{font-size:32px;margin-top:28px}.loyalty-card>small{margin-top:auto}.loyalty-card>b{font-size:40px;margin-top:8px}.bonus-qr{padding:15px;border-radius:22px;background:var(--surface);text-align:center}.bonus-qr canvas{width:100%;height:auto;background:#fff;border-radius:13px}.bonus-qr small{display:block;margin-top:8px;color:var(--muted);font-size:10px;overflow-wrap:anywhere}.bonus-history{grid-column:1/-1;padding:22px;border-radius:20px;background:var(--surface)}.bonus-history h3{margin-top:0}.bonus-history>div{display:flex;justify-content:space-between;padding:12px 0;border-top:1px solid var(--line)}.orders-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.order-card{padding:25px;border-radius:20px;background:var(--surface)}.order-head{display:flex;justify-content:space-between;gap:15px}.order-head small,.order-card>span{color:var(--muted)}.order-head h3{margin:5px 0 0}.order-card p{line-height:1.5}.order-card>span{display:block;font-size:13px;margin-bottom:18px}
.stock-badges{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:9px}.stock-badge{display:inline-flex;padding:5px 8px;border-radius:8px;font-size:10px;font-weight:800;background:#f0f0f0;color:#646464}.stock-badge.restaurant-only,.stock-badge.unavailable-point{background:#fff0dc;color:#8c5620}.stock-badge.channel-only{background:#e7efd9;color:#50692e}.product-card.is-unavailable .photo-frame{filter:grayscale(.35);opacity:.72}.unavailable-buy{width:100%;min-height:40px;padding:8px;border-radius:12px;background:var(--surface-2);color:var(--muted);font-size:12px}.sale-price{display:inline-flex;align-items:center;gap:7px;flex-wrap:wrap}.sale-price s{color:var(--muted);font-size:.75em;font-weight:400}.sale-price strong{color:#b1473f}.sale-price small{padding:3px 5px;border-radius:5px;background:#fff0dc;color:#8c5620;font-size:9px}.mobile-price-add .sale-price small{display:none}.product-detail .dark-button:disabled{opacity:.5;cursor:not-allowed}
.gift-progress{margin:18px 0;padding:18px;border-radius:17px;background:#f6f7ef}.gift-progress>div:first-child{display:flex;justify-content:space-between;gap:12px}.gift-progress>div:first-child span{color:var(--muted);font-size:12px}.gift-track{height:9px;border-radius:9px;background:#e0e3d7;margin:13px 0;overflow:hidden}.gift-track i{display:block;height:100%;border-radius:inherit;background:var(--accent)}.gift-progress p{font-size:12px;color:var(--muted);margin:0}.gift-progress.reached{background:#edf5df}.gift-choices{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}.gift-choice{display:grid;grid-template-columns:45px 1fr auto;gap:9px;align-items:center;padding:8px;border:1px solid transparent;border-radius:12px;background:#fff;text-align:left}.gift-choice.selected{border-color:var(--accent)}.gift-choice img{width:45px;height:45px;object-fit:contain;border-radius:9px}.gift-choice span{font-size:11px}.gift-choice small{display:block;color:var(--success);margin-top:3px}.gift-choice b{font-size:18px}.cart-item-unavailable{box-shadow:inset 0 0 0 1px #e4a999}.cart-item .price s{color:var(--muted);font-weight:400;margin-right:4px}
body[data-theme=dark] .content-form input,body[data-theme=dark] .content-form textarea,body[data-theme=dark] .content-form select,body[data-theme=dark] .review-card,body[data-theme=dark] .gift-choice{background:#232323}body[data-theme=dark] .personal-tabs button.active{color:#111}body[data-theme=dark] .banket-request{background:#29251f}body[data-theme=dark] .gift-progress{background:#293023}

@media (max-width:1000px){.reviews-layout{grid-template-columns:1fr}.review-form-wrap{position:static}.booking-layout,.banket-request{grid-template-columns:1fr}.personal-section{grid-template-columns:1fr}.bonus-card-screen{grid-template-columns:1fr 260px}}
@media (max-width:600px){.editorial-head{min-height:0;margin-bottom:25px}.editorial-head h1{font-size:34px;margin-top:8px}.booking-layout{gap:14px}.booking-notice{min-height:0;padding:22px;align-items:flex-start}.booking-notice>span{width:42px;height:42px;flex-basis:42px;font-size:21px}.booking-notice h2{font-size:21px}.booking-form{padding:18px}.form-pair{grid-template-columns:1fr}.review-card{padding:18px}.review-meta{display:block}.review-meta time{display:block;margin-top:5px}.review-form-wrap{padding:20px}.blog-photo{border-radius:15px}.blog-card h2{font-size:18px}.article-page h1{font-size:32px}.article-cover{margin:24px 0;border-radius:16px}.article-copy{font-size:17px}.rule-banner{align-items:flex-start;padding:17px}.rule-banner span{font-size:22px}.rule-banner strong{font-size:15px}.content-section{margin:45px 0}.banket-request{margin:50px -16px 0;padding:28px 16px;border-radius:0}.banket-request h2{font-size:28px}.vacancy-form{padding:20px}.personal-tabs{margin-inline:-16px;padding:0 16px}.personal-tabs button{height:43px;padding:0 14px}.address-book article{display:block}.address-book article>div:last-child{margin-top:14px}.address-book article button{margin:0 12px 0 0}.address-book-form,.profile-form{padding:20px}.bonus-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.bonus-summary>div{min-height:140px;padding:18px}.bonus-summary strong{font-size:36px}.bonus-card-screen{grid-template-columns:1fr}.loyalty-card{min-height:245px;padding:23px}.bonus-qr{max-width:280px;width:100%;margin:auto}.gift-choices{grid-template-columns:1fr}.stock-badge{font-size:9px}.sale-price{gap:4px}.mini-menu{width:164px;grid-template-columns:1fr}.menu-nine{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.menu-nine .profile-action{min-height:64px;padding:12px;font-size:13px}}

body[data-theme=dark]{--bg:#171717;--surface:#232323;--surface-2:#2c2c2c;--active:#343434;--ink:#f6f6f6;--muted:#aaa;--line:#333;--dark:#f3f3f3}
body[data-theme=dark] .dark-button,body[data-theme=dark] .panel-cta,body[data-theme=dark] .quick-add{color:#111}
body[data-theme=dark] .mini-menu,body[data-theme=dark] .search-results,body[data-theme=dark] .product-card,body[data-theme=dark] .panel,body[data-theme=dark] .panel-head,body[data-theme=dark] .category-bar{background:#171717}
body[data-theme=dark] .community{background:#232323}body[data-theme=dark] .community p{color:#aaa}

@media (max-width:1000px){.header-inner{padding:0 24px}.product-grid{grid-template-columns:repeat(3,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}.contacts-grid,.tech-grid{grid-template-columns:repeat(2,1fr)}.hero h1{font-size:44px}.hero-dish.one{right:110px}.hero-dish.three{display:none}.brand{width:165px}.header-left .pill-button{display:none}}

@media (max-width:600px){
  :root{--r-lg:0;--container:100%}.container{width:100%;padding-inline:16px}.desktop-header{display:none}.site-header{height:62px;position:sticky;top:0;border-bottom:1px solid var(--line);z-index:60}.mobile-header{height:62px;display:grid;grid-template-columns:48px 1fr 48px;align-items:center;padding:0 10px;background:var(--bg)}.mobile-brand{width:130px;justify-self:center}.mobile-icon{height:44px;width:44px;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}.mobile-icon span{width:22px;height:2px;background:currentColor;border-radius:2px}.mobile-icon span:first-child{width:15px;margin-right:7px}.mobile-tabs{position:fixed;bottom:0;left:0;right:0;height:72px;padding:5px 7px calc(5px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(4,1fr);background:rgba(255,255,255,.96);border-top:1px solid var(--line);z-index:80;backdrop-filter:blur(14px)}body[data-theme=dark] .mobile-tabs{background:rgba(23,23,23,.96)}.mobile-tabs a,.mobile-tabs button{position:relative;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#929292;font-size:11px}.mobile-tabs [data-tab=menu],.mobile-tabs .active{color:var(--accent)}.mobile-tabs svg{width:23px}.tab-badge{position:absolute;top:2px;right:20%;min-width:18px;height:18px;border-radius:9px;background:#e8453c;color:#fff;display:grid;place-items:center;font-size:10px;font-weight:700}.tab-badge[hidden]{display:none}
  .main-stack{margin-top:0;gap:20px}.hero{height:360px;border-radius:0;margin-inline:-16px;background:linear-gradient(160deg,#f1e5d6 0 44%,#94a875 44.2% 100%)}.hero-copy{left:22px;top:29px}.hero-kicker{font-size:10px}.hero h1{font-size:36px;max-width:300px;margin:10px 0}.hero p{font-size:15px;max-width:235px}.hero-cta{height:42px;margin-top:15px}.hero-word{font-size:42px;right:8px;top:8px}.hero-word.vertical{display:none}.hero-dish.one{width:230px;height:230px;right:-37px;bottom:-19px}.hero-dish.two{width:135px;height:135px;right:168px;top:auto;bottom:-27px}.hero-dish.three{display:none}
  .preorder{font-size:14px}.fulfilment-row{display:flex;flex-direction:column;gap:8px}.segment,.address-button{height:56px;border-radius:16px}.address-button{justify-content:center;font-weight:600}.address-button span{flex:0 1 auto}.promos-rail{display:flex;overflow-x:auto;gap:10px;margin-inline:-16px;padding:0 16px 6px;scroll-snap-type:x mandatory;scrollbar-width:none}.promo-card{flex:0 0 118px;height:150px;border-radius:14px;padding:12px;scroll-snap-align:start}.promo-card h3{font-size:15px;max-width:100px}.promo-card p{font-size:7px;max-width:85px}.promo-card img{width:86px;height:86px;right:-15px;bottom:-8px}.promo-card:before{width:95px;height:95px;border-width:9px}.section-head{align-items:center;margin-bottom:14px}.section-head h2,.product-section h2{font-size:24px}.section-head p{display:none}.product-rail{grid-auto-columns:160px;gap:12px;margin-inline:-16px;padding-inline:16px}.mini-product .photo-frame{height:150px}.mini-product h3{font-size:15px;margin:10px 0 6px}.carousel-arrow{display:none}.carousel-dots{display:flex;justify-content:center;gap:5px}.carousel-dots i{width:6px;height:6px;border-radius:4px;background:#ddd}.carousel-dots i:first-child{width:16px;background:#888}
  .catalog{margin-top:30px}.category-bar{top:62px}.category-bar-inner{width:100%;height:62px;padding:0 12px;gap:6px}.filter-button{width:44px;padding:0;justify-content:center;border-radius:50%;font-size:0}.category-chip{height:42px;background:var(--surface);font-size:14px}.sticky-cart{display:none}.catalog-body{padding-top:27px}.product-section{margin-bottom:48px;scroll-margin-top:135px}.product-section h2{margin-bottom:16px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}.product-card{padding:7px;border-radius:17px}.product-card:hover{transform:none;box-shadow:0 0 0 1px #f1f1f1}.photo-frame{border-radius:13px}.photo-frame img{padding:3px}.photo-frame:before{font-size:18px}.badges{left:6px;top:6px;gap:3px}.badge{font-size:8px;min-height:18px;padding:4px 6px}.product-card-content{padding:10px 3px 3px}.product-title{font-size:15px;line-height:1.2;margin-bottom:6px}.product-weight{font-size:12px}.product-desc{font-size:12px;line-height:1.32;-webkit-line-clamp:2;min-height:32px;margin-bottom:10px}.product-buy{min-height:36px}.product-buy:not(:has(.stepper)) .price{display:none}.mobile-price-add{height:36px;display:flex;align-items:center;gap:9px;background:var(--surface-2);padding:0 10px;border-radius:11px;font-size:14px;font-weight:700}.mobile-price-add b{font-size:19px}.stepper{height:36px;grid-template-columns:32px 27px 32px}.stepper button{font-size:19px}
  .community{margin:10px 16px 45px;min-height:420px;padding:28px 22px;display:block}.community-art{height:175px}.phone{width:102px;height:192px;border-width:5px;border-radius:23px;padding:12px 7px}.phone.one{left:20px}.phone.two{left:120px}.community h2{font-size:27px}.social-row{flex-wrap:wrap}.qr-wrap{display:none}.site-footer{padding:38px 16px 100px}.footer-grid{grid-template-columns:1fr;gap:23px}.footer-points{grid-template-columns:1fr}.page{padding:30px 16px 95px}.page-top{display:block}.page h1{font-size:36px}.page-lead{font-size:16px}.promo-page-grid{grid-template-columns:repeat(2,1fr);gap:22px 10px}.promo-page-item .promo-card{height:210px;min-width:0}.promo-page-item h2{font-size:15px}.promo-page-item p{font-size:13px}.contacts-grid,.tech-grid{grid-template-columns:1fr}.contact-card{min-height:170px}.tech-gate{padding:23px}.tech-card{grid-template-columns:45px 1fr auto}.product-page{padding:10px 16px 90px}.sub-category-row{display:none}.product-page>.container{padding:0}.product-detail{display:block}.product-detail .photo-frame{display:none}.product-detail-info{padding:0}.breadcrumbs{display:none}.product-detail h1{font-size:27px}.recommend{margin-top:42px}.page-product-mobile-underlay{display:block}.loading-shell{width:100%;margin:0}.loading-hero{height:360px;border-radius:0}.loading-grid{grid-template-columns:repeat(2,1fr);padding:0 16px;gap:10px}.loading-grid i{height:260px}.loading-line{margin-left:16px}
  .overlay{align-items:flex-end}.overlay-backdrop{background:rgba(0,0,0,.5)}.panel{width:100%;height:min(94dvh,850px);border-radius:24px 24px 0 0;padding:18px 16px calc(88px + env(safe-area-inset-bottom));transform:translateY(100%);box-shadow:0 -14px 40px rgba(0,0,0,.2)}.overlay.open .panel{transform:none}.grabber{display:block;width:48px;height:5px;border-radius:3px;background:#c9c9c9;margin:-8px auto 13px}.panel-head{top:-18px;padding:11px 0 10px;margin-bottom:14px}.panel-head h2{font-size:21px}.panel-product .panel-head{position:relative;top:auto}.sheet-product-photo{margin:0 -16px 18px;height:min(52vh,430px);border-radius:0}.sheet-product-photo img{padding:4px}.sheet-title-row{display:flex;justify-content:space-between;gap:12px;align-items:start}.sheet-title-row h2{font-size:24px;margin:0}.sheet-description{line-height:1.5;color:#555}.sheet-bottom{position:sticky;bottom:-88px;background:#fff;margin:25px -16px -88px;padding:12px 16px calc(14px + env(safe-area-inset-bottom));display:grid;grid-template-columns:auto 1fr;gap:9px;border-top:1px solid var(--line)}body[data-theme=dark] .sheet-bottom{background:#171717}.sheet-bottom .stepper{height:56px;grid-template-columns:48px 34px 48px}.sheet-bottom .panel-cta{margin:0}.cart-item{grid-template-columns:64px 1fr;align-items:start}.cart-item img,.cart-thumb{width:64px;height:64px}.cart-item .stepper{grid-column:2;margin-top:5px;width:105px}.panel-empty{height:60vh}.to-top{display:none}.toast{bottom:84px;max-width:calc(100% - 32px);white-space:nowrap}.mobile-sheet-page{padding-bottom:10px}
}

@media (max-width:600px){
  body{padding-bottom:calc(72px + env(safe-area-inset-bottom))}
  .hero{height:490px;background:linear-gradient(180deg,#f1e5d6 0 56%,#94a875 56.2% 100%)}
  .hero:after{content:"";position:absolute;z-index:2;left:0;right:0;bottom:0;height:47%;background:linear-gradient(180deg,transparent,rgba(30,38,24,.22));pointer-events:none}
  .hero-copy{position:relative;left:auto;right:auto;top:auto;width:100%;max-width:none;padding:27px 22px 0}
  .hero h1{max-width:none;font-size:34px;line-height:1.02;margin:10px 0 12px;overflow-wrap:normal;word-break:normal}
  .hero p{max-width:315px;font-size:15px;line-height:1.42}
  .hero-cta{position:relative;z-index:5;margin-top:16px}
  .hero-word{display:none}
  .hero-dish{z-index:1;border-width:5px}
  .hero-dish.one{width:210px;height:210px;right:-24px;bottom:-24px}
  .hero-dish.two{width:148px;height:148px;left:-22px;right:auto;top:auto;bottom:-16px}
  .promos-rail{margin-inline:0;scroll-padding-left:16px}
  .promo-card{flex:0 0 calc((100vw - 42px)/2);height:190px;padding:14px;min-width:0}
  .promo-card h3{max-width:145px;font-size:17px;line-height:1.08;overflow-wrap:normal;word-break:normal;hyphens:none}
  .promo-card p{max-width:98px;font-size:7.5px;overflow-wrap:normal;word-break:normal;hyphens:none}
  .promo-card img{width:100px;height:100px}
  .preorder{width:calc(100% - 32px);margin-inline:16px;padding:14px;align-items:flex-start}
  .preorder .warn{flex:0 0 auto;line-height:1.1}
  .preorder span:last-child{min-width:0;overflow-wrap:break-word}
  .carousel-section .section-head p{display:none}
  .toast{white-space:normal;text-align:center}
  .loading-hero{height:490px}
}

@media (max-width:350px){.hero h1{font-size:30px}.hero p{font-size:14px}}

@media (prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* ===== Круг 2: правки приёмки (Claude), мобильный герой/афиши/подписи ===== */
@media (max-width:600px){
  .hero{height:auto;min-height:0;padding:26px 20px 168px;overflow:hidden}
  .hero-copy{position:relative;left:auto;top:auto;max-width:100%;z-index:2}
  .hero h1{font-size:29px;line-height:1.15;max-width:100%;margin:8px 0}
  .hero p{font-size:15px;max-width:92%}
  .hero-cta{margin-top:14px}
  .hero-word{font-size:28px;right:10px;top:10px}
  .hero-dish.one{width:150px;height:150px;right:-24px;bottom:-26px;z-index:1}
  .hero-dish.two{width:104px;height:104px;left:14px;right:auto;top:auto;bottom:-20px;z-index:1}
  .hero-dish.three{display:none}
  .promos-rail{gap:12px}
  .promo-card{flex:0 0 216px;height:216px;padding:16px;border-radius:16px}
  .promo-card h3{font-size:19px;line-height:1.2;max-width:160px}
  .promo-card p{font-size:10px;max-width:150px}
  .promo-card img{width:124px;height:124px;right:-16px;bottom:-10px}
  .promo-card:before{width:132px;height:132px;border-width:10px}
  .preorder{flex-wrap:wrap}
  .preorder span:last-child{flex:1 1 100%;min-width:0;white-space:normal;overflow-wrap:anywhere}
  .section-head{flex-wrap:wrap}
  .section-head p{display:none !important}
  body{overflow-x:hidden}
}

/* ===== Круг 2: правки Александра — герой, афиши, самовывоз и адрес ===== */
.hero{
  height:520px;
  background:
    radial-gradient(circle at 48% 105%,rgba(255,255,255,.32) 0 20%,transparent 48%),
    linear-gradient(135deg,#f3eadc 0 42%,#9cad7e 73%,#899d69 100%);
  box-shadow:0 18px 48px rgba(70,78,48,.12);
}
.hero:before{left:-16%;bottom:-68%;width:82%;height:126%;background:linear-gradient(145deg,#879b68,#718656);border-radius:50%;transform:rotate(-8deg)}
.hero-monogram{position:absolute;z-index:-1;left:25px;bottom:8px;font-size:116px;line-height:.8;font-weight:900;letter-spacing:-.065em;color:rgba(255,255,255,.16);white-space:nowrap;pointer-events:none}
.hero-copy{left:58px;top:50%;transform:translateY(-50%);max-width:470px}
.hero h1{font-size:54px;line-height:1.01;max-width:470px;margin:14px 0 18px;text-wrap:balance}
.hero p{font-size:19px;font-weight:500;max-width:none}
.hero-cta{height:56px;margin-top:28px;padding:0 27px;border-radius:16px;font-size:17px;box-shadow:0 12px 25px rgba(26,29,20,.2);transition:transform .2s ease,box-shadow .2s ease}
.hero-cta:hover{transform:translateY(-2px);box-shadow:0 16px 31px rgba(26,29,20,.28)}
.hero-visual{position:absolute;z-index:2;inset:0 0 0 auto;width:55%;overflow:hidden;border-radius:49% 0 0 49% / 58% 0 0 58%;box-shadow:-22px 0 46px rgba(35,37,24,.24)}
.hero-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(53,57,34,.16),transparent 24%);pointer-events:none}
.hero-pizza{width:100%;height:100%;display:block;object-fit:cover;object-position:center;transform:scale(1.045);filter:saturate(1.08) contrast(1.02)}

.promo-card{transition:transform 250ms ease,box-shadow 250ms ease;animation:promoReveal .62s cubic-bezier(.22,.72,.22,1) both;will-change:translate}
.promos-rail .promo-card:nth-child(2),.promo-page-item:nth-child(2) .promo-card{animation-delay:80ms}
.promos-rail .promo-card:nth-child(3),.promo-page-item:nth-child(3) .promo-card{animation-delay:160ms}
.promos-rail .promo-card:nth-child(4),.promo-page-item:nth-child(4) .promo-card{animation-delay:240ms}
.promo-card:hover{transform:translateY(-9px);box-shadow:0 24px 50px rgba(44,39,29,.2)}
.promo-card img{transition:transform 250ms ease}
.promo-card:hover img{transform:scale(1.04)}
.promo-card:before{border:0;background:repeating-linear-gradient(45deg,rgba(255,255,255,.72) 0 8px,rgba(255,255,255,0) 8px 16px);animation:stripeSpin 60s linear infinite;transform-origin:center}
@keyframes promoReveal{from{opacity:0;translate:0 20px}to{opacity:1;translate:0 0}}
@keyframes stripeSpin{to{transform:rotate(360deg)}}

.pickup-intro{margin:0 0 13px;color:var(--muted);line-height:1.45}
.pickup-list{max-height:none;overflow:visible;gap:10px}
.pickup-point{width:100%;min-height:82px;padding:13px 14px;gap:12px;border-radius:15px;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.pickup-point:hover{border-color:#a9bb70;box-shadow:0 8px 20px rgba(59,66,39,.1);transform:translateY(-1px)}
.pickup-radio{width:25px;height:25px;flex:0 0 25px;display:grid;place-items:center;border-radius:50%;background:#eff3e4;color:#6f8844;font-weight:700}
.pickup-copy{display:flex;min-width:0;flex:1;flex-wrap:wrap;align-items:center;gap:4px 8px}
.pickup-copy strong{flex:1 1 100%;font-size:15px;line-height:1.3}
.pickup-copy small{flex:1 1 100%;color:var(--muted);font-size:12px}
.pickup-copy em{align-self:flex-start;display:inline-flex;padding:5px 8px;border-radius:8px;background:#dfee55;color:#33410f;font-size:11px;line-height:1;font-style:normal;font-weight:800;letter-spacing:.01em;box-shadow:0 3px 8px rgba(136,151,34,.2)}
.pickup-point.selected{border-color:#8da94e;box-shadow:0 0 0 1px #8da94e}
.pickup-point.unavailable{background:#f1f1ef;border-color:#ddd;color:#92928d;cursor:not-allowed;box-shadow:none}
.pickup-point.unavailable:hover{border-color:#ddd;box-shadow:none;transform:none}
.pickup-point.unavailable .pickup-radio{background:#e2e2df;color:#aaa}
.pickup-copy .pickup-unavailable{color:#858580;font-weight:600}
.minimum-order-note{margin:12px 2px 0;color:#b1473f;font-size:13px;line-height:1.4}
.panel-cta:disabled{cursor:not-allowed;opacity:.45}
.delivery-address-block>label,.house-field>label{display:block;margin:0 0 8px;font-size:14px;font-weight:600}
.house-field{margin-top:16px}.house-field.is-hidden{display:none}
.autocomplete-field{position:relative}
.address-suggestions{position:absolute;z-index:12;left:0;right:0;top:calc(100% + 6px);max-height:265px;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 15px 35px rgba(24,26,19,.16)}
.address-suggestions:empty{display:none}
.address-suggestion{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 13px;background:#fff;text-align:left;border-bottom:1px solid var(--line)}
.address-suggestion:first-child{border-radius:12px 12px 0 0}.address-suggestion:last-child{border-bottom:0;border-radius:0 0 12px 12px}
.address-suggestion:hover,.address-suggestion:focus-visible{background:#f0f4e8;outline:0}
.address-suggestion small{color:var(--muted);font-size:11px;white-space:nowrap}
.address-suggestion-empty{padding:12px 13px;color:var(--muted);font-size:13px}
.address-help{display:block;color:var(--muted);margin-top:12px;line-height:1.35}
.pickup-discount{font-weight:700}
body[data-theme=dark] .address-suggestions,body[data-theme=dark] .address-suggestion{background:#232323}
body[data-theme=dark] .address-suggestion:hover,body[data-theme=dark] .address-suggestion:focus-visible{background:#303629}

@media (max-width:800px) and (min-width:601px){
  .hero-copy{left:38px;max-width:45%}.hero h1{font-size:40px}.hero-visual{width:53%}.hero-monogram{font-size:82px}
}

@media (max-width:600px){
  .hero{height:520px;min-height:520px;padding:27px 20px 260px;background:linear-gradient(180deg,#f3eadc 0 53%,#94a875 77%,#7e925f 100%)}
  .hero:before{left:-26%;bottom:-58%;width:102%;height:78%;transform:rotate(-7deg)}
  .hero-copy{position:relative;left:auto;top:auto;transform:none;max-width:100%;padding:0;z-index:4}
  .hero-kicker{font-size:10px}
  .hero h1{font-size:34px;line-height:1.03;max-width:355px;margin:10px 0 12px}
  .hero p{font-size:15px;line-height:1.4;max-width:100%}
  .hero-cta{height:46px;margin-top:16px;padding:0 20px;font-size:15px}
  .hero-monogram{display:block;z-index:0;left:8px;bottom:229px;font-size:56px;color:rgba(255,255,255,.18)}
  .hero-visual{z-index:2;inset:auto 0 0;width:100%;height:244px;border-radius:48% 48% 0 0 / 22% 22% 0 0;box-shadow:0 -16px 36px rgba(35,37,24,.2)}
  .hero-pizza{object-position:center 48%;transform:scale(1.04)}
  .promo-card:hover{transform:none;box-shadow:none}
  .pickup-point{min-height:88px}
}

@media (max-width:350px){.hero h1{font-size:30px}.hero{padding-inline:16px}}

@media (prefers-reduced-motion:reduce){.promo-card,.promo-card:before{animation:none!important}.promo-card:hover img{transform:none}}

/* ===== Живые видео-афиши (ролики Sora, техника gaijin) ===== */
.promo-card.promo-live{position:relative;overflow:hidden;background:#F1E6D2}
.promo-card.promo-live .promo-video,.promo-card.promo-live .promo-media-image{display:block;position:absolute;inset:0;width:100%;height:100%;border-radius:0;filter:none;object-fit:cover;z-index:0}
.promo-card.promo-live h3,.promo-card.promo-live p{position:relative;z-index:1}
.promo-card.promo-live:before{display:none}
.promo-card.promo-live:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 32%,rgba(255,255,255,0) 66%,rgba(255,255,255,.45) 100%);z-index:1;pointer-events:none}
.promo-card.promo-live h3,.promo-card.promo-live p{z-index:2}

/* Логотип чёрным во всех местах (правка Александра, восстановлено после дельты) */
.brand img,.mobile-brand img,.footer-logo img,.phone-screen-logo{filter:brightness(0)}

/* ===== ТЗ-9: полный мобильный адаптив 390–430 px ===== */
@media (max-width:600px){
  /* Общая защита вьюпорта, типографика, изображения и элементы форм */
  html,body{width:100%;max-width:100%;overflow-x:clip}
  body{font-size:15px}
  #app,main,.page,.page>*,.panel,.panel>*,.product-card,.lunch-card,.review-card,.blog-card{min-width:0;max-width:100%}
  img{max-width:100%;height:auto}
  video,canvas{max-width:100%}
  .page{width:100%;padding:28px 16px calc(96px + env(safe-area-inset-bottom))}
  .page-top,.editorial-head{width:100%;margin-bottom:24px}
  .page h1,.page h2,.page h3,.page p,.page-lead{max-width:100%;overflow-wrap:anywhere}
  .page h1,.editorial-head h1{font-size:32px;line-height:1.08}
  .page-lead{font-size:16px;line-height:1.5}
  .content-form,.content-form fieldset,.content-form label,.form-block{width:100%;min-width:0}
  .content-form label{font-size:15px}
  .content-form input,.content-form select,.content-form textarea,.form-block>input,.form-block>select,.form-block>textarea,.delivery-address-block input,.tech-toolbar input{width:100%;max-width:100%;min-width:0;min-height:48px;font-size:16px}
  .content-form textarea,.form-block>textarea{min-height:132px;height:auto;resize:vertical}
  .content-form .dark-button,.booking-form .dark-button,.vacancy-form .dark-button,.profile-form .dark-button,.address-book-form .dark-button{width:100%;min-height:48px}
  .form-pair{grid-template-columns:minmax(0,1fr);gap:15px}
  .content-form small{font-size:15px}

  /* /personal — одна колонка, прокручиваемые вкладки, карта → QR → история */
  .personal-page,.personal-page #personalContent{width:100%;min-width:0}
  .personal-tabs{display:flex;flex-wrap:nowrap;gap:8px;width:auto;max-width:none;margin:0 -16px 24px;padding:0 16px 6px;overflow-x:auto;overflow-y:hidden;scroll-padding-inline:16px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
  .personal-tabs::-webkit-scrollbar{display:none}
  .personal-tabs button{flex:0 0 auto;height:44px;min-height:44px;padding:0 15px;scroll-snap-align:start}
  .personal-section{grid-template-columns:minmax(0,1fr);gap:18px;width:100%}
  .address-book,.address-book-form,.profile-form,.orders-grid,.order-card,.bonus-summary,.bonus-card-screen,.loyalty-card,.bonus-history{width:100%;max-width:none}
  .address-book article{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;width:100%;padding:18px;overflow-wrap:anywhere}
  .address-book article>div:last-child{display:flex;flex-wrap:wrap;gap:8px;margin-top:0}
  .address-book article button{min-width:96px;min-height:44px;margin:0;padding:0 12px;border-radius:12px;background:var(--bg);font-size:15px}
  .address-book-form,.profile-form{padding:18px}
  .bonus-summary{grid-template-columns:minmax(0,1fr);gap:12px}
  .bonus-summary>div{min-height:112px;padding:18px}
  .bonus-summary p{grid-column:auto;padding:16px 18px;overflow-wrap:anywhere}
  .bonus-card-screen{grid-template-columns:minmax(0,1fr);gap:18px}
  .loyalty-card{min-height:230px;padding:22px;order:1}
  .loyalty-card>strong{font-size:28px}
  .loyalty-card>b{font-size:36px}
  .bonus-qr{order:2;width:min(280px,100%);max-width:100%;margin:0 auto;padding:15px}
  .bonus-qr canvas{display:block;width:100%;min-width:200px;height:auto;margin:auto}
  .bonus-qr small{font-size:12px;overflow-wrap:anywhere}
  .bonus-history{order:3;padding:18px}
  .bonus-history>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start;font-size:15px;line-height:1.4}
  .bonus-history>div span{min-width:0;overflow-wrap:anywhere}
  .bonus-history>div strong{white-space:nowrap}
  .orders-grid{grid-template-columns:minmax(0,1fr);gap:12px}
  .order-card{padding:18px;overflow-wrap:anywhere}
  .order-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
  .order-card>span{font-size:15px}
  .order-card .dark-button{width:100%;min-height:48px}

  /* /bron — предупреждение и форма строго друг под другом */
  .booking-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;width:100%}
  .booking-notice,.booking-form{width:100%;min-width:0}
  .booking-notice{padding:20px 18px;gap:13px}
  .booking-notice>span{width:44px;height:44px;flex-basis:44px}
  .booking-notice h2{font-size:20px;overflow-wrap:anywhere}
  .booking-notice p{font-size:15px;overflow-wrap:anywhere}
  .booking-form{padding:18px}
  .content-section{margin:40px 0}
  .banket-request{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;width:100%;margin:46px 0 0;padding:24px 18px;border-radius:20px}
  .banket-request h2{font-size:27px}

  /* /reviews — полноширинные карточки и безопасные длинные тексты */
  .reviews-layout,.reviews-grid{display:grid;grid-template-columns:minmax(0,1fr);width:100%;gap:14px}
  .review-card,.review-form-wrap{width:100%;min-width:0}
  .review-card{padding:18px;overflow:hidden}
  .review-meta{display:grid;grid-template-columns:minmax(0,1fr);gap:5px}
  .review-card p,.review-meta>*{font-size:15px;overflow-wrap:anywhere;word-break:normal}
  .review-card p{margin-top:16px}
  .review-form-wrap{position:static;padding:18px}

  /* /blog и статья — одна колонка, фото и текст внутри 16 px полей */
  .blog-grid{grid-template-columns:minmax(0,1fr);gap:28px;width:100%}
  .blog-card,.blog-card>a,.blog-photo{width:100%;min-width:0}
  .blog-photo img,.article-cover{display:block;width:100%;max-width:100%;height:auto}
  .blog-card h2{font-size:20px;overflow-wrap:anywhere}
  .blog-card p{font-size:15px;line-height:1.5;overflow-wrap:anywhere}
  .article-page{width:100%;max-width:100%;padding-inline:16px}
  .article-page h1{font-size:30px;overflow-wrap:anywhere}
  .article-cover{max-height:none;margin:22px 0;border-radius:15px;object-fit:contain}
  .article-copy{width:100%;max-width:100%;font-size:16px;line-height:1.65;overflow-wrap:anywhere}
  .back-link{min-height:48px;padding-inline:18px}

  /* /vakansii — вводный текст и анкета одной колонкой */
  .vacancies-page,.vacancy-form{width:100%;max-width:100%}
  .vacancy-form{display:grid;grid-template-columns:minmax(0,1fr);padding:18px}
  .vacancy-form input[type=file]{padding:10px}

  /* /business-lunch — две карточки и полноширинное правило */
  .rule-banner{display:flex;width:100%;max-width:100%;margin-bottom:24px;padding:16px;gap:12px;overflow-wrap:anywhere}
  .rule-banner span{flex:0 0 auto;font-size:21px}
  .rule-banner strong{min-width:0;font-size:15px;line-height:1.4}
  .lunch-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px;width:100%}
  .lunch-card{width:100%;border-radius:16px}
  .lunch-card>div:last-child{padding:12px}
  .lunch-title{display:grid;grid-template-columns:minmax(0,1fr);gap:7px}
  .lunch-title h2{font-size:16px;line-height:1.3;overflow-wrap:anywhere}
  .lunch-title strong{font-size:15px;white-space:normal}
  .lunch-card p{font-size:15px;line-height:1.4;overflow-wrap:anywhere}

  /* Корзина, прогресс подарка и оформление */
  .panel{max-width:100%;overflow-x:hidden}
  .panel-head,.cart-items,.cart-item,.cart-tools,.gift-progress,.gift-choices,.totals,.checkout-form{width:100%;min-width:0;max-width:100%}
  .close-button,.round-button{width:44px;height:44px;min-width:44px;min-height:44px}
  .cart-item{grid-template-columns:64px minmax(0,1fr);gap:10px;padding:11px}
  .cart-item>div:nth-child(2){min-width:0;overflow-wrap:anywhere}
  .cart-item h3{overflow-wrap:anywhere}
  .cart-item .stepper{grid-column:2;width:132px;max-width:100%;height:44px;grid-template-columns:44px minmax(32px,1fr) 44px}
  .stepper button{min-width:44px;min-height:44px}
  .gift-progress{margin:16px 0;padding:15px;overflow:hidden}
  .gift-progress>div:first-child{display:grid;grid-template-columns:minmax(0,1fr);gap:5px}
  .gift-progress>div:first-child strong,.gift-progress>div:first-child span,.gift-progress p{font-size:15px;line-height:1.4;overflow-wrap:anywhere}
  .gift-choices{grid-template-columns:minmax(0,1fr)}
  .gift-choice{grid-template-columns:48px minmax(0,1fr) 24px;width:100%;min-height:64px}
  .gift-choice span{min-width:0;font-size:15px;line-height:1.3;overflow-wrap:anywhere}
  .gift-choice img{width:48px;height:48px}
  .promo-input{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}
  .promo-input button{min-height:44px;padding-inline:12px}
  .total-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start;line-height:1.4}
  .total-row span{min-width:0;overflow-wrap:anywhere}
  .total-row strong{white-space:nowrap}
  .form-block{padding:16px}
  .radio-card{min-height:48px;font-size:15px}
  .panel-cta{min-height:56px}
  .address-suggestion{min-height:48px}
  .filter-chip{min-height:44px;height:44px}

  /* Каталог: метки остаются внутри карточек, контролы доступны пальцем */
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px;width:100%}
  .product-card,.mini-product{position:relative;min-width:0;overflow:hidden}
  .badges{left:6px;right:6px;top:6px;width:auto;max-width:calc(100% - 12px);gap:3px;overflow:hidden}
  .badge{max-width:100%;min-height:20px;padding:4px 6px;white-space:normal;overflow-wrap:anywhere}
  .stock-badges{display:flex;width:100%;max-width:100%;min-width:0;flex-wrap:wrap;align-items:flex-start;overflow:hidden}
  .stock-badge{display:inline-flex;max-width:100%;min-width:0;padding:5px 6px;font-size:9px;line-height:1.25;white-space:normal;overflow-wrap:anywhere}
  .product-title,.product-desc{overflow-wrap:anywhere}
  .product-weight{white-space:normal}
  .mobile-price-add,.unavailable-buy{width:100%;min-height:44px;height:44px;padding-inline:9px}
  .product-buy{min-height:44px}
  .product-buy .stepper{width:100%;height:44px;grid-template-columns:44px minmax(28px,1fr) 44px}
  .category-chip{height:44px;min-height:44px}
  .filter-button{width:44px;height:44px;min-width:44px;min-height:44px}
  .offer-segment button{min-height:44px}

  /* Регресс старых страниц: главная, акции, контакты и футер */
  .community{width:calc(100% - 32px);max-width:calc(100% - 32px);margin:10px 16px 45px}
  .promo-page-grid{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  .promo-page-item,.promo-page-item .promo-card{min-width:0;max-width:100%}
  .promo-page-item p,.contact-card p,.info-page p,.footer-logo p,.footer-col a,.footer-col p,.footer-points{font-size:15px;overflow-wrap:anywhere}
  .contacts-grid{grid-template-columns:minmax(0,1fr);width:100%}
  .contact-card{width:100%;min-width:0}
  .contact-card a{display:inline-flex;align-items:center;min-height:44px}
  .footer-grid{grid-template-columns:minmax(0,1fr);width:100%;padding-inline:0}
  .footer-col a{display:flex;align-items:center;min-height:44px;margin:0}
  .search-result{grid-template-columns:46px minmax(0,1fr) auto;width:100%}
}
.logout-chip{margin-left:auto;height:44px;padding:0 18px;border-radius:12px;background:#F0F0F0;font-size:15px;cursor:pointer;border:0}
.card-link-screen{max-width:460px}
.login-form label{display:block;margin-bottom:14px}

/* ===== ТЗ-16: каталог Мамамии в геометрии ресторанного маркетплейса ===== */
:root{--ink:#21201f;--muted:#9e9b98;--surface:#f5f4f2;--surface-2:#ecebe8;--line:#e5e3df;--accent:#82a74c;--container:1336px}
body{background:#fff;color:var(--ink)}
.main-stack{display:block;margin:0}
.hero{width:100%;height:510px;margin:0;border-radius:0;background:#667943}
.hero:before{inset:0;background:linear-gradient(90deg,rgba(25,31,15,.82) 0%,rgba(39,48,24,.54) 39%,rgba(39,48,24,.05) 70%);border-radius:0;transform:none;z-index:3}
.hero-copy{left:max(calc(var(--hero-arrow-offset,16px) + var(--nav-arrow-size) + 24px),calc((100vw - 1336px)/2 + 32px));top:50%;max-width:520px;transform:translateY(-50%);color:#fff;z-index:5}
.hero-copy .hero-kicker{color:#d8eaaf}.hero h1{font-size:58px;line-height:1.01;max-width:520px}.hero p{font-size:19px}.hero-cta{background:var(--accent);box-shadow:none}
.hero-monogram{display:none}.hero-visual{inset:0;width:100%;height:100%;border-radius:0;box-shadow:none}.hero-visual:after{display:none}.hero-pizza{object-fit:cover;object-position:center 46%;transform:scale(1.01);filter:saturate(1.05) contrast(1.03)}

.catalog{margin-top:0}.category-bar{top:0;height:59px;background:#fff;border-bottom:1px solid var(--line);box-shadow:none;z-index:35}.category-bar.stuck{border-color:var(--line);box-shadow:0 5px 15px rgba(33,32,31,.04)}
.category-bar-inner{width:min(976px,calc(100% - 408px));height:58px;margin-left:max(24px,calc((100% - 1336px)/2));margin-right:0;padding:0;gap:0;position:relative}
.chip-scroll{gap:28px;padding:0 45px 0 0;scroll-padding-inline:44px}.category-chip{height:58px;padding:0;border-radius:0;background:transparent!important;color:var(--muted);font-size:16px;font-weight:400;position:relative}.category-chip.active{color:var(--ink);font-weight:700}.category-chip.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--ink)}
.category-arrow.prev{left:0}.category-arrow.next{right:0}

.catalog-layout{width:min(1336px,calc(100% - 48px));margin:0 auto;display:grid;grid-template-columns:minmax(0,976px) 336px;gap:24px;align-items:start;padding-top:26px}.catalog-content{min-width:0;padding-inline:20px}.delivery-banner{height:66px;border-radius:16px;background:#e4f2dc;color:#72aa52;display:flex;align-items:center;gap:8px;padding:0 22px;margin-bottom:48px;font-size:16px}.delivery-banner strong{font-weight:700}.delivery-icon{width:38px;height:38px;border-radius:12px;background:#fff;display:grid;place-items:center;margin-right:3px}.delivery-icon svg{width:22px;height:22px}
.product-section{scroll-margin-top:78px;margin-bottom:150px}.product-section h2{margin:0 0 24px;font-size:30px;line-height:1.1;font-weight:800;letter-spacing:-.025em}.product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:44px 24px}
.product-card{display:block;min-width:0;padding:0;border-radius:0;background:transparent;box-shadow:none;cursor:pointer}.product-card:hover{transform:none;box-shadow:none}.product-media{position:relative}.product-card .photo-frame{width:100%;aspect-ratio:1;border-radius:16px;background:#f4f3f1}.product-card .photo-frame img{padding:0;object-fit:cover;border-radius:16px}.product-card .photo-frame:before,.product-card .photo-frame:after{display:none}.product-card .badges,.product-card .stock-badges,.product-card .product-desc{display:none!important}
.product-card-content{padding:12px 0 0;display:block}.card-price{font-size:16px;line-height:20px;font-weight:700;color:var(--ink);margin-bottom:4px}.product-title{font-size:13px;line-height:18px;font-weight:400;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-weight{font-size:13px;line-height:18px;color:var(--muted);margin-top:1px}.product-buy{position:absolute;z-index:4;right:10px;bottom:10px;min-height:40px;margin:0}.quick-add{width:40px;height:40px;opacity:1;transform:none;background:#fff;color:var(--ink);box-shadow:0 3px 12px rgba(33,32,31,.16);font-size:25px}.product-card:hover .quick-add{transform:none}.product-buy .stepper{height:40px;grid-template-columns:38px 32px 38px;border-radius:20px;background:#fff;box-shadow:0 3px 12px rgba(33,32,31,.16)}.product-buy .stepper button{font-size:21px}.product-buy .unavailable-buy{max-width:150px;background:#fff;box-shadow:0 3px 12px rgba(33,32,31,.12)}.product-card.is-unavailable .photo-frame{filter:none;opacity:1}

.cart-rail{position:sticky;top:100px;max-height:calc(100vh - 116px);overflow:auto;padding:22px 18px 18px;border-radius:24px;background:#f5f4f2;scrollbar-width:thin}.rail-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.rail-head h2{margin:0;font-size:21px;font-weight:800}.rail-head button{padding:5px 0;background:transparent;color:var(--muted);font-size:13px}.rail-fulfilment{display:flex;gap:22px;border-bottom:1px solid #dedcd8;margin-bottom:11px}.rail-fulfilment button{height:38px;padding:0;background:transparent;color:var(--muted);font-size:14px;position:relative}.rail-fulfilment button.active{color:var(--ink);font-weight:700}.rail-fulfilment button.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--ink)}.rail-address{width:100%;padding:4px 0 13px;display:flex;justify-content:space-between;gap:12px;background:transparent;color:var(--muted);font-size:12px;text-align:left}
.rail-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.rail-empty h3{max-width:240px;margin:0 0 5px;font-size:17px}.rail-empty p{margin:0;color:var(--muted);font-size:13px}
.rail-items{border-top:1px solid #dedcd8}.rail-item{display:grid;grid-template-columns:56px minmax(0,1fr);column-gap:11px;padding:14px 0;border-bottom:1px solid #dedcd8}.rail-thumb,.rail-thumb img{width:56px;height:56px;border-radius:16px;background:var(--card-bg);object-fit:cover}.rail-item-copy{min-width:0}.rail-item-copy h3{font-size:13px;line-height:16px;margin:0 0 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rail-item-copy strong{display:block;font-size:13px;line-height:16px}.rail-item-copy s{color:var(--muted);font-weight:400}.rail-item-copy small{display:block;color:var(--muted);font-size:11px;margin-top:2px}.rail-stepper{grid-column:2;display:flex;align-items:center;gap:13px;margin-top:8px}.rail-stepper button{padding:0;background:transparent;font-size:19px;line-height:20px}.rail-stepper b{min-width:13px;text-align:center;font-size:13px}
.rail-progress{padding:15px 0 4px}.rail-progress>strong{display:block;font-size:12px;line-height:16px}.rail-track{height:5px;margin:10px 0 12px;border-radius:5px;background:#dedcd8;overflow:hidden}.rail-track i{display:block;height:100%;border-radius:inherit;background:#e2564b}.rail-benefit{display:flex;justify-content:space-between;gap:12px;padding:6px 0;color:var(--muted);font-size:11px}.rail-benefit b{color:var(--ink);white-space:nowrap}.rail-benefit.success,.rail-benefit.success b{color:#618f40}.cart-rail .gift-progress{padding:12px;margin:8px 0;border-radius:13px}.cart-rail .gift-progress>div:first-child span,.cart-rail .gift-track,.cart-rail .gift-progress>p{display:none}.cart-rail .gift-progress strong{font-size:12px}.cart-rail .gift-choices{grid-template-columns:1fr}.rail-total{display:flex;justify-content:space-between;padding:14px 0 10px;font-size:15px}.rail-total strong{font-size:18px}.rail-next{width:100%;height:54px;border-radius:16px;background:var(--accent);color:#fff;font-size:16px;font-weight:700}.rail-next:disabled{opacity:.48;cursor:not-allowed}.mobile-cart-pill{display:none}

.panel.panel-product{width:min(920px,calc(100% - 48px));height:auto;max-height:min(720px,calc(100vh - 80px));max-height:min(720px,calc(100dvh - 80px));margin:auto;padding:0;border-radius:24px;overflow:auto}.product-modal-close{position:absolute;z-index:5;top:14px;right:14px;background:#fff;box-shadow:0 3px 12px rgba(33,32,31,.13)}.product-modal-grid{display:grid;grid-template-columns:34% 1fr;min-height:470px}.panel-product .sheet-product-photo{position:sticky;top:0;align-self:start;width:100%;height:min(470px,calc(100vh - 80px));height:min(470px,calc(100dvh - 80px));min-height:0;aspect-ratio:auto;margin:0;border-radius:24px 0 0 24px}.panel-product .sheet-product-photo img{padding:0;object-fit:contain;border-radius:24px 0 0 24px}.panel-product .sheet-product-photo:before,.panel-product .sheet-product-photo:after{display:none}.product-modal-copy{padding:42px 44px 34px}.sheet-title-row h2{font-size:32px;line-height:1.08;margin:0}.sheet-title-row span{display:block;color:var(--muted);font-size:14px;margin-top:8px}.panel-product .offer-segment{margin:22px 0 0}.product-modal-actions{display:grid;grid-template-columns:auto auto 1fr;gap:14px;align-items:center;margin-top:24px}.product-modal-actions .detail-price{font-size:24px;margin:0;white-space:nowrap}.product-modal-actions .stepper{background:#f5f4f2}.product-modal-actions .panel-cta{height:50px;margin:0;background:var(--accent)}.product-modal-details{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:30px;padding-top:25px;border-top:1px solid var(--line)}.product-modal-details h3{margin:0 0 9px;font-size:15px}.product-modal-details p{margin:0;color:#6f6d6a;font-size:13px;line-height:1.5}

@media (max-width:1100px) and (min-width:601px){.catalog-layout{grid-template-columns:minmax(0,1fr) 320px}.category-bar-inner{width:calc(100% - 392px);margin-left:24px}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

@media (max-width:600px){
  :root{--container:100%}.site-header{position:sticky;top:0}.main-stack{margin:0}.hero{height:390px;min-height:390px;padding:0}.hero:before{inset:0;background:linear-gradient(180deg,rgba(24,30,15,.68),rgba(24,30,15,.14) 70%);z-index:3}.hero-copy{left:20px;right:20px;top:34px;transform:none;padding:0;color:#fff}.hero h1{font-size:38px;max-width:350px;margin:10px 0}.hero p{font-size:15px}.hero-cta{height:45px;margin-top:17px}.hero-visual{height:100%;inset:0}.hero-pizza{object-position:center 60%}
  .catalog{margin-top:0}.category-bar{top:62px;height:58px}.category-bar-inner{width:100%;height:58px;margin:0;padding:0 12px}.chip-scroll{gap:28px;padding:0 42px}.category-chip{height:58px;font-size:16px}.category-arrow{top:9px}.category-arrow.prev{left:8px}.category-arrow.next{right:8px}
  .catalog-layout{width:100%;display:block;padding:16px 16px 0}.catalog-content{padding:0}.delivery-banner{height:auto;min-height:64px;margin:0 0 35px;padding:12px 14px;flex-wrap:wrap;gap:3px 7px}.delivery-icon{grid-row:1/3;margin-right:5px}.delivery-banner strong{flex:1 1 calc(100% - 50px)}.delivery-banner>span:last-child{margin-left:50px;margin-top:-18px;font-size:13px}
  .product-section{scroll-margin-top:132px;margin-bottom:82px}.product-section h2{font-size:26px;margin-bottom:18px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 12px}.product-card{padding:0;border-radius:0}.product-card:hover{box-shadow:none}.product-card-content{padding:9px 0 0}.card-price{font-size:16px;margin-bottom:3px}.product-title{font-size:13px;line-height:17px}.product-weight{font-size:13px;line-height:17px}.product-card .photo-frame{border-radius:14px}.product-card .photo-frame img{padding:0;border-radius:14px}.product-buy{right:7px;bottom:7px}.quick-add{width:40px;height:40px}.product-buy .stepper{height:40px;grid-template-columns:34px 28px 34px}.cart-rail{display:none}.mobile-cart-pill{position:fixed;z-index:75;left:50%;bottom:78px;transform:translateX(-50%);display:block;min-width:220px;height:50px;padding:0 24px;border-radius:25px;background:var(--accent);color:#fff;font-weight:700;box-shadow:0 8px 24px rgba(68,88,35,.3)}
  .mobile-cart-pill[hidden]{display:none}
  .community{margin:0 16px 45px}.panel.panel-product{width:100%;height:min(94dvh,850px);max-height:none;margin:0;padding:18px 16px calc(88px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0}.product-modal-close{top:14px;right:14px}.product-modal-grid{display:block;min-height:0}.panel-product .sheet-product-photo{position:relative;top:auto;width:auto;height:min(45vh,390px);min-height:0;margin:-18px -16px 20px;border-radius:24px 24px 0 0}.panel-product .sheet-product-photo img{border-radius:24px 24px 0 0}.product-modal-copy{padding:0}.sheet-title-row h2{font-size:25px;padding-right:44px}.product-modal-actions{grid-template-columns:auto auto;gap:10px}.product-modal-actions .panel-cta{grid-column:1/-1;height:54px}.product-modal-details{grid-template-columns:1fr;gap:18px;margin-top:25px;padding-bottom:20px}.panel-product .offer-segment{margin-top:18px}
  .panel-cart .panel-empty{min-height:55vh;height:auto}.mobile-tabs [data-tab=cart]{opacity:.62}
}

.card-price .sale-price small{display:none}.sheet-cart .rail-items{margin-top:3px}.sheet-cart .rail-progress{padding-top:18px}.sheet-cart>.gift-progress{margin:10px 0}.sheet-cart .rail-next{margin-top:4px}

/* правка 07.09 (Александр): лента категорий во всю ширину экрана, стрелки по краям */
.category-bar-inner{width:100%;max-width:none;padding:0 64px;position:relative}
.category-bar-inner .chip-scroll{padding:0;scroll-padding-inline:8px}
.category-arrow{top:50%;transform:translateY(-50%)}
.category-arrow.prev{left:14px}
.category-arrow.next{right:14px}
@media (max-width:600px){.category-bar-inner{padding:0 50px}.category-arrow.prev{left:6px}.category-arrow.next{right:6px}}
.category-bar-inner{box-sizing:border-box}
/* жёсткое выравнивание ленты: никаких центровок и min-width из старых правил */
.category-bar-inner{width:auto !important;max-width:none !important;margin:0 !important;box-sizing:border-box !important}

/* фикс 08.09 (Claude): CSS hero-слайдера — Codex сдал разметку без стилей */
.hero-slider{--hero-arrow-offset:16px;position:relative;overflow:hidden;width:100%}
.hero-track{display:flex;align-items:stretch;transition:transform var(--hero-transition-ms,600ms) cubic-bezier(.22,.65,.3,1);will-change:transform}
.hero-slide{flex:0 0 100%;min-width:100%}
.hero-slide.hero-banner{display:block;background:#171717}
.hero-banner-image{width:100%;height:100%;min-height:320px;object-fit:cover;display:block;aspect-ratio:1600/666}
/* ТЗ-41: одинаковые компактные SVG-стрелки категорий и баннера. */
.hero-arrow,.category-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;display:grid;place-items:center;width:var(--nav-arrow-size);height:var(--nav-arrow-size);padding:0;border-radius:50%;background:#fff;color:#21201f;box-shadow:0 2px 8px rgba(33,32,31,.12);cursor:pointer;transition:background-color .15s ease}
.hero-arrow .nav-chevron,.category-arrow .nav-chevron{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.hero-arrow:focus-visible,.category-arrow:focus-visible{outline:2px solid #21201f;outline-offset:2px}
@media(hover:hover){.hero-arrow:hover,.category-arrow:hover{background:#f5f4f2}}
.category-arrow[hidden]{display:none}
.hero-prev{left:var(--hero-arrow-offset)}
.hero-next{right:var(--hero-arrow-offset)}
.hero-dots{position:absolute;left:50%;transform:translateX(-50%);bottom:14px;display:flex;gap:8px;z-index:5}
.hero-dots button{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.55);padding:0;border:none}
.hero-dots button.active{background:#fff;width:22px;border-radius:4px}
@media (max-width:600px){.hero-arrow{display:none}.hero-banner-image{min-height:220px}}

/* правка 08.09 (Александр): зазор между слайдером и блоком акций; hover-подъём карточек не наезжает на слайдер */
.hero-slider{margin-bottom:32px}
.promos-rail{padding-top:12px}
@media (max-width:600px){.hero-slider{margin-bottom:18px}.promos-rail{padding-top:8px;margin-bottom:18px}}

/* ===== ТЗ-20/25: вход в ЛК по SMS и SEO-текст ===== */
.login-box { width: 100%; max-width: 460px; }
.login-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.login-tabs button { flex: 1 1 160px; min-height: 44px; white-space: normal; }
.sms-login form[hidden] { display: none; }
.sms-login input { min-width: 0; font-size: 16px; }
.sms-login input[name="code"] { letter-spacing: .3em; }
.sms-login button { min-height: 44px; }
.sms-login button:disabled { opacity: .55; cursor: wait; }
.sms-status { margin: 16px 0; color: var(--muted); line-height: 1.5; }
.sms-change-phone { background: transparent; color: inherit; border: 1px solid var(--line, #ddd); border-radius: 12px; padding: 10px 16px; }
.sms-order-summary { max-width: 560px; }
.sms-order-summary dl { margin: 24px 0; }
.sms-order-summary dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 14px 0; border-bottom: 1px solid var(--line, #ddd); }
.sms-order-summary dt { color: var(--muted); }
.sms-order-summary dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.login-box :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
/* TZ25: visible source SEO copy; native-lazy images work before hydration. */
.page-seo-copy { margin-top: 32px; margin-bottom: 32px; line-height: 1.6; }
.page-seo-heading { margin-top: 24px; margin-bottom: 24px; }

/* ===== ТЗ-26: мобильные версии баннеров (правила активны только при наличии мобильного файла) ===== */
.hero-banner>picture{display:block;width:100%;height:100%}
.hero-visual>picture{display:contents}
.hero-slide picture img{object-position:center}
.promo-card .promo-media-image,.promo-card .promo-video{object-position:center}
@media (max-width:600px){
  .hero-slider:has(.hero-slide picture source){height:min(125vw,560px)}
  .hero-slider:has(.hero-slide picture source) .hero-slide{height:100%;min-height:0}
  .hero-slider:has(.hero-slide picture source) .hero-banner-image{height:100%;min-height:0;aspect-ratio:auto}
  .hero-primary.has-mobile-photo .hero-copy{visibility:hidden}
  .hero-primary.has-mobile-photo .hero-visual{position:absolute;inset:0;width:100%;height:100%;margin:0;transform:none}
  .hero-primary.has-mobile-photo .hero-pizza{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:center;transform:none;border-radius:0;filter:none;animation:none}
}

/* ===== ТЗ-28: автопрокрутка — при «уменьшить движение» переход без плавности ===== */
@media (prefers-reduced-motion:reduce){.hero-track{transition-duration:0ms}.hero-arrow,.hero-dots button{transition:none}}

/* ===== Правки владельца 08.09: кнопка корзины как у delivery.gaijin.rest ===== */
.pill-button.cart-button{background:#1dbf73;color:#fff}
.pill-button.cart-button:hover{background:#1a944b;color:#fff}
.pill-button.cart-button svg{stroke:#fff}
/* логотип RU */
.brand{width:168px;padding:6px 10px}.brand img,.mobile-brand img{filter:brightness(0)}.mobile-brand img{max-height:34px;width:auto}

/* ТЗ-35. Канонические стили; правки владельца выше сохранены. */
:root{--site-header-height:86px;--category-bar-height:60px;--nav-arrow-size:32px}
.site-header{position:sticky;top:0;z-index:50;height:var(--site-header-height)}
.header-inner{width:calc(100% - 48px);max-width:1840px;height:var(--site-header-height);padding:0}
.header-fulfilment{flex-shrink:0;gap:0}
.header-fulfilment button{font-size:12px;padding:10px 12px}
.category-bar-shell{position:sticky;top:var(--site-header-height);z-index:40;background:#fff}
.category-bar{position:relative;top:0;z-index:0;width:100%;height:var(--category-bar-height);background:#fff;backdrop-filter:none;border-radius:20px;border:1px solid var(--line);box-shadow:0 6px 18px rgba(0,0,0,.05);overflow:hidden;box-sizing:border-box}
body[data-theme=dark] .category-bar-shell,body[data-theme=dark] .category-bar{background:#171717}
.category-bar.stuck{border-color:var(--line);box-shadow:0 8px 22px rgba(0,0,0,.07)}
.category-bar-inner{width:100%!important;max-width:1840px!important;margin:0 auto!important;min-width:0;height:100%;padding-inline:48px}
.chip-scroll{min-width:0;max-width:100%;overflow-x:auto;scroll-behavior:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;touch-action:pan-x;scrollbar-width:none;scroll-snap-type:none}
.chip-scroll .category-chip{touch-action:pan-x;pointer-events:auto;scroll-snap-align:none}
.category-chip{flex-shrink:0}
.catalog-layout{width:calc(100% - 48px);max-width:1840px;grid-template-columns:minmax(0,1fr) 320px;gap:24px;padding-top:0}
.catalog-content{padding-inline:0;min-width:0}
.catalog-content>.community,.catalog-content>.page-seo-copy{width:100%;max-width:100%;margin-inline:0;box-sizing:border-box}
.catalog-sections{padding-top:24px}
.catalog-content .product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:24px 20px}
.product-section{scroll-margin-top:calc(var(--site-header-height) + var(--category-bar-height) + 16px)}
.product-card,.product-card-content,.rail-item-copy{min-width:0}
.delivery-banner{margin-bottom:32px;flex-wrap:wrap;height:auto;min-height:66px;padding-block:12px}
.cart-rail{top:var(--site-header-height);height:calc(100dvh - var(--site-header-height));max-height:none;box-sizing:border-box}
.panel.panel-cart,.panel.panel-checkout{position:fixed;inset:0 0 0 auto;transform:none;width:min(520px,100%);height:100dvh;max-height:100dvh;border-radius:0;padding:24px;overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box}
.panel-cart .sheet-cart{min-width:0}.panel-cart .panel-head,.panel-checkout .panel-head{flex-shrink:0}
.sheet-cart .rail-next{position:sticky;bottom:0}
.nutrition{color:var(--muted);font-size:14px;line-height:1.5}
.modifier-options{border:0;padding:0;margin:24px 0;min-width:0}
.modifier-options legend{font-weight:700;margin-bottom:12px}
.modifier-option{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);font-size:14px}
.modifier-option img{width:42px;height:42px;object-fit:cover;border-radius:10px}
.modifier-option span{flex:1;min-width:0}.modifier-option strong{white-space:nowrap}
.pickup-bag{display:flex;align-items:center;gap:10px;padding:16px 0;font-size:14px}
.banquet-time{display:grid;gap:8px;margin:16px 0;font-size:14px}
.banquet-time input{width:100%;min-width:0;max-width:100%;padding:10px;border:1px solid var(--line);border-radius:10px;box-sizing:border-box;font:inherit}
.banquet-notice{font-size:14px;line-height:1.5;padding:14px;white-space:normal}
.cart-rail .upsell-rail{display:flex;overflow:auto;max-width:100%;gap:10px}.cart-rail .upsell-card{flex:0 0 135px}
.upsell-card img{height:100px;width:100%;object-fit:cover}
/* ТЗ-41: два блока по макету Дианы, в том же внешнем контейнере, что каталог. */
.events-page{position:relative;width:calc(100% - 48px);max-width:1840px;padding:32px 0 90px;background:#fff}
.events-page>h1{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.events-page>section{margin:0 0 40px}
.events-heading{display:inline-block;width:fit-content;max-width:100%;margin:0 0 20px;padding:10px 18px;border:1px solid #e5e3df;border-radius:14px;background:#fff;color:#21201f;font-size:26px;line-height:1.2;font-weight:700;overflow-wrap:anywhere}
.event-grid,.events-page .promo-page-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0}
.event-card,.events-page .promo-page-item{min-width:0;overflow:hidden;border-radius:18px;background:#21201f;color:#fff}
.event-card{position:relative;display:flex;flex-direction:column;justify-content:flex-end;aspect-ratio:3/4;min-height:min-content;isolation:isolate}
.event-card>img{position:absolute;inset:0;z-index:-1;width:100%;height:100%;object-fit:cover}
.event-card-copy{padding:56px 18px 18px;background:linear-gradient(180deg,transparent,rgba(0,0,0,.72) 56%,rgba(0,0,0,.88))}
.event-card h3,.promo-page-copy h3{margin:0;font-size:20px;line-height:1.25;font-weight:700;overflow-wrap:anywhere}
.event-card p,.events-page .promo-page-copy p{margin:8px 0 0;color:inherit;font-size:15px;line-height:1.4;white-space:pre-line;overflow-wrap:anywhere}
.event-card details{margin-top:10px;font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.event-card summary{cursor:pointer}.event-card-copy>a{display:inline-block;margin-top:10px;text-decoration:underline}
.event-card a:focus-visible,.event-card summary:focus-visible{outline:2px solid #fff;outline-offset:2px}
.promo-page-card{display:flex;flex-direction:column;aspect-ratio:3/4;height:100%;min-height:min-content;color:inherit}
.promo-page-media{position:relative;flex:1 0 160px;min-height:160px;overflow:hidden}
.promo-page-media>img,.promo-page-media>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.promo-page-copy{flex:0 0 auto;padding:18px}
.promo-page-card:focus-visible{outline:2px solid #fff;outline-offset:-4px}
@media(max-width:1280px){.event-grid,.events-page .promo-page-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.restaurants-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:24px}
.restaurant-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:20px;background:var(--surface,#f5f4f2);border-radius:20px}
.restaurant-row h3{margin:0 0 10px;font-size:20px}.restaurant-row a{color:inherit}
.restaurant-row p{margin:6px 0}
.restaurant-row .dark-button{height:42px;min-width:0;padding:0 16px;font-size:14px;border-radius:12px}
.restaurant-hours{font-size:14px;margin:10px 0 14px}
.restaurant-hours>div{display:flex;gap:14px;margin:3px 0}.restaurant-hours dt{flex:0 0 auto;min-width:72px;white-space:nowrap}.restaurant-hours dd{margin:0}
.restaurant-cover{border-radius:18px;overflow:hidden;padding:0;min-width:0;background:transparent}
.restaurant-cover img{width:100%;height:100%;max-height:300px;min-height:220px;object-fit:cover}
@media(max-width:1100px){.restaurants-list{grid-template-columns:minmax(0,1fr)}}
/* ТЗ-40.1: only the restaurant gallery changes the shared overlay alignment. */
.overlay.overlay-gallery{justify-content:center;align-items:center}
.overlay-gallery .overlay-backdrop{background:rgba(0,0,0,.76)}
.panel.panel-gallery{
 --gallery-max-width:min(1100px,92vw);--gallery-max-height:92vh;--gallery-max-height:92dvh;
 flex:0 1 auto;width:max-content;min-width:min(360px,92vw);max-width:var(--gallery-max-width);
 height:auto;max-height:var(--gallery-max-height);margin:0;padding:72px 16px 16px;
 background:#171717;color:#fff;border-radius:20px;overflow:hidden;
 transform:none;transition:none;box-shadow:0 20px 70px rgba(0,0,0,.4)
}
.panel-gallery .gallery-head{position:absolute;top:16px;left:16px;right:16px;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) auto 44px;align-items:center;gap:12px;height:44px}
.panel-gallery .gallery-head h2{min-width:0;margin:0;font-size:20px;line-height:24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.panel-gallery .gallery-counter{min-width:58px;margin:0;font-size:14px;line-height:20px;text-align:center;font-variant-numeric:tabular-nums;white-space:nowrap}
.panel-gallery .close-button,.panel-gallery [data-gallery-step]{width:44px;height:44px;flex-shrink:0;padding:0;border-radius:50%;background:rgba(0,0,0,.6);color:#fff;touch-action:manipulation}
.panel-gallery button:focus-visible{outline:2px solid #fff;outline-offset:-3px}
.panel-gallery .restaurant-gallery{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;min-width:0;min-height:0}
.panel-gallery .restaurant-gallery img{width:auto;height:auto;max-width:calc(var(--gallery-max-width) - 136px);max-height:calc(var(--gallery-max-height) - 88px);min-width:0;min-height:0;object-fit:contain;justify-self:center}
.panel-gallery [data-gallery-step]{font-size:36px;line-height:1}
@media(max-width:600px){
 .panel.panel-gallery{width:100%;min-width:0;max-width:100%;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;padding:0;border-radius:0;box-shadow:none}
 .panel-gallery .gallery-head{top:0;left:0;right:0;height:auto;gap:8px;padding:calc(10px + env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 10px max(12px,env(safe-area-inset-left))}
 .panel-gallery .gallery-head h2{font-size:16px}
 .panel-gallery .restaurant-gallery{
  position:absolute;inset:max(calc(64px + env(safe-area-inset-top)),calc(12px + env(safe-area-inset-bottom))) max(env(safe-area-inset-left),env(safe-area-inset-right));
  grid-template-columns:44px minmax(0,1fr) 44px;grid-template-rows:minmax(0,1fr);gap:0
 }
 .panel-gallery .restaurant-gallery img{grid-area:1 / 1 / 2 / -1;width:100%;height:100%;max-width:100%;max-height:100%}
 .panel-gallery [data-gallery-step]{grid-row:1;z-index:1}
 .panel-gallery [data-gallery-step="-1"]{grid-column:1}
 .panel-gallery [data-gallery-step="1"]{grid-column:3;justify-self:end}
}
.lunch-dates{display:flex;gap:10px;overflow-x:auto;max-width:100%;padding:16px 0}
.lunch-card .dark-button{margin:16px 0 0;display:block}
.prepayment-note{line-height:1.5;padding:12px;color:var(--muted)}
.review-honeypot{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}
[data-checkout-error],[data-review-status]{line-height:1.5}
@media(max-width:1200px){.header-fulfilment button{padding-inline:8px}.catalog-layout{grid-template-columns:minmax(0,1fr) 290px}.catalog-content .product-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}}
@media(max-width:1000px){.catalog-layout{display:block}.cart-rail{display:none}.catalog-layout,.header-inner,.events-page{width:calc(100% - 32px)}.event-grid,.events-page .promo-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
 :root{--site-header-height:62px;--category-bar-height:56px;--nav-arrow-size:30px}
 .category-bar{border-radius:16px}
 .mobile-header{height:var(--site-header-height);width:calc(100% - 32px);margin-inline:auto;padding:0;grid-template-columns:44px minmax(0,1fr) 44px}
 .category-bar-inner{width:100%!important;padding:0 42px!important}
 .catalog-layout{padding:0}.catalog-content .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px}
 .panel.panel-cart,.panel.panel-checkout{width:100%;height:100dvh;max-height:100dvh;padding:16px 16px max(24px,env(safe-area-inset-bottom));border-radius:0;inset:0}
 .panel.panel-product{width:100%;max-height:94dvh;border-radius:24px 24px 0 0;bottom:0;top:auto}
 .modifier-option{font-size:13px}.modifier-option img{width:32px;height:32px}
 .events-page{padding-block:24px 95px}.events-page>section{margin-bottom:32px}.events-heading{font-size:24px}
 .event-card-copy{padding:40px 12px 12px}.event-card h3,.promo-page-copy h3{font-size:18px}
 .event-card p,.events-page .promo-page-copy p{font-size:14px}
 .promo-page-copy{padding:12px}.promo-page-media{flex-basis:100px;min-height:100px}
 .restaurant-row{grid-template-columns:minmax(0,1fr);padding:16px;gap:16px}.restaurant-cover img{height:200px;min-height:0}
 .banquet-time input{font-size:16px}.delivery-banner{font-size:13px;padding-inline:12px;gap:6px}.delivery-banner .delivery-icon{display:none}
}

      .product-page-back { display:inline-flex; margin:0 0 16px; gap:8px; }
      .product-page-buy { display:flex; align-items:center; gap:12px; margin:16px 0; }
      .product-page-buy [hidden] { display:none !important; }
      @media (max-width:600px) {
        .product-page .product-detail { display:grid; grid-template-columns:minmax(0,1fr); gap:20px; }
        .product-page .product-detail > .photo-frame {
          display:block !important; position:relative; width:100%; height:auto;
          min-height:0; max-height:none; aspect-ratio:1; overflow:hidden; opacity:1; visibility:visible;
        }
        .product-page .product-detail > .photo-frame > img {
          display:block !important; position:absolute; inset:0; width:100%; height:100%;
          max-height:none; object-fit:contain; opacity:1; visibility:visible; transform:none;
        }
        .product-page .product-detail-info { min-width:0; }
        .product-page .offer-segment { flex-wrap:wrap; }
      }
/* Standalone category pages use the same card scale as the catalog. */
@media(min-width:1001px){.page[data-seo-category]{width:calc(100% - 48px);max-width:1840px}.page[data-seo-category]>.product-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:24px 20px}}

/* ТЗ-35.1: общий размер шапки действует и в HTML до гидратации. */
body{overflow-x:clip}
body.no-scroll{overflow:hidden}
.category-bar .category-chip{height:calc(var(--category-bar-height) - 2px)}
.category-arrow:disabled{opacity:.35;cursor:default}
.category-bar .chip-scroll{scrollbar-width:none}
.category-bar .chip-scroll::-webkit-scrollbar{display:none}
.brand{width:168px;padding:6px 0}
.brand img[src$="mamamia-logo-ru.svg"]{width:168px;height:44px;object-fit:contain;filter:none}
.mobile-brand{width:135px}
.mobile-brand img[src$="mamamia-logo-ru.svg"]{width:135px;height:32px;max-height:32px;object-fit:contain;filter:none}
.footer-logo img[src$="mamamia-logo-ru.svg"],.phone-screen-logo[src$="mamamia-logo-ru.svg"]{filter:none}
@media(prefers-reduced-motion:reduce){}

/* ТЗ-36: единая корзина; шапка и кнопка вне внутренней прокрутки. */
@media(min-width:1001px){.catalog-layout{grid-template-columns:minmax(0,1fr) 370px}}
.cart-rail{padding:0;background:#fff;border-radius:20px 20px 0 0;overflow:hidden;border:1px solid #efefef;border-bottom:0}
.cart-panel-content{display:flex;flex-direction:column;height:100%;min-height:0;min-width:0;color:#242424;background:#fff;text-align:left}
.cart-panel-content *{box-sizing:border-box}
.cart-panel-head{flex:0 0 auto;padding:20px 18px 0;background:#fff}
.cart-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}
.cart-title-row h2{font-size:24px;line-height:30px;font-weight:700;margin:0;white-space:nowrap}
.cart-title-row h2 span{color:#979797;font-size:16px;font-weight:400;margin-left:4px}
.cart-title-row>div{display:flex;align-items:center;gap:12px}
.cart-clear{background:none;padding:8px 0;font-size:12px;color:#777}
.cart-panel-head .close-button{position:static;width:36px;height:36px;font-size:24px;background:#f5f5f5;color:#242424}
.cart-panel-content .rail-fulfilment{display:grid;grid-template-columns:1fr 1fr;gap:4px;border:0;border-radius:16px;background:#f5f5f5;padding:4px;margin:0 0 8px}
.cart-panel-content .rail-fulfilment button{height:38px;border-radius:12px;font-size:14px;color:#777;font-weight:500}
.cart-panel-content .rail-fulfilment button.active{color:#242424;background:#fff;box-shadow:0 1px 5px #0000000a}
.cart-panel-content .rail-fulfilment button.active:after{display:none}
.cart-panel-content .rail-address{font-size:14px;line-height:20px;font-weight:500;align-items:center;padding:4px 0 12px;overflow-wrap:anywhere}
.cart-panel-content .rail-address.is-set{color:#242424}
.rail-address .rail-address-copy{min-width:0;white-space:normal;overflow-wrap:anywhere}
.rail-address .rail-address-arrow{flex:0 0 auto;margin-left:auto}
.cart-scroll{flex:1 1 0;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;padding:4px 18px 20px;scroll-padding:12px}
.cart-scroll>section,.cart-scroll>.pickup-bag,.cart-scroll>.banquet-time{margin-top:20px}
.cart-scroll>section:first-child{margin-top:0}
.cart-gift{background:#f7f7f7;border-radius:16px;overflow:hidden}
.cart-gift-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:15px 12px;background:none;text-align:left;font-size:13px;line-height:18px;color:#242424}
.cart-gift-toggle small{display:block;color:#808080;font-size:11px;font-weight:400;margin-top:3px}
.cart-chevron{font-size:20px;transition:transform .15s}
.cart-gift-toggle[aria-expanded=true] .cart-chevron{transform:rotate(180deg)}
.cart-gift-options{padding:0 8px 8px;display:grid;gap:6px}
.cart-gift-options>p{font-size:12px;padding:4px 8px;margin:0;color:#777}
.cart-gift-options .gift-choice{display:flex;align-items:center;gap:8px;background:#fff;padding:8px;border:1px solid transparent;border-radius:12px;text-align:left;min-width:0;color:#242424}
.cart-gift-options .gift-choice.selected{border-color:var(--accent)}
.cart-gift-options .gift-choice img{width:44px;height:44px;border-radius:10px;object-fit:cover}
.cart-gift-options .gift-choice>span{flex:1;min-width:0;font-size:12px;line-height:16px}
.cart-gift-options .gift-choice small{display:block;color:#777;font-size:11px}
.cart-gift-options .gift-choice>b{color:var(--accent)}
.cart-line{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:start;gap:12px;padding:18px 0;border-bottom:1px solid #f1f1f1}
.cart-line-photo,.cart-line-photo img{width:76px;height:76px;border-radius:16px;background:#f6f6f6;object-fit:cover;display:block}
.cart-line-copy{min-width:0}
.cart-line h3{font-size:14px;line-height:19px;font-weight:500;margin:0 0 3px;overflow-wrap:anywhere}
.cart-line-copy>small{display:block;color:#898989;font-size:11px;line-height:16px;overflow-wrap:anywhere}
.cart-line-bottom{display:flex;justify-content:space-between;gap:6px;align-items:center;margin-top:8px}
.cart-line-bottom>strong{font-size:13px;line-height:17px;font-weight:700;white-space:nowrap}
.cart-line-bottom s{display:block;font-size:11px;color:#999;font-weight:400}
.cart-panel-content .cart-counter{display:flex;align-items:center;gap:1px;flex:0 0 auto}
.cart-counter button{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#f6f6f6;color:#242424;padding:0;font-size:21px;line-height:1}
.cart-counter b{width:23px;text-align:center;font-size:13px;font-weight:500}
.cart-counter button:disabled{opacity:.35;cursor:default}
.cart-gift-label{display:inline-block;margin-top:4px;font-size:11px;color:var(--accent)}
.cart-gift-remove{background:#f5f5f5;border-radius:10px;width:32px;height:32px;font-size:20px;color:#777}
.cart-line.cart-item-unavailable{opacity:.52}
.cart-line .cart-unavailable-label{color:#b44538}
.cart-extras h3{font-size:14px;line-height:20px;font-weight:700;margin:0 0 12px}
.cart-extras-track{display:flex;gap:8px;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding-bottom:6px;scroll-snap-type:x proximity}
.cart-extra{display:flex;flex:0 0 88px;flex-direction:column;gap:8px;width:88px;min-width:0;padding:8px;background:#f7f7f7;border-radius:16px;scroll-snap-align:start;text-align:left;color:#242424}
.cart-extra img,.cart-extra-placeholder{width:72px;height:72px;object-fit:cover;display:block;border-radius:12px;background:#eee}
.cart-extra>strong{font-size:11px;line-height:15px;font-weight:500;height:30px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.cart-extra>span:last-child{display:flex;align-items:center;justify-content:space-between;gap:2px;margin-top:auto;font-size:11px;font-weight:700;white-space:nowrap}
.cart-extra b{display:grid;place-items:center;width:24px;height:28px;border-radius:8px;background:#fff;font-size:19px;color:var(--accent)}
.cart-cutlery,.cart-promo,.cart-totals{background:#f7f7f7;border-radius:16px;padding:4px 12px}
.cart-cutlery-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px 0;font-size:12px;line-height:17px;border-bottom:1px solid #eee}
.cart-cutlery-row:last-child{border:0}
.cart-cutlery-row>span{min-width:0;overflow-wrap:anywhere}
.cart-cutlery-row small{display:block;color:#909090;font-size:11px}
.cart-cutlery-row>div>small{text-align:right;margin-top:3px;font-size:10px}
.cart-promo{padding:14px 12px}
.cart-promo label>span{display:block;font-size:12px;color:#808080;margin-bottom:8px}
.cart-promo label>div{display:flex;gap:8px;align-items:center}
.cart-promo input{width:0;min-width:0;flex:1;background:#fff;border:1px solid #e5e5e5;border-radius:10px;height:40px;font:inherit;font-size:14px;padding:0 10px;color:#242424}
.cart-promo button{background:transparent;font-size:12px;font-weight:500;color:#242424;padding:10px 0;flex:0 0 auto}
.cart-promo p{font-size:12px;color:#777;margin:8px 0 0}
.cart-promo p:empty{display:none}
.cart-totals>div{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;line-height:17px;padding:14px 0;border-bottom:1px solid #eee}
.cart-totals strong{white-space:nowrap;font-weight:500}
.cart-totals small{display:block;font-size:10px;color:#898989;line-height:15px;margin-top:4px}
.cart-totals .cart-discount{color:var(--accent)}
.cart-totals .cart-grand{font-size:18px;line-height:24px;font-weight:700;border:0}
.cart-grand strong{font-weight:700}
.cart-panel-footer{flex:0 0 auto;padding:12px 18px max(16px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #f1f1f1}
.cart-panel-footer>p{font-size:11px;line-height:16px;color:#777;margin:0 0 8px}
.cart-continue{display:block;width:100%;min-height:52px;border-radius:16px;background:#242424;color:#fff;font-size:14px;line-height:20px;font-weight:700;padding:12px 8px}
.cart-continue:disabled{opacity:.4;cursor:not-allowed}
.cart-panel-content button:focus-visible,.cart-panel-content input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.cart-panel-content .rail-empty{padding:28px 0;text-align:center}
.cart-panel-content .rail-empty .dark-button{margin-top:8px}
.panel.panel-cart{padding:0;width:370px;height:100vh;height:100dvh;max-height:100dvh;overflow:hidden;border-radius:0}
@media(max-width:1000px){.panel.panel-cart{width:min(440px,100%)}}
@media(max-width:600px){
 .panel.panel-cart{inset:0;width:100%;height:100vh;height:100dvh;max-height:100dvh;padding:0}
 .cart-panel-head{padding:calc(16px + env(safe-area-inset-top)) 16px 0}
 .cart-scroll{padding-inline:16px}
 .cart-panel-footer{padding:12px 16px max(16px,env(safe-area-inset-bottom))}
 .cart-continue{min-height:54px;font-size:15px}
 .cart-promo input{font-size:16px}
 .mobile-tabs [data-tab=cart]{opacity:1}
}
.is-mouse-scrolling{scroll-behavior:auto!important;scroll-snap-type:none!important}
.is-dragging,.is-dragging *{cursor:grabbing!important;-webkit-user-select:none!important;user-select:none!important}

/* TZ37 */
.delivery-mini-map{height:240px;width:100%;margin:12px 0;position:relative;z-index:0;border-radius:12px;overflow:hidden}.delivery-zone-status{font-size:13px;line-height:1.5;margin:12px 0}.delivery-zone-status small{display:block;margin-top:3px}.delivery-mini-map img{max-width:none}.delivery-mini-map .leaflet-control-attribution{font-size:10px;line-height:1.4;background:#fff;color:#333}.delivery-mini-map .leaflet-control-attribution a{color:#12608a}

/* ТЗ-43: тот же мобильный режим, что у .mobile-tabs. */
@media(max-width:600px){
 .product-card .product-buy{right:9px;bottom:9px;width:auto;min-height:40px}
 .product-card .quick-add{display:grid;place-items:center;width:40px;height:40px;padding:0;border-radius:50%;background:#fff;color:#242424;font-size:24px;font-weight:400;line-height:1;opacity:1;transform:none;box-shadow:0 3px 12px rgba(33,32,31,.16)}
 .product-card .product-buy .stepper{width:auto;height:40px;grid-template-columns:38px minmax(32px,auto) 38px;border-radius:20px;background:#fff;color:#242424;box-shadow:0 3px 12px rgba(33,32,31,.16)}
 .product-card .product-buy .stepper button{padding:0;color:#242424}
 .product-card .photo-frame,.product-card .photo-frame img{border-radius:16px}

 .overlay.overlay-product-sheet{align-items:flex-end;transition:visibility 0s linear 220ms}
 .overlay.overlay-product-sheet.open{transition-delay:0s}
 .overlay-product-sheet .overlay-backdrop{transition:opacity 220ms ease}
 .overlay-product-sheet:not(.open){pointer-events:none}
 .overlay-product-sheet .panel.panel-product{width:100%;height:min(94vh,850px);height:min(94dvh,850px);max-height:none;margin:0;padding:0;border-radius:24px 24px 0 0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;transform:translateY(100%);transition:transform 220ms ease}
 .overlay-product-sheet.open .panel.panel-product{transform:translateY(0)}
 .panel-product .product-modal-grid{display:flex;flex-direction:column;min-height:100%}
 .panel-product .sheet-product-photo{position:relative;top:auto;flex:none;align-self:stretch;width:100%;height:min(45vh,390px);min-height:0;margin:0 0 20px;border-radius:24px 24px 0 0}
 .panel-product .sheet-product-photo img{border-radius:24px 24px 0 0}
 .panel-product .product-modal-copy{display:flex;flex:1;flex-direction:column;min-width:0;padding:0 16px}
 .panel-product .sheet-title-row h2{font-size:25px;padding-right:44px}
 .panel-product .offer-segment{margin-top:18px}
 .panel-product .product-modal-details{order:1;grid-template-columns:1fr;gap:18px;margin-top:25px;padding-bottom:24px}
 .panel-product .product-modal-actions{position:sticky;bottom:0;z-index:7;order:2;flex:none;grid-template-columns:auto minmax(0,1fr);gap:10px;margin:auto -16px 0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line)}
 .panel-product .product-modal-actions .detail-price{display:none}
 .panel-product .product-modal-actions .stepper{height:50px;grid-template-columns:36px minmax(28px,auto) 36px;color:#242424}
 .panel-product .product-modal-actions .stepper button{padding:0;color:#242424}
 .panel-product .product-modal-actions .panel-cta{grid-column:auto;height:50px;min-width:0;margin:0;padding:0 10px;background:#242424;color:#fff;font-size:15px;line-height:20px}
 .panel-product .product-modal-close{top:14px;right:14px;z-index:6;background:#fff;color:#242424}
 .panel-product .grabber[data-sheet-drag]{display:block;position:absolute;z-index:5;top:0;left:0;right:62px;width:auto;height:48px;margin:0;border-radius:0;background:transparent;touch-action:none}
 .panel-product .grabber[data-sheet-drag]:before{content:"";position:absolute;top:10px;left:calc(50% + 31px);width:48px;height:5px;border-radius:3px;background:#c9c9c9;transform:translateX(-50%)}

 .category-chip,:is(.chip-scroll,.product-rail,.promos-rail,.cart-extras-track,.sub-category-row) :is(a,img){-webkit-user-drag:none;-webkit-touch-callout:none}
 .category-chip{-webkit-user-select:none;user-select:none}
}
@media(max-width:600px) and (prefers-reduced-motion:reduce){
 .overlay.overlay-product-sheet{transition:none}
 .overlay-product-sheet .panel.panel-product,.overlay-product-sheet .overlay-backdrop{transition:none}
}

/* ТЗ-44: кабинет — бонусы доставки и ресторанная карта в своих блоках. */
.personal-page{max-width:760px;min-width:0}
.personal-page #personalContent{min-width:0}
.personal-page>nav.personal-tabs{flex-wrap:nowrap}
.personal-page>nav.personal-tabs button{flex:0 0 auto}
.personal-page .delivery-bonuses{width:100%;max-width:560px}
.personal-page .delivery-bonuses .bonus-summary{width:100%;max-width:380px;grid-template-columns:minmax(0,1fr)}
.personal-page .bonus-summary strong{white-space:nowrap;font-variant-numeric:tabular-nums}
.personal-page .loyalty-note{margin:20px 0 16px;font-size:16px;line-height:1.5}
.personal-page .loyalty-controls{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;width:100%;max-width:560px;min-width:0}
.personal-page .loyalty-status{margin:0;padding:16px 18px;line-height:1.5;overflow-wrap:anywhere}
.personal-page .loyalty-controls>p{margin:0}
.personal-page .loyalty-controls .dark-button{justify-self:start;max-width:100%;min-height:48px;margin:0}
.personal-page .loyalty-error:empty{display:none}
.personal-page .restaurant-loyalty{min-width:0}
.personal-page .loyalty-card{min-width:0;overflow-wrap:anywhere}
.personal-page .loyalty-discount{margin-top:20px;font-size:56px;line-height:1.05;white-space:nowrap}
.personal-page .loyalty-level{margin:6px 0 20px;font-size:14px;line-height:1.4}
.personal-page .loyalty-level-name{margin:20px 0;font-size:28px;line-height:1.3}
.personal-page .bonus-qr{min-width:0}
.personal-page .bonus-qr canvas{display:block;min-width:0}
.personal-page .bonus-qr small{line-height:1.5;overflow-wrap:anywhere}
.personal-page .sms-order-summary{display:block;width:100%}
@media(min-width:601px){
 .personal-page .profile-form{width:100%;max-width:560px}
 .personal-page .bonus-card-screen{display:flex;flex-wrap:wrap;gap:24px;width:100%;max-width:744px;align-items:flex-start}
 .personal-page .loyalty-card{flex:1 1 380px;width:100%;max-width:440px;min-height:260px;padding:26px}
 .personal-page .bonus-qr{flex:0 1 280px;width:280px;max-width:100%;margin:0}
}
@media(max-width:600px){
 .personal-page .delivery-bonuses .bonus-summary{max-width:none}
 .personal-page .loyalty-discount{font-size:48px}
}

/* ТЗ-45: restaurant picker is independent of the product sheet. */
@media(min-width:601px){
 .panel.panel-pickup{width:min(560px,calc(100% - 48px));height:auto;max-height:min(720px,calc(100dvh - 80px));margin:auto;padding:28px;border-radius:24px;overflow:auto}
 .panel-pickup .panel-head{top:0}
}
.group-title{font-size:22px;font-weight:700;line-height:1.2;margin:36px 0 24px;scroll-margin-top:calc(var(--site-header-height) + var(--category-bar-height) + 16px)}
.group-title a{color:inherit}.group-title small{font-size:14px;font-weight:500;color:var(--muted)}
section.page[data-seo-category],section.page.page-unavailable{box-sizing:border-box;min-height:calc(100vh - var(--site-header-height) - var(--category-bar-height));min-height:calc(100dvh - var(--site-header-height) - var(--category-bar-height))}
.product-category-row{display:flex;gap:8px;overflow-x:auto;margin-bottom:24px;scrollbar-width:none;cursor:grab}
.product-category-row :is(a,img){-webkit-user-drag:none;-webkit-touch-callout:none}
@media(max-width:600px){
 .group-title{font-size:18px;margin-top:24px;margin-bottom:18px}
 .product-category-row{display:none}
}

/* TZ47: customer forms, delivery account and checkout points. */
.personal-page #personalContent{min-width:0}
.personal-page .content-form{max-width:560px;width:100%;box-sizing:border-box}
.personal-page .content-form input,.personal-page .content-form textarea{min-width:0;max-width:100%;box-sizing:border-box}
.personal-page .client-password-form{margin-top:28px}
.personal-page .content-form button{min-height:44px;white-space:normal}
.personal-page .content-form small{line-height:1.5;overflow-wrap:anywhere}
.personal-page .delivery-bonuses{max-width:760px;min-width:0}
.personal-page .delivery-bonuses progress{display:block;width:100%;height:12px;accent-color:#397643}
.personal-page .points-expiry{padding:16px;background:#fff5dd;border-radius:12px;color:#624215}
.client-history{margin-top:28px;min-width:0}
.client-history-row{display:flex;gap:16px;justify-content:space-between;align-items:flex-start;padding:18px 0;border-bottom:1px solid var(--line,#ddd)}
.client-history-row>div{min-width:0;overflow-wrap:anywhere}.client-history-row>strong{flex-shrink:0}
.client-history-row p{margin:6px 0}.client-history-row small{line-height:1.5}.points-plus{color:#397643}
.checkout-points{display:grid;gap:12px}.checkout-points .points-toggle{display:flex;align-items:center;gap:10px}
.checkout-points input[type=checkbox]{width:22px;height:22px;flex:0 0 22px}
.checkout-points input[type=number]{max-width:200px}.checkout-client{overflow-wrap:anywhere;line-height:1.5}
.checkout-form .total-row[hidden]{display:none}
@media(max-width:600px){
 .personal-page .content-form{max-width:none}
 .client-history-row{gap:12px;padding:16px 0}
 .client-history-row>strong{font-size:16px}
 .personal-page .client-password-form{margin-top:24px}
 .checkout-points input[type=number]{width:100%;max-width:none}
}
/* не растягивать кружок выбора в формах (Claude, 21.09.2026) */
.radio-card input[type=radio],.radio-card input[type=checkbox]{flex:0 0 auto;width:18px;height:18px;margin:0;padding:0;border:0;accent-color:#8da94e}.radio-card{justify-content:flex-start;text-align:left}
/* TZ52: native delivery date/time fields stay inside the existing checkout grid. */
.checkout-form [data-order-time][hidden]{display:none}
.checkout-form [data-order-time]>label,.checkout-form [data-order-time] input{min-width:0;max-width:100%}

/* TZ53: payment return and checkout, fluid at 390–1920 px. */
.payment-return { max-width: 860px; }
.payment-result { background: var(--card-bg, #fff); color: var(--text, #202020); padding: clamp(16px, 4vw, 32px); border-radius: 24px; overflow-wrap: anywhere; text-align: left; }
.payment-result h1 { font-size: clamp(26px, 4vw, 36px); line-height: 1.15; margin: 0 0 16px; }
.payment-items { list-style: none; padding: 0; margin: 24px 0; }
.payment-items li { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid #e6e6e6; }
.payment-items li > div { flex: 1 1 180px; min-width: 0; }
.payment-items small { display: block; margin-top: 4px; }
.payment-items li > span { white-space: nowrap; }
.payment-details { margin: 0; }
.payment-details > div { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 14px 0; }
.payment-details dt { flex: 0 1 150px; color: #666; }
.payment-details dd { flex: 1 1 180px; margin: 0; min-width: 0; }
.payment-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.payment-actions > * { max-width: 100%; }
.panel-checkout .payment-result { margin-top: 32px; }
.checkout-form input[type=email] { width: 100%; min-width: 0; }

/* TZ59: tariff note shares the delivery row and wraps within narrow panels. */
.delivery-total {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start}
.delivery-total>span,.cart-totals>div>span {min-width:0}
.delivery-total strong {white-space:nowrap}
.delivery-night-note {display:block;font-size:12px;line-height:1.4;font-weight:400;color:var(--muted);overflow-wrap:anywhere;margin-top:4px}

/* TZ60 banquet form: one-tap restaurant choice at every width. */
.banket-page .banket-request{display:flex;flex-direction:column;max-width:760px;margin:24px auto;gap:18px;padding:0;background:none}
.banket-restaurants{border:0;padding:0;margin:0;min-width:0}.banket-restaurants legend{font-weight:700;margin-bottom:12px}
.banket-page .banket-point{display:flex;align-items:center;gap:12px;cursor:pointer;width:100%;min-width:0}
.banket-point:has(input:checked){border-color:var(--red,#d52b25);background:#fff3ed}.banket-point:focus-within{outline:2px solid var(--red,#d52b25);outline-offset:2px}
.banket-page .banket-point input{width:20px;min-width:20px;max-width:20px;min-height:20px;height:20px;padding:0;border:0;flex:0 0 20px;accent-color:var(--red,#d52b25);margin:0}
.banket-point .pickup-copy{display:grid;gap:4px;min-width:0;flex:1;overflow-wrap:anywhere}.banket-point img{width:clamp(64px,15vw,112px);height:84px;object-fit:cover;border-radius:10px;flex:none}
.banket-page h1,.banket-page .breadcrumbs{overflow-wrap:anywhere}.delivery-conditions{font-size:13px;line-height:1.55;font-weight:400;white-space:normal;overflow-wrap:anywhere}

.max-auth .dark-button{display:block;text-align:center;white-space:normal}.max-auth [hidden]{display:none!important}.max-auth .content-form{min-width:0}.max-auth p{overflow-wrap:anywhere}

/* TZ61: network delivery break is visible in both header and checkout selector. */
.fulfilment-row{flex-wrap:wrap}
.delivery-break-reason{flex:1 0 100%;margin:0;color:#8a321d;overflow-wrap:anywhere}
[data-mode][hidden]{display:none!important}
/* TZ61: consent stays legible next to its control at phone widths. */
.marketing-consent{display:flex!important;align-items:flex-start;gap:10px;line-height:1.45;font-size:14px;}
.marketing-consent input[type=checkbox]{flex:0 0 20px;width:20px;height:20px;margin-top:2px;}

/* 23.09: кнопки «У меня нет MAX» и «Изменить номер» слипались с «Войти» на телефоне — отступ (владелец) */
.max-auth .sms-change-phone{margin:12px 8px 0 0}

@media (max-width:600px){.max-auth .sms-change-phone{display:block;width:100%;margin:12px 0 0}}

/* 23.09: ссылка в бота выглядела «съехавшей» — выравниваем как кнопку (владелец) */
.max-auth a.dark-button{display:flex;align-items:center;justify-content:center;min-height:48px;padding:0 20px;line-height:1.2;text-decoration:none;box-sizing:border-box}
