.bsb-cookie-notice {
  --bsb-cookie-ink: #f5faff;
  --bsb-cookie-copy: #c5d3e4;
  --bsb-cookie-link: #bde5ff;
  --bsb-cookie-mark-size: 2.625rem;
  --bsb-cookie-message-gap: .875rem;

  box-sizing: border-box;
  position: fixed;
  z-index: 3900;
  inset-inline: 0;
  inset-block-end: 0;
  max-block-size: 70vh;
  max-block-size: 70dvh;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  border-block-start: 1px solid #385672;
  background:
    radial-gradient(ellipse at 12% 0%, #182e49, transparent 50%),
    linear-gradient(105deg, #111e31, #101a2d 53%, #0d1627);
  box-shadow: 0 -10px 32px rgb(4 10 21 / .28);
  color: var(--bsb-cookie-ink);
  font-family: Inter, system-ui, sans-serif;
}

.bsb-cookie-notice[hidden] {
  display: none;
}

.bsb-cookie-notice__inner {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-inline-size: 1440px;
  margin-inline: auto;
  padding: 13px clamp(20px, 3.25vw, 48px);
}

.bsb-cookie-notice__message {
  display: flex;
  align-items: center;
  gap: var(--bsb-cookie-message-gap);
  min-inline-size: 0;
}

.bsb-cookie-notice__mark {
  box-sizing: border-box;
  display: grid;
  flex: none;
  place-items: center;
  inline-size: var(--bsb-cookie-mark-size);
  block-size: var(--bsb-cookie-mark-size);
  border: 1px solid #466885;
  border-radius: 12px;
  background: linear-gradient(145deg, #2a4865, #172c48);
  box-shadow: inset 0 1px rgb(205 239 255 / .1);
  color: #b6e5ff;
}

.bsb-cookie-notice__mark svg {
  inline-size: 50%;
  block-size: 50%;
}

.bsb-cookie-notice__copy {
  min-inline-size: 0;
  overflow-wrap: anywhere;
}

#bsbCookieNoticeTitle {
  margin: 0;
  color: var(--bsb-cookie-ink);
  font-family: inherit;
  /* Keep global public-page heading styles from enlarging the notice on mobile. */
  font-size: 1rem !important;
  line-height: 1.25 !important;
  font-weight: 780;
  letter-spacing: -.012em;
}

.bsb-cookie-notice__copy p {
  margin: 3px 0 0;
  color: var(--bsb-cookie-copy);
  font-size: .875rem;
  line-height: 1.45;
}

.bsb-cookie-notice__actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: .25rem 1.375rem;
  min-inline-size: 0;
}

.bsb-cookie-notice__actions :is(a, button) {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 44px;
  padding-block: .4rem;
  font: 700 .875rem/1.2 Inter, system-ui, sans-serif;
  text-align: center;
  white-space: nowrap;
}

.bsb-cookie-notice__actions a {
  color: var(--bsb-cookie-link);
  text-decoration: underline;
  text-decoration-color: #83acd0;
  text-underline-offset: 4px;
}

.bsb-cookie-notice__actions a:hover {
  color: #fff;
  text-decoration-color: currentColor;
}

.bsb-cookie-notice__actions button {
  min-inline-size: 106px;
  margin-inline-start: auto;
  padding-inline: 1rem;
  border: 1px solid #9ecbff;
  border-radius: 11px;
  background: linear-gradient(110deg, #a8e1ff, #8eb7ff);
  box-shadow: inset 0 1px rgb(255 255 255 / .32), 0 2px 8px rgb(3 10 23 / .24);
  color: #091a2c;
  font-weight: 800;
  cursor: pointer;
}

.bsb-cookie-notice__actions button:hover {
  background: linear-gradient(110deg, #c0ebff, #a6c9ff);
}

.bsb-cookie-notice .bsb-cookie-notice__actions :is(a, button):focus-visible {
  outline: 2px solid #c2e7ff;
  outline-offset: 4px;
}

html:has(.bsb-cookie-notice:not([hidden])) {
  --bsb-cookie-notice-offset: calc(var(--bsb-cookie-notice-clearance, 0px) + .75rem);
  scroll-padding-bottom: var(--bsb-cookie-notice-offset);
}

html:has(.bsb-cookie-notice:not([hidden])) :is(.bsb-footer__shell, .bsb-workspace-footer__shell) {
  padding-bottom: max(28px, var(--bsb-cookie-notice-offset), var(--bsb-chatbot-footer-clearance, 0px));
}

html:has(.bsb-cookie-notice:not([hidden])) .bsb-chatbot:not(.is-open) {
  bottom: max(var(--bsb-cookie-notice-offset), calc(.75rem + var(--chatbot-safe-bottom, 0px)));
}

html:has(.bsb-cookie-notice:not([hidden])) .bsb-chatbot__proactive {
  display: none;
}

html:has(.bsb-cookie-notice:not([hidden])) .ps-basket-float {
  bottom: max(.8rem, env(safe-area-inset-bottom, 0px), var(--bsb-cookie-notice-offset));
}

html:has(.bsb-cookie-notice:not([hidden])) .ps-basket-feedback--floating {
  bottom: calc(max(.8rem, env(safe-area-inset-bottom, 0px), var(--bsb-cookie-notice-offset)) + 3.4rem);
}

@media (width < 640px) {
  .bsb-cookie-notice {
    --bsb-cookie-mark-size: 2.125rem;
    --bsb-cookie-message-gap: .6875rem;
  }

  .bsb-cookie-notice__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .5rem;
    padding: 12px 16px;
  }

  .bsb-cookie-notice__message {
    align-items: flex-start;
  }

  .bsb-cookie-notice__mark {
    border-radius: 10px;
  }

  .bsb-cookie-notice__actions {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .25rem .75rem;
    padding-inline-start: min(calc(var(--bsb-cookie-mark-size) + var(--bsb-cookie-message-gap)), 16vw);
  }

  .bsb-cookie-notice__actions button {
    min-inline-size: min(clamp(94px, 29vw, 128px), 100%);
  }

  .bsb-cookie-notice__actions :is(a, button) {
    max-inline-size: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
  }
}

@media (max-height: 420px) {
  .bsb-cookie-notice {
    max-block-size: 55vh;
    max-block-size: 55dvh;
  }
}

@media (forced-colors: active) {
  .bsb-cookie-notice {
    border-block-start-color: CanvasText;
  }

  .bsb-cookie-notice__mark,
  .bsb-cookie-notice__actions button {
    border-color: ButtonText;
  }

  .bsb-cookie-notice .bsb-cookie-notice__actions :is(a, button):focus-visible {
    outline-color: Highlight;
  }
}

@media print {
  .bsb-cookie-notice {
    display: none;
  }
}
