/* Ardelle & Co returns portal — v3 design, matched to the live ardelleco.com theme (read 2026-12-02):
   navy #001b3d text and buttons; Manrope everywhere, Barlow Semi Condensed for prices;
   pill buttons 13px/600/uppercase/2.08px; uppercase 600 labels; #e6e6e6 lines; #f5f5f5 soft panels;
   11px input rounding, 18px panel rounding. Warm off-white surround kept as requested. */
:root {
  --ink: #001b3d;          /* site text colour is navy, not black */
  --navy: #001b3d;         /* Ardelle & Co signature navy (logo colour): buttons, bars, selections */
  --navy-hover: #0a0f1f;   /* site primary button hover */
  --muted: #5d6b7e;        /* secondary text: softened navy */
  --line: #e6e6e6;         /* site border colour */
  --line-strong: #d5d9df;
  --page: #f7f5f1;         /* warm off-white surround */
  --panel: #ffffff;
  --soft: #f5f5f5;         /* site soft panel (secure checkout box) */
  --error: #a3261c;
  --ok: #2f6b45;
  --r: 11px;               /* site input rounding */
  --r-panel: 18px;         /* site soft panel rounding */
  --r-pill: 999px;         /* site buttons */
  --body: 'Manrope', Helvetica, Arial, sans-serif;
  --price: 'Barlow Semi Condensed', 'Arial Narrow', Arial, sans-serif; /* site prices */
  --money: 'Inter', 'Helvetica Neue', Arial, sans-serif;   /* refund amounts and prices (merchant spec) */
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 14px/1.4 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.test-banner { background: #f1ece3; color: #5b4a2e; text-align: center; font-size: 11px; letter-spacing: .4px; padding: 6px 12px; }

/* ---------- Header ---------- */
.site-header { display: flex; justify-content: center; padding: 30px 16px 24px; }
.site-header .logo { display: inline-block; line-height: 0; }
.site-header .logo img { display: block; height: auto; max-width: 100%; mix-blend-mode: multiply; } /* logo file has a white background; blend it into the warm surround */

/* ---------- Content panel ---------- */
.wrap { max-width: 600px; margin: 0 auto 40px; background: var(--panel); border: 1px solid var(--line); padding: 32px 40px 36px; }

h1 { font: 600 20px/1.35 var(--body); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; }
h2 { font: 600 12px/1.4 var(--body); letter-spacing: 1px; text-transform: uppercase; margin: 0 0 12px; }
.lead { color: var(--muted); line-height: 1.6; margin: 0 0 24px; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 2.42px; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.meta-line { color: var(--muted); font-size: 13px; margin: 0 0 24px; }
.meta-line span + span::before { content: '·'; margin: 0 8px; color: var(--muted); }
.divider { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.section { margin-top: 28px; }

/* ---------- Progress ---------- */
.progress { margin: 0 0 28px; }
.progress-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; list-style: none; margin: 0; padding: 0; }
.progress-bar li { height: 3px; border-radius: 3px; background: var(--line); }
.progress-bar li.done, .progress-bar li.current { background: var(--navy); }
.progress-text { display: flex; justify-content: space-between; margin-top: 10px; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.progress-text strong { color: var(--navy); font-weight: 600; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; }
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
label, .label { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.optional { font-weight: 400; color: var(--muted); text-transform: none; letter-spacing: 0; }
input[type=text], input:not([type]), input[type=email], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; min-height: 52px;
}
input:focus, select:focus, textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 1px var(--navy); }
input::placeholder, textarea::placeholder { color: #8a95a5; }
textarea { min-height: 88px; resize: vertical; }
select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23001b3d' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 18px center; padding-right: 44px; }
input[type=file] { font: inherit; font-size: 13px; padding: 4px 0; }
.code-input { font-size: 22px !important; letter-spacing: 12px; text-align: center; font-weight: 600; }
.hint { font-size: 12px; color: var(--muted); margin: 6px 0 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13px; letter-spacing: 0; text-transform: none; margin: 8px 0 0; }
.check input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--navy); }

/* ---------- Buttons ---------- */
.actions { display: flex; gap: 12px; margin-top: 28px; }
.btn, .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 16px 24px;
  border-radius: var(--r-pill); font: 600 13px/1.4 var(--body); letter-spacing: 2.08px; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s;
}
.btn { flex: 1; background: var(--navy); color: #fff; border: 1px solid var(--navy); }
.btn:hover { background: var(--navy-hover); border-color: var(--navy-hover); color: #fff; }
.btn:disabled { opacity: .6; cursor: default; }
.btn-secondary { flex: 0 0 34%; background: #fff; color: var(--navy); border: 1px solid var(--line); }
.btn-secondary:hover { background: var(--soft); border-color: var(--line); color: var(--navy); }
.btn.block { width: 100%; flex: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font: inherit; font-size: 13px; cursor: pointer; }
.inline-form { text-align: center; margin-top: 18px; font-size: 13px; color: var(--muted); }
.sub-links { text-align: center; font-size: 13px; color: var(--muted); margin: 22px 0 0; }

/* ---------- Messages ---------- */
.alert { border: 1px solid #e8c3bf; background: #fcf4f3; color: var(--error); border-radius: var(--r); padding: 12px 14px; font-size: 13px; margin: 0 0 20px; }
.notice { border: 0; background: var(--soft); border-radius: var(--r); padding: 12px 14px; font-size: 13px; margin: 0 0 20px; }
.dev-code { border: 1px dashed #cdb88f; background: #fbf7ef; border-radius: var(--r); padding: 10px 14px; font-size: 13px; text-align: center; margin: 0 0 20px; }

/* ---------- Products ---------- */
.items, .review { list-style: none; padding: 0; margin: 0; }
.items { border-top: 1px solid var(--line); }
.item { border-bottom: 1px solid var(--line); }
.item.is-disabled { opacity: .5; }
.item-row { display: flex; gap: 20px; align-items: center; padding: 22px 0; margin: 0; font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; cursor: pointer; }
.item.is-disabled .item-row { cursor: default; }
.item-row input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--navy); flex: none; margin: 0 0 0 auto; }
/* Product images: 3:4, soft grey tile, thin border, rounded corners (as in the merchant's reference) */
.thumb { width: 120px; height: 160px; object-fit: cover; background: #efefef; border: 1px solid #e3e3e3; border-radius: 16px; flex: none; display: block; }
.thumb.sm { width: 72px; height: 96px; border-radius: 12px; }
.item-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.item-title { font-weight: 600; font-size: 15px; line-height: 1.35; }
.item-meta { font-size: 13px; color: var(--muted); }
.item-price { margin: 2px 0; }
.item-note { font-size: 12px; color: var(--error); margin-top: 4px; }
.qty { display: flex; align-items: center; gap: 12px; padding: 0 0 20px 140px; }
.qty label { margin: 0; color: var(--muted); }
.qty select { width: 96px; min-height: 40px; padding: 6px 34px 6px 14px; font-size: 14px; border-radius: 24px; }

/* Per-item block used on reason and options screens */
.item-block { border-top: 1px solid var(--line); padding: 22px 0 6px; margin: 0; min-width: 0; }
.item-block:last-of-type { border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.item-block > legend { float: left; width: 100%; padding: 0; margin: 0 0 18px; }
.item-block > legend + * { clear: both; }
.item-head { display: flex; gap: 16px; align-items: center; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }

/* ---------- Resolution options ---------- */
.choices { display: flex; flex-direction: column; gap: 10px; }
.choice { text-transform: none; display: grid; grid-template-columns: 20px 1fr; gap: 4px 14px; align-items: start; border: 1px solid var(--line); border-radius: var(--r-panel); padding: 16px 18px; margin: 0; font-weight: 400; letter-spacing: 0; cursor: pointer; background: #fff; transition: border-color .15s, box-shadow .15s; }
.choice:hover { background: #fcfcfc; border-color: var(--line-strong); }
.choice:has(input:checked) { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.choice input[type=radio] { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--navy); }
.choice-title { font-weight: 600; font-size: 14px; line-height: 1.35; }
.amount { grid-column: 2; margin-top: 2px; }
.amount small { display: inline; margin-left: 8px; font: 400 12px var(--body); letter-spacing: 0; color: var(--muted); }
.choice-detail { grid-column: 2; font-size: 13px; color: var(--muted); }
.option-note { font-size: 12px; color: var(--muted); margin: 14px 0 0; }

/* ---------- Review / summary ---------- */
.review { border-top: 1px solid var(--line); }
.review-line { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.review-res { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; margin-top: 8px; }
.totals { margin: 18px 0 0; }
.totals div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 5px 0; font-size: 14px; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; }
/* All refund amounts and prices: Inter 600, -0.5px, signature navy. Sized to sit comfortably with the text around them. */
.amount, .item-price, .review-res strong, .totals dd {
  font: 600 18px/1.25 var(--money); letter-spacing: -0.5px; color: var(--navy); white-space: nowrap;
}
.amount { font-size: 28px; }          /* option boxes: the main figure (Inter 600, 28px, navy) */
.totals dd { font-size: 20px; }       /* review totals */
/* "Assessed by our team" is words, not an amount */
.review-res strong.is-text, .totals dd.is-text { font: 600 13px/1.4 var(--body); letter-spacing: 0; white-space: normal; text-align: right; }
.next { background: var(--soft); border: 0; border-radius: var(--r-panel); padding: 18px 22px; margin-top: 26px; }
.next ol, .next ul { margin: 0; padding-left: 18px; font-size: 13px; }
.next li { margin-bottom: 6px; } .next li:last-child { margin-bottom: 0; }

/* ---------- Confirmation ---------- */
.done { text-align: center; }
.done .tick { width: 44px; height: 44px; border: 1px solid var(--navy); color: var(--navy); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.ref-box { background: var(--soft); border-radius: var(--r-panel); padding: 18px; margin: 24px 0; }
.ref { font: 600 22px/1.2 var(--body); letter-spacing: .16em; margin: 4px 0 0; }

/* ---------- Tracking ---------- */
.track-steps { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.track-steps li { position: relative; padding-top: 22px; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); text-align: center; line-height: 1.35; }
.track-steps li::before { content: ''; position: absolute; top: 4px; left: 50%; width: 11px; height: 11px; margin-left: -6px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; z-index: 1; }
.track-steps li::after { content: ''; position: absolute; top: 9px; right: 50%; width: 100%; height: 1px; background: var(--line); }
.track-steps li:first-child::after { display: none; }
.track-steps li.done, .track-steps li.current { color: var(--navy); }
.track-steps li.done::before { background: var(--navy); border-color: var(--navy); }
.track-steps li.done::after, .track-steps li.current::after { background: var(--navy); }
.track-steps li.current::before { border: 3px solid var(--navy); width: 13px; height: 13px; margin-left: -7px; top: 3px; }
.track-steps li.current { font-weight: 600; }
.status-box { border-left: 3px solid var(--navy); background: var(--soft); border-radius: 0 var(--r-panel) var(--r-panel) 0; padding: 14px 18px; margin: 0 0 28px; }
.status-box p { margin: 0; font-size: 13px; color: var(--muted); }
.status-box .status-label { font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 2px; }
.history { list-style: none; padding: 0; margin: 0; font-size: 13px; border-top: 1px solid var(--line); }
.history li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.history time { color: var(--muted); white-space: nowrap; }

/* ---------- Footer ---------- */
.site-footer { padding: 6px 16px 36px; text-align: center; font-size: 11px; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin-bottom: 12px; }
.site-footer a { color: var(--ink); text-decoration: none; letter-spacing: .125px; font-size: 12.5px; }
.site-footer a:hover { text-decoration: underline; }
.site-footer p { margin: 0; }

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .site-header { padding: 22px 16px 18px; }
  .wrap { border-left: 0; border-right: 0; padding: 24px 20px 28px; margin-bottom: 28px; }
  h1 { font-size: 18px; }
  .actions { flex-direction: column-reverse; }
  .btn-secondary { flex: none; }
  .thumb { width: 96px; height: 128px; border-radius: 14px; }
  .item-row { gap: 14px; }
  .qty { padding-left: 110px; }
  .choice { padding: 14px; gap: 4px 12px; }
  .track-steps li { font-size: 10px; letter-spacing: .4px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Helpers (inline style attributes are blocked by the CSP, so these live here) */
.grow { flex: 1; }
.review-line .item-info { flex: 1; }
.check.confirm { margin-top: 22px; }
.totals.flush { margin-top: 0; }

/* "Return required" / "No return needed" label inside each resolution box */
.tag { grid-column: 2; justify-self: start; margin-top: 8px; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--navy); font-size: 11px; font-weight: 600; letter-spacing: .6px; }
.tag-return { background: #fff; border: 1px solid var(--line); }
.option-note strong { font-weight: 600; color: var(--ink); }

/* ---------- Keep-item benefits, keep-instead card, return instructions ---------- */
.benefits { grid-column: 2; list-style: none; margin: 6px 0 2px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; font-size: 12px; color: var(--ink); }
.benefits li { position: relative; padding-left: 18px; line-height: 1.4; }
.benefits li::before { content: ''; position: absolute; left: 2px; top: 3px; width: 5px; height: 9px; border: solid var(--navy); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.keep-instead { margin-top: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-panel); background: #fff; }
.keep-title { font-weight: 600; font-size: 13px; margin: 0 0 2px; }
.keep-text { font-size: 12px; color: var(--muted); margin: 0 0 10px; }
.keep-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.keep-form { margin: 0; }
.keep-form .btn-secondary { min-height: 40px; padding: 8px 16px; font-size: 12px; letter-spacing: .5px; text-transform: none; }
.return-box { background: var(--soft); border-radius: var(--r-panel); padding: 20px 22px; margin: 24px 0; text-align: left; }
.return-box h2 { margin-top: 0; }
.return-address { font-style: normal; font-size: 15px; line-height: 1.55; font-weight: 600; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; margin: 6px 0 16px; }
.pack-steps { margin: 0; padding-left: 18px; font-size: 13px; }
.pack-steps li { margin-bottom: 6px; }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } .amount { font-size: 24px; } }
