/*
 * Héhocom – Rétractations WooCommerce
 * Neutral front-end: black, white, greys and inherited site typography.
 */
.hwr-form-wrap {
  width: min(100%, 680px);
  margin: 0 auto;
  padding: 0;
  background: transparent;
  color: #000;
  font-family: inherit;
  font-size: inherit;
  line-height: 1.55;
}

.hwr-form-wrap,
.hwr-form-wrap * {
  box-sizing: border-box;
}

.hwr-header {
  margin: 0;
  padding: 0 0 24px;
  border-bottom: 1px solid #000;
}

.hwr-header h1 {
  max-width: none;
  margin: 0 0 10px;
  color: #000;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.04em;
}

.hwr-header p {
  max-width: 60ch;
  margin: 0;
}

.hwr-form fieldset {
  min-width: 0;
  margin: 24px 0 0;
  padding: 0;
  border: 0;
}

.hwr-form legend,
.hwr-items-title {
  display: block;
  width: 100%;
  margin: 0 0 7px;
  padding: 0;
  color: #000;
  font-size: 1.1rem;
  font-weight: 750;
  line-height: 1.3;
}

.hwr-step-intro {
  margin: 0 0 14px;
  font-size: .95rem;
}

.hwr-form p { margin: 0; }

.hwr-form label {
  display: block;
  margin: 0 0 6px;
  color: #000;
  font-size: .88rem;
  font-weight: 700;
}

.hwr-form input[type="text"],
.hwr-form input[type="email"],
.hwr-form textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #000;
  border-radius: 0;
  background: #fff;
  color: #000;
  font: inherit;
  line-height: 1.35;
}

.hwr-form input:focus,
.hwr-form textarea:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.hwr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.hwr-lookup,
.hwr-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid #000;
  border-radius: 0;
  background: #000;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.hwr-lookup { width: 100%; margin-top: 14px; }

.hwr-lookup:hover,
.hwr-lookup:focus,
.hwr-submit:hover,
.hwr-submit:focus {
  background: #fff;
  color: #000;
}

.hwr-lookup:focus,
.hwr-submit:focus {
  outline: 2px solid #000;
  outline-offset: 3px;
}

.hwr-lookup:disabled,
.hwr-submit:disabled,
.hwr-account-order:disabled {
  opacity: .55;
  cursor: wait;
}

.hwr-hint,
.hwr-small { font-size: .86rem; }
.hwr-hint { margin-top: 10px !important; }

/* Account order selector: deliberately explicit child classes avoid theme button styles. */
.hwr-account-order-list {
  margin: 0;
  border-top: 1px solid #000;
}

.hwr-account-order-list .hwr-account-order {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 50px;
  margin: 0 !important;
  padding: 11px 4px !important;
  column-gap: 24px;
  border: 0 !important;
  border-bottom: 1px solid #000 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #000 !important;
  box-shadow: none !important;
  cursor: pointer;
  font: inherit !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-align: left !important;
  text-decoration: none !important;
}

.hwr-account-order-list .hwr-account-order-number,
.hwr-account-order-list .hwr-account-order-date {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  font: inherit !important;
  line-height: inherit !important;
  white-space: nowrap;
}

