#eb-cookie-consent,
  #eb-cookie-consent *,
  #eb-cookie-settings,
  #eb-cookie-settings * {
    box-sizing: border-box;
  }

  #eb-cookie-consent {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 2147483000;
    width: min(460px, calc(100vw - 40px));
    padding: 22px;
    border: 1px solid rgba(54, 91, 103, 0.16);
    border-radius: 18px;
    background: #ffffff;
    color: #000000;
    font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
    overflow: hidden;
  }

  #eb-cookie-consent::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, #365b67 0%, #639446 55%, #87b34b 100%);
  }

  #eb-cookie-consent[hidden],
  #eb-cookie-settings[hidden] {
    display: none !important;
  }

  #eb-cookie-consent h2 {
    margin: 0 0 9px;
    color: #000000;
    font-size: var(--type-h3);
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: 0;
  }

  #eb-cookie-consent p {
    margin: 0 0 14px;
    color: #000000;
    font-size: var(--type-body);
    line-height: 1.55;
    font-weight: 400;
    letter-spacing: 0;
  }

  #eb-cookie-consent a {
    color: #000000;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
  }

  .eb-cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .eb-cookie-button,
  #eb-cookie-settings {
    appearance: none;
    border: 0;
    border-radius: 1rem;
    cursor: pointer;
    font: inherit;
    transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  }

  .eb-cookie-button {
    min-height: 42px;
    padding: 0 14px;
    background: #f2f4ef;
    color: #000000;
    font-size: var(--type-small);
    font-weight: 700;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .eb-cookie-button:hover,
  #eb-cookie-settings:hover {
    transform: translateY(-1px);
  }

  .eb-cookie-button.primary {
    grid-column: 1 / -1;
    background-color: #87b34b;
    background-image: linear-gradient(0deg, #6b9c28 0%, rgba(135, 179, 75, 0.01) 100%);
    color: #ffffff;
  }

  .eb-cookie-button.primary:hover {
    background-color: #6b9c28;
  }

  .eb-cookie-button:not(.primary):hover {
    background: #e6eadf;
  }

  .eb-cookie-preferences {
    margin: 16px 0;
    padding: 13px 14px;
    border: 1px solid rgba(54, 91, 103, 0.1);
    border-radius: 14px;
    background: #f8faf6;
  }

  .eb-cookie-preferences label {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    color: #000000;
    font-size: var(--type-body);
    line-height: 1.45;
    font-weight: 500;
    letter-spacing: 0;
  }

  .eb-cookie-preferences input {
    width: 17px;
    height: 17px;
    margin: 0.12rem 0 0;
    accent-color: #87b34b;
    flex: 0 0 auto;
  }

  .eb-cookie-note {
    display: block;
    margin-top: 5px;
    color: rgba(0, 0, 0, 0.68);
    font-size: var(--type-small);
    line-height: 1.45;
    font-weight: 400;
  }

  #eb-cookie-settings {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 2147482999;
    min-height: 38px;
    padding: 0 14px;
    background: #ffffff;
    color: #000000;
    font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: var(--type-small);
    font-weight: 700;
    letter-spacing: 0;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  }

  @media (max-width: 520px) {
    #eb-cookie-consent {
      right: 10px;
      bottom: 10px;
      width: calc(100vw - 20px);
      padding: 17px;
      border-radius: 16px;
    }

    .eb-cookie-actions {
      grid-template-columns: 1fr;
    }

    .eb-cookie-button {
      width: 100%;
    }

    #eb-cookie-settings {
      left: 10px;
      bottom: 10px;
    }
  }