:root {
  --cc-font-family: inherit;
  --cc-bg: #ffffff;
  --cc-primary-color: #17211a;
  --cc-secondary-color: #526057;
  --cc-btn-primary-bg: #2f6b3f;
  --cc-btn-primary-color: #ffffff;
  --cc-btn-primary-hover-bg: #245531;
  --cc-btn-secondary-bg: #edf2ee;
  --cc-btn-secondary-color: #17211a;
  --cc-btn-secondary-hover-bg: #dde7df;
  --cc-toggle-on-bg: #2f6b3f;
  --cc-toggle-off-bg: #87938b;
  --cc-cookie-category-block-bg: #f5f7f5;
  --cc-cookie-category-block-hover-bg: #edf2ee;
  --cc-footer-bg: #f5f7f5;
  --cc-separator-border-color: #d8dfda;
}

#cc-main .cm,
#cc-main .pm {
  border: 1px solid #d8dfda;
  box-shadow: 0 16px 48px rgba(23, 33, 26, 0.18);
}

#cc-main .cm__title,
#cc-main .pm__title {
  letter-spacing: -0.02em;
}

.gubba-cookie-settings {
  position: fixed;
  z-index: 2147483000;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: auto;
  min-width: 2.875rem;
  max-width: 2.875rem;
  min-height: 2.875rem;
  padding: 0.6875rem;
  overflow: hidden;
  border: 1px solid #d8dfda;
  border-radius: 999px;
  background: #ffffff;
  color: #17211a;
  box-shadow: 0 4px 18px rgba(23, 33, 26, 0.16);
  font: 600 0.875rem/1.1 inherit;
  white-space: nowrap;
  cursor: pointer;
  transition: max-width 180ms ease, padding-right 180ms ease, background-color 180ms ease;
}

.gubba-cookie-settings__icon {
  width: 1.375rem;
  height: 1.375rem;
  flex: 0 0 1.375rem;
  fill: none;
  stroke: #2f6b3f;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gubba-cookie-settings__label {
  max-width: 0;
  margin-left: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 180ms ease, margin-left 180ms ease, opacity 120ms ease;
}

.gubba-cookie-settings:hover,
.gubba-cookie-settings:focus-visible {
  max-width: 11rem;
  padding-right: 1rem;
}

.gubba-cookie-settings:hover .gubba-cookie-settings__label,
.gubba-cookie-settings:focus-visible .gubba-cookie-settings__label {
  max-width: 8rem;
  margin-left: 0.5rem;
  opacity: 1;
}

.gubba-cookie-settings:hover,
.gubba-cookie-settings:focus-visible {
  background: #edf2ee;
  outline: 3px solid rgba(47, 107, 63, 0.3);
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .gubba-cookie-settings {
    left: 0.75rem;
    bottom: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gubba-cookie-settings,
  .gubba-cookie-settings__label {
    transition: none;
  }
}
