/* ============================================================
   MiraStreet — разделы: полноэкранный слой поверх фона,
   панель с контентом + стили содержимого всех разделов.
   ============================================================ */

#section-layer {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(6, 6, 9, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.section {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 16px clamp(12px, 4vw, 40px) 22px;
}
.section.enter { animation: sec-in 0.28s ease-out; }
.section.leave { animation: sec-out 0.2s ease-in forwards; }
@keyframes sec-in {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes sec-out {
  from { opacity: 1; transform: scale(1); }
  to   { opacity: 0; transform: scale(1.04); }
}

/* Шапка раздела */
.sec-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.sec-back { flex: none; }
.sec-title {
  font-family: var(--font-sys);
  font-weight: 700;
  font-size: clamp(22px, 3.4vw, 34px);
  letter-spacing: 0.1em;
  color: var(--text);
  text-shadow: 0 0 18px rgba(138, 30, 45, 0.5);
}
.sec-header-spacer { flex: 1; }

/* Панель с контентом */
.sec-panel {
  flex: 1;
  min-height: 0;
  width: min(920px, 100%);
  margin: 0 auto;
  display: flex;
  overflow: hidden;
}
.sec-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: clamp(16px, 3vw, 30px);
  overscroll-behavior: contain;
}

/* --- «На улицу» --- */
.home-slogan {
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.3;
  margin-bottom: 22px;
  color: var(--text);
}
/* --- «Одежда»: меню коллекций --- */
.collections-menu {
  display: grid;
  gap: 14px;
  max-width: 640px;
  margin: 0 auto;
}
.collection-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "icon title go" "icon note go";
  align-items: center;
  gap: 2px 18px;
  text-align: left;
  padding: 20px 22px;
  min-height: 88px;
  background:
    linear-gradient(90deg, rgba(122, 24, 38, 0.16), rgba(122, 24, 38, 0) 55%),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(143, 143, 148, 0.28);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.collection-card:hover {
  border-color: var(--accent-hi);
  transform: translateX(4px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4), 0 0 16px rgba(138, 30, 45, 0.25);
}
.collection-card .cc-icon {
  grid-area: icon;
  width: 74px;
  height: 74px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5));
}
.collection-card .cc-title {
  grid-area: title;
  font-family: var(--font-sys);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.08em;
  color: var(--text);
}
.collection-card .cc-note {
  grid-area: note;
  font-size: 13px;
  color: var(--silver);
}
.collection-card .cc-go {
  grid-area: go;
  font-family: var(--font-sys);
  font-size: 14px;
  color: var(--accent-hi);
  white-space: nowrap;
}

/* --- Каталог: грид --- */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.product-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(143, 143, 148, 0.24);
  border-radius: 8px;
  overflow: hidden;
  padding-bottom: 12px;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.product-card:hover {
  border-color: var(--accent-hi);
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45), 0 0 14px rgba(138, 30, 45, 0.25);
}
.product-card .ph {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-1);
  margin-bottom: 10px;
}
.product-card .ph img { width: 100%; height: 100%; object-fit: contain; }
.product-card .product-name {
  font-family: var(--font-sys);
  font-size: 15px;
  padding: 0 12px 4px;
}
.product-card .price { padding: 0 12px; font-size: 15px; }

/* пустое состояние коллекции */
.catalog-empty {
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}
.drop-soon {
  font-family: var(--font-type);
  font-size: clamp(26px, 4vw, 36px);
  color: var(--text);
}

/* --- «О нас»: вкладыш-буклет --- */
/* --- Отзывы --- */
.reviews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(143, 143, 148, 0.22);
}
.rh-title {
  font-family: var(--font-sys);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.03em;
  margin-bottom: 3px;
}
.rh-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.review-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(143, 143, 148, 0.22);
  border-radius: 6px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.review-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-sys);
  font-size: 12px;
  color: var(--silver);
  margin-bottom: 8px;
}
.review-meta .src { color: var(--accent-hi); letter-spacing: 0.1em; }
/* в отзывах есть переносы строк — без этого всё слипалось в абзац */
.review-text { font-size: 14.5px; white-space: pre-line; }
.review-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.rv-shot {
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 1px solid rgba(143, 143, 148, 0.3);
  border-radius: 5px;
  overflow: hidden;
  transition: border-color 0.15s, transform 0.15s;
}
.rv-shot:hover { border-color: var(--accent-hi); transform: translateY(-2px); }
.rv-shot img { width: 100%; height: 100%; object-fit: cover; }
.reviews-footer { font-size: 12px; margin-bottom: 16px; }

