.probagg-cookie-consent[hidden],
.probagg-cookie-consent [hidden] {
  display: none !important;
}

.probagg-cookie-consent {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(18, 25, 21, 0.68);
  color: #202420;
}

.probagg-cookie-consent__inner {
  width: min(640px, 100%);
  max-height: calc(100vh - 48px);
  padding: 28px;
  overflow-y: auto;
  border-top: 4px solid #217346;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.3);
}

.probagg-cookie-consent__summary {
  display: grid;
  gap: 24px;
}

.probagg-cookie-consent__copy h2 {
  margin: 0 0 8px;
  color: #17201a;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

.probagg-cookie-consent__copy p {
  max-width: 780px;
  margin: 0;
  color: #4d554f;
  font-size: 14px;
  line-height: 1.55;
}

.probagg-cookie-consent__copy a {
  color: #175b37;
  text-decoration: underline;
}

.probagg-cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
}

.probagg-cookie-button {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid #217346;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  cursor: pointer;
}

.probagg-cookie-button:focus-visible,
.probagg-cookie-settings:focus-visible,
.probagg-cookie-option input:focus-visible {
  outline: 3px solid #f0b429;
  outline-offset: 2px;
}

.probagg-cookie-button--primary {
  background: #217346;
  color: #fff;
}

.probagg-cookie-button--secondary {
  background: #fff;
  color: #175b37;
}

.probagg-cookie-button:hover {
  filter: brightness(0.94);
}

.probagg-cookie-consent__preferences {
  display: grid;
  gap: 24px;
}

.probagg-cookie-options {
  display: grid;
  gap: 7px;
}

.probagg-cookie-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  gap: 18px;
  align-items: center;
  margin: 0;
  padding: 6px 0;
  color: #202420;
  text-align: left;
  cursor: pointer;
}

.probagg-cookie-option span,
.probagg-cookie-option small {
  display: block;
}

.probagg-cookie-option small {
  margin-top: 2px;
  color: #616a63;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

.probagg-cookie-option input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #217346;
}

.probagg-cookie-settings {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-decoration: none;
  cursor: pointer;
}

.probagg-cookie-settings:hover {
  color: var(--theme-color-default);
}

@media (max-width: 560px) {
  .probagg-cookie-consent {
    padding: 12px;
  }

  .probagg-cookie-consent__inner {
    width: 100%;
    max-height: calc(100vh - 24px);
    padding: 22px 18px;
  }

  .probagg-cookie-consent__copy h2 {
    font-size: 19px;
  }

  .probagg-cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .probagg-cookie-button {
    width: 100%;
  }
}