.pv-consent[hidden] {
  display: none !important;
}

.pv-consent {
  position: fixed;
  z-index: 99999;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow: auto;
  box-sizing: border-box;
  padding: 16px 18px;
  border: 1px solid #d8cbb1;
  border-radius: 12px;
  background: #fbf7ee;
  color: #29271f;
  box-shadow: 0 6px 24px rgb(30 26 18 / 18%);
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
}

.pv-consent h2 {
  margin: 0 0 6px;
  color: inherit;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
}

.pv-consent p {
  margin: 0 0 10px;
}

.pv-consent__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.pv-consent a {
  color: #43391f;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pv-consent__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.pv-consent__actions button,
.pv-consent__manage {
  min-height: 44px;
  box-sizing: border-box;
  border: 1px solid #685a38;
  border-radius: 7px;
  background: #eee5d3;
  color: #29271f;
  font: inherit;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
}

.pv-consent__actions button {
  width: 100%;
  padding: 8px 10px;
}

.pv-consent__actions button:hover,
.pv-consent__manage:hover {
  background: #e5dac3;
}

.pv-consent__actions button:focus-visible,
.pv-consent__manage:focus-visible {
  outline: 3px solid #315d87;
  outline-offset: 2px;
}

.pv-consent__status:empty {
  display: none;
}

.pv-consent__status {
  margin: 9px 0 0 !important;
}

.pv-consent__manage {
  padding: 6px 10px;
  margin-inline-start: 10px;
  font-size: 13px;
}

.pv-consent__manage-fallback {
  padding: 8px 12px;
  text-align: center;
}

@media (max-width: 600px) {
  .pv-consent {
    right: 12px;
    left: 12px;
    width: auto;
    max-height: calc(100vh - 24px);
    padding: 15px;
  }

  .pv-consent__actions button {
    padding-inline: 7px;
    font-size: 13px;
  }
}
