/* /returns/ (pages/returns.php, pelle-returns.js): returns & exchanges request
   page. Loaded on that page only (inc/returns.php). Black and white like the
   rest of the store, with the Sale banner's orange-yellow (#ffb000) as accent. */
.pp-rt { background: #f9fafb; padding: 0 16px 64px; }
/* The top padding sits here: pelle-pelle.css zeroes padding-top on every <main>. */
.pp-rt__wrap { max-width: 1040px; margin: 0 auto; padding-top: 40px; }
.pp-rt *, .pp-rt *::before, .pp-rt *::after { box-sizing: border-box; }
.pp-rt [hidden] { display: none !important; }

/* Hero */
.pp-rt__hero { max-width: 700px; margin: 0 auto 24px; text-align: center; }
.pp-rt__eyebrow { display: inline-block; margin: 0 0 14px; padding: 5px 12px; border-radius: 999px; background: #0d0d0d; color: #ffb000; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.pp-rt__h1 { margin: 0 0 10px; color: #0d0d0d; font-size: clamp(28px, 4.6vw, 40px); font-weight: 800; line-height: 1.06; letter-spacing: -.01em; text-transform: uppercase; text-wrap: balance; }
.pp-rt__sub { margin: 0 auto; color: #4b5563; font-size: 15px; line-height: 1.6; }

/* The form */
.pp-rt__card { margin-bottom: 40px; padding: 22px 18px; border: 1px solid #e5e7eb; border-radius: 16px; background: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .06); scroll-margin-top: 110px; }
@media (min-width: 768px) { .pp-rt__card { padding: 32px 36px; } }
.pp-rt__steps { display: flex; margin: 0 0 26px; padding: 0; list-style: none; }
.pp-rt__steps li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; color: #9ca3af; font-size: 10px; font-weight: 700; letter-spacing: .04em; line-height: 1.2; text-align: center; text-transform: uppercase; }
@media (min-width: 640px) { .pp-rt__steps li { font-size: 11px; } }
.pp-rt__steps li span { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #f3f4f6; color: #6b7280; font-size: 13px; font-weight: 800; transition: background .2s, color .2s; }
.pp-rt__steps li::before { content: ""; position: absolute; top: 14px; right: 50%; left: -50%; height: 2px; background: #e5e7eb; }
.pp-rt__steps li:first-child::before { display: none; }
.pp-rt__steps li.is-current { color: #0d0d0d; }
.pp-rt__steps li.is-current span { background: #0d0d0d; color: #ffb000; }
.pp-rt__steps li.is-done span { background: #ffb000; color: #0d0d0d; }
.pp-rt__steps li.is-done::before,
.pp-rt__steps li.is-current::before { background: #0d0d0d; }
.pp-rt__card.is-done .pp-rt__steps,
.pp-rt__card:not(.is-started) .pp-rt__steps { display: none; }

.pp-rt__step[hidden] { display: none !important; }
.pp-rt__step-title { margin: 0 0 16px; color: #0d0d0d; font-size: 20px; font-weight: 800; line-height: 1.25; text-transform: uppercase; outline: none; }
.pp-rt__grid2 { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
@media (min-width: 640px) { .pp-rt__grid2 { grid-template-columns: 1fr 1fr; } }
.pp-rt__field { min-width: 0; margin: 0 0 16px; padding: 0; border: 0; }
.pp-rt__field > label,
.pp-rt__field > legend,
.pp-rt__label { display: block; margin: 0 0 6px; padding: 0; color: #111827; font-size: 13px; font-weight: 700; }
.pp-rt__opt-label { color: #9ca3af; font-weight: 400; }
.pp-rt .pp-rt__field input[type="text"],
.pp-rt .pp-rt__field input[type="email"],
.pp-rt .pp-rt__field input[type="tel"],
.pp-rt .pp-rt__field select,
.pp-rt .pp-rt__field textarea { width: 100%; height: auto; min-height: 0; margin: 0; padding: 12px 14px; border: 1px solid #d1d5db; border-radius: 8px; background-color: #fff; color: #111827; font-family: inherit; font-size: 15px; line-height: 1.4; outline: none; box-shadow: none; transition: border-color .15s, box-shadow .15s; }
.pp-rt .pp-rt__field textarea { resize: vertical; min-height: 96px; }
.pp-rt .pp-rt__field input:focus,
.pp-rt .pp-rt__field select:focus,
.pp-rt .pp-rt__field textarea:focus { border-color: #0d0d0d; box-shadow: 0 0 0 3px rgba(0, 0, 0, .08); }
.pp-rt__hint { margin: -6px 0 14px; color: #6b7280; font-size: 12.5px; line-height: 1.45; }
.pp-rt__hint[hidden] { display: none; }
.pp-rt__err { margin: 0 0 14px; padding: 10px 12px; border-radius: 8px; background: #fef2f2; color: #b91c1c; font-size: 13px; font-weight: 600; line-height: 1.45; }
.pp-rt__err[hidden] { display: none; }
.pp-rt__actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 8px; }
.pp-rt__actions--center,
#pp-rt-step-1 .pp-rt__actions { justify-content: flex-start; }
.pp-rt__done .pp-rt__actions--center { justify-content: center; }
.pp-rt .pp-rt__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 150px; min-height: 0; margin: 0; padding: 13px 24px; border: 0; border-radius: 999px; background: #0d0d0d !important; color: #fff !important; font-size: 14px; font-weight: 700; letter-spacing: .03em; line-height: 1.2; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: background .15s, transform .15s; }
.pp-rt .pp-rt__btn:hover:not(:disabled) { background: #1f2937 !important; color: #fff !important; transform: translateY(-1px); }
.pp-rt .pp-rt__btn:disabled { opacity: .55; cursor: wait; }
.pp-rt .pp-rt__btn--ghost { min-width: 0; border: 1px solid #d1d5db; background: #fff !important; color: #111827 !important; }
.pp-rt .pp-rt__btn--ghost:hover:not(:disabled) { background: #f9fafb !important; color: #111827 !important; }
.pp-rt .pp-rt__btn:focus-visible { outline: 3px solid #ffb000; outline-offset: 2px; }
.pp-rt__actions[hidden] { display: none; }

/* Step 1: one big button */
.pp-rt .pp-rt__btn--wide { width: 100%; padding-top: 15px; padding-bottom: 15px; font-size: 15px; }
@media (min-width: 640px) { .pp-rt .pp-rt__btn--wide { width: auto; min-width: 220px; } }

/* Step 2: type + items */
.pp-rt__order-chip { display: inline-block; margin: 0 0 14px; padding: 6px 12px; border-radius: 12px; background: #f3f4f6; color: #374151; font-size: 13px; }
.pp-rt__notice { margin: 0 0 14px; padding: 10px 12px; border: 1px solid #ffe2a3; border-radius: 8px; background: #fff8e6; color: #78350f; font-size: 13px; line-height: 1.45; }
.pp-rt__notice--block { border-color: #fecaca; background: #fef2f2; color: #991b1b; }
.pp-rt__notice[hidden] { display: none; }
.pp-rt__notice-link { color: inherit; font-weight: 700; text-decoration: underline; white-space: nowrap; }
.pp-rt__types { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 22px; }
@media (min-width: 640px) { .pp-rt__types { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.pp-rt__type { position: relative; display: block; cursor: pointer; }
.pp-rt__type input,
.pp-rt__pill input { position: absolute; opacity: 0; pointer-events: none; }
.pp-rt__type-box { position: relative; display: block; height: 100%; padding: 14px 16px 14px 48px; border: 2px solid #e5e7eb; border-radius: 12px; transition: border-color .15s, background .15s; }
.pp-rt__type-box::before { content: ""; position: absolute; top: 16px; left: 16px; width: 20px; height: 20px; border: 2px solid #d1d5db; border-radius: 50%; background: #fff; transition: border .15s; }
.pp-rt__type-box b { display: block; color: #0d0d0d; font-size: 15px; }
.pp-rt__type-box small { display: block; margin-top: 3px; color: #6b7280; font-size: 12.5px; line-height: 1.4; }
.pp-rt__type input:checked + .pp-rt__type-box { border-color: #0d0d0d; background: #fafafa; }
.pp-rt__type input:checked + .pp-rt__type-box::before { border: 6px solid #0d0d0d; }
.pp-rt__type input:focus-visible + .pp-rt__type-box,
.pp-rt__pill input:focus-visible + span { box-shadow: 0 0 0 3px rgba(255, 176, 0, .65); }
.pp-rt__info { margin: -8px 0 22px; padding: 14px 16px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fafafa; }
.pp-rt__info[hidden] { display: none; }
.pp-rt__info-title { margin: 0 0 10px; color: #0d0d0d; font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.pp-rt__info-steps { display: grid; gap: 8px; margin: 0 0 10px; padding: 0; list-style: none; counter-reset: pp-rt-info; }
.pp-rt__info-steps li { position: relative; padding: 1px 0 0 32px; color: #111827; font-size: 14px; line-height: 1.45; counter-increment: pp-rt-info; }
.pp-rt__info-steps li::before { content: counter(pp-rt-info); position: absolute; top: 0; left: 0; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #0d0d0d; color: #ffb000; font-size: 12px; font-weight: 800; line-height: 1; }
.pp-rt__info-note { margin: 0; padding-top: 10px; border-top: 1px solid #e5e7eb; color: #6b7280; font-size: 12.5px; line-height: 1.5; }
.pp-rt__info-note strong { color: #111827; }
.pp-rt__info-note a { color: inherit; text-decoration: underline; }
.pp-rt__items-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px; }
.pp-rt__items-head .pp-rt__label { margin: 0; }
.pp-rt .pp-rt__sizes-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 0; margin: 0; padding: 6px 12px; border: 1px solid #d1d5db; border-radius: 999px; background: #fff !important; color: #111827 !important; font-size: 12.5px; font-weight: 700; line-height: 1.2; cursor: pointer; transition: border-color .15s; }
.pp-rt .pp-rt__sizes-btn:hover { border-color: #0d0d0d; }
.pp-rt__sizes-btn svg { flex: none; width: 18px; height: 18px; }
.pp-rt__items { display: grid; gap: 10px; margin-bottom: 16px; }
.pp-rt__item { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px; border: 1px solid #e5e7eb; border-radius: 12px; transition: border-color .15s, background .15s; }
.pp-rt__item.is-checked { border-color: #0d0d0d; background: #fafafa; }
.pp-rt__item-main { display: flex; flex: 1 1 260px; align-items: center; gap: 12px; min-width: 0; margin: 0; cursor: pointer; }
.pp-rt__item-main input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: #0d0d0d; }
.pp-rt__item-main img,
.pp-rt__item-ph { flex: none; width: 64px; height: 64px; border: 1px solid #f3f4f6; border-radius: 8px; background: #fff; object-fit: contain; }
.pp-rt__item-text { min-width: 0; }
.pp-rt__item-text b { display: block; color: #111827; font-size: 14px; line-height: 1.35; }
.pp-rt__item-text small { display: block; margin-top: 2px; color: #6b7280; font-size: 12.5px; }
.pp-rt__item-opts { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
.pp-rt__item-opts:empty,
.pp-rt__item-opts[hidden] { display: none; }
.pp-rt__mini { display: flex; align-items: center; gap: 6px; margin: 0; color: #111827; font-size: 13px; font-weight: 700; }
.pp-rt__mini[hidden] { display: none; }
.pp-rt .pp-rt__mini select,
.pp-rt .pp-rt__mini input { width: auto; min-width: 100px; height: auto; margin: 0; padding: 8px 10px; border: 1px solid #d1d5db; border-radius: 8px; background-color: #fff; color: #111827; font-family: inherit; font-size: 14px; }
@media (max-width: 479.98px) {
  .pp-rt__item-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; margin-left: 0; padding-left: 32px; }
  .pp-rt__mini { flex-direction: column; align-items: stretch; gap: 4px; font-size: 12px; }
  .pp-rt .pp-rt__mini select,
  .pp-rt .pp-rt__mini input { width: 100%; min-width: 0; }
}

/* Step 3: reason, zipper tag, photos */
.pp-rt__tagq { margin-bottom: 18px; }
.pp-rt__tagq .pp-rt__tag-hint { margin: -2px 0 12px; }
.pp-rt .pp-rt__pill { position: relative; display: inline-flex; margin: 0 8px 8px 0; cursor: pointer; }
.pp-rt__pill span { padding: 10px 16px; border: 2px solid #e5e7eb; border-radius: 999px; color: #111827; font-size: 14px; font-weight: 600; transition: all .15s; }
.pp-rt__pill input:checked + span { border-color: #0d0d0d; background: #0d0d0d; color: #fff; }
.pp-rt__warn { margin: 4px 0 0; padding: 10px 12px; border: 1px solid #ffe2a3; border-radius: 8px; background: #fff8e6; color: #78350f; font-size: 13px; line-height: 1.5; }
.pp-rt__warn[hidden] { display: none; }
.pp-rt .pp-rt__link { margin: 0; padding: 0; border: 0; background: none !important; color: #0d0d0d !important; font-size: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.pp-rt__uploads { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 16px; }
@media (min-width: 640px) { .pp-rt__uploads { grid-template-columns: 1fr 1fr; } }
.pp-rt__upload { padding: 14px; border: 1px solid #e5e7eb; border-radius: 12px; }
.pp-rt__upload .pp-rt__hint { margin: -2px 0 10px; }
.pp-rt__count { margin-left: 4px; color: #9ca3af; font-weight: 600; }
.pp-rt__thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.pp-rt__thumbs:empty { display: none; }
.pp-rt__thumb { position: relative; width: 76px; height: 76px; overflow: hidden; border-radius: 8px; background: #f3f4f6; }
.pp-rt__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pp-rt__thumb-file { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 4px; color: #4b5563; font-size: 10px; text-align: center; word-break: break-all; }
.pp-rt .pp-rt__thumb button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .72) !important; color: #fff !important; font-size: 15px; line-height: 22px; cursor: pointer; }
.pp-rt__drop { position: relative; display: flex; align-items: center; justify-content: center; min-height: 76px; margin: 0; border: 2px dashed #d1d5db; border-radius: 10px; color: #111827; font-size: 14px; font-weight: 700; cursor: pointer; transition: border-color .15s, background .15s; }
.pp-rt__drop:hover,
.pp-rt__drop:focus-within { border-color: #0d0d0d; background: #fafafa; }
.pp-rt__drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pp-rt__drop[hidden] { display: none; }
.pp-rt__upload.has-photos .pp-rt__drop { min-height: 44px; }
.pp-rt__upload.is-busy .pp-rt__drop { opacity: .6; pointer-events: none; }

/* Step 4: review */
.pp-rt__summary dl { display: grid; grid-template-columns: 96px 1fr; gap: 10px 14px; margin: 0 0 16px; font-size: 14px; }
@media (min-width: 640px) { .pp-rt__summary dl { grid-template-columns: 120px 1fr; } }
.pp-rt__summary dt { color: #6b7280; font-weight: 600; }
.pp-rt__summary dd { min-width: 0; margin: 0; color: #111827; overflow-wrap: anywhere; }
.pp-rt__summary ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pp-rt__summary small { display: block; margin-top: 2px; color: #6b7280; font-size: 12.5px; }
.pp-rt__fee { margin: 0 0 16px; padding: 14px 16px; border-radius: 12px; background: #0d0d0d; color: #fff; font-size: 14px; line-height: 1.55; }
.pp-rt__fee p { margin: 0; }
.pp-rt__fee b { color: #ffb000; }
.pp-rt__fee--refund { background: #f3f4f6; color: #111827; }
.pp-rt__fee--refund b { color: #0d0d0d; }
.pp-rt__agree { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 16px; color: #111827; font-size: 14px; line-height: 1.45; cursor: pointer; }
.pp-rt__agree input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #0d0d0d; }
.pp-rt__agree a { color: inherit; text-decoration: underline; }
.pp-rt__hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.pp-rt__progress { height: 6px; margin: 0 0 14px; overflow: hidden; border-radius: 3px; background: #f3f4f6; }
.pp-rt__progress span { display: block; width: 0; height: 100%; background: #ffb000; transition: width .2s; }
.pp-rt__progress[hidden] { display: none; }

/* Done */
.pp-rt__done { text-align: center; }
.pp-rt__done-icon { display: flex; align-items: center; justify-content: center; width: 68px; height: 68px; margin: 4px auto 14px; border-radius: 50%; background: #ffb000; color: #0d0d0d; animation: pp-rt-pop .5s cubic-bezier(.2, 1.4, .4, 1) both; }
.pp-rt__done-icon svg { width: 36px; height: 36px; }
.pp-rt__done-sub { margin: -6px 0 20px; color: #4b5563; font-size: 14px; }
.pp-rt__done .pp-rt__label { margin-bottom: 12px; text-align: center; text-transform: uppercase; letter-spacing: .05em; }
.pp-rt__next { display: grid; gap: 12px; max-width: 560px; margin: 0 auto 22px; padding: 0; list-style: none; counter-reset: pp-rt; text-align: left; }
.pp-rt__next li { position: relative; padding: 3px 0 0 40px; font-size: 14px; line-height: 1.5; counter-increment: pp-rt; }
.pp-rt__next li::before { content: counter(pp-rt); position: absolute; top: 0; left: 0; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #0d0d0d; color: #ffb000; font-size: 13px; font-weight: 800; }
.pp-rt__pay { max-width: 520px; margin: 0 auto 22px; padding: 18px 18px 20px; border-radius: 14px; background: #0d0d0d; color: #fff; }
.pp-rt__pay[hidden] { display: none; }
.pp-rt__pay-title { margin: 0 0 4px; color: #ffb000; font-size: 15px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.pp-rt__pay-text { margin: 0 0 14px; color: #d1d5db; font-size: 13px; }
.pp-rt .pp-rt__btn--pay { background: #ffb000 !important; color: #0d0d0d !important; }
.pp-rt .pp-rt__btn--pay:hover:not(:disabled) { background: #ffc233 !important; color: #0d0d0d !important; }
@keyframes pp-rt-pop { from { opacity: 0; transform: scale(.4); } }

/* Size chart modal (the product page's Size Guide images) */
html.pp-rt-modal-open { overflow: hidden; }
.pp-rt__modal { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.pp-rt__modal-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.pp-rt__modal-box { position: relative; width: 100%; max-width: 760px; max-height: calc(100vh - 32px); overflow: auto; padding: 22px 18px 18px; border-radius: 16px; background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
@media (min-width: 768px) { .pp-rt__modal-box { padding: 26px 28px 24px; } }
.pp-rt__modal-title { margin: 0 44px 14px 0; color: #0d0d0d; font-size: 20px; font-weight: 800; text-transform: uppercase; }
.pp-rt .pp-rt__modal-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; background: #f3f4f6 !important; color: #111827 !important; font-size: 22px; line-height: 36px; cursor: pointer; }
.pp-rt__tabs { display: inline-flex; gap: 4px; margin: 0 0 14px; padding: 4px; border-radius: 999px; background: #f3f4f6; }
.pp-rt .pp-rt__tab { min-height: 0; margin: 0; padding: 8px 18px; border: 0; border-radius: 999px; background: transparent !important; color: #4b5563 !important; font-size: 13px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; cursor: pointer; }
.pp-rt .pp-rt__tab.is-active { background: #0d0d0d !important; color: #fff !important; }
.pp-rt__tab-panel img { display: block; width: 100%; height: auto; border-radius: 8px; }

/* Below the form */
.pp-rt__foot { margin: 0; color: #6b7280; font-size: 13px; text-align: center; }
.pp-rt__foot a { color: #111827; text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .pp-rt__done-icon { animation: none; }
  .pp-rt .pp-rt__btn { transition: none; }
}
