/* ============================================================
   ШАТАЙЛО — one-pager
   Палітра: чорний / електричний жовтий / білий (+ червоний штамп)
   ============================================================ */

:root {
  --bg: #060606;
  --bg-2: #0c0c0c;
  --yellow: #f2ff00;
  --yellow-dim: rgba(242, 255, 0, 0.55);
  --white: #f4f2ec;
  --muted: #8d8d86;
  --red: #e5231b;
  --line: rgba(255, 255, 255, 0.1);
  --font-display: "Unbounded", sans-serif;
  --font-body: "Inter", sans-serif;
  --header-h: 76px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }

/* clip замість hidden: не створює скрол-контейнер і не ламає ScrollTrigger-пін */
html, body { overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--yellow); color: #000; }

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

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

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

.container {
  width: min(1280px, 100% - 48px);
  margin-inline: auto;
}

.dot { color: var(--yellow); margin: 0 0.35em; }

/* ---------- курсор ---------- */
.cursor, .cursor-ring {
  position: fixed; top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
}
.cursor {
  width: 8px; height: 8px;
  background: var(--yellow);
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1px solid var(--yellow-dim);
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, border-color 0.25s, background 0.25s;
}
.cursor-ring.is-hover {
  width: 64px; height: 64px;
  background: rgba(242, 255, 0, 0.08);
  border-color: var(--yellow);
}
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-ring { display: none; }
}

/* ---------- шум ---------- */
.noise {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: noiseShift 0.6s steps(4) infinite;
}
@keyframes noiseShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(-1%, 2%); }
  100% { transform: translate(2%, -1%); }
}

/* ---------- скрол-прогрес ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--yellow);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 9500;
}

/* ---------- прелоадер ---------- */
.preloader {
  position: fixed; inset: 0;
  background: #000;
  z-index: 11000;
  display: grid; place-items: center;
}
.preloader__inner { text-align: center; }
.preloader__word {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 8vw, 5rem);
  letter-spacing: 0.08em;
  color: #000;
  -webkit-text-stroke: 2px rgba(244, 242, 236, 0.25);
  paint-order: stroke fill;
}
.preloader__counter {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--yellow);
}
.preloader__bar {
  margin: 14px auto 0;
  width: min(320px, 60vw); height: 2px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.preloader__bar span {
  display: block; width: 100%; height: 100%;
  background: var(--yellow);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 16px 28px;
  border-radius: 2px;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
  will-change: transform;
}
.btn--solid {
  background: var(--yellow);
  color: #000;
  border: 1px solid var(--yellow);
}
.btn--solid:hover {
  box-shadow: 0 0 32px rgba(242, 255, 0, 0.35);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(244, 242, 236, 0.35);
}
.btn--ghost:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}
/* біла основа + темний текст (як соц-кнопки на сторінці контактів) */
.btn--white {
  background: var(--white);
  color: #0a0a0a;
  border: 1px solid var(--white);
}
.btn--white:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #000;
  box-shadow: 0 0 32px rgba(242, 255, 0, 0.35);
}
.btn--sm { padding: 12px 18px; font-size: 0.72rem; }
.btn__icon { font-size: 0.7em; }

/* ---------- хедер ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: clamp(20px, 4vw, 48px);
  z-index: 8000;
  transition: transform 0.4s var(--ease-out), background 0.3s, backdrop-filter 0.3s;
}
.header.is-scrolled {
  background: rgba(6, 6, 6, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
/* лого та правий блок — рівної ширини, щоб центральне меню було по центру */
.header__logo { flex: 1 1 0; min-width: 0; }
.header__nav { flex: 0 0 auto; }
/* текстовий логотип */
.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--yellow);
  white-space: nowrap;
  transition: text-shadow 0.3s;
}
.header__logo:hover .logo-text { text-shadow: 0 0 24px rgba(242, 255, 0, 0.55); }
.logo-text--lg { font-size: clamp(1.5rem, 3vw, 2rem); }
.header__nav {
  display: flex; gap: clamp(18px, 3vw, 40px);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.header__nav a {
  position: relative;
  padding: 6px 0;
  color: var(--muted);
  transition: color 0.25s;
}
.header__nav a::after {
  content: "";
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.35s var(--ease-out);
}
.header__nav a:hover { color: var(--white); }
.header__nav a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }

.cta-short { display: none; }

/* меню налазить на іконки до ~1100px — ховаємо його, поки немає комфортного відступу */
@media (max-width: 1150px) {
  .header__nav { display: none; }
}

@media (max-width: 860px) {
  .header__cta { padding: 12px 18px; font-size: 0.7rem; }
}

