:root {
  --bg: #14110e;
  --bg-elev: #1e1a16;
  --surface: #26211c;
  --text: #f3eee6;
  --muted: #a89f94;
  --accent: #d4a24a;
  --accent-dim: #9a7430;
  --ring: rgba(212, 162, 74, 0.35);
  --danger: #c45c4a;
  --radius: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 1.02rem;
  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
}

body.modal-open,
body.drawer-open {
  overflow: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  padding: 2rem 1.25rem 2.75rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: hero-zoom 22s ease-in-out infinite alternate;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 4, 3, 0.5) 0%,
    rgba(12, 10, 8, 0.72) 42%,
    rgba(18, 15, 12, 0.94) 78%,
    var(--bg) 100%
  );
}

.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 95% 75% at 50% 18%,
    rgba(0, 0, 0, 0.42) 0%,
    transparent 58%
  );
}

@keyframes hero-zoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.1);
  }
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
}

.hero__panel {
  padding: 1.2rem 1.35rem 1.35rem;
  border-radius: 18px;
  background: rgba(10, 8, 6, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 4px 32px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d8d0c4;
  margin: 0 0 0.45rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
  color: #fffdf8;
  text-shadow:
    0 2px 3px rgba(0, 0, 0, 0.85),
    0 8px 28px rgba(0, 0, 0, 0.55);
}

.hero__tagline {
  margin: 0 0 1.25rem;
  color: #ebe4d9;
  font-size: 1.05rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.btn--outline {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.2);
}

.hero__actions .btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 162, 74, 0.45);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), #b8832a);
  color: #1a1208;
  box-shadow: 0 8px 28px var(--ring);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.strip {
  padding: 0 1.25rem 2rem;
  margin-top: -1rem;
  position: relative;
  z-index: 2;
}

.strip__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .strip__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.card--lift {
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.card--lift:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 162, 74, 0.25);
}

.card__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 0.4rem;
  font-weight: 600;
}

.card__value {
  margin: 0;
  font-size: 1.05rem;
}

.hours {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  font-size: 0.95rem;
}

.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  padding-bottom: 0.35rem;
}

.hours span:last-child {
  color: var(--muted);
  white-space: nowrap;
}

.links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.link-phone {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.cat-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(180deg, rgba(20, 17, 14, 0.97), rgba(20, 17, 14, 0.85));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.65rem 0;
}

.cat-nav__inner {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0 1rem;
  max-width: 1100px;
  margin: 0 auto;
  scrollbar-width: thin;
}

.cat-nav__inner::-webkit-scrollbar {
  height: 4px;
}

.chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}

.chip:hover {
  color: var(--text);
  border-color: rgba(212, 162, 74, 0.45);
  text-decoration: none;
}

.chip--active {
  color: #1a1208;
  background: var(--accent);
  border-color: transparent;
}

.menu-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem calc(5rem + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 768px) {
  .menu-wrap {
    padding-bottom: 2rem;
    padding-right: 0.5rem;
  }
}

.section-head {
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin: 0 0 0.25rem;
}

.section-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.popular {
  margin-bottom: 2.5rem;
  scroll-margin-top: 56px;
}

.popular__viewport {
  margin: 0 -0.25rem;
  padding: 0 0.25rem;
}

.popular__scroll {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.25rem 0 0.65rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.popular__scroll > * {
  scroll-snap-align: start;
  flex-shrink: 0;
}

.cat-block {
  margin-bottom: 2.75rem;
  scroll-margin-top: 56px;
}

#popular {
  scroll-margin-top: 56px;
}

.cat-block__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(212, 162, 74, 0.35);
}

.dish-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 560px) {
  .dish-grid {
    gap: 1rem;
  }
}

