:root {
  --spx-navy: #102646;
  --spx-navy-2: #142947;
  --spx-pink: #cf0e5a;
  --spx-white: #ffffff;
  --spx-border: #c8d2df;
  --spx-focus: #ffbf47;
  --spx-shadow: 0 22px 70px rgba(4, 18, 40, 0.34);
}

.spx-hidden {
  display: none !important;
}

.spx-consent,
.spx-preferences,
.spx-a11y-panel,
.spx-preferences-button,
.spx-a11y-button {
  box-sizing: border-box;
  font-family: Inter, Arial, sans-serif;
}

.spx-consent {
  position: fixed;
  z-index: 12000;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  left: max(24px, env(safe-area-inset-left));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 22px;
  color: var(--spx-white);
  background: rgba(16, 38, 70, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  box-shadow: var(--spx-shadow);
}

.spx-consent__title {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 750;
}

.spx-consent__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.spx-consent a {
  color: var(--spx-white);
  font-weight: 650;
  text-underline-offset: 3px;
}

.spx-consent__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.spx-button {
  min-height: 46px;
  padding: 0 22px;
  color: var(--spx-white);
  font-size: 15px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
}

.spx-button--primary {
  color: var(--spx-white);
  background: var(--spx-pink);
  border-color: var(--spx-pink);
  box-shadow: 0 14px 32px rgba(233, 23, 106, 0.2);
}

.spx-button--panel {
  color: var(--spx-navy-2);
  border-color: var(--spx-border);
}

.spx-button--panel-primary {
  color: var(--spx-white);
  background: var(--spx-pink);
  border-color: var(--spx-pink);
}

.spx-button:hover {
  filter: brightness(1.06);
}

.spx-button:focus-visible,
.spx-preferences-button:focus-visible,
.spx-a11y-button:focus-visible,
.spx-close:focus-visible,
.spx-switch input:focus-visible + span {
  outline: 3px solid var(--spx-focus);
  outline-offset: 3px;
}

.spx-backdrop {
  position: fixed;
  z-index: 12010;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7, 19, 36, 0.62);
}

.spx-preferences,
.spx-a11y-panel {
  width: min(100%, 520px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 22px;
  color: var(--spx-navy-2);
  background: var(--spx-white);
  border: 1px solid var(--spx-border);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(11, 31, 58, 0.28);
}

.spx-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.spx-panel__title {
  margin: 0;
  font-size: 22px;
}

.spx-close {
  width: 42px;
  height: 42px;
  color: var(--spx-navy-2);
  font-size: 25px;
  line-height: 1;
  background: transparent;
  border: 1px solid var(--spx-border);
  border-radius: 50%;
  cursor: pointer;
}

.spx-choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid #e4e9ef;
}

.spx-choice strong {
  display: block;
  margin-bottom: 4px;
}

.spx-choice p {
  margin: 0;
  color: #50647c;
  font-size: 14px;
  line-height: 1.5;
}

.spx-choice__required {
  color: #246a43;
  font-size: 14px;
  font-weight: 750;
}

.spx-switch {
  position: relative;
  display: inline-flex;
}

.spx-switch input {
  position: absolute;
  opacity: 0;
}

.spx-switch span {
  display: block;
  width: 50px;
  height: 28px;
  background: #77879a;
  border-radius: 99px;
  cursor: pointer;
}

.spx-switch span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  background: var(--spx-white);
  border-radius: 50%;
  transition: transform 160ms ease;
}

.spx-switch input:checked + span {
  background: var(--spx-pink);
}

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

.spx-panel__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.spx-preferences-button,
.spx-a11y-button {
  position: fixed;
  z-index: 9998;
  bottom: max(18px, env(safe-area-inset-bottom));
  min-height: 48px;
  padding: 10px 15px;
  color: var(--spx-white);
  font-size: 15px;
  font-weight: 750;
  background: var(--spx-navy-2);
  border: 2px solid var(--spx-white);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(11, 31, 58, 0.28);
  cursor: pointer;
}

.spx-a11y-button {
  right: max(18px, env(safe-area-inset-right));
}

.spx-preferences-button {
  right: max(128px, calc(env(safe-area-inset-right) + 128px));
}

.spx-a11y-panel {
  position: fixed;
  z-index: 9999;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(78px, calc(env(safe-area-inset-bottom) + 78px));
  width: min(calc(100% - 36px), 360px);
}

.spx-a11y-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.spx-a11y-grid .spx-button {
  min-height: 52px;
  padding: 8px 12px;
}

.spx-a11y-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--spx-pink);
  font-weight: 750;
}

html.spx-text-1 {
  font-size: 112.5%;
}

html.spx-text-2 {
  font-size: 125%;
}

html.spx-text-3 {
  font-size: 137.5%;
}

html.spx-underline-links a {
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 3px !important;
}

html.spx-high-contrast,
html.spx-high-contrast body {
  color: #ffffff !important;
  background: #000000 !important;
}

html.spx-high-contrast a,
html.spx-high-contrast button {
  color: #ffff00 !important;
}

html.spx-reduce-motion *,
html.spx-reduce-motion *::before,
html.spx-reduce-motion *::after {
  scroll-behavior: auto !important;
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}

@media (prefers-reduced-motion: reduce) {
  .spx-switch span::after {
    transition: none;
  }
}

@media (max-width: 760px) {
  .spx-consent {
    grid-template-columns: 1fr;
    gap: 16px;
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 18px;
    border-radius: 18px;
  }

  .spx-consent__actions,
  .spx-panel__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .spx-button {
    width: 100%;
  }

  .spx-preferences-button,
  .spx-a11y-button {
    min-height: 44px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .spx-preferences-button {
    right: auto;
    left: max(14px, env(safe-area-inset-left));
  }

  .spx-a11y-button {
    right: max(14px, env(safe-area-inset-right));
  }
}

div#acc-cook {
    display: flex;
    padding: 20px 0;
    gap: 10px;
}

div#acc-cook .spx-preferences-button,
div#acc-cook .spx-a11y-button{
	position:static;
	z-index:0;
}