/* мобільний хедер: менше лого + кнопка, короткий підпис, є простір між ними */
@media (max-width: 600px) {
  .header { padding-inline: 16px; }
  .header__logo .logo-text { font-size: 0.8rem; }
  .header__cta { padding: 11px 16px; font-size: 0.66rem; }
  .header__cta .cta-full { display: none; }
  .header__cta .cta-short { display: inline; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
}
.hero__vignette {
  position: absolute; inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 80% 60% at 50% 42%, transparent 30%, rgba(6, 6, 6, 0.78) 100%),
    linear-gradient(to bottom, rgba(6, 6, 6, 0.55), transparent 28%, transparent 70%, var(--bg) 100%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: calc(var(--header-h) + 24px) 24px 120px;
}
.hero__label {
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 1.4vw, 0.85rem);
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--yellow);
}
.hero__title {
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.75rem, 9.5vw, 8.2rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
/* nowrap: літери-спани не ламаються між собою (КОСМІЧНИЙ лишається в один рядок) */
/* маска лише знизу (для intro-розкриття), зверху розширена — щоб «Й» і світіння не різались */
.hero__line { display: block; overflow: visible; white-space: nowrap; clip-path: inset(-90px 0 0 0); }
.hero__line--accent { color: var(--yellow); text-shadow: 0 0 60px rgba(242, 255, 0, 0.35); }
.hero__title .char { display: inline-block; will-change: transform; }
.hero__meta {
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(0.85rem, 1.6vw, 1rem);
}
.hero__actions {
  margin-top: 38px;
  display: flex; gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__scrollhint {
  position: absolute;
  bottom: 86px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__scrollhint i {
  width: 1px; height: 42px;
  background: linear-gradient(to bottom, var(--yellow), transparent);
  animation: scrollPulse 1.8s var(--ease-out) infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
}
.marquee__track {
  display: inline-flex;
  will-change: transform;
}
.marquee__track span {
  font-family: var(--font-display);
  text-transform: uppercase;
  display: inline-block;
}
.marquee--hero {
  position: absolute; bottom: 0; left: 0; right: 0;
  z-index: 3;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  background: rgba(6, 6, 6, 0.5);
  backdrop-filter: blur(6px);
}
.marquee--hero span {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--white);
}
.marquee__hl {
  color: var(--yellow);
  font-style: normal;
  font-weight: 600;
}

/* ---------- заголовки секцій ---------- */
.section-index {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 6.8vw, 5.1rem);
  line-height: 1.12;
  text-transform: uppercase;
}
/* заливка кольором фону + paint-order ховають внутрішні контури гліфів */
.section-title .outline {
  color: var(--outline-fill, var(--bg));
  -webkit-text-stroke: 3px var(--white);
  paint-order: stroke fill;
}
/* компенсований padding: дає місце зверху для діакритики (Ї, Й) без зсуву верстки */
.reveal-line { display: block; overflow: hidden; padding-top: 0.22em; margin-top: -0.22em; }
.reveal-line > span { display: block; will-change: transform; }

/* ---------- великий екран (feature-банер) ---------- */
.feature {
  position: relative;
  width: 100%;
  height: clamp(850px, 95vh, 900px);
  overflow: hidden;
  background: var(--bg);
}
.feature__media {
  position: absolute;
  inset: 0;
  clip-path: inset(0% 0% 0% 0%);
  will-change: clip-path;
}
.feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 26%;
  transform: scale(1.12);
  will-change: transform;
}
/* затемнення: м'який стик зверху + сильне затемнення знизу під заголовок */
.feature__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    var(--bg) 0%,
    rgba(6, 6, 6, 0) 12%,
    rgba(6, 6, 6, 0.12) 34%,
    rgba(6, 6, 6, 0.55) 55%,
    rgba(6, 6, 6, 0.9) 82%,
    var(--bg) 100%
  );
}
.feature__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}
/* тіні для читабельності підпису над зображенням */
.feature__caption .section-index { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.85); }
.feature__caption .section-title { text-shadow: 0 2px 30px rgba(0, 0, 0, 0.45); }
/* підзаголовок — єдиний блок із заголовком, прямо під ним на банері */
.feature__intro {
  margin-top: clamp(16px, 2.2vh, 24px);
  max-width: 540px;
  color: rgba(244, 242, 236, 0.82);
  font-size: clamp(0.92rem, 1.4vw, 1.02rem);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.6);
}
@media (max-width: 600px) {
  .feature { height: clamp(440px, 74vh, 680px); }
}

/* ---------- сольники ---------- */
.specials {
  position: relative;
  /* десктоп: великий відступ дає центрування карток у піні, тут лишаємо малий */
  padding-top: clamp(12px, 1.5vh, 22px);
  background: var(--bg);
}
.specials__pin {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 74vh;
}
.specials__track {
  display: flex;
  gap: clamp(24px, 4vw, 64px);
  padding-inline: clamp(24px, 6vw, 96px);
  width: max-content;
  align-items: stretch;
}
.specials__progress {
  position: absolute;
  left: clamp(24px, 6vw, 96px); right: clamp(24px, 6vw, 96px);
  bottom: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}
.specials__progress span {
  display: block; height: 100%;
  background: var(--yellow);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

.card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, clamp(300px, 44vh, 520px)) minmax(300px, 420px);
  gap: clamp(20px, 2.5vw, 40px);
  align-items: center;
  padding: clamp(20px, 2.5vw, 36px);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  transform-style: preserve-3d;
  transition: border-color 0.3s;
}
.card:hover { border-color: rgba(242, 255, 0, 0.45); }
.card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 4px;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(242, 255, 0, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.card:hover::after { opacity: 1; }

.card__poster {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 1;
  transform: translateZ(30px);
}
.card__poster img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.6s;
  filter: saturate(0.9);
}
.card:hover .card__poster img {
  transform: scale(1.06);
  filter: saturate(1.15);
}
.card__num {
  position: absolute; top: 12px; left: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--yellow);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}