/* прикреплённые фото в форме отзыва */
.attach-previews {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.attach-item {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(143, 143, 148, 0.4);
}
.attach-item img { width: 100%; height: 100%; object-fit: cover; }
.attach-del {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: rgba(10, 10, 13, 0.75);
  color: var(--silver-hi);
  font-size: 11px;
  line-height: 1;
}
.attach-del:hover { color: var(--text); background: var(--accent); }
.review-form { max-width: 480px; }
.form-title {
  font-family: var(--font-sys);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.submit-review, .submit-order { width: 100%; }

/* увеличение фото */
.photo-zoom {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 4, 6, 0.88);
  padding: 4vh 4vw;
}
.photo-zoom img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

/* --- Саппорт --- */
.faq-item {
  border: 1px solid rgba(143, 143, 148, 0.24);
  border-radius: 6px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-q {
  display: block;
  width: 100%;
  text-align: left;
  padding: 13px 16px;
  font-family: var(--font-sys);
  font-size: 15px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  position: relative;
}
.faq-q::after {
  content: "▾";
  position: absolute;
  right: 16px;
  color: var(--silver);
  transition: transform 0.2s;
}
.faq-item.open .faq-q::after { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 12px 16px 14px;
  font-size: 14px;
  color: var(--silver-hi);
  border-top: 1px solid rgba(143, 143, 148, 0.18);
}
.faq-item.open .faq-a { display: block; }

/* --- Корзина --- */
.cart-empty {
  min-height: 36vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(143, 143, 148, 0.22);
  border-radius: 6px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.03);
}
.cart-item .thumb {
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.ci-info { flex: 1; min-width: 0; }
.ci-name { font-family: var(--font-sys); font-size: 15px; }
.ci-size { font-size: 13px; }
.ci-right {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  flex: none;
}
.qty-ctrl { display: flex; align-items: center; gap: 8px; }
.qty-num { min-width: 22px; text-align: center; font-family: var(--font-sys); }
.cart-summary { padding: 16px; }
.cart-total {
  font-family: var(--font-sys);
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 8px;
}
.delivery-note { font-size: 12.5px; color: var(--silver); margin-top: 10px; }
.free-delivery-badge {
  display: inline-block;
  margin-top: 2px;
  padding: 4px 12px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--text);
  font-family: var(--font-sys);
  font-size: 13px;
}

/* --- Наш музон --- */
.music-intro { max-width: 640px; margin-bottom: 20px; color: var(--silver-hi); }

/* --- Мобильная версия --- */
@media (max-width: 768px) {
  .section { padding: 10px 10px 14px; }
  .sec-title { font-size: 20px; }
  .sec-back { min-height: 44px; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cart-item { flex-wrap: wrap; }
  .ci-right { flex-direction: row; width: 100%; justify-content: space-between; align-items: center; }
}

/* ============================================================
   Каталог: подпись коллекции, «продано», просмотр съёмки
   ============================================================ */
.catalog-blurb {
  font-family: var(--font-sys);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 14px;
}

/* Вещь на плитке вырезана из фона — подкладываем ей «подиум»:
   бордовый разлив снизу вверх на всю плитку, вещь стоит в нём.
   Подпись под фото подхватывает тот же цвет (см. .product-card ниже),
   поэтому карточка читается одним полем, а не фото плюс полоска. */
.product-card .ph {
  position: relative;
  background:
    radial-gradient(140% 110% at 50% 112%,
      rgba(122, 24, 38, 0.4) 0%,
      rgba(122, 24, 38, 0.2) 44%,
      rgba(122, 24, 38, 0.06) 74%,
      rgba(0, 0, 0, 0) 100%),
    radial-gradient(80% 70% at 50% 42%, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0) 72%),
    var(--bg-1);
  padding: 6px;
}
/* низ карточки — продолжение того же разлива */
.product-card {
  background:
    linear-gradient(180deg, rgba(122, 24, 38, 0.22), rgba(122, 24, 38, 0.34)),
    rgba(255, 255, 255, 0.03);
}
.product-card .ph img { transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1); }
.product-card:hover .ph img { transform: scale(1.05); }

