/* Локальные вариативные шрифты — без обращения к Google (latin + cyrillic) */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/portfolio/assets/fonts/Nunito-400-800-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/portfolio/assets/fonts/Nunito-400-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url(/portfolio/assets/fonts/Unbounded-600-800-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url(/portfolio/assets/fonts/Unbounded-600-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ГОРЯЧО — тёмный «аппный» стиль доставки: графит, огненный градиент, круглые формы */

* {
  box-sizing: border-box;
}

:root {
  --bg: #14100e;
  --bg-2: #1d1815;
  --card: #241d19;
  --line: #362c26;
  --text: #fdf6f1;
  --muted: #b5a49a;
  --fire-1: #ff8a2b;
  --fire-2: #ff3d3d;
  --fire: linear-gradient(135deg, #ff9d2e, #ff3d3d);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Nunito, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: Unbounded, Nunito, sans-serif;
  margin: 0;
  line-height: 1.1;
  font-weight: 700;
}

.wrap {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.fire {
  background: var(--fire);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* шапка */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(20, 16, 14, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.logo {
  font-family: Unbounded, sans-serif;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: .02em;
  text-decoration: none;
}

.dot {
  color: var(--fire-1);
}

.top-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.work {
  font-size: 13px;
  color: var(--muted);
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font-family: Nunito, sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: .2s;
}

.cart-btn:hover {
  border-color: var(--fire-1);
}

.badge {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--fire);
  color: #1a0f08;
  font-size: 12px;
  font-weight: 800;
}

/* кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--fire);
  color: #21100a;
  font-family: Nunito, sans-serif;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(255, 90, 45, .28);
  transition: transform .2s, box-shadow .2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(255, 90, 45, .38);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn.ghost:hover {
  border-color: var(--fire-1);
}

.btn.wide {
  width: 100%;
  margin-top: 10px;
}

/* герой */
.hero {
  padding: 62px 0 72px;
  background:
    radial-gradient(700px 320px at 82% 18%, rgba(255, 90, 45, .22), transparent 70%),
    var(--bg);
}

.hero-in {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}

.chip {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
}

.hero h1 {
  margin: 20px 0 0;
  font-size: clamp(34px, 5.4vw, 60px);
  font-weight: 800;
}

.hero-text p {
  margin-top: 18px;
  max-width: 46ch;
  color: var(--muted);
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.promo {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.promo div {
  padding: 14px 18px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
}

.promo b {
  display: block;
  font-family: Unbounded, sans-serif;
  font-size: 17px;
}

.promo span {
  font-size: 13px;
  color: var(--muted);
}

/* CSS-бургер */
.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 340px;
}

.burger {
  position: relative;
  width: 260px;
  height: 230px;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .55));
  animation: float 6s ease-in-out infinite;
}

.layer {
  position: absolute;
  left: 0;
  right: 0;
  border-radius: 999px;
}

.l1 {
  top: 0;
  height: 92px;
  background: linear-gradient(180deg, #f6b45e, #dd8f3c);
  border-radius: 130px 130px 22px 22px;
}

.l2 {
  top: 84px;
  height: 26px;
  background: #7fc04a;
  border-radius: 999px;
  left: -8px;
  right: -8px;
}

.l3 {
  top: 106px;
  height: 38px;
  background: linear-gradient(180deg, #7a4326, #5c2f18);
  border-radius: 14px;
}

.l4 {
  top: 140px;
  height: 24px;
  background: #ffc453;
  border-radius: 8px;
  left: -6px;
  right: -6px;
}

.l5 {
  top: 160px;
  height: 66px;
  background: linear-gradient(180deg, #e29a44, #c97c2c);
  border-radius: 22px 22px 120px 120px;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-14px) rotate(1deg);
  }
}

.bubble {
  position: absolute;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.b1 {
  top: 18%;
  left: 2%;
  animation: float 7s ease-in-out infinite;
}

.b2 {
  bottom: 14%;
  right: 0;
  animation: float 8s ease-in-out infinite reverse;
}

/* меню */
.menu-sec {
  padding: 60px 0 70px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.sec-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 24px;
}

.tabs {
  position: sticky;
  top: 66px;
  z-index: 20;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0;
  margin-bottom: 22px;
  background: var(--bg-2);
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  flex: 0 0 auto;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: Nunito, sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}

.tab:hover {
  color: var(--text);
}

.tab.is-on {
  background: var(--fire);
  border-color: transparent;
  color: #21100a;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.dish {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  transition: transform .25s, border-color .25s;
}

.dish:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 138, 43, .5);
}

.dish[hidden] {
  display: none;
}

.pic {
  display: grid;
  place-items: center;
  height: 132px;
  font-size: 56px;
}

.p-1 {
  background: linear-gradient(135deg, #ff9d2e, #ff5f3d);
}

.p-2 {
  background: linear-gradient(135deg, #ffbe3d, #ff7a2e);
}

.p-3 {
  background: linear-gradient(135deg, #ff6a3d, #c4342f);
}

.p-4 {
  background: linear-gradient(135deg, #ffd45e, #ff9a2e);
}

.p-5 {
  background: linear-gradient(135deg, #ff7f50, #b93b6a);
}

.p-6 {
  background: linear-gradient(135deg, #f95d6a, #7a3ff2);
}

.p-7 {
  background: linear-gradient(135deg, #ffd24a, #ffa62e);
}

.p-8 {
  background: linear-gradient(135deg, #ffb26b, #d97a3c);
}

.p-9 {
  background: linear-gradient(135deg, #ffc93c, #ff7b3d);
}

.p-10 {
  background: linear-gradient(135deg, #ffe15c, #8ec63f);
}

.p-11 {
  background: linear-gradient(135deg, #e3563f, #7b2b2b);
}

.p-12 {
  background: linear-gradient(135deg, #b6845a, #6b4530);
}

.dish-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
}

.dish h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.dish p {
  font-size: 14px;
  color: var(--muted);
  flex: 1;
}

.dish-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.price {
  font-family: Unbounded, sans-serif;
  font-size: 19px;
  font-weight: 700;
}

.add {
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--fire);
  color: #21100a;
  font-family: Nunito, sans-serif;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: .2s;
}

.add:hover {
  filter: brightness(1.08);
}

.add.done {
  background: #7fc04a;
  color: #10230a;
}

/* доставка */
.info-sec {
  padding: 70px 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.info-card {
  padding: 26px 24px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--line);
}

.ico {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(255, 138, 43, .14);
  font-size: 26px;
  margin-bottom: 16px;
}

.info-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.info-card p {
  color: var(--muted);
  font-size: 15px;
}

/* подвал */
.foot {
  padding: 34px 0 120px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

.foot-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.foot p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.foot-links {
  display: flex;
  gap: 18px;
  font-weight: 700;
}

.foot-links a {
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 138, 43, .5);
}

.dim {
  font-size: 13px;
  color: var(--muted);
}

/* нижняя панель корзины */
.cart-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  background: rgba(29, 24, 21, .96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 12px 0;
}

.cart-bar[hidden] {
  display: none;
}

.bar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.bar-sum b {
  display: block;
  font-size: 16px;
}

.bar-sum span {
  font-size: 13px;
  color: var(--muted);
}

.bar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.total {
  font-family: Unbounded, sans-serif;
  font-size: 22px;
  font-weight: 700;
}

/* выдвижная корзина */
.drawer[hidden] {
  display: none;
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.drawer-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .6);
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border-left: 1px solid var(--line);
  animation: slideIn .25s ease;
}

@keyframes slideIn {
  from {
    transform: translateX(30px);
    opacity: .4;
  }
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.drawer-head h3 {
  font-size: 21px;
}

.close {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
}

.drawer-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px 22px;
}

.line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.line-name {
  font-weight: 700;
}

.line-name span {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
}

.qty {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty button {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font-size: 17px;
  cursor: pointer;
}

.qty button:hover {
  border-color: var(--fire-1);
}

.empty {
  padding: 28px 0;
  color: var(--muted);
  text-align: center;
}

.drawer-foot {
  padding: 18px 22px 24px;
  border-top: 1px solid var(--line);
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  font-size: 18px;
}

.row b {
  font-family: Unbounded, sans-serif;
}

.row.small {
  font-size: 14px;
  color: var(--muted);
}

.row.small b {
  font-family: Nunito, sans-serif;
  font-size: 14px;
}

.mini {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

/* адаптив */
@media (max-width: 1000px) {
  .hero-in {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
    min-height: 260px;
  }

  .grid,
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {

  .grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .work {
    display: none;
  }

  .tabs {
    top: 62px;
  }

  .hero {
    padding: 36px 0 50px;
  }

  .bar-sum span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  .burger,
  .bubble {
    animation: none;
  }

  * {
    transition-duration: .001ms !important;
  }
}