.card__badge {
  position: absolute; top: 12px; right: -34px;
  background: var(--yellow);
  color: #000;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  padding: 6px 40px;
  transform: rotate(45deg);
}
.card__body { transform: translateZ(18px); }
.card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.15;
  text-transform: uppercase;
}
.card__meta {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 400;
}
.card__desc {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}
.card__actions {
  margin-top: 24px;
  display: flex; gap: 12px; flex-wrap: wrap;
}

/* планшет/мобільний: горизонтальна листалка стає вертикальним списком карток */
@media (max-width: 899px) {
  .specials__track {
    flex-direction: column;
    width: auto;
    padding-inline: 24px;
  }
  .specials__progress { display: none; }
  /* піни нема, тож відступ перед листалкою дає сам padding */
  .specials { padding-top: clamp(72px, 11vh, 104px); padding-bottom: 90px; }
}

/* планшет: картка лишається 2-колонковою (постер зліва, текст справа) і заповнює всю ширину */
@media (min-width: 641px) and (max-width: 899px) {
  .card { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); }
}

/* телефон: вертикальний стек усередині картки (постер зверху, текст знизу) */
@media (max-width: 640px) {
  .card { grid-template-columns: 1fr; }
  .card__poster { max-width: 420px; }
}

/* ---------- про Єгора ---------- */
.about {
  --outline-fill: var(--bg-2);
  position: relative;
  padding: clamp(110px, 16vh, 200px) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.about__bgtext {
  position: absolute;
  top: 50%; left: 0;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(8rem, 22vw, 19rem);
  line-height: 1;
  white-space: nowrap;
  color: var(--bg-2);
  -webkit-text-stroke: 2.5px rgba(244, 242, 236, 0.18);
  paint-order: stroke fill;
  pointer-events: none;
  user-select: none;
}
.about__grid {
  position: relative;
  display: grid;
  /* текстова колонка ширша, щоб «УКРАЇНЕЦЬ» при 5.1rem вписувався без обрізання */
  grid-template-columns: minmax(220px, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.about__photo {
  position: relative;
}
.about__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 60% 20%;
  border-radius: 2px;
}
.about__photo-frame {
  position: absolute; inset: 0;
  border: 1px solid var(--yellow);
  border-radius: 2px;
  transform: translate(14px, 14px);
  pointer-events: none;
}
.about__bio {
  margin-top: 28px;
  max-width: 480px;
  color: var(--muted);
  font-size: 1.02rem;
}
.about__stats {
  margin-top: 44px;
  display: flex;
  gap: clamp(28px, 4vw, 56px);
  list-style: none;
  flex-wrap: wrap;
}
.about__stats b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  color: var(--yellow);
  line-height: 1;
}
.about__stats span {
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 860px) {
  /* одна колонка: фото зверху, текст знизу — більший вертикальний відступ між ними */
  .about__grid { grid-template-columns: 1fr; row-gap: clamp(72px, 12vw, 100px); }
  .about__photo { max-width: 460px; }
  /* біо й статистика — на всю ширину текстового блока */
  .about__bio { max-width: none; }
  /* 3 показники в один рядок рівними колонками на всю ширину; довгі підписи переносяться */
  .about__stats { gap: clamp(12px, 2.5vw, 24px); flex-wrap: nowrap; }
  .about__stats li { flex: 1 1 0; min-width: 0; }
}
/* планшет: фото центруємо, текстовий блок лишаємо на всю ширину */
@media (min-width: 601px) and (max-width: 860px) {
  .about__photo { justify-self: center; }
}

/* ---------- тур ---------- */
.tour {
  padding: clamp(110px, 16vh, 200px) 0;
  background: var(--bg);
}
.tour__list {
  list-style: none;
  margin-top: clamp(40px, 6vh, 70px);
  border-top: 1px solid var(--line);
}
.tour__row {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
  padding: clamp(22px, 3.5vh, 36px) 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, padding-left 0.3s;
}
.tour__row:hover { background: rgba(255, 255, 255, 0.02); padding-left: 20px; }
.tour__date {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 2.4vw, 1.5rem);
  text-transform: uppercase;
  /* фіксована ширина колонки → усі міста вирівняні по лівому краю */
  flex: 0 0 12.5em;
  white-space: nowrap;
}
.tour__city {
  flex: 1;
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  color: var(--white);
}
.tour__venue {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 0.82rem;
  color: var(--muted);
}
.tour__buy { flex-shrink: 0; }
.tour__lead {
  margin: 22px 0 4px;
  max-width: 560px;
  color: var(--muted);
}
.tour__stamp {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(0.8rem, 1.6vw, 1.05rem);
  letter-spacing: 0.12em;
  color: var(--red);
  border: 2px solid var(--red);
  border-radius: 3px;
  padding: 8px 16px;
  transform: rotate(-6deg);
  text-transform: uppercase;
}
.tour__done {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.tour__row--past .tour__city,
.tour__row--past .tour__venue { color: var(--muted); }
.tour__actions {
  margin-top: clamp(36px, 6vh, 60px);
  display: flex; gap: 16px; flex-wrap: wrap;
}
/* адаптиви: кнопки туру — розміром як кнопки в картках сольників (.btn--sm) */
@media (max-width: 899px) {
  .tour__actions .btn { padding: 12px 18px; font-size: 0.72rem; }
}
/* мобільний: дата меншим рядком зверху, місто + кнопка/штамп праворуч в один рядок */
@media (max-width: 620px) {
  .tour__row {
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    padding: 18px 6px;
  }
  .tour__date { flex: 0 0 100%; font-size: 0.9rem; }
  .tour__city { flex: 1 1 0; min-width: 0; font-size: 0.95rem; }
  .tour__venue { font-size: 0.74rem; }
  .tour__buy { flex: 0 0 auto; padding: 8px 13px; font-size: 0.6rem; }
  .tour__stamp { flex: 0 0 auto; padding: 6px 12px; font-size: 0.62rem; }
  .tour__done { flex: 0 0 auto; font-size: 0.66rem; }
}
/* сторінка повного туру: ширша колонка дати (є місяці «листопада»/«грудня») */
@media (min-width: 621px) {
  .tour-list-page .tour__date { flex-basis: 14.25em; }
}

/* ---------- футер ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: #000;
  padding-top: clamp(50px, 8vh, 90px);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  padding-bottom: clamp(40px, 6vh, 70px);
}
.footer__brand p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 8px;
}
.footer__col a {
  color: var(--muted);
  font-size: 0.92rem;
  width: fit-content;
  transition: color 0.25s, transform 0.25s;
}
.footer__col a:hover { color: var(--white); transform: translateX(6px); }
.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.footer__bottom a { color: var(--white); border-bottom: 1px solid var(--yellow-dim); }
@media (max-width: 720px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- сторінки контенту (legal) ---------- */
.header--solid {
  background: rgba(6, 6, 6, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.legal { padding-top: var(--header-h); }
.legal__inner {
  width: min(860px, 100% - 48px);
  margin-inline: auto;
}
.legal__hero {
  padding: clamp(24px, 4vh, 56px) 0 clamp(28px, 4vh, 44px);
  border-bottom: 1px solid var(--line);
}
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(22px, 4vh, 34px);
  transition: color 0.25s, gap 0.25s;
}
.legal__back:hover { color: var(--yellow); gap: 12px; }
.legal__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 4.2rem);
  line-height: 1.05;
  text-transform: uppercase;
}
.legal__updated {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.85rem;
}
.legal__content { padding: clamp(36px, 6vh, 64px) 0 clamp(60px, 10vh, 120px); }
.legal__content h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--yellow);
  margin: clamp(32px, 5vh, 48px) 0 14px;
}
.legal__content > *:first-child { margin-top: 0; }
.legal__content p {
  margin-bottom: 16px;
  color: rgba(244, 242, 236, 0.88);
  line-height: 1.7;
}
.legal__content p.is-muted { color: var(--muted); }
.legal__content p.is-quote {
  color: var(--muted);
  font-style: italic;
  padding-left: 18px;
  border-left: 2px solid var(--line);
}
.legal__content strong { color: var(--white); font-weight: 600; }
.legal__content p a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal__contacts {
  margin-top: clamp(36px, 6vh, 56px);
  padding-top: clamp(24px, 4vh, 36px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.legal__contacts strong { color: var(--yellow); }

/* ---------- контакт-сторінка ---------- */
.contact__intro {
  color: var(--muted);
  max-width: 620px;
  margin-bottom: clamp(28px, 5vh, 44px);
}
.contact__direct {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 18px;
}
.contact__line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(15px, 2.4vh, 22px) clamp(16px, 2.5vw, 24px);
  background: var(--bg-2);
  text-decoration: none;
  transition: background 0.25s;
}
.contact__line:hover { background: #141414; }
.contact__label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  color: var(--white);
  transition: color 0.25s;
  text-align: right;
}
.contact__line:hover .contact__value { color: var(--yellow); }
.contact__socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 7vh, 64px);
}
.contact__socials a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #0a0a0a;
  background: var(--white);
  border: 1px solid var(--white);
  border-radius: 3px;
  padding: 12px 22px;
  transition: transform 0.28s var(--ease-out), background 0.25s, border-color 0.25s,
    box-shadow 0.28s, color 0.25s;
  will-change: transform;
}
.contact__socials a:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(242, 255, 0, 0.28);
}
.contact__socials a:active { transform: translateY(-1px) scale(0.97); }
/* телефон: значення під заголовком (а не поруч), щоб довгий email не обрізався */
@media (max-width: 560px) {
  .contact__line { flex-direction: column; align-items: flex-start; gap: 6px; }
  .contact__value { text-align: left; overflow-wrap: anywhere; }
}