.product-card.sold-out .ph img { filter: grayscale(0.75) brightness(0.72); }
.sold-stamp {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  font-family: var(--font-sys);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver-hi);
  border: 2px solid var(--accent-hi);
  border-radius: 3px;
  padding: 4px 10px;
  background: rgba(10, 10, 12, 0.72);
  white-space: nowrap;
}

/* листалка кадров поверх раздела */
.photo-zoom { gap: 10px; }
.pz-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  flex: none;
  width: 44px;
  height: 64px;
  font-family: var(--font-sys);
  font-size: 30px;
  line-height: 1;
  color: var(--silver-hi);
  background: rgba(14, 14, 18, 0.6);
  border: 1px solid rgba(201, 201, 204, 0.26);
  border-radius: 5px;
  transition: border-color 0.15s, background 0.15s;
}
.pz-nav.prev { left: max(12px, 2vw); }
.pz-nav.next { right: max(12px, 2vw); }
.pz-nav:hover { border-color: var(--accent-hi); background: rgba(122, 24, 38, 0.55); }
.photo-zoom.single .pz-nav, .photo-zoom.single .pz-count { display: none; }
.pz-close {
  position: absolute;
  top: max(10px, env(safe-area-inset-top));
  right: 10px;
  z-index: 3;
  width: 44px;
  height: 44px;
  font-family: var(--font-sys);
  font-size: 18px;
  line-height: 1;
  color: var(--silver-hi);
  background: rgba(14, 14, 18, 0.7);
  border: 1px solid rgba(201, 201, 204, 0.26);
  border-radius: 6px;
  transition: border-color 0.15s, background 0.15s;
}
.pz-close:hover { border-color: var(--accent-hi); background: rgba(122, 24, 38, 0.55); }
.pz-count {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sys);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--silver);
}

/* --- Группы внутри коллекции: панамы / шапки / сумки --- */
.cat-group + .cat-group { margin-top: clamp(22px, 3vw, 34px); }
.cat-group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-family: var(--font-sys);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--silver-hi);
}
/* ромб-засечка слева — та же геометрия, что у пунктов размерной сетки */
.cgt-name { position: relative; padding-left: 18px; white-space: nowrap; }
.cgt-name::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border: 1.4px solid var(--accent-hi);
  transform: rotate(45deg);
  box-shadow: 0 0 7px rgba(138, 30, 45, 0.7);
}
.cgt-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(138, 30, 45, 0.75),
    rgba(143, 143, 148, 0.28) 38%,
    rgba(143, 143, 148, 0) 100%);
}
.cgt-count {
  flex: none;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--silver);
  border: 1px solid rgba(143, 143, 148, 0.3);
  border-radius: 3px;
  padding: 1px 7px;
}

/* --- Плитка: метка «единственный экземпляр» --- */
.product-card { position: relative; }
.ooo-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-family: var(--font-sys);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--silver-hi);
  background: rgba(10, 10, 12, 0.72);
  border: 1px solid rgba(138, 30, 45, 0.85);
  border-radius: 3px;
  padding: 2px 5px;
  backdrop-filter: blur(3px);
  pointer-events: none;
}

/* плитка держит штамп «продано» и метку ONE OF ONE */
.product-card .ph { position: relative; overflow: hidden; }

/* счётчик корзины в шапке раздела */
.sec-cart { display: inline-flex; align-items: center; gap: 7px; }
.sec-cart .sc-num {
  font-family: var(--font-sys);
  font-weight: 700;
  font-size: 12px;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  color: var(--text);
  background: var(--accent);
  border-radius: 9px;
  padding: 0 5px;
}

/* ============================================================
   «На улицу»: анонсы и хроника
   ============================================================ */
.ev-group + .ev-group { margin-top: clamp(24px, 4vw, 38px); }

