@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-cyrillic.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --accent: #ff4b38;
  --accent-rgb: 255, 75, 56;
  --page: #f7f4f0;
  --surface: #fffdfa;
  --surface-soft: #f0ece7;
  --ink: #1b1a18;
  --muted: #77716b;
  --line: #e5ded7;
  --dark: #1a1917;
  --green: #3e7b4a;
  --danger: #b83c34;
  --danger-soft: #fff0ee;
  --content: 1320px;
  font-family: "Manrope", Arial, sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body { background: var(--page); color: var(--ink); }
body.is-locked { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.is-hidden { display: none !important; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid rgba(var(--accent-rgb), .3); outline-offset: 2px; }

.loading { min-height: 100dvh; display: grid; place-items: center; align-content: center; gap: 12px; background: var(--surface); }
.loading-mark { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-size: 28px; animation: pulse 1.1s ease-in-out infinite alternate; }
.loading p { color: var(--muted); font-size: 13px; font-weight: 700; }
@keyframes pulse { to { transform: scale(1.08); box-shadow: 0 0 0 13px rgba(var(--accent-rgb),.09); } }

.header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(229,222,215,.8); background: rgba(255,253,250,.92); backdrop-filter: blur(18px); }
.header-inner { max-width: var(--content); height: 76px; display: flex; align-items: center; gap: 45px; margin: auto; padding: 0 24px; }
.restaurant-brand { display: flex; align-items: center; gap: 11px; font-size: 16px; font-weight: 800; letter-spacing: -.025em; }
.brand-logo { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--accent); color: #fff; font-size: 20px; overflow: hidden; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 27px; color: var(--muted); font-size: 12px; font-weight: 700; }
.desktop-nav a:hover { color: var(--ink); }
.header-actions { display: flex; gap: 8px; margin-left: auto; }
.account-button, .cart-button { height: 42px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 0 13px; background: transparent; cursor: pointer; font-size: 12px; font-weight: 750; }
.account-button:hover { background: var(--surface-soft); }
.cart-button { border-color: var(--dark); background: var(--dark); color: #fff; }
.cart-button strong { min-width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); font-size: 10px; }