/* контакт-форма — на всю ширину контейнера, як блок з телефоном/email */
.cform { max-width: none; }
.cform__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cform__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.cform__field > span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.cform input,
.cform textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 14px 16px;
  width: 100%;
  transition: border-color 0.25s, background 0.25s;
}
.cform input::placeholder,
.cform textarea::placeholder { color: #5c5c57; }
.cform input:focus,
.cform textarea:focus {
  outline: none;
  border-color: var(--yellow);
  background: #111;
}
.cform textarea { resize: vertical; min-height: 140px; }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cform__submit { margin-top: 4px; }
.cform__status {
  margin-top: 14px;
  font-size: 0.88rem;
  min-height: 1.2em;
  color: var(--muted);
}
.cform__status.is-ok { color: var(--yellow); }
.cform__status.is-err { color: var(--red); }
@media (max-width: 560px) {
  .cform__row { grid-template-columns: 1fr; }
}

/* ---------- модалка ---------- */
.modal {
  position: fixed; inset: 0;
  z-index: 10500;
  display: grid; place-items: center;
  padding: 24px;
  visibility: hidden;
}
.modal.is-open { visibility: visible; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(8px);
  opacity: 0;
}
.modal__panel {
  position: relative;
  width: min(960px, 100%);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px) scale(0.97);
}
.modal__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}
.modal__head h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.modal__close {
  font-size: 1.1rem;
  color: var(--muted);
  padding: 6px 10px;
  transition: color 0.25s, transform 0.25s;
}
.modal__close:hover { color: var(--yellow); transform: rotate(90deg); }
.modal__video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}
.modal__video iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.modal__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  flex-wrap: wrap;
}
.modal__foot p { font-size: 0.82rem; color: var(--muted); }