/* --- Скоро: карточка-афиша с корешком-датой --- */
.ev-soon { display: grid; gap: 12px; }
.ev-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  background:
    linear-gradient(115deg, rgba(122, 24, 38, 0.12), rgba(0, 0, 0, 0) 46%),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(143, 143, 148, 0.24);
  border-radius: 8px;
  overflow: hidden;
}
/* корешок отрывного билета: перфорация по вертикали */
.ev-stub {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 16px 8px;
  background: linear-gradient(180deg, #23131a, var(--accent-lo) 60%, #35141d);
  border-right: 2px dashed rgba(10, 10, 12, 0.75);
  text-align: center;
}
.evs-day {
  font-family: var(--font-sys);
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
  color: var(--text);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.evs-month {
  font-family: var(--font-sys);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver-hi);
}
.evs-year {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(201, 201, 204, 0.6);
  margin-top: 3px;
}

.ev-body { padding: 14px 18px 16px; min-width: 0; }
.ev-until {
  display: inline-block;
  font-family: var(--font-sys);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--accent);
  border-radius: 3px;
  padding: 3px 8px;
  margin-bottom: 8px;
}
.ev-title {
  font-family: var(--font-sys);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  margin-bottom: 6px;
}
.ev-text { font-size: 14px; color: var(--silver-hi); }

.ev-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 10px;
  font-family: var(--font-sys);
  font-size: 12.5px;
  color: var(--silver);
}
.ev-meta span { display: inline-flex; align-items: center; gap: 6px; }
.ev-meta svg { flex: none; opacity: 0.85; }

.ev-actions { margin-top: 14px; }
.ev-ics { display: inline-flex; align-items: center; gap: 7px; }

/* --- Пусто: честно и без обмана --- */
.ev-empty {
  border: 1px dashed rgba(143, 143, 148, 0.3);
  border-radius: 8px;
  padding: 26px 20px;
  text-align: center;
}
.ev-empty-title {
  font-family: var(--font-sys);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--silver-hi);
  margin-bottom: 5px;
}

/* --- Было: хроника плиткой --- */
.ev-archive {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.ev-past {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(143, 143, 148, 0.2);
  border-radius: 8px;
  overflow: hidden;
}
.ev-shot {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: none;
  border-bottom: 1px solid rgba(143, 143, 148, 0.2);
  overflow: hidden;
}
.ev-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* архив: прошедшее чуть приглушено, при наведении оживает */
  filter: saturate(0.85) brightness(0.9);
  transition: filter 0.25s, transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.ev-shot:hover img { filter: none; transform: scale(1.04); }
.ev-shot-count {
  position: absolute;
  right: 8px;
  bottom: 8px;
  font-family: var(--font-sys);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--silver-hi);
  background: rgba(10, 10, 12, 0.74);
  border: 1px solid rgba(201, 201, 204, 0.25);
  border-radius: 3px;
  padding: 2px 7px;
  backdrop-filter: blur(3px);
}
/* фотоотчёта ещё нет — вместо пустоты крупная дата */
.ev-plate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid rgba(143, 143, 148, 0.2);
  background:
    radial-gradient(80% 90% at 50% 0%, rgba(122, 24, 38, 0.2), rgba(0, 0, 0, 0) 70%),
    repeating-linear-gradient(135deg,
      rgba(255, 255, 255, 0.022) 0 8px, rgba(0, 0, 0, 0) 8px 16px),
    var(--bg-1);
}
.evp-day {
  font-family: var(--font-sys);
  font-weight: 700;
  font-size: 46px;
  line-height: 1;
  color: rgba(201, 201, 204, 0.35);
}
.evp-month {
  font-family: var(--font-sys);
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(201, 201, 204, 0.3);
  align-self: flex-end;
  padding-bottom: 6px;
}
.ev-past-body { padding: 12px 14px 14px; }
.ev-past .ev-date {
  font-family: var(--font-sys);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-hi);
  margin-bottom: 5px;
}
.ev-past .ev-title { font-size: 15px; }
.ev-past .ev-text { font-size: 13.5px; }

/* --- Куда идти дальше --- */
/* Раздел без единого сбора: одна плашка вместо пустой страницы.
   Та же бордовая засечка слева, что у плашки подписки ниже. */