/* Компактная вёрстка карточек на телефонах: две колонки без переполнения */
@media (max-width: 559px) {
  .dish__body {
    padding: 0.55rem 0.5rem 0.65rem;
    gap: 0.25rem;
  }

  .dish__head {
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
  }

  .dish__name {
    font-size: 0.86rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .dish__price {
    font-size: 0.9rem;
    align-self: flex-start;
  }

  .dish__meta {
    font-size: 0.75rem;
  }

  .dish__desc {
    font-size: 0.78rem;
    line-height: 1.35;
    max-height: calc(1.35em * 4);
    overflow: hidden;
  }

  .dish .tag {
    font-size: 0.6rem;
    padding: 0.12rem 0.32rem;
  }
}

.dish {
  cursor: pointer;
  background: var(--bg-elev);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  opacity: 0;
  animation: rise 0.65s ease forwards;
  -webkit-tap-highlight-color: transparent;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dish__img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #0e0c0a;
}

.dish__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dish:hover .dish__img {
  transform: scale(1.05);
}

.dish__body {
  padding: 0.85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.35rem;
}

.dish__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.dish__name {
  font-weight: 600;
  font-size: 1.02rem;
  margin: 0;
  line-height: 1.25;
}

.dish__price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  font-size: 1.05rem;
}

.dish__meta {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.dish__desc {
  font-size: 0.92rem;
  color: #c9bfb4;
  margin: 0;
  flex: 1;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.tag--new {
  background: rgba(80, 160, 120, 0.25);
  color: #a8e0c8;
}

.tag--hot {
  background: rgba(196, 92, 74, 0.35);
  color: #ffc4b8;
}

.tag--veg {
  background: rgba(120, 140, 80, 0.3);
  color: #dfe8b8;
}

.tag--spicy {
  background: rgba(180, 100, 40, 0.35);
  color: #ffd4a8;
}

.dish--compact {
  flex-direction: row;
  max-width: 220px;
  min-width: 198px;
  width: 200px;
}

.dish--compact .dish__img-wrap {
  width: 76px;
  min-width: 76px;
  aspect-ratio: 1;
}

.dish--compact .dish__body {
  padding: 0.5rem 0.6rem 0.55rem;
}

.dish--compact .dish__name {
  font-size: 0.92rem;
}

.dish--compact .dish__price {
  font-size: 0.95rem;
}

.dish--compact .dish__desc {
  display: none;
}

.dish--compact .tags {
  display: none;
}

.footer {
  padding: 2rem 1.25rem 3rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__note {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 520px;
  margin: 0 auto 1rem;
}

.footer__legal {
  font-size: 0.85rem;
  color: #6a625a;
  margin: 0;
}

.footer__legal a {
  color: #8a8278;
}

.footer__admin {
  font-size: 0.8rem;
  opacity: 0.85;
}

.reveal {
  opacity: 0;
  animation: fade-up 0.8s ease 0.1s forwards;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal:nth-child(2) {
  animation-delay: 0.18s;
}

.reveal:nth-child(3) {
  animation-delay: 0.26s;
}

.reveal:nth-child(4) {
  animation-delay: 0.34s;
}

/* ——— Модалка блюда ——— */
.modal[hidden] {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.modal__sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  max-height: min(92vh, 900px);
  overflow-y: auto;
  background: var(--surface);
  border-radius: 18px 18px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.4);
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 560px) {
  .modal {
    align-items: center;
    padding: 1rem;
  }

  .modal__sheet {
    border-radius: var(--radius);
    max-height: 90vh;
  }
}

.modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.modal__img {
  aspect-ratio: 16/10;
  background: #0e0c0a;
  overflow: hidden;
}

.modal__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal__img--empty {
  min-height: 140px;
  background: linear-gradient(135deg, #1a1612, #0e0c0a);
}

.modal__content {
  padding: 1rem 1.15rem 1.25rem;
}

.modal__content--flush {
  padding: 1.35rem 1.15rem 1.35rem;
}

.modal--feedback {
  z-index: 205;
}

.modal--feedback .modal__sheet--form {
  max-width: 440px;
}

.feedback__lead {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 1rem;
  line-height: 1.45;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.ff-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ff-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  font-weight: 600;
}

.ff-req {
  color: var(--accent);
}

.ff-input,
.ff-textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  -webkit-appearance: none;
  appearance: none;
}

.ff-input:focus,
.ff-textarea:focus {
  outline: none;
  border-color: rgba(212, 162, 74, 0.55);
  box-shadow: 0 0 0 3px var(--ring);
}

.ff-textarea {
  resize: vertical;
  min-height: 128px;
  line-height: 1.45;
}

.ff-note {
  font-size: 0.76rem;
  color: #8a8278;
  margin: 0;
  line-height: 1.4;
}

.ff-error {
  color: #ffb3a8;
  font-size: 0.88rem;
  margin: 0;
  text-align: center;
}

.feedback-success {
  text-align: center;
  padding: 0.35rem 0 0.15rem;
}

.feedback-success__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 0.5rem;
}

.feedback-success__text {
  color: var(--muted);
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.modal__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
  padding-right: 2rem;
}

.modal__meta {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.modal__desc {
  font-size: 0.95rem;
  color: #c9bfb4;
  margin: 0 0 0.75rem;
}

.modal__tags {
  margin-bottom: 0.75rem;
}

.modal__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.modal__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--accent);
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.2rem 0.35rem;
}

.qty__btn {
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
}

.qty__val {
  min-width: 1.75rem;
  text-align: center;
  font-weight: 600;
}

.btn--block {
  width: 100%;
  justify-content: center;
}

/* ——— Корзина ——— */
.cart-fab {
  position: fixed;
  z-index: 150;
  right: max(0.75rem, env(safe-area-inset-right));
  bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, var(--accent), #9a7430);
  color: #1a1208;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px var(--ring);
  padding: 0;
}

.cart-fab__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-fab--pop {
  animation: cart-pop 0.45s ease;
}

@keyframes cart-pop {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}

.cart-fly {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 400;
  pointer-events: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  will-change: transform, opacity;
}

.cart-fly img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-fly__ph {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent), #7a5a22);
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 140;
  pointer-events: none;
}