/* ---------- reveal-утиліти ---------- */
.reveal { opacity: 0; transform: translateY(40px); }

/* ============================================================
   STORE: хедер-іконки, міні-кошик, модалка входу, кошик, оформлення
   ============================================================ */

/* ---------- хедер-інструменти (акаунт + кошик) ---------- */
/* правий блок: зліва іконки, справа кнопка «Придбати» */
.header__right { flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: clamp(10px, 1.5vw, 18px); }
.header__tools { display: flex; align-items: center; gap: 6px; }
/* під-сторінки (кабінет, кошик, легал тощо): іконки — прямий нащадок .header, без .header__right.
   Кнопка стоїть впритул до іконок — додаємо відступ між ними */
.header > .header__tools { margin-left: 12px; }
.hicon {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  color: var(--white);
  border-radius: 50%;
  transition: color 0.25s, background 0.25s;
}
.hicon:hover { color: var(--yellow); background: rgba(255, 255, 255, 0.06); }
.hicon__badge {
  position: absolute; top: 2px; right: 2px;
  min-width: 16px; height: 16px; padding: 0 4px;
  display: grid; place-items: center;
  background: var(--yellow); color: #000;
  font-family: var(--font-display); font-weight: 700; font-size: 0.62rem;
  border-radius: 9px;
}
@media (max-width: 860px) {
  .header__tools { gap: 2px; }
  .hicon { width: 36px; height: 36px; }
  .header__cta { padding: 10px 14px; }
}
/* телефон: ховаємо кнопку хедера (CTA на головній / бек-лінк на під-сторінках) —
   на вузьких екранах вона налазить на лого; назад можна через лінк у hero-секції */
@media (max-width: 480px) {
  .header .btn { display: none; }
}

/* ---------- міні-кошик (сайдбар) ---------- */
.minicart { position: fixed; inset: 0; z-index: 10600; visibility: hidden; }
.minicart.is-open { visibility: visible; }
.minicart__backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity 0.3s;
}
.minicart.is-open .minicart__backdrop { opacity: 1; }
.minicart__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  background: var(--bg-2);
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
}
.minicart.is-open .minicart__panel { transform: translateX(0); }
.minicart__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 1px solid var(--line);
}
.minicart__head h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.minicart__close { font-size: 1rem; color: var(--muted); padding: 6px 8px; transition: color 0.25s, transform 0.25s; }
.minicart__close:hover { color: var(--yellow); transform: rotate(90deg); }
.minicart__body { flex: 1; overflow-y: auto; padding: 16px 22px; }
.minicart__empty { color: var(--muted); text-align: center; margin-top: 40px; line-height: 1.7; }
.minicart__foot { border-top: 1px solid var(--line); padding: 18px 22px; }
.minicart__subtotal {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 16px;
}
.minicart__subtotal span { color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.minicart__subtotal b { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--yellow); }
.minicart__actions { display: grid; gap: 10px; }
.minicart__actions .btn { width: 100%; justify-content: center; }

.mc-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mc-item__img { width: 56px; height: 56px; object-fit: cover; border-radius: 3px; }
.mc-item__title { font-size: 0.9rem; line-height: 1.3; }
.mc-item__row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; gap: 10px; }
.mc-item__price { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; white-space: nowrap; }
.mc-item__rm { color: var(--muted); font-size: 0.8rem; padding: 2px 4px; transition: color 0.25s; }
.mc-item__rm:hover { color: var(--red); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 3px; }
.qty__btn { width: 28px; height: 28px; color: var(--white); font-size: 1rem; line-height: 1; transition: color 0.2s, background 0.2s; }
.qty__btn:hover { color: var(--yellow); background: rgba(255, 255, 255, 0.05); }
.qty__val { min-width: 28px; text-align: center; font-family: var(--font-display); font-size: 0.85rem; }

