.fh-cookie-notice {
  box-sizing: border-box;
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 2147482990;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: min(400px, calc(100vw - 40px));
  padding: 10px 12px;
  border: 1px solid #c9a96e;
  border-radius: 14px;
  background: rgba(15, 20, 25, 0.98);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
  color: #fff;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.fh-cookie-notice[hidden] {
  display: none !important;
}

.fh-cookie-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fh-cookie-notice__text {
  margin: 0;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.55;
}

.fh-cookie-notice__text a {
  color: #c9a96e;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.fh-cookie-notice__button {
  min-width: 72px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #c9a96e;
  border-radius: 999px;
  background: #c9a96e;
  color: #151b1a;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.fh-cookie-notice__button:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.fh-cookie-notice__button:focus-visible,
.fh-cookie-notice__text a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

body.fh-cookie-overlay-open .fh-cookie-notice {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 767px) {
  .fh-cookie-notice {
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    left: 8px;
    width: auto;
    gap: 8px;
    padding: 9px 10px;
  }

  body.fh-cookie-notice-active:not(.fh-cookie-overlay-open) .fh-native-chat:not(.is-open):not(.is-callback-open),
  body.fh-cookie-notice-active:not(.fh-cookie-overlay-open) .fh-native-call:not(.is-callback-open),
  body.fh-cookie-notice-active:not(.fh-cookie-overlay-open) .callbackkiller.cbk-phone {
    position: fixed !important;
    top: auto !important;
    bottom: calc(82px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .fh-cookie-notice__text {
    font-size: 11px;
    line-height: 1.4;
  }

  .fh-cookie-notice__button {
    min-width: 70px;
    padding: 0 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fh-cookie-notice,
  .fh-cookie-notice__button {
    transition: none;
  }
}
