/* ===== Глобальные стили ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --accent-color: #d4a373; /* Тёплый кофейный */
  --text-color: #333;
  --light-bg: rgba(255, 255, 255, 0.95);
}

/* ===== Шрифты ===== */
body {
  font-family: "Montserrat", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  padding-top: 70px;
  padding-bottom: 70px;
}

/* ===== Шапка ===== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background-color: var(--light-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(5px);
}

/* Стили для верхней линии шапки */
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Стили для кнопки "Назад" */
.back-link {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.back-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.menu-item {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

header h1 {
  font-size: 1.8rem;
  letter-spacing: 1px;
}

/* ===== Основная секция ===== */
.section {
  display: flex;
  min-height: 100vh;
}

.image {
  flex: 1;
  background-size: cover;
  background-position: center;
  position: relative;
}

.image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

.content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50%;
  height: 2px;
  background: var(--accent-color);
}

/* ===== Прайс-лист ===== */
.price-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 900px;
}

.price-column {
  gap: 20px;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  font-size: 1rem; /* Размер шрифта для названий */
  white-space: nowrap;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: default;
}
.price-list li span:last-child {
  font-weight: 500;
  color: var(--accent-color);
  margin-left: 15px;

  letter-spacing: 0.5px; /* Добавили немного воздуха между буквами */
}

.price-list li:hover {
  transform: translateX(5px);
  border-bottom-color: var(--accent-color);
}

.price-list li::before {
  color: var(--accent-color);
  margin-right: 10px;
  font-weight: bold;
}

.price-list li span:last-child {
  font-weight: 500;
  color: var(--accent-color);
  margin-left: 15px;
}

/* ===== Футер ===== */
.footer {
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 0;
  background: var(--light-bg);
  backdrop-filter: blur(8px);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 99;
}

.footer-text {
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

/* ===== Адаптация ===== */
@media (max-width: 768px) {
  .section {
    display: flex;
    flex-direction: column;
    height: auto;
    overflow: visible;
    position: relative; /* добавили, чтобы потомки не сползали */
    margin-top: 25px; /* если вдруг сверху был отступ */
  }

  .image {
    width: 100%;
    height: 550px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  h1 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .price-list {
    flex-direction: column;

    width: 100%;
  }

  .price-list li {
    display: block;
    padding: 8px 0;
    border-bottom: none;
  }

  .price-list li span {
    display: block;
  }

  .price-list li span:first-child {
    font-weight: 500;
  }

  .price-list li span:last-child {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-top: 4px;
  }
}