/* ---------- модалка входу / акаунта ---------- */
.authmodal { position: fixed; inset: 0; z-index: 10700; display: grid; place-items: center; padding: 24px; visibility: hidden; }
.authmodal.is-open { visibility: visible; }
.authmodal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.78); backdrop-filter: blur(8px); opacity: 0; transition: opacity 0.3s; }
.authmodal.is-open .authmodal__backdrop { opacity: 1; }
.authmodal__panel {
  position: relative; width: min(420px, 100%);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px;
  padding: clamp(28px, 5vw, 44px);
  opacity: 0; transform: translateY(20px) scale(0.98); transition: opacity 0.35s, transform 0.35s var(--ease-out);
}
.authmodal.is-open .authmodal__panel { opacity: 1; transform: none; }
.authmodal__close { position: absolute; top: 14px; right: 16px; font-size: 1rem; color: var(--muted); padding: 6px 8px; transition: color 0.25s, transform 0.25s; }
.authmodal__close:hover { color: var(--yellow); transform: rotate(90deg); }
.authmodal__title { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; margin-bottom: 24px; }
.auth-google { width: 100%; justify-content: center; }
.auth-google__g { font-family: var(--font-display); font-weight: 800; color: #0a0a0a; }
.auth-or { display: flex; align-items: center; gap: 14px; margin: 20px 0; color: var(--muted); font-size: 0.8rem; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-field { display: flex; flex-direction: column; gap: 7px; }
.auth-field > span { font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.auth-field input {
  font-family: var(--font-body); font-size: 0.95rem; color: var(--white);
  background: var(--bg); border: 1px solid var(--line); border-radius: 3px; padding: 13px 15px; width: 100%;
  transition: border-color 0.25s, background 0.25s;
}
.auth-field input:focus { outline: none; border-color: var(--yellow); background: #111; }
.auth-submit { width: 100%; justify-content: center; margin-top: 4px; }
.auth-note { color: var(--muted); font-size: 0.76rem; line-height: 1.5; }
.auth-status { min-height: 1em; margin: 4px 0 0; font-size: 0.85rem; color: var(--muted); }
.auth-status.is-err { color: var(--red); }
.auth-account { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.auth-account__avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--yellow); color: #000; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }
.auth-account__name { font-weight: 600; }
.auth-account__email { color: var(--muted); font-size: 0.85rem; }
.auth-cabinet { width: 100%; justify-content: center; margin-bottom: 10px; opacity: 0.6; pointer-events: none; }
.authmodal__panel [data-logout] { width: 100%; justify-content: center; }

/* ---------- сторінка кошика ---------- */
.cartpage__empty { text-align: center; padding: clamp(40px, 8vh, 90px) 0; color: var(--muted); display: grid; gap: 22px; justify-items: center; }
.cartpage__table-wrap { overflow-x: auto; }
/* fixed-розкладка: колонки розтягнуті на всю ширину рядка, числа — праворуч */
.cartpage__table { width: 100%; min-width: 540px; table-layout: fixed; border-collapse: collapse; margin-bottom: clamp(28px, 4vh, 48px); }
.cartpage__table th {
  text-align: left; padding: 0 16px 16px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600;
}
.cartpage__table td { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
/* колонки: × | Товар(гнучка) | Ціна | Кількість | Підсумок */
.cartpage__table th:first-child, .cp-cell-rm { width: 40px; padding-right: 8px; }
.cartpage__table th:nth-child(3), .cartpage__table td:nth-child(3) { width: 16%; text-align: right; }
.cartpage__table th:nth-child(4), .cartpage__table td:nth-child(4) { width: 18%; text-align: center; }
.cartpage__table th:last-child, .cartpage__table td:last-child { width: 18%; text-align: right; padding-right: 0; }
.cartpage__table td:nth-child(3), .cartpage__table td:last-child { white-space: nowrap; }
.cp-rm { color: var(--muted); font-size: 0.85rem; transition: color 0.25s; }
.cp-rm:hover { color: var(--red); }
.cp-prod { display: flex; align-items: center; gap: 14px; min-width: 0; }
.cp-prod img { width: 52px; height: 52px; object-fit: cover; border-radius: 3px; flex-shrink: 0; }
.cp-prod span { font-weight: 500; min-width: 0; }
.cartpage__table td:nth-child(4) .qty { display: inline-flex; }
.cartpage__table td:last-child b { color: var(--white); font-family: var(--font-display); }

/* мобільний вигляд: картки товарів (як у міні-кошику) замість таблиці */
.cartpage__cards { display: none; }

/* низ: ліворуч «продовжити покупки», праворуч картка підсумків */
.cartpage__foot { display: flex; justify-content: space-between; align-items: flex-start; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap; }
.cartpage__continue { color: var(--muted); font-family: var(--font-display); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; padding-top: 8px; transition: color 0.25s; }
.cartpage__continue:hover { color: var(--yellow); }
.cartpage__totals { width: 100%; max-width: 400px; margin-left: auto; background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: clamp(22px, 2.5vw, 30px); }
.cartpage__totals-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; margin-bottom: 16px; }
.cartpage__totals-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.cartpage__totals-row b { color: var(--white); font-family: var(--font-display); }
.cartpage__totals-row--grand { color: var(--white); border-bottom: none; padding-top: 14px; }
.cartpage__totals-row--grand b { color: var(--yellow); font-size: 1.2rem; }
.cartpage__checkout { width: 100%; justify-content: center; margin-top: 20px; }

@media (max-width: 640px) {
  .cartpage__table-wrap { display: none; }
  .cartpage__cards { display: block; margin-bottom: clamp(24px, 5vh, 40px); }
  .cartpage__cards .mc-item:first-child { padding-top: 0; }
}

/* ---------- сторінка оформлення ---------- */
.checkout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.checkout__h { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; margin-bottom: 20px; }
/* заголовок «Платіжні дані» в лівій колонці форми — рівні відступи зверху/знизу */
.checkout__col--form .checkout__h { margin-top: 16px; margin-bottom: 16px; }
.checkout__col--form { display: flex; flex-direction: column; gap: 16px; }
.checkout__as { color: var(--muted); font-size: 0.9rem; margin-top: -8px; }
.checkout__login { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.checkout__pay { border: 1px solid var(--line); border-radius: 4px; padding: 18px; background: var(--bg); }
.checkout__pay-label { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow); }
.checkout__pay-note { color: var(--muted); font-size: 0.85rem; margin-top: 8px; line-height: 1.5; }
.checkout__pay-logo { width: 180px; max-width: 100%; height: auto; display: block; margin-top: 14px; }
.checkout__submit { width: 100%; justify-content: center; margin-top: 18px; }
.checkout__legal { font-size: 0.8rem; color: var(--muted); margin-top: 12px; text-align: center; }
.checkout__legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.checkout__col--summary { background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: clamp(20px, 2.5vw, 30px); position: sticky; top: calc(var(--header-h) + 16px); }
.checkout__summary { width: 100%; border-collapse: collapse; }
.checkout__summary td { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.checkout__summary td:last-child { text-align: right; white-space: nowrap; font-family: var(--font-display); }
.co-x { color: var(--muted); }
.checkout__summary-sub td { color: var(--muted); }
.checkout__summary-grand td { border-bottom: none; padding-top: 16px; color: var(--white); font-weight: 600; }
.checkout__summary-grand td:last-child { color: var(--yellow); font-size: 1.15rem; }
.checkout__done { text-align: center; padding: clamp(40px, 8vh, 90px) 0; display: grid; gap: 18px; justify-items: center; }
.checkout__done-mark { width: 72px; height: 72px; border-radius: 50%; background: var(--yellow); color: #000; display: grid; place-items: center; font-size: 2rem; font-weight: 800; }
.checkout__done h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.4rem); text-transform: uppercase; }
.checkout__done p { color: var(--muted); max-width: 520px; line-height: 1.6; }
.checkout__done b { color: var(--white); font-family: var(--font-display); font-weight: 600; }
.checkout__done .checkout__done-lead { color: var(--white); }
.checkout__done .checkout__done-email {
  display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 10px;
  max-width: 100%; text-align: center;
  padding: 12px 22px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted); font-size: 0.92rem;
}
.checkout__done-email b { overflow-wrap: anywhere; }
.checkout__done-email__ic { color: var(--yellow); font-size: 1.05rem; line-height: 1; }
.checkout__done-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.checkout__done .checkout__done-note { font-size: 0.76rem; color: var(--muted); opacity: 0.55; margin-top: 2px; }
@media (max-width: 820px) {
  .checkout { grid-template-columns: 1fr; }
  /* кнопка тепер у сайдбарі — лишаємо форму зверху, сайдбар (з кнопкою) знизу */
  .checkout__col--summary { position: static; }
}

/* ---------- плеєр-модалка (перегляд сольника) ---------- */
.playermodal { position: fixed; inset: 0; z-index: 10800; display: grid; place-items: center; padding: 24px; visibility: hidden; }
.playermodal.is-open { visibility: visible; }
.playermodal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.88); backdrop-filter: blur(8px); opacity: 0; transition: opacity 0.3s; }
.playermodal.is-open .playermodal__backdrop { opacity: 1; }
.playermodal__panel {
  position: relative; width: min(960px, 100%);
  max-height: calc(100vh - 48px); overflow: hidden auto;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px;
  opacity: 0; transform: translateY(24px) scale(0.97); transition: opacity 0.35s, transform 0.35s var(--ease-out);
}
.playermodal.is-open .playermodal__panel { opacity: 1; transform: none; }
.playermodal__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.playermodal__head h3 { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; text-transform: uppercase; }
.playermodal__close { font-size: 1.1rem; color: var(--muted); padding: 6px 10px; transition: color 0.25s, transform 0.25s; }
.playermodal__close:hover { color: var(--yellow); transform: rotate(90deg); }
.playermodal__video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.playermodal__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.playermodal__foot { padding: 18px 22px 22px; }
.playermodal__meta {
  font-family: var(--font-display); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--yellow); margin-bottom: 10px;
}
.playermodal__desc { color: rgba(244, 242, 236, 0.85); font-size: 0.92rem; line-height: 1.6; margin-bottom: 12px; }
.playermodal__note { font-size: 0.78rem; color: var(--muted); }