.ev-announce {
  max-width: 620px;
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid rgba(143, 143, 148, 0.24);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(122, 24, 38, 0.18), rgba(0, 0, 0, 0) 58%),
    rgba(255, 255, 255, 0.02);
}
.eva-kicker {
  font-family: var(--font-sys);
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 8px;
}
.eva-head {
  font-family: var(--font-sys);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 26px);
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 10px;
}
.eva-text {
  color: var(--silver-hi);
  max-width: 46ch;
  margin-bottom: 18px;
}
.eva-link { display: inline-flex; align-items: center; gap: 8px; }
.eva-note {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--silver);
}

.ev-subscribe {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: clamp(24px, 4vw, 38px);
  padding: 16px 18px;
  border: 1px solid rgba(143, 143, 148, 0.24);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  background:
    linear-gradient(100deg, rgba(122, 24, 38, 0.16), rgba(0, 0, 0, 0) 55%),
    rgba(255, 255, 255, 0.02);
}
.evs-head {
  font-family: var(--font-sys);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}
.evs-link { display: inline-flex; align-items: center; gap: 8px; flex: none; }

@media (max-width: 560px) {
  .ev-card { grid-template-columns: 74px 1fr; }
  .evs-day { font-size: 28px; }
  .ev-body { padding: 12px 14px 14px; }
  .ev-subscribe { flex-direction: column; align-items: stretch; }
  .evs-link { justify-content: center; }
}

/* в хронике тексты разной длины ломали ряд — режем по четырём строкам */
.ev-past .ev-text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* без фотоотчёта плашка ниже: 4:3 пустоты на всю ширину — перебор */
.ev-past.no-photo .ev-plate { aspect-ratio: 16 / 7; }
.ev-past.no-photo .evp-day { font-size: 38px; }

/* ============================================================
   «Наш музон»: артисты и плейлист
   ============================================================ */
.artists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.artist-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
}
.artist-tape {
  width: 150px;
  flex: none;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
}
.artist-body { min-width: 0; flex: 1; }
.artist-name {
  font-family: var(--font-sys);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 5px;
}
.artist-text { font-size: 14px; color: var(--silver-hi); margin-bottom: 12px; }

.artist-tracks { margin-bottom: 14px; }
.at-label {
  display: block;
  font-family: var(--font-sys);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 7px;
}
.at-covers { display: flex; gap: 7px; flex-wrap: wrap; }
.at-cover {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(143, 143, 148, 0.35);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.15s, transform 0.15s;
}
.at-cover img { width: 100%; height: 100%; object-fit: cover; }
.at-cover:hover { border-color: var(--accent-hi); transform: translateY(-2px); }

/* --- Список треков --- */
.tracklist { display: grid; gap: 8px; }
.track-row {
  display: grid;
  grid-template-columns: 54px 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 9px 12px 9px 9px;
  border: 1px solid rgba(143, 143, 148, 0.2);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.18s, background 0.18s;
}
.track-row:hover { border-color: rgba(201, 201, 204, 0.4); }
.track-row.current {
  border-color: var(--accent-hi);
  background:
    linear-gradient(100deg, rgba(122, 24, 38, 0.2), rgba(0, 0, 0, 0) 60%),
    rgba(255, 255, 255, 0.03);
}

.tr-cover {
  position: relative;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(143, 143, 148, 0.35);
  border-radius: 5px;
  overflow: hidden;
  flex: none;
}
.tr-cover img { width: 100%; height: 100%; object-fit: cover; transition: filter 0.2s; }
.tr-cover:hover img { filter: brightness(0.55); }
.track-row.current .tr-cover { border-color: var(--accent-hi); }
/* значок поверх обложки: показываем на наведении и у текущего трека */
.tr-state {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: rgba(10, 10, 12, 0.5);
  opacity: 0;
  transition: opacity 0.18s;
}
.tr-cover:hover .tr-state,
.track-row.current .tr-state { opacity: 1; }
/* в строке две иконки: play видно в покое, pause — когда играет */
.tr-state svg:nth-child(2) { display: none; }
.track-row.playing .tr-state svg:nth-child(1) { display: none; }
.track-row.playing .tr-state svg:nth-child(2) { display: block; }

