#qpmt-consent[hidden] { display: none; }
#qpmt-consent {
  position: fixed;
  z-index: 1000;
  inset: auto 0 0;
  padding: 12px 12px max(12px, env(safe-area-inset-bottom));
  color: #211d18;
  font-family: system-ui, sans-serif;
  pointer-events: none;
}
.qpmt-consent-inner {
  box-sizing: border-box;
  max-width: 960px;
  max-height: 60vh;
  max-height: 60dvh;
  overflow-y: auto;
  margin: auto;
  padding: 18px;
  border: 1px solid #d8cdbd;
  border-top: 5px solid #ffbe36;
  border-radius: 14px;
  background: #fffaf1;
  box-shadow: 0 6px 28px #211d182b;
  pointer-events: auto;
}
#qpmt-consent h2 { margin: 0 0 6px; font-size: 1.3rem; line-height: 1.2; }
#qpmt-consent p { margin: 0 0 8px; font-size: .9375rem; line-height: 1.45; }
.qpmt-consent-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.qpmt-consent-actions button {
  min-height: 48px;
  padding: 8px;
  border: 1px solid #4c4234;
  border-radius: 8px;
  background: #ffbe36;
  color: #211d18;
  font: 700 1rem system-ui, sans-serif;
  cursor: pointer;
}
.qpmt-consent-actions button:hover { background: #f5b32c; }
#qpmt-consent :focus-visible { outline: 3px solid #211d18; outline-offset: 2px; }
#qpmt-consent .qpmt-consent-info { margin: 12px 0 0; padding: 0; border: 0; background: transparent; font-size: .875rem; }
#qpmt-consent .qpmt-consent-info summary { padding: 0; cursor: pointer; text-decoration: underline; }
#qpmt-consent .qpmt-consent-info p { margin: 8px 0 0; }
.qpmt-cookie-settings { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
#qpmt-consent .qpmt-consent-error { color: #9a2620; margin-top: 8px; }
@media (min-width: 760px) {
  #qpmt-consent { padding: 20px; }
  .qpmt-consent-inner { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 8px 24px; padding: 20px 24px; align-items: center; }
  .qpmt-consent-actions { margin: 0; }
  .qpmt-consent-info, .qpmt-consent-error { grid-column: 1 / -1; }
  #qpmt-consent .qpmt-consent-info { margin-top: 0; }
}