/* ---------- кабінет ---------- */
/* шапка: «Вітаємо» зверху, нижче — ім'я (велике Unbounded) і навпроти нього ВИЙТИ */
.acc-head { margin-bottom: clamp(20px, 3vh, 28px); }
.acc-greet { color: var(--muted); font-size: 0.85rem; margin: 0 0 6px; }
.acc-head__row { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; }
.acc-welcome__name { min-width: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 5vw, 2.2rem); line-height: 1.05; color: var(--white); }
.acc-logout { flex: 0 0 auto; font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red); white-space: nowrap; transition: opacity 0.25s; }
.acc-logout:hover { opacity: 0.65; }

/* таби — завжди один рядок, з горизонтальним скролом за потреби */
.acc-nav { display: flex; flex-wrap: nowrap; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: clamp(28px, 5vh, 44px); overflow-x: auto; scrollbar-width: none; }
.acc-nav::-webkit-scrollbar { display: none; }
.acc-tab {
  flex: 0 0 auto; white-space: nowrap;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 600; letter-spacing: 0; text-transform: uppercase;
  color: var(--muted); padding: 13px 10px; border-bottom: 2px solid transparent; transition: color 0.25s, border-color 0.25s;
}
.acc-tab:hover { color: var(--white); }
.acc-tab.is-active { color: var(--yellow); border-bottom-color: var(--yellow); }
.acc-empty { text-align: center; padding: clamp(36px, 7vh, 80px) 0; color: var(--muted); display: grid; gap: 22px; justify-items: center; }