.tr-meta { min-width: 0; }
.tr-title {
  font-family: var(--font-sys);
  font-size: 15px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tr-artist {
  font-size: 12.5px;
  color: var(--silver);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* полоса проигрывания — видна только у текущего трека */
.tr-bar {
  height: 2px;
  margin-top: 7px;
  border-radius: 1px;
  background: rgba(201, 201, 204, 0.16);
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.2s;
}
.track-row.current .tr-bar { opacity: 1; }
.tr-bar i {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: var(--accent-hi);
  box-shadow: 0 0 6px rgba(138, 30, 45, 0.8);
}

.tr-time {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--silver);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.track-row.current .tr-time { color: var(--silver-hi); }
.tr-ya {
  font-family: var(--font-sys);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--silver);
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 1px dashed rgba(143, 143, 148, 0.45);
  transition: color 0.15s, border-color 0.15s;
}
.tr-ya:hover { color: var(--silver-hi); border-color: var(--accent-hi); }

/* --- Связка с капсулой --- */
.music-capsule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: clamp(24px, 4vw, 38px);
  padding: 16px 18px;
  border: 1px solid rgba(143, 143, 148, 0.24);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  background:
    linear-gradient(100deg, rgba(122, 24, 38, 0.16), rgba(0, 0, 0, 0) 55%),
    rgba(255, 255, 255, 0.02);
}

@media (max-width: 620px) {
  .artist-card { flex-direction: column; align-items: center; text-align: center; }
  .artist-tape { width: 190px; }
  .at-covers { justify-content: center; }
  .track-row { grid-template-columns: 48px 1fr auto; row-gap: 6px; }
  .tr-cover { width: 48px; height: 48px; }
  .tr-ya { grid-column: 2 / -1; justify-self: start; }
  .music-capsule { flex-direction: column; align-items: stretch; }
  .music-capsule .btn { justify-content: center; }
}

/* ============================================================
   Корзина: слева вещи, справа итог и заявка
   ============================================================ */
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: clamp(16px, 2.5vw, 28px);
  align-items: start;
}
.cart-main { min-width: 0; }
.cart-side {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 0;
}
.order-form { padding: 16px; }

/* вернуть случайно удалённое */
.cart-undo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  padding: 9px 12px;
  font-size: 13.5px;
  color: var(--silver-hi);
  border: 1px dashed rgba(138, 30, 45, 0.7);
  border-radius: 6px;
  background: rgba(122, 24, 38, 0.14);
}

/* позиция, которой больше нет в наличии */
.cart-item.dead { opacity: 0.72; border-color: rgba(138, 30, 45, 0.5); }
.cart-item.dead .thumb img { filter: grayscale(0.85) brightness(0.75); }
.ci-name.link {
  padding: 0;
  text-align: left;
  color: var(--text);
  border-bottom: 1px dashed rgba(201, 201, 204, 0.4);
  transition: color 0.15s, border-color 0.15s;
}
.ci-name.link:hover { color: var(--accent-hi); border-color: var(--accent-hi); }
.ci-flag {
  display: inline-block;
  margin-top: 5px;
  font-family: var(--font-sys);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--accent);
  border-radius: 3px;
  padding: 2px 7px;
}
.ci-note {
  margin-top: 5px;
  font-family: var(--font-sys);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
}

/* сколько осталось до бесплатной доставки */
.free-progress { margin-top: 4px; }
.fp-text { font-size: 13px; color: var(--silver-hi); margin-bottom: 6px; }
.fp-text b { font-family: var(--font-sys); color: var(--text); }
.fp-bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(201, 201, 204, 0.16);
  overflow: hidden;
}
.fp-bar i {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  background: linear-gradient(90deg, var(--accent), var(--accent-hi));
  box-shadow: 0 0 8px rgba(138, 30, 45, 0.8);
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.form-warn {
  font-size: 13px;
  color: var(--silver-hi);
  border: 1px dashed rgba(138, 30, 45, 0.75);
  border-radius: 5px;
  padding: 9px 11px;
  margin-bottom: 14px;
  background: rgba(122, 24, 38, 0.14);
}

.cart-empty-links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 14px; }

