.sp-cookie-panel {
  --sp-cookie-primary: #aa2f33;
  --sp-cookie-primary-hover: #8f2529;
  --sp-cookie-text: #2d2d2f;
  --sp-cookie-muted: #68686c;
  --sp-cookie-border: #dedbd8;
  background: #fff;
  border: 1px solid var(--sp-cookie-border);
  border-radius: 14px;
  bottom: 24px;
  box-shadow: 0 18px 48px rgba(39, 31, 27, .18);
  color: var(--sp-cookie-text);
  left: 24px;
  margin: auto;
  max-width: 980px;
  padding: 24px;
  position: fixed;
  right: 24px;
  z-index: 10000;
}

.sp-cookie-panel[hidden],
[data-privacy-settings][hidden],
[data-privacy-summary][hidden] {
  display: none;
}

.sp-cookie-summary {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.sp-cookie-copy p,
.sp-cookie-preferences__header p {
  color: var(--sp-cookie-muted);
  line-height: 1.45;
  margin: 6px 0 8px;
}

.sp-cookie-title {
  color: var(--sp-cookie-text);
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  text-transform: none;
}

.sp-cookie-close {
  align-items: center;
  background: #f4f1ef;
  border: 0;
  border-radius: 50%;
  color: #49494c;
  cursor: pointer;
  display: flex;
  font-size: 25px;
  height: 34px;
  justify-content: center;
  line-height: 1;
  padding: 0 0 2px;
  position: absolute;
  right: 14px;
  top: 14px;
  transition: background-color .15s ease, color .15s ease;
  width: 34px;
}

.sp-cookie-close:hover {
  background: #e9e4e1;
  color: #1f1f20;
}

.sp-cookie-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-right: 28px;
}

.sp-cookie-button {
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  min-height: 44px;
  padding: 10px 18px;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.sp-cookie-button--primary {
  background: var(--sp-cookie-primary);
  box-shadow: 0 7px 18px rgba(170, 47, 51, .22);
  color: #fff;
}

.sp-cookie-button--primary:hover {
  background: var(--sp-cookie-primary-hover);
}

.sp-cookie-button--secondary {
  background: #fff;
  border-color: #bdb7b3;
  color: #38383a;
}

.sp-cookie-button--secondary:hover,
.sp-cookie-button--quiet:hover {
  background: #f6f3f1;
}

.sp-cookie-button--quiet {
  background: transparent;
  color: #505054;
}

.sp-cookie-preferences__header {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding-right: 38px;
}

.sp-cookie-options {
  border-bottom: 1px solid var(--sp-cookie-border);
  border-top: 1px solid var(--sp-cookie-border);
  margin: 18px 0;
}

.sp-cookie-option {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 64px;
  padding: 10px 2px;
}

.sp-cookie-option + .sp-cookie-option {
  border-top: 1px solid #ece9e7;
}

.sp-cookie-option strong,
.sp-cookie-option span {
  display: block;
}

.sp-cookie-option > div > span {
  color: var(--sp-cookie-muted);
  font-size: 13px;
  margin-top: 2px;
}

.sp-cookie-required {
  color: #66666a;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.sp-cookie-switch {
  flex: 0 0 auto;
  height: 28px;
  position: relative;
  width: 50px;
}

.sp-cookie-switch input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.sp-cookie-switch span {
  background: #cbc7c4;
  border-radius: 999px;
  inset: 0;
  position: absolute;
  transition: background-color .18s ease;
}

.sp-cookie-switch span::after {
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .22);
  content: '';
  height: 22px;
  left: 3px;
  position: absolute;
  top: 3px;
  transition: transform .18s ease;
  width: 22px;
}

.sp-cookie-switch input:checked + span {
  background: var(--sp-cookie-primary);
}

.sp-cookie-switch input:checked + span::after {
  transform: translateX(22px);
}

.sp-cookie-switch input:focus-visible + span,
.sp-cookie-button:focus-visible,
.sp-cookie-close:focus-visible {
  outline: 2px solid #005fcc;
  outline-offset: 3px;
}

.sp-cookie-actions--settings {
  justify-content: flex-end;
  padding-right: 0;
}

.sp-cookie-settings-link {
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
}

.sp-external-video,
.sp-external-video__button {
  height: 100%;
  width: 100%;
}

.sp-external-video__button {
  align-items: center;
  background: #f4f1ef;
  border: 1px solid #dedbd8;
  color: #2d2d2f;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font: inherit;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.sp-external-video__button:hover {
  background: #ece7e4;
}