.hero { padding: 28px 24px 76px; }
.hero-inner { position: relative; max-width: var(--content); min-height: 520px; display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 30px; margin: auto; padding: clamp(35px,5vw,76px); border-radius: 28px; background: var(--dark); color: #fff; overflow: hidden; }
.hero-inner::before { content: ""; position: absolute; inset: auto auto -40% -12%; width: 540px; height: 540px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb),.34), transparent 68%); }
.hero-copy { position: relative; z-index: 2; }
.hero-kicker, .section-kicker { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hero h1 { max-width: 700px; margin: 16px 0 20px; font-size: clamp(46px,6vw,83px); line-height: .96; letter-spacing: -.07em; }
.hero-copy p { max-width: 480px; margin: 0 0 31px; color: #bfbcb6; line-height: 1.65; }
.hero-button { min-height: 48px; display: inline-flex; align-items: center; gap: 10px; padding: 0 18px; border-radius: 11px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 800; }
.hero-visual { position: relative; height: 400px; display: grid; place-items: center; }
.hero-plate { position: relative; z-index: 2; width: min(30vw, 320px); aspect-ratio: 1; display: grid; place-items: center; border: 18px solid #eee8df; border-radius: 50%; background: linear-gradient(145deg, var(--accent), #b82519); box-shadow: 0 35px 80px rgba(0,0,0,.34); transform: rotate(-8deg); font-size: clamp(90px,12vw,154px); }
.hero-plate i { filter: drop-shadow(0 12px 20px rgba(0,0,0,.22)); }
.hero-visual.has-image .hero-plate { border-width: 0; background-size: cover; background-position: center; }
.hero-visual.has-image .hero-plate i { display: none; }
.hero-orbit { position: absolute; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
.orbit-one { width: 380px; height: 380px; }
.orbit-two { width: 470px; height: 470px; }
.ingredient { position: absolute; z-index: 3; padding: 8px 11px; border: 1px solid rgba(255,255,255,.18); border-radius: 30px; background: rgba(25,25,23,.75); color: #d9d5cf; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; backdrop-filter: blur(9px); }
.ingredient-one { top: 17%; right: 4%; }
.ingredient-two { bottom: 13%; left: 1%; }

.menu-section { max-width: var(--content); margin: 0 auto; padding: 28px 24px 95px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.section-heading h2, .delivery-copy h2, .contacts-section h2 { margin: 9px 0 0; font-size: clamp(34px,4vw,54px); line-height: 1.02; letter-spacing: -.06em; }
.menu-search { width: min(330px, 40%); height: 45px; display: flex; align-items: center; gap: 8px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--muted); }
.menu-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 12px; }
.catalog-layout { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 34px; align-items: start; }
.categories-shell { position: sticky; top: 100px; }
.categories { display: grid; gap: 3px; }
.category-button { width: 100%; display: flex; align-items: center; gap: 9px; padding: 11px 12px; border: 0; border-radius: 9px; background: transparent; cursor: pointer; color: var(--muted); text-align: left; font-size: 12px; font-weight: 700; }
.category-button::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #c9c1ba; }
.category-button:hover, .category-button.is-active { background: var(--surface); color: var(--ink); }
.category-button.is-active::before { background: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb),.12); }
.catalog { display: grid; gap: 54px; }
.category-block { scroll-margin-top: 105px; }
.category-title { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.category-title h3 { margin: 0; font-size: 26px; letter-spacing: -.045em; }
.category-title span { color: var(--muted); font-size: 11px; }
.products { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.product { min-width: 0; display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.product:hover { transform: translateY(-3px); box-shadow: 0 17px 40px rgba(70,53,40,.09); }
.product-media { position: relative; aspect-ratio: 1.28; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg,#eee8e1,#f9f5ef); color: #ccc2b8; font-size: 68px; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product:hover .product-media img { transform: scale(1.035); }
.unavailable { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255,253,250,.75); color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; backdrop-filter: blur(3px); }
.product-body { display: flex; flex-direction: column; padding: 15px; }
.product-body h4 { margin: 0 0 7px; font-size: 15px; letter-spacing: -.025em; }
.product-body p { display: -webkit-box; min-height: 37px; margin: 0 0 15px; overflow: hidden; color: var(--muted); font-size: 11px; line-height: 1.55; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.product-price { display: grid; font-size: 15px; font-weight: 800; }
.product-price small { color: var(--muted); font-size: 9px; font-weight: 600; }
.add-button { min-width: 39px; height: 39px; display: grid; place-items: center; border: 0; border-radius: 10px; background: var(--accent); color: #fff; cursor: pointer; font-size: 20px; }
.add-button:hover { filter: brightness(.92); }
.quantity-control { display: flex; align-items: center; gap: 4px; padding: 3px; border-radius: 10px; background: var(--surface-soft); }
.quantity-control button { width: 31px; height: 31px; display: grid; place-items: center; border: 0; border-radius: 8px; background: #fff; cursor: pointer; }
.quantity-control strong { min-width: 24px; text-align: center; font-size: 11px; }
.catalog-empty { min-height: 350px; display: grid; place-items: center; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); text-align: center; }
.catalog-empty i { display: block; margin-bottom: 10px; color: #c8beb4; font-size: 48px; }

.delivery-section { max-width: calc(var(--content) - 48px); display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; align-items: end; margin: 0 auto 95px; padding: clamp(35px,6vw,76px); border-radius: 24px; background: #ede7e1; }
.delivery-copy p { max-width: 460px; margin: 21px 0 0; color: var(--muted); line-height: 1.7; }
.delivery-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.delivery-cards article { min-height: 158px; display: flex; flex-direction: column; justify-content: end; padding: 18px; border-radius: 14px; background: var(--surface); }
.delivery-cards i { margin-bottom: auto; color: var(--accent); font-size: 28px; }
.delivery-cards span { margin-bottom: 5px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.delivery-cards strong { font-size: 12px; }
.contacts-section { max-width: var(--content); display: flex; justify-content: space-between; gap: 70px; margin: auto; padding: 20px 24px 95px; }
.contact-list { min-width: min(520px,50%); display: grid; align-content: start; }
.contact-list > * { display: grid; grid-template-columns: 40px minmax(0,1fr); align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.contact-list i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--surface); color: var(--accent); font-size: 19px; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 35px max(24px,calc((100% - var(--content))/2 + 24px)); background: var(--dark); color: #fff; }
.footer div { display: grid; gap: 4px; }
.footer div span, .footer p { margin: 0; color: #96938e; font-size: 10px; }
.footer p span { color: var(--accent); font-weight: 800; }

.drawer-backdrop, .modal-backdrop { position: fixed; z-index: 40; inset: 0; border: 0; background: rgba(22,20,18,.43); backdrop-filter: blur(3px); }
.cart-drawer { position: fixed; z-index: 45; inset: 0 0 0 auto; width: min(460px,100%); display: grid; grid-template-rows: auto 1fr auto; background: var(--surface); box-shadow: -20px 0 70px rgba(30,25,20,.16); }
.drawer-head, .modal-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px; border-bottom: 1px solid var(--line); }
.drawer-head span, .modal-head span { color: var(--accent); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.drawer-head h2, .modal-head h2 { margin: 4px 0 0; font-size: 25px; letter-spacing: -.045em; }
.round-button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; font-size: 19px; }
.cart-items { overflow: auto; padding: 14px 24px; }
.cart-item { display: grid; grid-template-columns: 68px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cart-item-media { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 11px; background: var(--surface-soft); color: #c2b9af; font-size: 26px; overflow: hidden; }
.cart-item-media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-copy { min-width: 0; }
.cart-item-copy strong { display: block; margin-bottom: 4px; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.cart-item-copy span { color: var(--muted); font-size: 11px; }
.cart-item .quantity-control { grid-column: 2/4; justify-self: end; }
.cart-empty { height: 100%; display: grid; place-items: center; align-content: center; color: var(--muted); text-align: center; }
.cart-empty i { display: block; margin-bottom: 10px; color: #c9c0b7; font-size: 45px; }
.cart-empty strong { color: var(--ink); }
.cart-empty p { max-width: 230px; font-size: 11px; line-height: 1.6; }
.cart-footer { padding: 20px 24px max(20px,env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.cart-total { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cart-total span { color: var(--muted); font-size: 12px; }
.cart-total strong { font-size: 23px; letter-spacing: -.04em; }
.primary-button, .secondary-button, .auth-provider { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 11px; padding: 0 16px; cursor: pointer; font-size: 13px; font-weight: 800; }
.primary-button { width: 100%; background: var(--accent); color: #fff; }
.primary-button:disabled { opacity: .55; cursor: wait; }
.secondary-button { border: 1px solid var(--line); background: transparent; }

.modal { position: fixed; z-index: 50; top: 50%; left: 50%; width: min(600px,calc(100% - 28px)); max-height: calc(100dvh - 28px); display: grid; grid-template-rows: auto 1fr; border-radius: 17px; background: var(--surface); box-shadow: 0 28px 90px rgba(30,25,20,.24); transform: translate(-50%,-50%); overflow: hidden; }
.modal-body { overflow: auto; padding: 24px; }
.auth-intro { margin: 0 0 20px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.auth-options { display: grid; gap: 9px; }
.auth-provider { justify-content: flex-start; border: 1px solid var(--line); background: #fff; }
.auth-provider i { width: 34px; color: var(--accent); font-size: 23px; }
.auth-provider span { display: grid; gap: 2px; text-align: left; }
.auth-provider small { color: var(--muted); font-size: 9px; font-weight: 600; }
.auth-wait { display: grid; justify-items: center; padding: 22px 0; text-align: center; }
.auth-wait i { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: rgba(var(--accent-rgb),.1); color: var(--accent); font-size: 27px; }
.auth-wait h3 { margin: 15px 0 6px; }
.auth-wait p { max-width: 360px; margin: 0 0 18px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.auth-wait a { width: 100%; }
.checkout { display: grid; gap: 20px; }
.checkout-section { padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.checkout-section:last-of-type { border: 0; }
.checkout-section h3 { margin: 0 0 14px; font-size: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.field { display: grid; gap: 7px; color: var(--muted); font-size: 10px; font-weight: 750; }
.field-full { grid-column: 1/-1; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; height: 43px; border: 1px solid var(--line); border-radius: 9px; background: #fff; padding: 0 11px; color: var(--ink); font-size: 12px; }
.field textarea { min-height: 75px; padding: 11px; resize: vertical; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice { display: flex; align-items: center; gap: 9px; padding: 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); font-size: 11px; font-weight: 700; }
.choice:has(input:checked) { border-color: var(--accent); background: rgba(var(--accent-rgb),.06); color: var(--ink); }
.choice input { accent-color: var(--accent); }
.checkout-summary { display: flex; align-items: center; justify-content: space-between; }
.checkout-summary span { color: var(--muted); font-size: 11px; }
.checkout-summary strong { font-size: 22px; }
.success { display: grid; justify-items: center; padding: 25px 0 15px; text-align: center; }
.success > span { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: #edf7ef; color: var(--green); font-size: 30px; }
.success h3 { margin: 17px 0 7px; font-size: 23px; }
.success p { max-width: 380px; margin: 0 0 20px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.toast { position: fixed; z-index: 80; right: 22px; bottom: 22px; max-width: 350px; padding: 13px 16px; border-radius: 10px; background: var(--dark); color: #fff; box-shadow: 0 18px 55px rgba(0,0,0,.2); font-size: 11px; font-weight: 750; }
.toast.is-error { background: var(--danger); }

@media (max-width: 980px) {
  .hero-inner { min-height: 470px; grid-template-columns: 1fr .65fr; }
  .hero-visual { height: 350px; }
  .products { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .delivery-section { grid-template-columns: 1fr; gap: 35px; }
  .contacts-section { flex-direction: column; gap: 35px; }
  .contact-list { min-width: 0; }
}
@media (max-width: 700px) {
  .header-inner { height: 64px; padding: 0 14px; }
  .desktop-nav, .account-button span, .cart-button > span { display: none; }
  .restaurant-brand > span:last-child { max-width: 145px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .account-button, .cart-button { width: 40px; height: 40px; justify-content: center; padding: 0; }
  .cart-button { position: relative; }
  .cart-button strong { position: absolute; top: -5px; right: -5px; }
  .hero { padding: 12px 12px 55px; }
  .hero-inner { min-height: 590px; grid-template-columns: 1fr; align-content: space-between; padding: 34px 25px; border-radius: 20px; }
  .hero h1 { font-size: 49px; }
  .hero-visual { height: 245px; }
  .hero-plate { width: 220px; border-width: 13px; font-size: 100px; }
  .orbit-one { width: 265px; height: 265px; }
  .orbit-two { width: 330px; height: 330px; }
  .menu-section { padding: 15px 12px 65px; }
  .section-heading { align-items: stretch; flex-direction: column; margin-bottom: 22px; }
  .section-heading h2 { font-size: 36px; }
  .menu-search { width: 100%; }
  .catalog-layout { display: block; }
  .categories-shell { position: sticky; z-index: 10; top: 64px; margin: 0 -12px 20px; padding: 9px 12px; background: rgba(247,244,240,.95); overflow: auto; backdrop-filter: blur(12px); }
  .categories { display: flex; width: max-content; }
  .category-button { width: auto; white-space: nowrap; }
  .category-button::before { display: none; }
  .catalog { gap: 38px; }
  .category-block { scroll-margin-top: 125px; }
  .products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .product-media { font-size: 45px; }
  .product-body { padding: 11px; }
  .product-body h4 { font-size: 12px; }
  .product-body p { min-height: 32px; font-size: 9px; }
  .product-price { font-size: 12px; }
  .add-button { min-width: 35px; height: 35px; }
  .delivery-section { margin: 0 12px 65px; padding: 30px 22px; border-radius: 18px; }
  .delivery-copy h2, .contacts-section h2 { font-size: 37px; }
  .delivery-cards { grid-template-columns: 1fr; }
  .delivery-cards article { min-height: 125px; }
  .contacts-section { padding: 10px 16px 65px; }
  .footer { padding: 28px 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .modal-body, .modal-head { padding: 19px; }
}
@media (max-width: 390px) {
  .products { grid-template-columns: 1fr; }
  .product { grid-template-columns: 120px minmax(0,1fr); grid-template-rows: 1fr; }
  .product-media { aspect-ratio: auto; }
}