@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-side { position: static; }
}

/* ============================================================
   «О нас»: манифест — вкладыш, основы и фонд
   ============================================================ */
.about { max-width: 820px; margin: 0 auto; }

/* вступление — прежний тёмный вкладыш с машинописью */
.about-head {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    #17161a;
  border: 1px solid rgba(143, 143, 148, 0.28);
  border-radius: 4px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5), inset 0 0 60px rgba(0, 0, 0, 0.35);
  padding: clamp(22px, 4vw, 38px);
  font-size: 15.5px;
  line-height: 1.75;
}
.about-title {
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}
.about-intro { color: var(--silver-hi); }

/* лента кадров — появляется, только если фото положили в assets/about */
.about-shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.ab-shot {
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 1px solid rgba(143, 143, 148, 0.28);
  border-radius: 5px;
  overflow: hidden;
}
.ab-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.25s;
  filter: saturate(0.9) brightness(0.92);
}
.ab-shot:hover img { transform: scale(1.05); filter: none; }

/* --- Четыре основы --- */
.pillars { margin-top: clamp(26px, 4vw, 40px); }
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}
.pillar {
  position: relative;
  overflow: hidden;
  padding: 18px 18px 16px;
  border: 1px solid rgba(143, 143, 148, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(122, 24, 38, 0.13), rgba(0, 0, 0, 0) 52%),
    rgba(255, 255, 255, 0.025);
}
/* номер основы крупно и глухо — как трафарет на стене */
.pl-num {
  position: absolute;
  right: 10px;
  top: 2px;
  font-family: var(--font-sys);
  font-weight: 700;
  font-size: 54px;
  line-height: 1;
  color: rgba(201, 201, 204, 0.07);
  user-select: none;
}
.pl-name {
  position: relative;
  font-family: var(--font-sys);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.06em;
  margin-bottom: 7px;
  padding-left: 16px;
}
.pl-name::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border: 1.4px solid var(--accent-hi);
  transform: rotate(45deg);
}
.pl-text { font-size: 14px; color: var(--silver-hi); }
.pl-link {
  margin-top: 10px;
  font-family: var(--font-sys);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
  border-bottom: 1px dashed rgba(143, 143, 148, 0.5);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}
.pl-link:hover { color: var(--silver-hi); border-color: var(--accent-hi); }

/* --- Фонд: не основа, а поступок — отдельной плашкой --- */
.fund {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: clamp(20px, 3vw, 30px);
  padding: 18px 20px;
  border: 1px solid rgba(138, 30, 45, 0.55);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  background:
    radial-gradient(90% 140% at 0% 50%, rgba(122, 24, 38, 0.28), rgba(0, 0, 0, 0) 60%),
    rgba(255, 255, 255, 0.02);
}
.fund-body { min-width: 0; flex: 1 1 280px; }
.fund-kicker {
  font-family: var(--font-sys);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--silver-hi);
  margin-bottom: 7px;
}
.fund-text { font-size: 14px; color: var(--silver-hi); }
.fund-link { flex: none; }

/* --- Ударная строка --- */
.about-quote {
  margin: clamp(28px, 5vw, 46px) 0 0;
  padding: 0 clamp(0px, 3vw, 30px);
  text-align: center;
  font-size: clamp(19px, 2.8vw, 26px);
  line-height: 1.45;
  color: var(--text);
  text-shadow: 0 0 26px rgba(138, 30, 45, 0.35);
}
.about-sign {
  margin-top: 20px;
  text-align: right;
  color: var(--silver-hi);
  font-size: 15px;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.about-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: clamp(24px, 4vw, 38px);
  padding: 16px 18px;
  border: 1px solid rgba(143, 143, 148, 0.24);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  background:
    linear-gradient(100deg, rgba(122, 24, 38, 0.16), rgba(0, 0, 0, 0) 55%),
    rgba(255, 255, 255, 0.02);
}

@media (max-width: 560px) {
  .fund, .about-cta { flex-direction: column; align-items: stretch; }
  .fund-body { flex: none; }
  .fund .btn, .about-cta .btn { justify-content: center; }
  .about-sign { text-align: center; }
}

