/**
 * Лёгкое обновление типографики и UI афиши (BARABAS).
 * Откат: убрать подключение в includes/mammoth-refresh-head.php / header.php
 */
:root {
  --m-afisha-font: "Golos Text", Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --m-afisha-radius: 10px;
  --m-afisha-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

body,
.wrapper-def,
.container-def,
.inp-def,
.btn-def,
.select-el,
.top-menu,
.block-product,
.sec-afisha,
.sec-order,
.sec-cat,
.sec-generator {
  font-family: var(--m-afisha-font) !important;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.title-def,
.top-menu__title,
.block-product__name,
.sec-afisha__title {
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.wrap-article p,
.sec-afisha__text,
.sec-afisha__block-text,
.block-product__text p {
  line-height: 1.65;
  font-size: 1.02em;
}

.btn-def,
.block-product__btns-btn,
.sec-afisha__btn,
.sec-generator__btn,
.block-choose-date__btn {
  border-radius: var(--m-afisha-radius) !important;
  transition: transform 0.18s var(--m-afisha-ease), box-shadow 0.18s var(--m-afisha-ease),
    background-color 0.18s ease, border-color 0.18s ease;
}

.btn-def:hover:not(.disabled):not([disabled]) {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.inp-def,
.form-el__inp,
.select-el__top {
  border-radius: 8px !important;
}

.block-product,
.sec-afisha__block,
.wrap-tabs__content-el,
.sec-generator__wrap {
  border-radius: 14px;
}

.links-def__link {
  transition: opacity 0.15s ease, color 0.15s ease;
}

.links-def__link:hover {
  opacity: 0.85;
}

.afisha-nav-static {
  pointer-events: none;
  cursor: default;
}

.afisha-nav-static:hover {
  opacity: 1;
}

.top-menu {
  backdrop-filter: blur(8px);
}

.gen-result-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 12px 0 8px;
}

.gen-link-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.gen-link-card__label {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.9;
}

.gen-link-card__url {
  font-size: 14px;
  line-height: 1.45;
  word-break: break-all;
  color: #6eb6ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gen-link-card__url:hover {
  opacity: 0.9;
}

.gen-link-card__copy {
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  transition: background 0.15s ease, transform 0.15s ease;
}

.gen-link-card__copy:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}