.hwr-account-order-list .hwr-account-order-number {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hwr-account-order-list .hwr-account-order-date {
  justify-self: end;
  font-weight: 400 !important;
  text-align: right !important;
}

.hwr-account-order-list .hwr-account-order-loading {
  grid-column: 1 / -1;
  display: block;
  color: inherit;
}

.hwr-account-order-list .hwr-account-order:hover,
.hwr-account-order-list .hwr-account-order:focus,
.hwr-account-order-list .hwr-account-order:focus-visible {
  padding-left: 12px !important;
  padding-right: 12px !important;
  background: #000 !important;
  color: #fff !important;
  outline: 0 !important;
}

.hwr-empty-orders {
  padding: 12px 0;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}

.hwr-guest-details {
  margin-top: 24px;
  border-top: 1px solid #000;
}

.hwr-guest-details summary {
  padding: 13px 0;
  color: #000;
  cursor: pointer;
  font-weight: 750;
}

.hwr-guest-details[open] { padding-bottom: 2px; }
.hwr-guest-details .hwr-lookup-step { margin-top: 8px; }

.hwr-order-result { margin-top: 20px; }

.hwr-order-found,
.hwr-feedback.hwr-ok,
.hwr-feedback.hwr-error,
.hwr-error {
  padding: 11px 0;
  border-top: 1px solid #000;
  color: #000;
}

.hwr-feedback { margin: 14px 0 0; }
.hwr-feedback.hwr-error,
.hwr-error { font-weight: 700; }

.hwr-items {
  margin-top: 0;
  padding-top: 18px;
}

.hwr-items label {
  margin: 10px 0;
  font-weight: 400;
}

.hwr-items input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: -3px;
  accent-color: #000;
}

.hwr-item-warning {
  display: block;
  margin: 4px 0 8px 27px;
  font-size: .84rem;
}

.hwr-submit-area {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #000;
}

.hwr-declaration {
  margin: 0 0 14px;
  font-weight: 600;
}

/* The end-of-form information is visually distinct but remains quiet and readable. */
.hwr-form-end {
  margin-top: 32px;
  padding: 20px;
  background: #f3f3f3;
  color: #000;
}

.hwr-legal-box {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000;
}

