/**
 * Лёгкое обновление типографики и 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);
}
