@font-face {
  font-family: Golos;
  src: url('/assets/golos-text-cyrillic-wght-normal.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Golos;
  src: url('/assets/golos-text-latin-wght-normal.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212;
}
:root {
  color-scheme: light;
  --paper: #f9f4e9;
  --card: #fffaf1;
  --ink: #271810;
  --muted: #685246;
  --orange: #a9361e;
  --orange-dark: #882713;
  --line: #e8dacb;
  --ease: cubic-bezier(.22,.75,.3,1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.5 Golos, system-ui, sans-serif;
  animation: appear 340ms var(--ease) both;
}
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #a93c24; outline-offset: 4px; }
h1, h2, h3, p, dl, dd { margin: 0; }
.wrap { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.top { height: 96px; display: flex; justify-content: space-between; align-items: center; }
.wordmark { display: inline-flex; gap: 12px; align-items: center; color: var(--ink); text-decoration: none; font-size: 1.26rem; font-weight: 800; line-height: .96; letter-spacing: -.055em; }
.brand-dot, .section-title span, .menu-head h1 span { color: var(--orange); }
.brand-stamp { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; background: var(--orange); }
.brand-stamp i { position: relative; width: 25px; height: 25px; background: #ffebc4; clip-path: polygon(3% 15%, 25% 7%, 52% 7%, 76% 14%, 96% 28%, 42% 97%); transform: rotate(-17deg); }
.brand-stamp i::after { content: ''; position: absolute; top: 8px; left: 8px; width: 4px; height: 4px; border-radius: 50%; background: var(--orange); box-shadow: 7px 3px var(--orange), 2px 8px var(--orange); }
.profile-button, .icon-close { display: grid; place-items: center; width: 47px; height: 47px; padding: 0; border-radius: 50%; border: 1px solid #d8c5b6; background: transparent; color: var(--ink); transition: background 220ms, transform 220ms var(--ease); }
.profile-button:hover, .icon-close:hover { background: #f2e5d6; }
.profile-button:active, .icon-close:active, .button:active:not(:disabled), .stepper button:active:not(:disabled) { transform: scale(1.055); }
.profile-icon { display: block; position: relative; width: 22px; height: 23px; }
.profile-icon::before, .profile-icon::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); border: 1.6px solid currentColor; }
.profile-icon::before { width: 8px; height: 8px; border-radius: 50%; top: 2px; }
.profile-icon::after { width: 17px; height: 8px; border-radius: 8px 8px 3px 3px; bottom: 3px; }
.screen { animation: rise 340ms var(--ease) both; }
.screen.leaving { animation: fade-out 200ms var(--ease) both; }
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 490px; display: flex; align-items: center; border-radius: 32px; background: #8c2c19; color: #fff3da; }
.hero-photo { position: absolute; inset: 0 0 0 43%; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 51% 49%; }
.hero::after { position: absolute; z-index: -1; inset: 0; content: ''; background: linear-gradient(90deg, #8c2c19 39%, #8c2c19ee 44%, #8c2c1900 64%); }
.hero-content { width: min(100%, 620px); padding: 52px 0 58px clamp(35px, 5vw, 75px); }
.hero h1, .menu-head h1 { font-size: clamp(3.2rem, 5.6vw, 5.6rem); font-weight: 800; line-height: .99; letter-spacing: -.041em; }
.hero h1 span { color: #ffc179; }
.hero-content > p { margin-block: 22px 33px; color: #ffe4c7; font-size: clamp(1rem, 1.5vw, 1.25rem); }
.name-form, .login-form { display: grid; gap: 8px; }
.name-form label, .login-form label { font-size: .89rem; font-weight: 650; }
.name-fields { display: flex; gap: 9px; }
input { width: 100%; min-width: 0; min-height: 52px; border-radius: 12px; border: 1px solid var(--line); background: #fffaf0; color: var(--ink); padding: 11px 14px; }
.name-fields input { flex: 0 1 232px; }
.name-fields input::placeholder { color: #786351; }
.hero :focus-visible { outline-color: #ffd291; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 11px 20px; border: 0; border-radius: 12px; font-size: .94rem; font-weight: 720; transition: background 240ms, color 240ms, transform 220ms var(--ease); }
.button-cream { background: #ffe5b6; color: #371c11; }
.button-cream:hover { background: #ffda95; }
.button-orange { color: #fff8ec; background: var(--orange); }
.button-orange:hover:not(:disabled) { background: var(--orange-dark); }
.button-orange:disabled { color: #5f554d; background: #e6ddd3; }
.button-light { background: #f0e5d7; color: var(--ink); }
.button-light:hover { background: #e8d7c6; }
.flavours { padding: 39px 0 38px; }
.section-title h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); letter-spacing: -.044em; font-weight: 790; line-height: 1; margin-bottom: 23px; }
.pizza-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pizza-card { min-width: 0; overflow: hidden; border-radius: 22px; border: 1px solid var(--line); background: var(--card); transition: border-color 240ms, box-shadow 240ms; }
.pizza-card.selected { border-color: #ba573c; box-shadow: inset 0 0 0 1px #ba573c; }
.pizza-card.sold-out img { filter: saturate(.35); }
.pizza-grid.reveal .pizza-card { animation: rise 320ms var(--ease) both; }
.pizza-grid.reveal .pizza-card:nth-child(2) { animation-delay: 55ms; }
.pizza-grid.reveal .pizza-card:nth-child(3) { animation-delay: 110ms; }
.pizza-photo { aspect-ratio: 1.9; overflow: hidden; background: #a34129; }
.pizza-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; transition: filter 240ms; }
.pizza-info { padding: 19px 19px 17px; }
.pizza-info h3 { font-size: clamp(1.16rem, 2.2vw, 1.66rem); line-height: 1.15; font-weight: 790; letter-spacing: -.035em; }
.spicy { color: var(--orange); white-space: nowrap; }
.ingredients { color: var(--muted); font-size: .9rem; margin-top: 6px; }
.pizza-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 6px; min-height: 24px; margin-top: 12px; }
.stock { color: #77402c; font-size: .85rem; font-weight: 650; }
.sold-out .stock { color: #62594f; }
.stepper { display: flex; gap: 5px; align-items: center; }
.stepper button { width: 44px; height: 44px; padding: 0; line-height: 1; border: 0; border-radius: 12px; font-size: 1.42rem; color: #802c17; background: #f7e6d3; transition: background 220ms, transform 220ms var(--ease); }
.stepper button[data-step="1"]:not(:disabled) { background: var(--orange); color: #fff9ee; }
.stepper button:disabled { background: #e7e2db; color: #777067; }
.stepper output { min-width: 20px; text-align: center; font-weight: 750; font-variant-numeric: tabular-nums; }
.stepper output.bump { animation: bump 250ms var(--ease); }
.menu-head { padding: 30px 0 9px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.menu-head h1 { font-size: clamp(2.7rem, 5.8vw, 5.5rem); margin-block: 10px; }
.menu-head h1:focus { outline: none; }
.menu-head p { color: var(--muted); overflow-wrap: anywhere; }
.text-button { min-height: 42px; padding: 0; border: 0; color: var(--orange-dark); font-weight: 650; font-size: .9rem; background: none; text-underline-offset: .22em; }
.text-button:hover:not(:disabled) { text-decoration: underline; }
.text-button:disabled { color: #796e64; }
.pick-indicator { flex: 0 0 215px; padding: 15px 19px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.pick-caption { display: flex; justify-content: space-between; gap: 8px; font-size: .94rem; }
.pick-caption strong { color: var(--orange-dark); font-variant-numeric: tabular-nums; }
.pick-indicator progress { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pick-track { height: 7px; margin-top: 10px; background: #eedfd0; border-radius: 12px; overflow: hidden; }
.pick-track span { display: block; width: 100%; height: 100%; background: var(--orange); border-radius: inherit; transform: scaleX(0); transform-origin: left center; transition: transform 300ms var(--ease); }
.pick-track span[data-value="1"] { transform: scaleX(.5); }
.pick-track span[data-value="2"] { transform: scaleX(1); }
.checkout { display: grid; justify-items: end; gap: 12px; margin-top: 24px; }
.checkout button { min-width: 227px; }
.notice { color: #802c17; background: #fae7da; border-radius: 10px; padding: 9px 12px; font-size: .9rem; }
.notice-on-dark { color: #fff1d6; background: #672312; max-width: 380px; }
#stock-error { margin-bottom: 12px; }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 7px 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: .87rem; padding: 21px 0 30px; }
.footer-brand { color: var(--ink); font-size: .92rem; font-weight: 770; }
.modal { overflow: auto; width: min(485px, calc(100% - 28px)); max-height: calc(100dvh - 28px); padding: clamp(18px, 4vw, 29px); border: 1px solid var(--line); color: var(--ink); background: var(--card); border-radius: 25px; box-shadow: 0 24px 80px #30170e42; }
.modal[open] { animation: rise 300ms var(--ease) both; }
.modal[open]::backdrop { background: #2f1a13a3; animation: appear 280ms var(--ease) both; }
.modal.closing[open], .modal.closing[open]::backdrop { animation: fade-out 200ms var(--ease) both; }
.modal h2 { font-size: clamp(1.65rem, 4vw, 2.25rem); letter-spacing: -.065em; line-height: 1.08; }
.modal-top, .orders-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.modal-top { margin-bottom: 18px; }
.icon-close { font-size: 1.65rem; line-height: 1; flex: 0 0 47px; }
.login-form .button { margin-top: 8px; }
.admin-modal:has(#dashboard:not([hidden])) { width: min(740px, calc(100% - 28px)); }
.admin-modal .notice { margin-bottom: 13px; }
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.stats > div { background: #f4e8d9; border-radius: 11px; padding: 9px; }
.stats dt { font-size: .75rem; min-height: 2.8em; overflow-wrap: anywhere; }
.stats dd { font-size: 1.55rem; font-weight: 760; }
.orders-heading { margin-top: 15px; }
.orders-heading h3 { font-size: 1.15rem; }
.order-list { display: grid; gap: 7px; padding: 0; margin: 0; list-style: none; }
.order-list li { padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; animation: rise 300ms var(--ease) both; overflow-wrap: anywhere; }
.order-title { display: flex; justify-content: space-between; align-items: center; gap: 5px 16px; }
.order-title strong { min-width: 0; }
.order-title button { flex-shrink: 0; }
.order-meta { font-size: .81rem; color: var(--muted); }
.order-slices { font-size: .91rem; margin: 5px 0; }
.empty { padding: 10px 0; color: var(--muted); }
.dashboard-footer { display: flex; justify-content: flex-end; margin-top: 9px; }
.confirm-modal p, .success-modal p { margin-top: 9px; color: var(--muted); }
.confirm-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 19px; }
.success-modal { text-align: center; padding-block: 41px; }
.success-badge { margin: 0 auto 15px; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; color: #2d6033; background: #dfecd7; animation: bump 340ms var(--ease) both; }
.success-badge span { width: 25px; height: 14px; border-left: 4px solid; border-bottom: 4px solid; transform: translateY(-2px) rotate(-45deg); animation: check 300ms var(--ease) 100ms both; }
@keyframes rise { from { opacity: 0; transform: translateY(11px); } to { opacity: 1; transform: translateY(0); } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes bump { 0% { transform: scale(.84); } 62% { transform: scale(1.1); } 100% { transform: scale(1); } }
@keyframes check { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .hero { min-height: 435px; }
  .hero-content { padding-left: 37px; }
  .pizza-grid { gap: 13px; }
  .pizza-info { padding-inline: 14px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 32px); }
  .top { height: 72px; }
  .hero { min-height: 0; border-radius: 23px; }
  .hero-content { padding: 38px 23px 34px; }
  .hero h1 { font-size: clamp(2.75rem, 8.6vw, 4.1rem); }
  .hero-content > p { margin-block: 15px 22px; }
  .hero-photo { inset: 0 0 0 47%; }
  .hero::after { background: linear-gradient(90deg, #8c2c19 38%, #8c2c19dd 53%, #8c2c1900 82%); }
  .flavours { padding-top: 28px; }
  .menu-head { flex-wrap: wrap; padding-top: 12px; gap: 13px; }
  .pick-indicator { flex: 1 1 100%; }
  .pizza-grid { grid-template-columns: 1fr; }
  .pizza-card { display: grid; grid-template-columns: minmax(96px, 34%) 1fr; border-radius: 16px; }
  .pizza-photo { aspect-ratio: auto; }
  .pizza-photo img { aspect-ratio: 1; }
  .pizza-info { padding: 12px; }
  .pizza-info h3 { font-size: 1.15rem; }
  .ingredients { font-size: .81rem; }
  .pizza-bottom { margin-top: 7px; }
  .checkout { justify-items: stretch; }
}
@media (max-width: 465px) {
  .hero { display: block; }
  .hero-photo { position: relative; display: block; inset: auto; height: clamp(135px, 43vw, 210px); }
  .hero-photo img { position: absolute; object-position: 53% 48%; }
  .hero::after { display: none; }
  .hero-content { padding: 24px 18px; }
  .name-fields { display: grid; }
  .name-fields .button { width: 100%; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats dt { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
}
