.canah-withdrawal-access {
  background: #f1efe8;
  color: #2b2b2b;
  padding: 12px 20px;
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
}

.canah-withdrawal-access a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.canah-withdrawal-wrap {
  width: min(100%, 760px);
  margin: 40px auto 70px;
  padding: 0 20px;
  box-sizing: border-box;
}

.canah-withdrawal-wrap h1,
.canah-withdrawal-wrap h2 {
  line-height: 1.2;
}

.canah-withdrawal-form,
.canah-withdrawal-summary,
.canah-withdrawal-legal-note,
.canah-withdrawal-success {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid #dedbd2;
  border-radius: 4px;
  background: #fff;
  box-sizing: border-box;
}

.canah-field {
  margin-bottom: 18px;
}

.canah-field label,
.canah-withdrawal-form legend {
  display: block;
  margin-bottom: 7px;
  color: #222;
  font-weight: 600;
}

.canah-withdrawal-form input[type="text"],
.canah-withdrawal-form input[type="email"],
.canah-withdrawal-form input[type="number"],
.canah-withdrawal-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #9a9a9a;
  border-radius: 3px;
  background: #fff;
  color: #222;
  box-sizing: border-box;
}

.canah-withdrawal-form textarea {
  resize: vertical;
}

.canah-withdrawal-form input:focus,
.canah-withdrawal-form textarea:focus,
.canah-withdrawal-form button:focus,
.canah-withdrawal-form a:focus {
  outline: 3px solid rgba(75, 105, 47, 0.28);
  outline-offset: 2px;
}

.canah-withdrawal-form .button {
  min-height: 44px;
}

.canah-withdrawal-form fieldset {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

.canah-withdrawal-product,
.canah-withdrawal-order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid #ece9e1;
}

.canah-withdrawal-product > label:first-child {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1 1 auto;
}

.canah-withdrawal-product input[type="checkbox"],
.canah-withdrawal-declaration input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 1px 0 0;
}

.canah-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.canah-withdrawal-form .canah-quantity input {
  width: 74px;
}

.canah-withdrawal-declaration {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 22px 0;
  color: #222;
  font-weight: 600;
}

.canah-optional,
.canah-form-note,
.canah-withdrawal-legal-note,
.canah-withdrawal-order small {
  color: #666;
  font-weight: 400;
}

.canah-form-note {
  margin: 7px 0 0;
  font-size: 13px;
  line-height: 1.5;
}

.canah-withdrawal-order span,
.canah-withdrawal-order small {
  display: block;
}

.canah-withdrawal-error {
  margin: 18px 0;
  padding: 12px 16px;
  border-left: 4px solid #b32d2e;
  background: #fff5f5;
  color: #6f1718;
}

.canah-withdrawal-success {
  border-color: #6f8f52;
  background: #f5f8f1;
}

.canah-withdrawal-guest-alternative {
  margin-top: 28px;
}

.canah-withdrawal-guest-alternative summary {
  cursor: pointer;
  font-weight: 600;
}

.canah-withdrawal-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 600px) {
  .canah-withdrawal-wrap {
    margin-top: 28px;
    padding: 0 15px;
  }

  .canah-withdrawal-form,
  .canah-withdrawal-summary,
  .canah-withdrawal-legal-note,
  .canah-withdrawal-success {
    padding: 18px;
  }

  .canah-withdrawal-product,
  .canah-withdrawal-order {
    align-items: flex-start;
    flex-direction: column;
  }

  .canah-withdrawal-order .button,
  .canah-withdrawal-form .button {
    width: 100%;
    min-height: 44px;
    text-align: center;
  }
}
