:root {
  --sos-cc-navy: #14457b;
  --sos-cc-blue: #2490eb;
  --sos-cc-text: #1a1a1a;
  --sos-cc-muted: #5f6368;
  --sos-cc-line: #e6e8eb;
  --sos-cc-bg: #ffffff;
  --sos-cc-widget: #f5c518;
  --sos-cc-shadow: 0 18px 50px rgba(20, 69, 123, 0.18);
}

.sos-cc-root {
  all: initial;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--sos-cc-text);
  line-height: 1.45;
}

.sos-cc-widget {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 2147483000;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--sos-cc-widget);
  color: #1a1a1a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.sos-cc-widget:hover,
.sos-cc-widget:focus-visible {
  transform: scale(1.04);
  outline: 2px solid var(--sos-cc-navy);
  outline-offset: 3px;
}

.sos-cc-widget svg {
  width: 26px;
  height: 26px;
}

.sos-cc-icon-close {
  display: none;
}

.sos-cc-root.is-open .sos-cc-icon-cookie {
  display: none;
}

.sos-cc-root.is-open .sos-cc-icon-close {
  display: block;
}

.sos-cc-root.is-open .sos-cc-icon-close svg {
  width: 18px;
  height: 18px;
}

.sos-cc-card {
  position: fixed;
  left: 18px;
  bottom: 84px;
  z-index: 2147483001;
  width: min(440px, calc(100vw - 24px));
  background: var(--sos-cc-bg);
  border-radius: 16px;
  box-shadow: var(--sos-cc-shadow);
  overflow: hidden;
  display: none;
}

.sos-cc-card.is-open {
  display: block;
}

.sos-cc-body {
  padding: 22px 22px 16px;
}

.sos-cc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.sos-cc-kicker {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.sos-cc-title {
  margin: 2px 0 0;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.sos-cc-logo {
  height: 38px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  flex-shrink: 0;
}

.sos-cc-text {
  margin: 0 0 12px;
  color: var(--sos-cc-muted);
  font-size: 14.5px;
}

.sos-cc-privacy {
  color: var(--sos-cc-text);
  text-decoration: underline;
}

.sos-cc-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--sos-cc-line);
}

#sos-cc-root .sos-cc-actions button {
  appearance: none;
  -webkit-appearance: none;
  background: #ffffff !important;
  border: 0 !important;
  border-right: 1px solid var(--sos-cc-line) !important;
  border-radius: 0 !important;
  min-height: 54px;
  padding: 12px 8px !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: #2490eb !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
}

#sos-cc-root .sos-cc-actions button:last-child {
  border-right: 0 !important;
}

#sos-cc-root .sos-cc-actions button:hover,
#sos-cc-root .sos-cc-actions button:focus-visible {
  background: #f3f8fd !important;
  color: #14457b !important;
  outline: none;
}

@media (max-width: 640px) {
  .sos-cc-card {
    left: 12px;
    right: 12px;
    width: auto;
    bottom: 80px;
  }

  .sos-cc-title {
    font-size: 24px;
  }
}
