/* Elektronische Widerrufsfunktion § 356a BGB */

:root {
  --hp-wd-accent: #ff3b1f;
  --hp-wd-ink: #191f24;
  --hp-wd-muted: #5b656c;
  --hp-wd-bg: #fff4f1;
  --hp-wd-border: rgba(255, 59, 31, 0.28);
}

.hp-withdraw {
  max-width: 40rem;
  margin: 0 auto 2rem;
  color: var(--hp-wd-ink);
}

.hp-withdraw__legal {
  font-size: 0.85rem;
  color: var(--hp-wd-muted);
  margin-bottom: 1.1rem;
}

.hp-withdraw__intro h2,
.hp-withdraw--success h2,
.hp-withdraw__form legend {
  font-size: 1.35rem;
  margin: 0 0 0.6rem;
}

.hp-withdraw__btn,
a.hp-withdraw__btn,
.woocommerce-orders-table a.hp_withdraw {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: var(--hp-wd-accent);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  border: 0;
  cursor: pointer;
  line-height: 1.2;
}

.hp-withdraw__btn:hover,
a.hp-withdraw__btn:hover {
  filter: brightness(0.95);
  color: #fff !important;
}

a.hp-withdraw__btn--mini,
.hp-withdraw-entry a,
.site-footer .hp-withdraw-entry a,
.header-topbar .hp-withdraw-entry a,
.ecomus-header .hp-withdraw-entry a,
.woocommerce-orders-table a.hp_withdraw {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-height: 1.7rem;
  padding: 0.2rem 0.72rem !important;
  border-radius: 999px;
  background: var(--hp-wd-accent) !important;
  color: #fff !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-decoration: none !important;
  border: 0 !important;
  box-shadow: none;
  white-space: nowrap;
}

a.hp-withdraw__btn--mini:hover,
.hp-withdraw-entry a:hover,
.woocommerce-orders-table a.hp_withdraw:hover {
  filter: brightness(0.93);
  color: #fff !important;
}

.hp-withdraw__form p,
.hp-withdraw__form fieldset {
  margin: 0 0 1rem;
}

.hp-withdraw__form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.hp-withdraw__form input[type="text"],
.hp-withdraw__form input[type="email"],
.hp-withdraw__form textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid #d5dadd;
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  font: inherit;
}

.hp-withdraw__hint {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.82rem;
  color: var(--hp-wd-muted);
}

.hp-withdraw__orders label {
  font-weight: 400;
  margin: 0.25rem 0;
}

.hp-withdraw__error {
  background: var(--hp-wd-bg);
  border: 1px solid var(--hp-wd-border);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
}

.hp-withdraw__honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.hp-withdraw-entry {
  display: flex !important;
  align-items: center;
  list-style: none;
  margin: 0.2rem 0 !important;
  padding: 0 !important;
}

.hp-withdraw-thankyou {
  margin: 1rem 0 0.35rem;
}

.hp-withdraw-thankyou-note,
.hp-withdraw-account-note {
  font-size: 0.85rem;
  color: var(--hp-wd-muted);
}

.woocommerce-MyAccount-navigation-link--hp-withdraw a {
  font-weight: 700;
}