.cart-drawer.cart-drawer--open {
  pointer-events: auto;
}

.cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cart-drawer--open .cart-drawer__backdrop {
  opacity: 1;
}

.cart-drawer__panel {
  position: absolute;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  max-height: 85vh;
  transition: transform 0.28s ease;
  touch-action: pan-y;
}

.cart-drawer__handle {
  display: none;
  flex-shrink: 0;
  padding: 0.65rem 1rem 0.35rem;
  cursor: grab;
  touch-action: none;
}

.cart-drawer__handle::before {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  margin: 0 auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.cart-drawer__handle:active {
  cursor: grabbing;
}

@media (max-width: 767px) {
  .cart-drawer__handle {
    display: block;
  }

  .cart-drawer__panel {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    border-radius: 16px 16px 0 0;
    padding: 0.75rem 1rem 1rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    transform: translateY(110%);
  }

  .cart-drawer--open .cart-drawer__panel {
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .cart-drawer__panel {
    top: 0;
    right: 0;
    bottom: 0;
    width: min(400px, 100vw);
    border-radius: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 1.1rem 1.25rem;
    transform: translateX(100%);
  }

  .cart-drawer--open .cart-drawer__panel {
    transform: translateX(0);
  }

  .cart-fab {
    bottom: auto;
    top: calc(0.75rem + env(safe-area-inset-top, 0px));
  }
}

.cart-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cart-drawer__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0;
}

.cart-drawer__close {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s, border-color 0.2s;
}

.cart-drawer__close:hover {
  background: rgba(212, 162, 74, 0.2);
  border-color: rgba(212, 162, 74, 0.35);
}

.cart-drawer__hint {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
  line-height: 1.4;
}

.cart-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  max-height: min(48vh, 420px);
}

.cart-line {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-line__main {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.cart-line__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.35rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.cart-line__rm {
  border: none;
  background: transparent;
  color: var(--accent);
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.cart-drawer__empty {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.cart-drawer__foot {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-drawer__sum {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
