.bat-cookie-banner,
  .bat-cookie-modal {
    font-family: Arial, Helvetica, sans-serif;
  }

  .bat-cookie-banner[hidden],
  .bat-cookie-modal[hidden] {
    display: none !important;
  }

  .bat-cookie-banner {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9990;
    width: min(560px, calc(100vw - 36px));
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px;
    border: 1px solid #d9d9d6;
    border-radius: 6px;
    background: #fff;
    color: #171717;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .22);
  }

  .bat-cookie-banner__copy {
    flex: 1 1 auto;
    min-width: 0;
  }

  .bat-cookie-banner__copy strong {
    display: block;
    margin-bottom: 5px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 400;
  }

  .bat-cookie-banner__copy p {
    margin: 0;
    color: #5f6460;
    font-size: 14px;
    line-height: 1.5;
  }

  .bat-cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
  }

  .bat-cookie-btn {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #315f50;
    border-radius: 5px;
    background: #fff;
    color: #315f50;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .bat-cookie-btn:hover {
    background: #eef4f1;
  }

  .bat-cookie-btn--solid {
    background: #315f50;
    color: #fff;
  }

  .bat-cookie-btn--solid:hover {
    background: #24483d;
  }

  .bat-cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 9991;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }

  .bat-cookie-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .72);
  }

  .bat-cookie-modal__panel {
    position: relative;
    z-index: 1;
    width: min(980px, 100%);
    max-height: min(92vh, 980px);
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    background: #fff;
    color: #171717;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
    overflow: hidden;
  }

  .bat-cookie-modal__content {
    padding: 22px 26px 0;
    overflow: auto;
  }

  .bat-cookie-modal h2 {
    margin: 0 0 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5vw, 56px);
    font-weight: 400;
    line-height: 1.05;
  }

  .bat-cookie-modal__intro {
    margin: 0 0 26px;
    padding-bottom: 24px;
    border-bottom: 1px solid #d9d9d6;
    color: #5f6460;
    font-size: 22px;
    line-height: 1.55;
  }

  .bat-cookie-options {
    border-bottom: 1px solid #d9d9d6;
  }

  .bat-cookie-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px;
    padding: 22px 0;
    border-top: 1px solid #d9d9d6;
  }

  .bat-cookie-option:first-child {
    border-top: 0;
  }

  .bat-cookie-option h3 {
    margin: 0 0 8px;
    color: #111;
    font-size: 22px;
    line-height: 1.15;
  }

  .bat-cookie-option p {
    margin: 0;
    color: #666a66;
    font-size: 18px;
    line-height: 1.45;
  }

  .bat-cookie-option.is-disabled {
    opacity: .62;
  }

  .bat-cookie-switch {
    position: relative;
    width: 74px;
    height: 42px;
    flex: 0 0 74px;
    cursor: pointer;
  }

  .bat-cookie-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .bat-cookie-switch span {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #c9c9c2;
    transition: background .2s ease;
  }

  .bat-cookie-switch span::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .22);
    transition: transform .2s ease;
  }

  .bat-cookie-switch input:checked + span {
    background: #7f9d91;
  }

  .bat-cookie-switch input:checked + span::before {
    transform: translateX(32px);
  }

  .bat-cookie-switch input:focus-visible + span {
    outline: 3px solid #315f50;
    outline-offset: 3px;
  }

  .bat-cookie-switch--locked {
    cursor: not-allowed;
  }

  .bat-cookie-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    padding: 22px 26px;
    background: #fff;
  }

  .footer-cookie-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  @media (max-width: 760px) {
    .bat-cookie-banner {
      left: 12px;
      right: 12px;
      bottom: 12px;
      width: auto;
      display: block;
    }

    .bat-cookie-banner__actions {
      justify-content: stretch;
      margin-top: 14px;
    }

    .bat-cookie-banner__actions .bat-cookie-btn,
    .bat-cookie-modal__actions .bat-cookie-btn {
      flex: 1 1 100%;
    }

    .bat-cookie-modal {
      padding: 10px;
      align-items: flex-end;
    }

    .bat-cookie-modal__panel {
      max-height: 94vh;
      border-radius: 8px 8px 0 0;
    }

    .bat-cookie-modal__content {
      padding: 20px 20px 0;
    }

    .bat-cookie-modal__intro {
      font-size: 17px;
    }

    .bat-cookie-option {
      grid-template-columns: 1fr;
      gap: 14px;
    }

    .bat-cookie-option p {
      font-size: 15px;
    }

    .bat-cookie-modal__actions {
      flex-wrap: wrap;
      padding: 18px 20px;
    }
  }