.acc-lib { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.5vw, 28px); }
.acc-lib__card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transition: border-color 0.3s; }
.acc-lib__card:hover { border-color: rgba(242, 255, 0, 0.4); }
.acc-lib__poster { position: relative; aspect-ratio: 1; overflow: hidden; }
.acc-lib__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.acc-lib__card:hover .acc-lib__poster img { transform: scale(1.05); }
.acc-lib__play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(6, 6, 6, 0.35); opacity: 0; transition: opacity 0.3s; }
.acc-lib__poster:hover .acc-lib__play { opacity: 1; }
.acc-lib__play span { width: 54px; height: 54px; border-radius: 50%; background: var(--white); color: #000; display: grid; place-items: center; font-size: 1.05rem; padding-left: 4px; }
.acc-lib__body { padding: 16px; display: grid; gap: 12px; }
.acc-lib__body h3 { font-family: var(--font-display); font-weight: 700; font-size: 1rem; text-transform: uppercase; line-height: 1.2; }
.acc-lib__body .acc-lib__info { font-family: var(--font-display); font-weight: 400; font-size: 0.8rem; color: var(--yellow); margin-top: -4px; }
.acc-lib__body .btn { width: 100%; justify-content: center; }

/* таблиця замовлень — власні стилі (раніше успадковувала .cartpage__table й ламалась) */
.acc-orders-wrap { overflow-x: auto; }
.acc-orders { width: 100%; border-collapse: collapse; }
.acc-orders th {
  text-align: left; padding: 0 16px 16px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600;
}
.acc-orders td { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.acc-orders td[data-label] { white-space: nowrap; }
/* кнопка «Переглянути» — по правому краю рядка */
.acc-orders th:last-child, .acc-orders td:last-child { text-align: right; padding-right: 0; }

/* телефон: рядок-таблиця → картка (підпис: значення) */
@media (max-width: 600px) {
  .acc-orders thead { display: none; }
  .acc-orders, .acc-orders tbody, .acc-orders tr, .acc-orders td { display: block; }
  .acc-orders tr { border: 1px solid var(--line); border-radius: 4px; padding: 12px 16px; margin-bottom: 14px; }
  .acc-orders td { border: none; padding: 5px 0; text-align: left; white-space: normal; }
  .acc-orders td[data-label]::before {
    content: attr(data-label); display: inline-block; min-width: 92px;
    color: var(--muted); text-transform: uppercase; font-size: 0.68rem; letter-spacing: 0.08em;
  }
  .acc-orders td:last-child { text-align: left; margin-top: 10px; }
}
.acc-status { color: var(--yellow); font-family: var(--font-display); font-size: 0.78rem; }
.acc-back { color: var(--muted); font-family: var(--font-display); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; display: inline-block; transition: color 0.25s; }
.acc-back:hover { color: var(--yellow); }
.acc-h { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; }
.acc-h--sm { font-size: 1rem; margin-top: 32px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.acc-sub { color: var(--muted); font-size: 0.85rem; margin: 6px 0 18px; }
.acc-bill { color: var(--muted); line-height: 1.7; margin-top: 16px; }

.acc-profile { width: 100%; display: flex; flex-direction: column; gap: clamp(24px, 3.4vh, 36px); }
.acc-profile__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.acc-hint { color: var(--muted); font-size: 0.76rem; margin-top: 6px; display: block; }
.acc-pass { border: 1px solid var(--line); border-radius: 4px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.acc-pass legend { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow); padding: 0 8px; }
.acc-profile__save { display: flex; align-items: center; gap: 16px; }
.acc-saved { color: var(--yellow); font-size: 0.9rem; }
@media (max-width: 560px) { .acc-profile__row, .acc-lib { grid-template-columns: 1fr; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .noise { animation: none; }
  .hero__scrollhint i { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .minicart__panel, .authmodal__panel { transition: none; }
  * { scroll-behavior: auto !important; }
}
