#toTopBtn{
  position: fixed !important;
  right: 24px;
  bottom: 24px;

  width: 64px !important;
  height: 64px !important;
  min-width: 64px;
  min-height: 64px;

  padding: 0 !important;
  margin: 0 !important;

  border-radius: 50% !important;
  background-color: #B4A381!important;
  border: none !important;

  display: none;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  z-index: 999999;

  box-sizing: border-box !important;
  line-height: 0 !important;

  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

#toTopBtn svg{
  width: 35px !important;
  height: 35px !important;
  display: block;
}

#toTopBtn:hover{
  transform: translateY(-2px);
}





#cookieNotice{
  position: fixed !important;
  left: 50% !important;
  bottom: 20px !important;
  transform: translateX(-50%) !important;

  max-width: 450px;        /* ← ВОТ ТУТ ШИРИНА */
  width: calc(100% - 64px); /* отступы по бокам */

  background: #ffffff;
  color: #1a1a1a;

  padding: 14px 18px;      /* компактнее */
  border-radius: 12px;

  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  z-index: 999999;

  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  font-size: 14px;
  line-height: 1.45;
}

#cookieNotice a{
  color: #1a1a1a;
  text-decoration: underline;
}

#cookieNotice,
#cookieNotice *{
  font-family: 'TildaSans', Arial, sans-serif !important;
}

#cookieAccept{
  background: #E4DFD2;
  color: #1a1a1a;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
}

/* мобильная версия */
@media (max-width: 640px){
  #cookieNotice{
    flex-direction: column;
    align-items: stretch; /* растягиваем контент */
  }

  #cookieAccept{
    width: auto;
    min-width: 160px;
    align-self: center;   /* ← ВОТ ЭТО ГЛАВНОЕ */
    text-align: center;
  }
}

</style>