html,
body {
  height: 100%;
  margin: 0;
}

.page {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

footer,
.footer-bottom {
  flex-shrink: 0;
}

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

a:hover {
  text-decoration: none;
}

ul {
  padding: 0;
  margin: 0;
}

li {
  list-style: none;
}

form {
  margin: 0;
}

form span {
  display: block;
}

.colored-text {
  color: var(--main-color) !important;
}

.zag h1 {
  margin-top: 0px !important;
}

.down-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0.7;
}

.w20 {
  width: 20%;
}

.w30 {
  width: 30%;
}

.w40 {
  width: 40%;
}

.w50 {
  width: 50%;
}

.w60 {
  width: 60%;
}

.w70 {
  width: 70%;
}

.w80 {
  width: 80%;
}

.w90 {
  width: 90%;
}

.w100 {
  width: 100%;
}

.m5 {
  margin: 5px !important;
}

.m10 {
  margin: 10px !important;
}

.m15 {
  margin: 15px !important;
}

.m20 {
  margin: 20px !important;
}

.m25 {
  margin: 25px !important;
}

.mt10 {
  margin-top: 10px !important;
}

.mb10 {
  margin-bottom: 10px !important;
}

.ml10 {
  margin-left: 10px !important;
}

.mr10 {
  margin-right: 10px !important;
}

.p10 {
  padding: 10px !important;
}

.pl10 {
  padding-left: 10px !important;
}

.pr10 {
  padding-right: 10px !important;
}

.pt10 {
  padding-top: 10px !important;
}

.pb10 {
  padding-bottom: 10px !important;
}

.mb20 {
  margin-bottom: 20px !important;
}

.mt0 {
  margin-top: 0 !important;
}

.mt5 {
  margin-top: 5px !important;
}

.mt15 {
  margin-top: 15px !important;
}

.mt20 {
  margin-top: 20px !important;
}

.mt30 {
  margin-top: 30px !important;
}

.mt40 {
  margin-top: 40px !important;
}

.mb0 {
  margin-bottom: 0 !important;
}

.mb5 {
  margin-bottom: 5px !important;
}

.mb15 {
  margin-bottom: 15px !important;
}

.mb20 {
  margin-bottom: 20px !important;
}

.mb30 {
  margin-bottom: 30px !important;
}

.ml0 {
  margin-left: 0 !important;
}

.ml5 {
  margin-left: 5px !important;
}

.ml15 {
  margin-left: 15px !important;
}

.ml20 {
  margin-left: 20px !important;
}

.mr0 {
  margin-right: 0 !important;
}

.mr5 {
  margin-right: 5px !important;
}

.mr15 {
  margin-right: 15px !important;
}

.mr20 {
  margin-right: 20px !important;
}

.p0 {
  padding: 0 !important;
}

.p5 {
  padding: 5px !important;
}

.p15 {
  padding: 15px !important;
}

.p20 {
  padding: 20px !important;
}

.p30 {
  padding: 30px !important;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.flex-wrap {
  display: flex;
  flex-wrap: wrap;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.bold {
  font-weight: bold;
}

.italic {
  font-style: italic;
}

.uppercase {
  text-transform: uppercase;
}

.lowercase {
  text-transform: lowercase;
}

.capitalize {
  text-transform: capitalize;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.between {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.between-center {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.between-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.center-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-top {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.center-bottom {
  display: flex;
  align-items: end;
  justify-content: center;
}

.left-center {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.left-baseline {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
}

.left-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
}

.right-top {
  display: flex;
  align-items: end;
  justify-content: flex-end;
}

.right-center {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.right {
  margin-left: auto;
}

.fs12 {
  font-size: 12px !important;
}

.fs14 {
  font-size: 14px !important;
}

.fs16 {
  font-size: 16px !important;
}

.fs18 {
  font-size: 18px !important;
}

.fs20 {
  font-size: 20px !important;
}

.fs24 {
  font-size: 24px !important;
}

.fs32 {
  font-size: 32px !important;
}

.g10 {
  gap: 10px;
}

.g20 {
  gap: 20px;
}


.cookie_notice {
  position: fixed;
  z-index: 9999999;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 100%);
  width: 420px;
  /* фиксированная адекватная ширина для десктопа */
  max-width: calc(100% - 40px);
  /* чтобы не вылазил за экран */
  text-align: left;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 20px;
  display: flex;
  border: 1px solid white;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie_notice.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.cookie_notice.hidden {
  transform: translate(-50%, 100%);
}

.cookie_title {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  line-height: 1.4;
}

.cookie_title p {
  margin: 0;
  font-weight: 600;
  font-size: 14px;
}

.cookie_title a {
  color: #fff !important;
}

.cookie_title a:hover {
  text-decoration: underline !important;
}

.cookie_btn {
  display: inline-block;
  white-space: nowrap;
  text-decoration: none !important;
  font-size: 14px;
  color: black;
  font-weight: 700;
  box-sizing: border-box;
  text-transform: uppercase;
  transition: 0.2s ease;
  padding: 10px 18px;
  border-radius: 8px;
  background-color: white;
}

.cookie_btn:hover {
  opacity: 0.85;
}

.cookie_title a {
  color: #e4e4e4 !important;
  text-decoration: underline !important;
  transition: 0.2s ease;
}

.cookie_title a:hover {
  opacity: 0.8 !important;
}

/* телефон */
@media (max-width: 768px) {
  .cookie_notice {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    bottom: 15px;
    padding: 18px;
    border-radius: 16px;
  }

  .cookie_btn {
    width: 100%;
    text-align: center;
    margin: 10px 0 0 0;
  }

  .cookie_title {
    font-size: 13px;
  }

  .cookie_title p {
    font-size: 15px;
  }
}