#poscookielaw {
  display: none !important;
}

.am-cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 99999;
  background: #ffffff;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
  padding: 14px;
  max-width: 920px;
  margin: 0 auto;
}

.am-cookie-consent[hidden] {
  display: none !important;
}

.am-cookie-consent__title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
  color: #212121;
}

.am-cookie-consent__text {
  margin: 0;
  color: #494949;
  font-size: 14px;
  line-height: 1.55;
}

.am-cookie-consent__text a {
  color: #b80f0f;
  text-decoration: underline;
}

.am-cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.am-cookie-consent__btn {
  border: 1px solid #d0d0d0;
  background: #fff;
  color: #222;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.am-cookie-consent__btn:hover {
  background: #f5f5f5;
}

.am-cookie-consent__btn--primary {
  border-color: #c70909;
  background: #c70909;
  color: #fff;
}

.am-cookie-consent__btn--primary:hover {
  background: #a50707;
  border-color: #a50707;
}

.am-cookie-preferences {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  padding: 16px;
}

.am-cookie-preferences[hidden] {
  display: none !important;
}

.am-cookie-preferences__panel {
  width: 100%;
  max-width: 720px;
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  padding: 16px;
}

.am-cookie-preferences__title {
  margin: 0 0 10px;
  font-size: 19px;
  color: #1f1f1f;
}

.am-cookie-preferences__intro {
  margin: 0 0 14px;
  color: #505050;
  line-height: 1.55;
}

.am-cookie-preferences__list {
  display: grid;
  gap: 10px;
}

.am-cookie-preferences__item {
  border: 1px solid #ececec;
  border-radius: 10px;
  padding: 10px;
}

.am-cookie-preferences__item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
}

.am-cookie-preferences__item-title {
  margin: 0;
  font-size: 15px;
  color: #232323;
}

.am-cookie-preferences__item-text {
  margin: 0;
  color: #585858;
  font-size: 13px;
  line-height: 1.45;
}

.am-cookie-preferences__actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.am-cookie-preferences__switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #222;
}

.am-cookie-preferences__switch input[disabled] {
  opacity: 0.65;
}

.am-cookie-manage-btn {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 99998;
  border: 1px solid #cdcdcd;
  background: #fff;
  color: #222;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  cursor: pointer;
}

.am-cookie-manage-btn:hover {
  background: #f6f6f6;
}

@media (max-width: 767px) {
  .am-cookie-consent {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 12px;
  }

  .am-cookie-consent__title {
    font-size: 16px;
  }

  .am-cookie-consent__actions,
  .am-cookie-preferences__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .am-cookie-consent__btn,
  .am-cookie-preferences__actions .am-cookie-consent__btn {
    width: 100%;
    text-align: center;
  }
}