.sp-external-video__button:focus-visible {
  outline: 2px solid #005fcc;
  outline-offset: -4px;
}

.sp-external-video__title {
  color: #aa2f33;
  font-size: 18px;
  font-weight: 700;
}

.sp-external-video__notice {
  color: #68686c;
  font-size: 13px;
  line-height: 1.4;
  margin-top: 8px;
  max-width: 360px;
}

@media (max-width: 800px) {
  .sp-cookie-panel {
    bottom: 12px;
    left: 12px;
    padding: 20px;
    right: 12px;
  }

  .sp-cookie-summary {
    gap: 18px;
    grid-template-columns: 1fr;
  }

  .sp-cookie-actions {
    padding-right: 0;
  }

  .sp-cookie-button {
    flex: 1 1 150px;
  }
}

@media (max-width: 520px) {
  .sp-cookie-panel {
    border-radius: 12px;
    padding: 18px;
  }

  .sp-cookie-title {
    font-size: 18px;
    padding-right: 34px;
  }

  .sp-cookie-preferences__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding-right: 28px;
  }

  .sp-cookie-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .sp-cookie-button {
    flex: 0 0 auto;
    width: 100%;
  }
}

.sp-consent-link,
.sp-consent-link:visited {
  color: #005fcc;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.sp-consent-link:hover,
.sp-consent-link:active {
  color: #004493;
  text-decoration-thickness: 2px;
}

.sp-consent-link:focus-visible {
  border-radius: 2px;
  outline: 2px solid #005fcc;
  outline-offset: 2px;
}

.sp-registration-consents {
  display: grid;
  gap: 0.875rem;
  width: 100%;
}

.sp-consent-choice {
  display: block;
  width: 100%;
}

.sp-consent-choice .checkbox__input {
  height: 1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  visibility: visible;
  width: 1px;
}

.sp-consent-choice .checkbox__input:focus-visible ~ .checkbox__text::before {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #005fcc;
}

.sp-registration-errors {
  color: #9b2d30;
  margin-bottom: 0.75rem;
  width: 100%;
}

.sp-order-privacy {
  grid-column: 1 / -1;
}

.sp-order-advertising-consent {
  display: block;
  margin: 12px 0;
}
.sp-policy-table {
  max-width: 100%;
  margin: 1rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.sp-policy-table table {
  min-width: 760px;
  margin: 0;
}

.sp-legal-hub {
  --sp-legal-accent: #aa2f33;
  --sp-legal-border: #e7e1de;
  --sp-legal-muted: #666166;
  margin-bottom: 64px;
}

.sp-legal-hub__intro {
  color: var(--sp-legal-muted);
  font-size: 18px;
  line-height: 1.55;
  margin: 0 0 40px;
  max-width: 840px;
}

.sp-legal-hub__summary {
  background: #fff;
  border: 1px solid var(--sp-legal-border);
  border-radius: 14px;
  line-height: 1.55;
  margin: -14px 0 40px;
  max-width: 1040px;
  padding: 24px 28px;
}

.sp-legal-hub__summary p {
  margin: 0;
}

.sp-legal-hub__summary p + p {
  margin-top: 14px;
}

.sp-legal-section + .sp-legal-section {
  margin-top: 48px;
}

.sp-legal-section > h2 {
  margin-bottom: 22px;
}

.sp-legal-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sp-legal-card,
.sp-legal-card:visited {
  background: #fff;
  border: 1px solid var(--sp-legal-border);
  border-radius: 14px;
  color: #262326;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 30px;
  position: relative;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.sp-legal-card:hover {
  border-color: rgba(170, 47, 51, .55);
  box-shadow: 0 14px 35px rgba(48, 31, 28, .09);
  color: #262326;
  transform: translateY(-2px);
}

.sp-legal-card:focus-visible {
  outline: 3px solid rgba(0, 95, 204, .45);
  outline-offset: 3px;
}

.sp-legal-card__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 18px;
}

.sp-legal-card__description {
  color: var(--sp-legal-muted);
  font-size: 16px;
  line-height: 1.55;
  padding-bottom: 42px;
}

.sp-legal-card__arrow {
  bottom: 26px;
  color: var(--sp-legal-accent);
  font-size: 32px;
  line-height: 1;
  position: absolute;
  right: 28px;
}

@media (max-width: 720px) {
  .sp-legal-grid {
    grid-template-columns: 1fr;
  }

  .sp-legal-card {
    min-height: 190px;
    padding: 24px;
  }

  .sp-legal-card__title {
    font-size: 21px;
  }
}