/* --- Отзыв: на какие вещи --- */
.review-items { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.rv-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border: 1px solid rgba(143, 143, 148, 0.3);
  border-radius: 20px;
  font-family: var(--font-sys);
  font-size: 12px;
  color: var(--silver-hi);
  transition: border-color 0.15s, background 0.15s;
}
.rv-item:hover { border-color: var(--accent-hi); background: rgba(122, 24, 38, 0.18); }
.rv-item img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--bg-1);
  flex: none;
}

.review-card.folded { display: none; }
.reviews-more { display: block; width: 100%; margin-bottom: 16px; }

.form-note {
  font-size: 12.5px;
  color: var(--silver);
  margin-bottom: 14px;
  padding-left: 11px;
  border-left: 2px solid var(--accent);
}

/* ============================================================
   Саппорт: живой чат, путь заказа, вопросы, соцсети
   ============================================================ */
.sup-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 18px 20px;
  margin-bottom: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(143, 143, 148, 0.24);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  background:
    linear-gradient(100deg, rgba(122, 24, 38, 0.18), rgba(0, 0, 0, 0) 58%),
    rgba(255, 255, 255, 0.02);
}
.sup-copy { min-width: 0; flex: 1 1 280px; }
.sup-head {
  font-family: var(--font-sys);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}
.sup-tg { display: inline-flex; align-items: center; gap: 8px; flex: none; }

.sup-block + .sup-block { margin-top: clamp(24px, 4vw, 36px); }

/* --- Путь заказа --- */
.sup-steps {
  list-style: none;
  display: grid;
  /* четыре шага должны встать в один ряд, иначе последний висит одиноко */
  grid-template-columns: repeat(auto-fit, minmax(186px, 1fr));
  gap: 12px;
}
.sup-step {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(143, 143, 148, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(122, 24, 38, 0.1), rgba(0, 0, 0, 0) 55%),
    rgba(255, 255, 255, 0.025);
}
.ss-num {
  flex: none;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sys);
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(138, 30, 45, 0.6);
}
.ss-body { min-width: 0; }
.ss-title {
  font-family: var(--font-sys);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}
.ss-text { font-size: 13.5px; color: var(--silver-hi); }

/* --- Вопросы: ответ ведёт к действию --- */
.faq-q:hover { background: rgba(255, 255, 255, 0.055); }
.faq-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

/* --- Соцсети --- */
.sup-socials {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: clamp(24px, 4vw, 36px);
  padding-top: 18px;
  border-top: 1px solid rgba(143, 143, 148, 0.2);
}
.ss-label {
  font-family: var(--font-sys);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--silver);
}
.ss-links { display: flex; gap: 10px; flex-wrap: wrap; }
.ss-links .btn { display: inline-flex; align-items: center; gap: 7px; }

@media (max-width: 560px) {
  .sup-contact { flex-direction: column; align-items: stretch; }
  .sup-copy { flex: none; }   /* в колонке flex-grow растянул бы по высоте */
  .sup-tg { justify-content: center; }
}

/* Заявка: номер и спасение заказа при обрыве связи */
.order-no {
  font-family: var(--font-mono, monospace);
  letter-spacing: 0.08em;
  color: var(--accent-hi);
}
.order-copy {
  display: block;
  width: 100%;
  margin: 14px 0 10px;
  padding: 10px 12px;
  border: 1px solid rgba(201, 201, 204, 0.18);
  border-radius: 8px;
  background: rgba(10, 10, 13, 0.6);
  color: var(--silver-hi);
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  line-height: 1.5;
  resize: vertical;
}

/* Согласия под формой: принятие оферты и обработка данных — раздельно,
   поэтому галочек несколько и стоят они плотной стопкой */
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 4px 0 14px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--silver);
  cursor: pointer;
}
.consent input {
  flex: none;
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--accent-hi);
}
.consent + .consent { margin-top: -8px; }
.consent a { color: var(--silver-hi); text-decoration: underline; }
.consent.invalid {
  border-color: var(--accent-hi);
  background: rgba(138, 30, 45, 0.12);
}

/* Документы в саппорте — тем же видом, что и соцсети */
.sup-docs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(201, 201, 204, 0.1);
}