.hwr-legal-box p { margin: 8px 0 0; }
.hwr-legal-box strong { color: #000; }
.hwr-legal-box-custom { padding-top: 8px; border-top: 1px solid #bdbdbd; }
.hwr-form-end .hwr-bottom-notice { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid #bdbdbd; }
.hwr-form-end noscript .hwr-error { margin: 16px 0 0; }

.hwr-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.hwr-checkout-notice {
  display: block !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  margin: 16px 0 !important;
  padding: 13px 14px !important;
  border: 1px solid #000 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #000 !important;
  font-size: .94em;
  line-height: 1.5 !important;
}

.hwr-checkout-notice a {
  color: #000 !important;
  font-weight: 800;
  text-decoration: underline;
}

.hwr-checkout-notice a:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
}

@media (max-width: 650px) {
  .hwr-grid { grid-template-columns: 1fr; gap: 12px; }
  .hwr-header h1 { font-size: 2.15rem; }
  .hwr-account-order-list .hwr-account-order { column-gap: 12px; }
}

@media (max-width: 420px) {
  .hwr-account-order-list .hwr-account-order {
    grid-template-columns: 1fr !important;
    row-gap: 2px;
  }
  .hwr-account-order-list .hwr-account-order-date { justify-self: start; text-align: left !important; }
  .hwr-form-end { padding: 16px; }
}

/* Stable order rows: never replace their HTML while loading. */
.hwr-account-order-list .hwr-account-order {
  -webkit-appearance: none !important;
  appearance: none !important;
  position: relative;
}
.hwr-account-order-list .hwr-account-order.is-loading {
  cursor: wait;
  opacity: .65;
}
.hwr-account-order-list .hwr-account-order.is-loading::after {
  content: '…';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25em;
}
.hwr-account-order-list .hwr-account-order.is-selected,
.hwr-account-order-list .hwr-account-order.is-selected:hover,
.hwr-account-order-list .hwr-account-order.is-selected:focus {
  padding-left: 12px !important;
  padding-right: 12px !important;
  background: #000 !important;
  color: #fff !important;
}
.hwr-account-order-list .hwr-account-order.is-selected .hwr-account-order-number,
.hwr-account-order-list .hwr-account-order.is-selected .hwr-account-order-date {
  color: #fff !important;
}

/* Optional note: an additional message is useful, but never required. */
.hwr-message-field {
  margin: 0 0 16px !important;
}
.hwr-message-field textarea {
  min-height: 108px !important;
  resize: vertical;
}
.hwr-message-field textarea::placeholder {
  color: #666;
  opacity: 1;
}

/* Feedback: colours are reserved for critical success/error states only. */
.hwr-feedback {
  display: none;
  margin: 20px 0 0 !important;
  padding: 16px 18px !important;
  border: 1px solid transparent !important;
  border-left-width: 6px !important;
  border-radius: 2px;
  font-weight: 750;
  font-size: 1rem;
  line-height: 1.5;
}
.hwr-feedback.hwr-ok,
.hwr-feedback.hwr-error { display: block; }
.hwr-feedback.hwr-ok {
  border-color: #167a3f !important;
  background: #e8f7ed !important;
  color: #0b4d25 !important;
}
.hwr-feedback.hwr-ok::before { content: "✓ "; font-weight: 900; }
.hwr-feedback.hwr-error {
  border-color: #b42318 !important;
  background: #fff0ef !important;
  color: #8a1c14 !important;
}
.hwr-feedback.hwr-error::before { content: "! "; font-weight: 900; }

/* Lightweight My Account overview: no duplicate form, no front-end JavaScript. */
.hwr-account-page { width: min(100%, 760px); color: #000; }
.hwr-account-page-header { padding: 0 0 24px; border-bottom: 1px solid #1f1f1f; }
.hwr-account-page h2 { margin: 0 0 10px; color: #000; font-size: clamp(1.6rem, 3vw, 2.15rem); line-height: 1.1; }
.hwr-account-page h3 { margin: 0 0 14px; color: #000; font-size: 1.15rem; }
.hwr-account-page p { margin: 0; }
.hwr-account-page-header p + p { margin-top: 16px; }
.hwr-account-form-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; background: #000; color: #fff !important; text-decoration: none !important; font-weight: 750; }
.hwr-account-form-link:hover, .hwr-account-form-link:focus { background: #fff; color: #000 !important; outline: 2px solid #000; outline-offset: 2px; }
.hwr-account-requests { margin-top: 28px; }
.hwr-account-empty { padding: 14px 16px !important; background: #f3f3f3; color: #000; }
.hwr-request-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hwr-request-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; padding: 15px 16px; border: 1px solid #d3d3d3; background: #fff; color: #000; }
.hwr-request-card strong { color: #000; }
.hwr-request-reference { margin-left: 7px; color: #666; font-size: .85em; }
.hwr-request-card small { grid-column: 1 / -1; color: #444; }
.hwr-request-status { align-self: center; padding: 4px 8px; border-radius: 99px; font-size: .82rem; font-weight: 750; white-space: nowrap; }
.hwr-status-received { background: #e8f2ff; color: #124e8c; }
.hwr-status-under_review { background: #fff4d6; color: #725300; }
.hwr-status-accepted { background: #e8f7ed; color: #0b4d25; }
@media (max-width: 480px) { .hwr-request-card { grid-template-columns: 1fr; } .hwr-request-status { justify-self: start; } }

/* Dedicated page template: works even when the theme's default template does not output editor content. */
.hwr-page-template {
	width: min(100% - 32px, 1100px);
	margin: 48px auto;
}
@media (max-width: 640px) {
	.hwr-page-template {
		width: min(100% - 24px, 1100px);
		margin: 28px auto;
	}
}

/* Current requests on the public form: concise account-only summary. */
.hwr-form-current-requests {
  margin: 24px 0 0;
  padding: 18px;
  border: 1px solid #d3d3d3;
  background: #f7f7f7;
  color: #000;
}
.hwr-form-current-requests h2 {
  margin: 0 0 6px;
  color: #000;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 800;
}
.hwr-form-current-requests > p { margin: 0 0 14px; font-size: .92rem; }
.hwr-form-current-requests .hwr-request-list { gap: 8px; }
.hwr-form-current-requests .hwr-request-card { background: #fff; }

/* Status colours only: they make the real stage of the request easy to scan. */
.hwr-status-return_expected { background: #fff4d6; color: #725300; }
.hwr-status-return_received { background: #e7f2ff; color: #124e8c; }
.hwr-status-refund_processing { background: #f0e9ff; color: #5b2a86; }
.hwr-status-refunded { background: #e8f7ed; color: #0b4d25; }
.hwr-status-refused,
.hwr-status-cancelled { background: #fff0ef; color: #8a1c14; }
.hwr-status-closed { background: #ececec; color: #333; }


/* Theme-hardening: some themes apply white text to generic paragraphs/spans.
 * Keep every informational area readable, without altering selected buttons
 * or the success/error status colours below. */
.hwr-form-wrap .hwr-header p,
.hwr-form-wrap .hwr-form-current-requests,
.hwr-form-wrap .hwr-form-current-requests p,
.hwr-form-wrap .hwr-form-current-requests h2,
.hwr-form-wrap .hwr-form-current-requests li,
.hwr-form-wrap .hwr-form-current-requests div,
.hwr-form-wrap .hwr-form-current-requests strong,
.hwr-form-wrap .hwr-form-current-requests small,
.hwr-form-wrap .hwr-form-end,
.hwr-form-wrap .hwr-form-end p,
.hwr-form-wrap .hwr-form-end strong,
.hwr-form-wrap .hwr-form-end span,
.hwr-form-wrap .hwr-form-end div,
.hwr-form-wrap .hwr-form-end aside,
.hwr-form-wrap .hwr-step-intro,
.hwr-form-wrap .hwr-hint,
.hwr-form-wrap .hwr-declaration,
.hwr-form-wrap .hwr-message-field,
.hwr-form-wrap .hwr-message-field label,
.hwr-form-wrap .hwr-items,
.hwr-form-wrap .hwr-items label,
.hwr-form-wrap .hwr-guest-details summary {
  color: #000 !important;
  text-shadow: none !important;
}

.hwr-form-wrap .hwr-form-end a {
  color: #000 !important;
  text-decoration: underline;
}

/* Preserve contrast of the current selection even with aggressive theme rules. */
.hwr-form-wrap .hwr-account-order.is-selected,
.hwr-form-wrap .hwr-account-order.is-selected *,
.hwr-form-wrap .hwr-account-order:hover,
.hwr-form-wrap .hwr-account-order:hover *,
.hwr-form-wrap .hwr-account-order:focus,
.hwr-form-wrap .hwr-account-order:focus * {
  color: #fff !important;
}

.hwr-form-wrap .hwr-feedback.hwr-ok {
  color: #0b4d25 !important;
}
.hwr-form-wrap .hwr-feedback.hwr-error {
  color: #8a1c14 !important;
}


/* Regulatory model withdrawal form: available without a print control. */
.hwr-form-wrap .hwr-model-form {
  margin-top: 14px;
  border: 1px solid #cfcfcf;
  background: #fff;
  color: #000;
}
.hwr-form-wrap .hwr-model-form > summary {
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 800;
  color: #000 !important;
}
.hwr-form-wrap .hwr-model-form-inner {
  padding: 0 14px 16px;
  color: #000 !important;
}
.hwr-form-wrap .hwr-model-form-inner h2,
.hwr-form-wrap .hwr-model-form-inner p,
.hwr-form-wrap .hwr-model-form-inner strong {
  color: #000 !important;
}
.hwr-form-wrap .hwr-model-form-inner h2 { margin: 4px 0 8px; font-size: 1.08rem; }
.hwr-form-wrap .hwr-model-lines { margin-top: 14px; }
.hwr-form-wrap .hwr-model-lines p { margin: 10px 0; }
.hwr-form-wrap .hwr-model-lines span {
  display: block;
  min-height: 26px;
  margin-top: 4px;
  border-bottom: 1px solid #000;
}
.hwr-form-wrap .hwr-model-online { margin: 16px 0 0; }
.hwr-form-wrap .hwr-model-online a { color: #000 !important; font-weight: 700; text-decoration: underline; }
