/* Pakzio — styles de base. La couleur d'accent vient de --accent (injecté par le thème). */
:root { --accent: #2b2f3a; }

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #f5f6f8;
  color: #1f2430;
  line-height: 1.5;
}

.pk-header {
  display: flex; align-items: center; justify-content: center;
  padding: 20px; background: #fff; border-bottom: 1px solid #eceef1;
}
.pk-logo { max-height: 44px; width: auto; }
.pk-wordmark { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }

.pk-main { max-width: 640px; margin: 0 auto; padding: 24px 16px 48px; }

.pk-card {
  background: #fff; border: 1px solid #eceef1; border-radius: 14px;
  padding: 22px; margin-bottom: 16px;
}

.pk-verify { text-align: center; }
.pk-verify-icon { font-size: 42px; }
.pk-title { font-size: 22px; margin: 8px 0 4px; }
.pk-sub { color: #6b7280; margin: 0 0 18px; }

.pk-label { display: block; text-align: left; font-weight: 600; font-size: 14px; margin: 14px 0 6px; }
.pk-input {
  width: 100%; padding: 12px 14px; font-size: 16px;
  border: 1px solid #d6dae0; border-radius: 10px; outline: none;
}
.pk-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.pk-hint { text-align: left; font-size: 12px; color: #9aa1ad; margin: 5px 0 0; }

.pk-btn {
  width: 100%; margin-top: 20px; padding: 13px 18px; font-size: 16px; font-weight: 600;
  color: #fff; background: var(--accent); border: 0; border-radius: 10px; cursor: pointer;
}
.pk-btn:hover { filter: brightness(0.95); }

.pk-error {
  background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca;
  border-radius: 10px; padding: 10px 12px; font-size: 14px; margin-bottom: 6px;
}

.pk-order-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pk-eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #9aa1ad; }
.pk-order-id { font-size: 24px; font-weight: 700; }
.pk-status { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.pk-status--ok { background: #dcfce7; color: #15803d; }
.pk-status--warn { background: #fef2f2; color: #dc2626; }

.pk-eta { margin-top: 14px; font-size: 15px; }
.pk-track-nr { margin-top: 10px; font-size: 14px; color: #374151; }
.pk-track-nr a, .pk-newsearch a, .pk-banner a { color: var(--accent); }

.pk-banner {
  margin-top: 16px; padding: 12px 14px; border-radius: 10px;
  background: #fff7ed; border: 1px solid #fed7aa; font-size: 14px;
}
.pk-banner a { display: inline-block; margin-top: 4px; font-weight: 600; }

.pk-h2 { font-size: 16px; margin: 0 0 14px; }

.pk-timeline { list-style: none; margin: 0; padding: 0; }
.pk-tl-item { position: relative; padding: 0 0 16px 20px; border-left: 2px solid #e5e7eb; }
.pk-tl-item:last-child { padding-bottom: 0; }
.pk-tl-item::before {
  content: ""; position: absolute; left: -7px; top: 2px; width: 12px; height: 12px;
  border-radius: 50%; background: #cbd5e1;
}
.pk-tl-item.is-latest::before { background: var(--accent); }
.pk-tl-item.is-warn::before { background: #dc2626; }
.pk-tl-date { font-size: 12px; color: #9aa1ad; }
.pk-tl-desc { font-size: 14px; }

.pk-products { list-style: none; margin: 0; padding: 0; }
.pk-product { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid #f1f3f5; }
.pk-product:last-child { border-bottom: 0; }
.pk-product img { width: 46px; height: 46px; object-fit: cover; border-radius: 8px; background: #f1f3f5; }
.pk-product-name { flex: 1; font-size: 14px; }
.pk-product-qty { font-size: 13px; color: #6b7280; }

.pk-addr { font-size: 14px; color: #374151; }

.pk-newsearch { text-align: center; margin-top: 8px; }
.pk-newsearch a { font-size: 14px; text-decoration: none; }

.pk-footer { text-align: center; padding: 24px 16px 40px; font-size: 13px; color: #9aa1ad; }
.pk-footer a { color: var(--accent); }

/* ── Retours / réexpédition ── */
.pk-title--left { text-align: left; font-size: 20px; }
.pk-opts { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.pk-opt {
  display: block; border: 1px solid #eceef1; border-radius: 10px; padding: 16px;
  text-decoration: none; color: #1f2430;
}
.pk-opt:hover { border-color: var(--accent); }
.pk-opt--alt { background: #fafafa; }
.pk-opt-price { display: block; margin-top: 4px; color: var(--accent); font-size: 13px; font-weight: 700; }
.pk-opt-note { display: block; margin-top: 4px; color: #888; font-size: 13px; }
.pk-btn--dark { background: #1f2430; }
.pk-sp-label { margin-top: 12px; font-size: 14px; }
.pk-note { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 8px; padding: 12px; font-size: 13px; color: #9a3412; }
.pk-warn { color: #b45309; margin-top: 12px; }
.pk-back { text-align: center; margin-top: 14px; }
.pk-back a { color: #888; font-size: 13px; text-decoration: none; }
