*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: #fdf8f3;
  color: #201816;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.menu-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px 48px;
}

.menu-head {
  padding: 20px 0 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.brand .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #a10a0a;
  display: inline-block;
}
.brand .brand-name {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 12px;
  text-transform: uppercase;
  color: #8b0808;
}

.brand--logo {
  justify-content: center;
  margin-bottom: 14px;
}

.brand-logo {
  display: block;
  width: min(220px, 62vw);
  height: auto;
}

.title-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 6px 0 6px;
}

.menu-title {
  margin: 0;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  color: #201816;
}

.title-line {
  flex: 1;
  height: 4px;
  background: #a10a0a;
  border-radius: 3px;
  transform: translateY(-6px);
}

.menu-subtitle {
  margin: 0;
  font-size: 14px;
  color: #5e524e;
}

.menu-accordion {
  padding-top: 12px;
  display: grid;
  gap: 14px;
}

.menu-category {
  border: 1px solid rgba(228, 215, 207, 0.9);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.category-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 4.4vw, 32px);
  font-weight: 700;
  color: #201816;
}

.category-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(161, 10, 10, 0.5);
  position: relative;
  flex: 0 0 auto;
}
.category-icon::before, .category-icon::after {
  content: "";
  position: absolute;
  background: #a10a0a;
  border-radius: 2px;
}
.category-icon::before {
  width: 12px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.category-icon::after {
  width: 2px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.15s ease;
}

.menu-category.is-open .category-icon::after {
  opacity: 0;
}

.category-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.2s ease;
  border-top: 1px solid rgba(228, 215, 207, 0.8);
  padding: 0 18px;
}

.menu-category.is-open .category-panel {
  padding-bottom: 16px;
}

.item-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 16px;
}

.menu-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 6px 0;
}

.menu-item.is-clickable {
  cursor: pointer;
  border-radius: 10px;
  padding: 8px;
  margin: 0 -8px;
  transition: background 0.14s ease, transform 0.14s ease;
}
.menu-item.is-clickable:hover {
  background: rgba(161, 10, 10, 0.05);
}
.menu-item.is-clickable:focus-visible {
  outline: 2px solid rgba(161, 10, 10, 0.45);
  outline-offset: 2px;
}

.item-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
}
.item-icon svg {
  width: 50px;
  height: 50px;
  stroke: #a10a0a;
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.item-photo {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(228, 215, 207, 0.9);
  background: #fff;
}
.item-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.is-open {
  display: flex;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.lightbox__panel {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 980px);
  max-height: 90vh;
  margin: 0;
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.34);
  overflow: auto;
}

.lightbox__close {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.lightbox__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(600px, 65vh);
  object-fit: contain;
  border-radius: 10px;
}

.lightbox__meta {
  padding: 12px 4px 4px;
}

.lightbox__name {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: #201816;
}

.lightbox__desc {
  margin-top: 6px;
  color: #5e524e;
  font-size: 15px;
  line-height: 1.45;
}

.lightbox__price {
  margin-top: 10px;
  color: #8b0808;
  font-size: clamp(22px, 2.7vw, 32px);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.lightbox__price .price-old-wrap,
.lightbox__price .price-new-wrap {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.lightbox__price .price-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #b00000;
  color: #fff;
  padding: 3px 9px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lightbox__price .price-old {
  font-size: clamp(14px, 1.8vw, 18px);
  color: #5e524e;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  font-weight: 600;
  opacity: 0.9;
}
.lightbox__price .price-new {
  color: #b00000;
  font-weight: 800;
}

.item-name {
  font-weight: 800;
  font-size: clamp(20px, 3.8vw, 30px);
  line-height: 1.1;
  margin-top: 2px;
}

.item-desc {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.45;
  color: #5e524e;
}

.item-price {
  font-size: clamp(20px, 3.4vw, 30px);
  font-weight: 800;
  color: #8b0808;
  white-space: nowrap;
  padding-left: 6px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
  gap: 4px;
}

.item-price.is-discounted {
  background: linear-gradient(180deg, #fff7f7, #fff);
  border: 1px solid #ebc9c9;
  border-radius: 12px;
  padding: 9px 11px 8px;
  min-width: 124px;
  box-shadow: 0 8px 18px rgba(139, 8, 8, 0.08);
}

.item-price__tag {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #b00000;
  color: #fff;
  padding: 2px 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.item-price__old-row,
.item-price__new-row {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.item-price__old {
  font-size: clamp(12px, 1.6vw, 15px);
  color: #5e524e;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  font-weight: 600;
  opacity: 0.9;
}

.item-price__new {
  font-size: inherit;
  font-weight: 800;
}

.item-price.is-discounted .item-price__new {
  color: #b00000;
}

.empty {
  margin: 16px 0;
  color: #5e524e;
  font-size: 14px;
}

.menu-footer {
  padding: 28px 0 12px;
  text-align: center;
  color: #5e524e;
  font-size: 13px;
  line-height: 1.5;
}
.menu-footer .back-top {
  display: inline-flex;
  margin-top: 10px;
  font-weight: 700;
  color: #8b0808;
  letter-spacing: 0.1px;
}

@media (max-width: 720px) {
  .menu-shell {
    padding: 0 12px 42px;
  }
  .brand-logo {
    width: min(180px, 58vw);
  }
  .title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .title-line {
    width: 100%;
    transform: none;
    height: 3px;
  }
  .menu-item {
    grid-template-columns: 72px 1fr auto;
    grid-template-areas: "icon body price";
    align-items: center;
    padding: 10px;
    border-radius: 12px;
  }
  .item-list .menu-item:nth-child(odd) {
    background: #f3f3f3;
  }
  .item-list .menu-item:nth-child(even) {
    background: #fbfbfb;
  }
  .item-icon {
    grid-area: icon;
    width: 72px;
    height: 72px;
  }
  .item-icon svg {
    width: 68px;
    height: 68px;
  }
  .item-photo {
    grid-area: icon;
    width: 72px;
    height: 72px;
    border-radius: 10px;
  }
  .item-body {
    grid-area: body;
  }
  .item-price {
    grid-area: price;
    padding-left: 0;
    align-self: start;
    margin-top: 2px;
    font-size: clamp(18px, 4.8vw, 26px);
    line-height: 1;
  }
  .item-price.is-discounted {
    min-width: 106px;
    padding: 7px 9px 6px;
    gap: 3px;
  }
  .item-price__tag {
    font-size: 8px;
    padding: 2px 7px;
  }
  .lightbox__panel {
    width: min(92vw, 560px);
    max-height: 88vh;
  }
}

/*# sourceMappingURL=menu.css.map */
