.wc-consent-dialog {
  width: min(92vw, 540px);
  max-width: none;
  max-height: min(90vh, 760px);
  margin: auto;
  padding: 0;
  overflow: auto;
  color: #302d28;
  background: #fffefc;
  border: 1px solid rgba(176, 141, 87, .38);
  border-radius: 22px;
  box-shadow: 0 28px 90px rgba(23, 22, 19, .3);
}

.wc-consent-dialog::backdrop {
  background: rgba(23, 22, 19, .64);
  backdrop-filter: blur(4px);
}

.wc-consent-panel {
  padding: 28px;
}

.wc-consent-panel h2 {
  margin: 0 0 8px;
  color: #26231f;
  font-family: var(--font-brand, system-ui, sans-serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.wc-consent-panel p {
  margin: 0;
}

.wc-consent-intro {
  max-width: 440px;
  color: #69645b;
  font-size: .92rem;
  line-height: 1.55;
}

.wc-consent-policy-link {
  display: inline-block;
  margin-top: 11px;
  color: #72552d;
  font-size: .84rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wc-consent-options {
  display: grid;
  gap: 7px;
  margin-top: 18px;
}

.wc-consent-options[hidden] {
  display: none;
}

.wc-consent-options label {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid #eee8de;
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease;
}

.wc-consent-options label:has(input:checked) {
  border-color: #c9b48f;
  background: #fbf8f2;
}

.wc-consent-options input {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  accent-color: #806338;
}

.wc-consent-options label span {
  display: grid;
  gap: 2px;
}

.wc-consent-options strong {
  color: #302d28;
  font-size: .9rem;
}

.wc-consent-options small {
  color: #797267;
  font-size: .75rem;
  line-height: 1.4;
}

.wc-consent-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.wc-consent-button,
.wc-consent-manage,
.wc-consent-save,
.wc-privacy-settings {
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #806338;
  border-radius: 10px;
  color: #26231f;
  background: #fffefc;
  font: inherit;
  font-size: .87rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.wc-consent-button:hover,
.wc-consent-manage:hover,
.wc-consent-save:hover,
.wc-privacy-settings:hover {
  border-color: #624a27;
  background: #f7f2e8;
}

.wc-consent-button:active,
.wc-consent-manage:active,
.wc-consent-save:active,
.wc-privacy-settings:active {
  transform: translateY(1px);
}

.wc-consent-accept {
  border-color: #302d28;
  color: #fffefc;
  background: #302d28;
  box-shadow: 0 4px 12px rgba(48, 45, 40, .16);
}

.wc-consent-accept:hover {
  border-color: #171613;
  color: #fffefc;
  background: #171613;
}

.wc-consent-reject {
  border-color: #cfc5b5;
  background: #fffefc;
}

.wc-consent-manage-row {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.wc-consent-manage,
.wc-consent-save {
  min-height: 40px;
  padding: 8px 12px;
  border-color: transparent;
  color: #6d6559;
  background: transparent;
  font-size: .86rem;
  text-decoration: underline;
  text-decoration-color: #c9b48f;
  text-underline-offset: 4px;
}

.wc-consent-manage:hover,
.wc-consent-save:hover {
  border-color: transparent;
  color: #302d28;
  background: #f7f2e8;
}

.wc-consent-status {
  min-height: 1.5em;
  margin-top: 12px !important;
  color: #514a3e;
  font-size: .84rem;
  text-align: center;
}

.wc-consent-notice {
  position: fixed;
  z-index: 9999;
  right: 16px;
  bottom: 16px;
  max-width: min(94vw, 460px);
  padding: 13px 17px;
  border: 1px solid #c9b48f;
  border-radius: 12px;
  color: #26231f;
  background: #fffefc;
  box-shadow: 0 8px 28px rgba(23, 22, 19, .18);
  font-size: .9rem;
}

.wc-consent-dialog button:focus-visible,
.wc-consent-dialog a:focus-visible,
.wc-consent-options input:focus-visible {
  outline: 3px solid #b08d57;
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .wc-consent-dialog {
    width: min(94vw, 440px);
    max-height: 88vh;
    border-radius: 18px;
  }

  .wc-consent-panel {
    padding: 23px 20px 20px;
  }

  .wc-consent-actions {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 21px;
  }

  .wc-consent-button {
    min-height: 48px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .wc-consent-button,
  .wc-consent-manage,
  .wc-consent-save,
}
