#cookie_note {
  display: none;
  position: fixed;
  bottom: 20px;     /* окно снизу */
  left: 20px;       /* окно слева */
  width: 375px;
  height: 70px;
  z-index: 1000;
}

#cookie_note .cookies-inner__link {
    color: #812b27;
    text-decoration: none;
}

#cookie_note.show {
  display: flex;
}

#cookie_note .cookies-inner {
  width: 100%;
  height: 100%;
  
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 6px 10px;

  border: 1px solid hsl(219, 14%, 49%);
  border-radius: 6px;

  background-color: #fff;
  color: #000;
}

/* текст справа */
#cookie_note .cookies-inner__text {
  font-size: 12px;
  line-height: 14px;
  margin: 0;
  max-width: 260px;
}

/* кнопка слева */
#cookie_note .cookies-inner__button {
  order: 0;
}

/* компактная кнопка */
#cookie_note .button {
  width: 80px;
  height: 30px;

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

  padding: 0;

  background-color: #812b27;
  color: #fff;

  border: 1px solid #F6B59C;
  border-radius: 4px;

  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#cookie_note .button:active {
  transform: scale(0.95);
}

/* --------------------------- */
/* 📱 Мобильная адаптация */
/* --------------------------- */

@media (max-width: 480px) {

  /* окно растягивается по ширине */
  #cookie_note {
    width: calc(100% - 40px);
    height: auto;
  }

  #cookie_note .cookies-inner {
    flex-direction: column;      /* элементы сверху-вниз */
    justify-content: center;
    align-items: center;
    padding: 12px;
    row-gap: 12px;
  }

  /* текст по центру */
  #cookie_note .cookies-inner__text {
    max-width: 100%;
    text-align: center;
    font-size: 13px;
    line-height: 16px;
  }

  /* кнопка под текстом, по центру */
  #cookie_note .cookies-inner__button {
    order: 1;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* кнопка шире для мобильного */
  #cookie_note .button {
    width: 100%;
    height: 36px;
    font-size: 12px;
  }
}