#prolite-cookie-banner[hidden],
#prolite-cookie-banner [hidden],
#prolite-cookie-open[hidden] {
  display: none !important;
}

.prolite-cookie-banner {
  position: fixed;
  inset: auto 24px 24px;
  z-index: 10000;
  width: min(650px, calc(100% - 48px));
  max-height: calc(100vh - 48px);
  margin-inline: auto;
  padding: 20px 24px;
  overflow: auto;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #a4acb5;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgb(0 0 0 / 20%);
  color: #1f2833;
  font: 15px/1.45 Arial, sans-serif;
}

.prolite-cookie-banner h2 {
  margin: 0 0 8px;
  color: inherit;
  font: bold 21px/1.2 Arial, sans-serif;
}

.prolite-cookie-banner p {
  margin: 0 0 10px;
  color: inherit;
}

.prolite-cookie-banner a,
#prolite-cookie-open {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prolite-cookie-banner a {
  color: #244d72;
}

.footer .prolite-privacy-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  padding-block: 8px;
}

.footer .prolite-privacy-links a,
.footer .prolite-privacy-links #prolite-cookie-open {
  margin: 0;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#sky-form section:has(> label > [name="jdcontact_consent"]) :is(label, p, a) {
  color: #fff;
}

#sky-form section:has(> label > [name="jdcontact_consent"]) a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prolite-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prolite-cookie-actions button {
  min-height: 44px;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid #546473;
  border-radius: 4px;
  background: #f3f5f7;
  color: #1f2833;
  font: inherit;
  font-weight: bold;
  white-space: normal;
  cursor: pointer;
}

.prolite-cookie-actions button:hover {
  background: #e4eaf0;
}

.prolite-cookie-banner :focus-visible {
  outline: 3px solid #245ca8;
  outline-offset: 2px;
}

#prolite-cookie-open:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.prolite-cookie-preferences {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #c4cbd3;
}

.prolite-cookie-preferences label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
  color: inherit;
  font: inherit;
}

.prolite-cookie-preferences input[type="checkbox"] {
  flex: none;
  appearance: auto;
  width: 1em;
  height: 1em;
  margin: 0;
}

.prolite-cookie-banner #prolite-cookie-message {
  margin: 10px 0 0;
}

#prolite-cookie-open {
  display: inline-block;
  margin: 10px 0 2px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 600px) {
  .prolite-cookie-banner {
    inset: auto 12px 12px;
    width: calc(100% - 24px);
    max-height: calc(100vh - 24px);
    padding: 15px;
  }

  .prolite-cookie-actions button {
    flex: 1 1 100%;
  }
}
