/* Repeat-purchase confirmation popup and checkout notice. */
.hjt-confirm-dialog {
  box-sizing: border-box;
  width: min(92vw, 440px);
  padding: 1.4rem 1.4rem 1.2rem;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: #303d38;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.hjt-confirm-dialog::backdrop {
  background: rgba(23, 40, 32, 0.45);
}
.hjt-confirm-dialog h3 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
  line-height: 1.3;
}
.hjt-confirm-dialog p {
  margin: 0 0 1.2rem;
}
.hjt-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.hjt-confirm-actions button {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.hjt-confirm-ok {
  border: 0;
  background: #ff7816;
  color: #fff;
}
.hjt-confirm-cancel {
  border: 1px solid #c9c2b8;
  background: #fff;
  color: #303d38;
}
.hjt-confirm-ok:focus-visible,
.hjt-confirm-cancel:focus-visible {
  outline: 3px solid #172820;
  outline-offset: 2px;
}
.hjt-duplicate-confirm {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin: 0.6rem 0;
  font-size: 0.95rem;
}
/* With JavaScript the popup asks instead of the checkbox. */
.hjt-js-confirm .hjt-duplicate-guard .hjt-duplicate-confirm {
  display: none;
}
.hjt-duplicate-checkout {
  margin: 0 0 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid #f0c27a;
  border-radius: 12px;
  background: #fff7eb;
}
.hjt-duplicate-checkout p {
  margin: 0 0 0.4rem;
}
