#gdpr-gdprmodal input.category-switch-handler:focus-visible + label {
  outline: 2px solid #17191a;
  outline-offset: -2px;
}

@media (max-width: 600px) {
  #gdpr-cookie-consent-bar.theme-hipers {
    box-sizing: border-box;
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    left: 12px !important;
    bottom: 12px !important;
    padding: 12px !important;
    gap: 8px !important;
    background: #ffffff !important;
    border: 1px solid #d9ddda !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px #00000026 !important;
  }

  #gdpr-cookie-consent-bar.theme-hipers .gdpr_notice_header h3 {
    margin: 0;
    font-size: 18px !important;
    line-height: 1.25;
    letter-spacing: 0;
  }

  #gdpr-cookie-consent-bar.theme-hipers .gdpr-notice-content-body p {
    margin: 0;
    font-size: 14px !important;
    line-height: 1.5;
    text-align: left !important;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }

  #gdpr-cookie-consent-bar.theme-hipers .cookie_notice_buttons,
  #gdpr-cookie-consent-bar.theme-hipers .left_buttons {
    width: 100%;
    min-width: 0;
    margin: 0 !important;
  }

  #gdpr-cookie-consent-bar.theme-hipers .left_buttons {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch !important;
    gap: 8px !important;
  }

  #gdpr-cookie-consent-bar.theme-hipers .left_buttons .gdpr_action_button {
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px;
    padding: 8px !important;
    border: 1px solid #353a37 !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    color: #202622 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.35;
    text-align: center;
    letter-spacing: 0;
    white-space: normal;
  }

  #gdpr-cookie-consent-bar.theme-hipers #cookie_action_settings {
    grid-column: 1 / -1;
  }

  #gdpr-cookie-consent-bar.theme-hipers .gdpr_action_button:focus-visible {
    outline: 2px solid #202622;
    outline-offset: 2px;
  }
}

#gdpr-cookie-consent-show-again[data-hipers-reopen-keyboard="1"]:focus-visible {
  outline: 2px solid #17191a;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  body > #gdpr-cookie-consent-show-again {
    position: static !important;
    box-sizing: border-box;
    width: fit-content;
    max-width: calc(100% - 24px);
    min-height: 44px;
    margin: 12px auto;
    padding: 10px 16px;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow-wrap: anywhere;
    line-height: 1.5;
    letter-spacing: 0;
  }
}

.gdpr_messagebar_detail .gdprmodal-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gdpr_messagebar_detail .gdprmodal-header > p {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.gdpr_messagebar_detail .gdprmodal-header > button[data-gdpr_action="close"] {
  box-sizing: border-box;
  flex: 0 0 44px;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
}

#gdpr-gdprmodal .gdprmodal-dialog-centered {
  margin: 12px auto;
  min-height: calc(100dvh - 24px);
}

#gdpr-gdprmodal .gdprmodal-dialog-centered::before {
  content: none;
}

#gdpr-gdprmodal .gdprmodal-content {
  box-sizing: border-box;
  max-height: calc(100dvh - 24px);
}

#gdpr-gdprmodal .gdprmodal-body {
  min-height: 0;
  overflow-y: auto;
  flex: 1 1 auto;
}

#gdpr-gdprmodal .gdprmodal-header,
#gdpr-gdprmodal .gdprmodal-footer {
  flex: 0 0 auto;
}
