/* ==========================================================================
   MIQ Frontend — Returns
   Shared styles for /returns/ (policy) and /returns/request/ (wizard).
   Scoped under .miq-returns-policy-page and .miq-returns-request-page
   so theme styles don't bleed through and vice versa.
   ========================================================================== */

.miq-returns-policy-page,
.miq-returns-request-page {
    --miq-navy:       #00344B;
    --miq-navy-2:     #0A4A66;
    --miq-navy-deep:  #002335;
    --miq-teal:       #04A1B8;
    --miq-teal-dark:  #038092;
    --miq-teal-soft:  #E5F5F8;
    --miq-teal-light: #7DD3E8;
    --miq-line:       #E1E6EA;
    --miq-line-soft:  #EEF1F3;
    --miq-bg:         #F7F9FA;
    --miq-muted:      #8E9AA5;
    --miq-text:       #2E3A42;
    --miq-good:       #2BAE6A;
    --miq-good-soft:  #E3F5EC;
    --miq-warm:       #C76A2A;
    --miq-warm-soft:  #FFEFE0;
    --miq-danger:     #D4574A;
    --miq-danger-soft:#FEF2F2;

    background: var(--miq-bg);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--miq-text);
    -webkit-font-smoothing: antialiased;
}
.miq-returns-policy-page  * { box-sizing: border-box; }
.miq-returns-request-page * { box-sizing: border-box; }


/* ==========================================================================
   POLICY PAGE
   ========================================================================== */

.miq-returns-policy-page { font-size: 15px; line-height: 1.6; }

/* Hero */
.miq-returns-policy-page .miq-policy-hero {
    background:
        radial-gradient(circle at 80% 20%, rgba(4,161,184,.22) 0%, transparent 55%),
        linear-gradient(180deg, #002335 0%, #00344B 70%, #003A55 100%);
    color: #fff;
    padding: 80px 32px 88px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.miq-returns-policy-page .miq-policy-hero::before {
    content: '';
    position: absolute;
    bottom: -120px; left: -50px;
    width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(125,211,232,.14) 0%, transparent 65%);
    pointer-events: none;
}
.miq-returns-policy-page .miq-policy-hero-inner {
    max-width: 720px; margin: 0 auto; position: relative; z-index: 1;
}
.miq-returns-policy-page .miq-policy-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(4,161,184,.18);
    border: 1px solid rgba(125,211,232,.3);
    color: var(--miq-teal-light);
    font-size: 11px; font-weight: 800; letter-spacing: .14em;
    text-transform: uppercase; padding: 6px 14px; border-radius: 100px;
    margin-bottom: 22px;
}
.miq-returns-policy-page .miq-policy-eyebrow::before {
    content: '';
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--miq-teal-light);
    box-shadow: 0 0 8px var(--miq-teal-light);
}
.miq-returns-policy-page .miq-policy-hero h1 {
    font-family: 'Lato', sans-serif !important;
    font-weight: 900 !important;
    font-size: 50px !important;
    line-height: 1.05 !important;
    letter-spacing: -0.6px !important;
    color: #fff !important;
    margin: 0 0 18px !important;
}
.miq-returns-policy-page .miq-policy-hero h1 .accent { color: var(--miq-teal-light); }
.miq-returns-policy-page .miq-policy-hero p {
    font-size: 17px; color: rgba(255,255,255,.78);
    line-height: 1.6; max-width: 580px; margin: 0 auto;
}

/* Container */
.miq-returns-policy-page .miq-policy-wrap {
    max-width: 920px; margin: -48px auto 96px; padding: 0 32px;
    position: relative; z-index: 2;
}

.miq-returns-policy-page .miq-policy-intro {
    background: #fff; border: 1px solid var(--miq-line);
    border-radius: 16px; padding: 32px 36px;
    box-shadow: 0 16px 40px -10px rgba(0,15,30,.12), 0 6px 16px -4px rgba(0,15,30,.06);
    margin-bottom: 32px; text-align: center;
}
.miq-returns-policy-page .miq-policy-intro p { font-size: 16px; color: var(--miq-text); margin: 0; line-height: 1.7; }
.miq-returns-policy-page .miq-policy-intro p strong { color: var(--miq-navy); }
.miq-returns-policy-page .miq-policy-applies {
    display: block; font-size: 12.5px; color: var(--miq-muted);
    margin-top: 14px; padding-top: 14px;
    border-top: 1px solid var(--miq-line-soft);
}

/* Sections */
.miq-returns-policy-page .miq-policy-section {
    background: #fff; border: 1px solid var(--miq-line);
    border-radius: 16px; padding: 36px 40px;
    margin-bottom: 22px; position: relative; overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.miq-returns-policy-page .miq-policy-section:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -8px rgba(0,15,30,.08);
}
.miq-returns-policy-page .miq-policy-section-head {
    display: flex; align-items: flex-start; gap: 18px; margin-bottom: 14px;
}
.miq-returns-policy-page .miq-policy-section-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.miq-returns-policy-page .miq-policy-section-icon.guarantee {
    background: linear-gradient(135deg, var(--miq-teal-soft) 0%, #C9EAF1 100%);
    color: var(--miq-teal-dark);
}
.miq-returns-policy-page .miq-policy-section-icon.thirty-day {
    background: linear-gradient(135deg, var(--miq-good-soft) 0%, #C8EBD3 100%);
    color: #1e6b3a;
}
.miq-returns-policy-page .miq-policy-section-icon.our-fault {
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B8 100%);
    color: var(--miq-warm);
}
.miq-returns-policy-page .miq-policy-section-icon.exceptions {
    background: linear-gradient(135deg, #F0EBF5 0%, #DAD0EC 100%);
    color: #6E4FB8;
}
.miq-returns-policy-page .miq-policy-section-icon.report {
    background: linear-gradient(135deg, #E5F5F8 0%, #C9EAF1 100%);
    color: var(--miq-navy);
}
.miq-returns-policy-page .miq-policy-section h2 {
    font-family: 'Lato', sans-serif !important;
    font-weight: 900 !important;
    font-size: 24px !important;
    color: var(--miq-navy) !important;
    letter-spacing: -0.3px !important;
    margin: 4px 0 0 !important;
    line-height: 1.2 !important;
    flex: 1;
}
.miq-returns-policy-page .miq-policy-section p {
    font-size: 15px; line-height: 1.7;
    color: var(--miq-text); margin: 0 0 14px;
}
.miq-returns-policy-page .miq-policy-section p:last-child { margin-bottom: 0; }
.miq-returns-policy-page .miq-policy-section p strong { color: var(--miq-navy); font-weight: 700; }

.miq-returns-policy-page .miq-policy-section.guarantee-section {
    background: linear-gradient(180deg, #fff 0%, #F4FBFC 100%);
    border-color: rgba(4,161,184,.25);
}
.miq-returns-policy-page .miq-policy-section.guarantee-section::before {
    content: ''; position: absolute;
    top: -80px; right: -80px;
    width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(125,211,232,.18) 0%, transparent 65%);
    pointer-events: none;
}
.miq-returns-policy-page .miq-policy-guarantee-tagline {
    display: inline-block;
    background: var(--miq-teal); color: #fff;
    font-size: 11.5px; font-weight: 800;
    letter-spacing: .08em; text-transform: uppercase;
    padding: 4px 11px; border-radius: 100px; margin-bottom: 16px;
}
.miq-returns-policy-page .miq-policy-closer {
    margin-top: 20px; padding-top: 16px;
    border-top: 1px solid rgba(4,161,184,.18);
    font-style: italic;
    color: var(--miq-teal-dark);
    font-weight: 600;
}

.miq-returns-policy-page .miq-policy-our-fault-list {
    list-style: none; padding: 0; margin: 16px 0 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.miq-returns-policy-page .miq-policy-our-fault-list li {
    display: flex; align-items: center; gap: 11px;
    background: var(--miq-good-soft);
    border: 1px solid rgba(43,174,106,.22);
    padding: 12px 14px; border-radius: 10px;
    font-size: 14px; color: var(--miq-navy);
    font-weight: 600; line-height: 1.4;
}
.miq-returns-policy-page .miq-policy-our-fault-list li svg {
    flex-shrink: 0; color: var(--miq-good);
    background: #fff; border-radius: 50%;
    padding: 3px; width: 22px; height: 22px;
}

.miq-returns-policy-page .miq-policy-exceptions-list {
    list-style: none; padding: 0; margin: 14px 0 0;
    display: flex; flex-direction: column; gap: 10px;
}
.miq-returns-policy-page .miq-policy-exceptions-list li {
    display: flex; align-items: flex-start; gap: 12px;
    background: #FAFAFC;
    border: 1px solid var(--miq-line);
    padding: 14px 16px; border-radius: 10px;
}
.miq-returns-policy-page .miq-policy-exceptions-list li svg {
    flex-shrink: 0; color: var(--miq-muted);
}
.miq-returns-policy-page .miq-policy-exceptions-list strong { color: var(--miq-navy); }

.miq-returns-policy-page .miq-policy-steps-row {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px;
    margin: 18px 0 22px;
}
.miq-returns-policy-page .miq-policy-step-card {
    background: #FAFBFC;
    border: 1px solid var(--miq-line);
    border-radius: 12px; padding: 18px;
    text-align: left; position: relative;
}
.miq-returns-policy-page .miq-policy-step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--miq-teal); color: #fff;
    font-family: 'Lato', sans-serif; font-weight: 900;
    font-size: 13px; margin-bottom: 10px;
}
.miq-returns-policy-page .miq-policy-step-title {
    font-weight: 700; color: var(--miq-navy);
    font-size: 14.5px; margin: 0 0 4px; line-height: 1.3;
}
.miq-returns-policy-page .miq-policy-step-title strong { color: var(--miq-teal-dark); }
.miq-returns-policy-page .miq-policy-step-sub {
    font-size: 12.5px; color: var(--miq-muted);
    line-height: 1.5; margin: 0;
}
.miq-returns-policy-page .miq-policy-report-closer {
    background: var(--miq-teal-soft);
    border: 1px solid rgba(4,161,184,.25);
    padding: 14px 18px; border-radius: 11px;
    font-size: 14px; color: var(--miq-navy); line-height: 1.55;
}
.miq-returns-policy-page .miq-policy-report-closer strong { color: var(--miq-teal-dark); }

/* Final CTA */
.miq-returns-policy-page .miq-policy-final-cta {
    background: linear-gradient(135deg, var(--miq-navy) 0%, var(--miq-navy-deep) 100%);
    border-radius: 18px; padding: 40px 36px;
    text-align: center; color: #fff;
    margin-top: 32px; position: relative; overflow: hidden;
}
.miq-returns-policy-page .miq-policy-final-cta::before {
    content: ''; position: absolute;
    top: -100px; left: 50%; transform: translateX(-50%);
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(125,211,232,.16) 0%, transparent 65%);
    pointer-events: none;
}
.miq-returns-policy-page .miq-policy-final-cta h3 {
    font-family: 'Lato', sans-serif !important;
    font-weight: 900 !important;
    font-size: 26px !important;
    color: #fff !important;
    margin: 0 0 8px !important;
    letter-spacing: -0.3px !important;
    position: relative; z-index: 1;
}
.miq-returns-policy-page .miq-policy-final-cta p {
    color: rgba(255,255,255,.75);
    font-size: 15px; margin: 0 0 22px;
    position: relative; z-index: 1;
}
.miq-returns-policy-page .miq-policy-final-btn {
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--miq-teal); color: #fff;
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    font-weight: 800; font-size: 15.5px;
    padding: 14px 26px; border-radius: 11px;
    transition: background .15s, transform .15s, box-shadow .15s;
    box-shadow: 0 8px 18px -4px rgba(4,161,184,.45), 0 2px 4px rgba(4,161,184,.22);
    position: relative; z-index: 1;
}
.miq-returns-policy-page .miq-policy-final-btn:hover {
    background: var(--miq-teal-dark);
    transform: translateY(-1px);
}
.miq-returns-policy-page .miq-policy-final-btn svg { transition: transform .15s; }
.miq-returns-policy-page .miq-policy-final-btn:hover svg { transform: translateX(3px); }
.miq-returns-policy-page .miq-policy-final-meta {
    margin-top: 14px; font-size: 12.5px;
    color: rgba(255,255,255,.55);
    position: relative; z-index: 1;
}
.miq-returns-policy-page .miq-policy-final-meta strong { color: rgba(255,255,255,.85); font-weight: 700; }

@media (max-width: 760px) {
    .miq-returns-policy-page .miq-policy-hero { padding: 60px 22px 70px; }
    .miq-returns-policy-page .miq-policy-hero h1 { font-size: 34px !important; }
    .miq-returns-policy-page .miq-policy-hero p { font-size: 15px; }
    .miq-returns-policy-page .miq-policy-wrap { padding: 0 18px; margin-top: -36px; }
    .miq-returns-policy-page .miq-policy-section { padding: 26px 22px; }
    .miq-returns-policy-page .miq-policy-section h2 { font-size: 20px !important; }
    .miq-returns-policy-page .miq-policy-our-fault-list,
    .miq-returns-policy-page .miq-policy-steps-row { grid-template-columns: 1fr; }
    .miq-returns-policy-page .miq-policy-final-cta { padding: 28px 20px; }
    .miq-returns-policy-page .miq-policy-final-cta h3 { font-size: 22px !important; }
}


/* ==========================================================================
   REQUEST WIZARD
   ========================================================================== */

.miq-returns-request-page { font-size: 14.5px; line-height: 1.55; }

/* Top header */
.miq-returns-request-page .miq-req-top {
    background: #fff;
    border-bottom: 1px solid var(--miq-line);
    padding: 24px 32px;
}
.miq-returns-request-page .miq-req-top-inner {
    max-width: 1180px; margin: 0 auto;
    display: flex; align-items: center; gap: 18px;
}
.miq-returns-request-page .miq-req-top-back {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--miq-muted); text-decoration: none;
    font-size: 13px; font-weight: 600;
    padding: 8px 12px; border-radius: 8px;
    transition: background .15s, color .15s;
}
.miq-returns-request-page .miq-req-top-back:hover {
    background: var(--miq-line-soft); color: var(--miq-navy);
}
.miq-returns-request-page .miq-req-top h1 {
    font-family: 'Lato', sans-serif !important;
    font-weight: 900 !important;
    font-size: 22px !important;
    color: var(--miq-navy) !important;
    margin: 0 !important;
    letter-spacing: -0.3px !important;
}

/* Empty state */
.miq-returns-request-page .miq-req-empty-wrap {
    max-width: 720px; margin: 64px auto;
    padding: 0 32px;
}
.miq-returns-request-page .miq-req-empty-card {
    background: #fff; border: 1px solid var(--miq-line);
    border-radius: 18px; padding: 56px 40px;
    text-align: center;
    box-shadow: 0 12px 32px -8px rgba(0,15,30,.06);
}
.miq-returns-request-page .miq-req-empty-icon {
    width: 72px; height: 72px;
    background: var(--miq-teal-soft);
    color: var(--miq-teal-dark);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center;
}
.miq-returns-request-page .miq-req-empty-card h2 {
    font-family: 'Lato', sans-serif !important;
    font-weight: 900 !important;
    font-size: 24px !important;
    color: var(--miq-navy) !important;
    margin: 0 0 10px !important;
}
.miq-returns-request-page .miq-req-empty-card p {
    color: var(--miq-muted); font-size: 15px;
    line-height: 1.6; max-width: 480px;
    margin: 0 auto 12px;
}
.miq-returns-request-page .miq-req-empty-card a { color: var(--miq-teal-dark); font-weight: 600; }
.miq-returns-request-page .miq-req-empty-card strong { color: var(--miq-navy); }
.miq-returns-request-page .miq-req-empty-actions {
    margin-top: 24px;
    display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center;
}
.miq-returns-request-page .miq-req-empty-btn-primary,
.miq-returns-request-page .miq-req-empty-btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 20px; border-radius: 10px;
    font-family: 'Lato', sans-serif; font-weight: 800;
    font-size: 14px; text-decoration: none;
    transition: all .15s;
}
.miq-returns-request-page a.miq-req-empty-btn-primary,
.miq-returns-request-page a.miq-req-empty-btn-primary:hover,
.miq-returns-request-page a.miq-req-empty-btn-primary:visited {
    background: var(--miq-teal);
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 6px 14px -3px rgba(4,161,184,.4);
}
.miq-returns-request-page a.miq-req-empty-btn-primary:hover {
    background: var(--miq-teal-dark);
    transform: translateY(-1px);
}
.miq-returns-request-page a.miq-req-empty-btn-secondary,
.miq-returns-request-page a.miq-req-empty-btn-secondary:hover,
.miq-returns-request-page a.miq-req-empty-btn-secondary:visited {
    background: #fff;
    color: var(--miq-navy) !important;
    text-decoration: none !important;
    border: 1.5px solid var(--miq-line);
}
.miq-returns-request-page a.miq-req-empty-btn-secondary:hover {
    border-color: var(--miq-teal-light);
}

/* Progress */
.miq-returns-request-page .miq-req-progress {
    background: #fff;
    border-bottom: 1px solid var(--miq-line);
    padding: 22px 32px 24px;
}
.miq-returns-request-page .miq-req-progress-inner { max-width: 1180px; margin: 0 auto; }
.miq-returns-request-page .miq-req-progress-steps {
    display: flex; align-items: center; justify-content: space-between;
    position: relative; max-width: 820px;
}
.miq-returns-request-page .miq-req-progress-steps::before {
    content: ''; position: absolute;
    top: 32px; left: 20px; right: 20px;
    height: 2px; background: var(--miq-line); z-index: 0;
}
.miq-returns-request-page .miq-req-progress-steps::after {
    content: ''; position: absolute;
    top: 32px; left: 20px; height: 2px;
    background: var(--miq-teal); z-index: 1;
    width: 0; transition: width .35s ease;
}
.miq-returns-request-page .miq-req-progress-steps.s1::after { width: 0; }
.miq-returns-request-page .miq-req-progress-steps.s2::after { width: 33%; }
.miq-returns-request-page .miq-req-progress-steps.s3::after { width: 66%; }
.miq-returns-request-page .miq-req-progress-steps.s4::after { width: calc(100% - 40px); }

.miq-returns-request-page .miq-req-prog-step {
    display: flex; flex-direction: column; align-items: center; gap: 9px;
    position: relative; z-index: 2;
    background: #fff; padding: 0 4px;
}
.miq-returns-request-page .miq-req-prog-label {
    font-size: 11.5px; color: var(--miq-muted);
    font-weight: 600; text-transform: uppercase;
    letter-spacing: .07em; transition: color .2s;
    white-space: nowrap;
}
.miq-returns-request-page .miq-req-prog-dot {
    width: 40px; height: 40px; border-radius: 50%;
    background: #fff; border: 2px solid var(--miq-line);
    display: flex; align-items: center; justify-content: center;
    color: var(--miq-muted); transition: all .25s;
}
.miq-returns-request-page .miq-req-prog-step.active .miq-req-prog-label,
.miq-returns-request-page .miq-req-prog-step.done   .miq-req-prog-label { color: var(--miq-navy); font-weight: 700; }
.miq-returns-request-page .miq-req-prog-step.active .miq-req-prog-dot {
    background: var(--miq-teal-soft);
    border-color: var(--miq-teal);
    color: var(--miq-teal-dark);
    box-shadow: 0 0 0 4px rgba(4,161,184,.12);
}
.miq-returns-request-page .miq-req-prog-step.done .miq-req-prog-dot {
    background: var(--miq-teal);
    border-color: var(--miq-teal);
    color: #fff;
}

/* Grid */
.miq-returns-request-page .miq-req-wrap {
    max-width: 1180px; margin: 0 auto; padding: 32px;
    display: grid; grid-template-columns: 1fr 340px;
    gap: 28px; align-items: start;
}

.miq-returns-request-page .miq-req-step-card {
    background: #fff;
    border: 1px solid var(--miq-line);
    border-radius: 16px;
    padding: 36px 36px 32px;
    box-shadow: 0 8px 24px -6px rgba(0,15,30,.06), 0 2px 6px -1px rgba(0,15,30,.03);
}

.miq-returns-request-page .miq-req-q {
    font-family: 'Lato', sans-serif !important;
    font-weight: 800 !important;
    font-size: 21px !important;
    color: var(--miq-navy) !important;
    margin: 0 0 6px !important;
    letter-spacing: -0.2px !important;
}
.miq-returns-request-page .miq-req-sub {
    color: var(--miq-muted);
    font-size: 14px;
    margin: 0 0 22px;
    line-height: 1.5;
}

/* Order picker */
.miq-returns-request-page .miq-req-order-list {
    display: flex; flex-direction: column; gap: 12px;
}
.miq-returns-request-page .miq-req-order-card {
    border: 1.5px solid var(--miq-line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: all .15s;
    overflow: hidden;
}
.miq-returns-request-page .miq-req-order-card:hover {
    border-color: var(--miq-teal-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px -6px rgba(0,15,30,.08);
}
.miq-returns-request-page .miq-req-order-card.selected {
    border-color: var(--miq-teal);
    background: rgba(4,161,184,.03);
}

.miq-returns-request-page .miq-req-order-row {
    display: flex; align-items: center; gap: 18px;
    padding: 18px 20px;
}
.miq-returns-request-page .miq-req-order-info { flex: 1; min-width: 0; }
.miq-returns-request-page .miq-req-order-ref {
    font-family: 'Lato', sans-serif; font-weight: 800;
    color: var(--miq-navy); font-size: 15px;
    display: flex; align-items: center; gap: 9px;
    margin-bottom: 3px;
}
.miq-returns-request-page .miq-req-order-pill {
    font-size: 10px; font-weight: 800;
    text-transform: uppercase; letter-spacing: .08em;
    padding: 2px 7px; border-radius: 100px;
}
.miq-returns-request-page .miq-req-order-pill.eligible {
    background: var(--miq-good-soft); color: #1e6b3a;
}
.miq-returns-request-page .miq-req-order-meta {
    font-size: 12.5px; color: var(--miq-muted); line-height: 1.45;
}
.miq-returns-request-page .miq-req-order-thumbs {
    display: flex; gap: 4px; margin-top: 8px;
}
.miq-returns-request-page .miq-req-order-thumb {
    width: 32px; height: 32px; border-radius: 6px;
    background: linear-gradient(135deg, #F4F0E8 0%, #E0D9CC 100%);
    color: var(--miq-muted);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Lato', sans-serif; font-weight: 900;
    font-size: 9px; flex-shrink: 0;
    border: 1px solid #fff;
    box-shadow: 0 1px 3px rgba(0,15,30,.06);
}
.miq-returns-request-page .miq-req-order-thumb.t-dark { background: linear-gradient(135deg, #2A3F52 0%, #15263A 100%); color: rgba(255,255,255,.6); }
.miq-returns-request-page .miq-req-order-thumb.t-black { background: linear-gradient(135deg, #3D3D3D 0%, #1E1E1E 100%); color: rgba(255,255,255,.6); }
.miq-returns-request-page .miq-req-order-thumb img,
.miq-returns-request-page .miq-req-item-thumb img,
.miq-returns-request-page .miq-req-side-item-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}
.miq-returns-request-page .miq-req-order-thumb:has(img),
.miq-returns-request-page .miq-req-item-thumb:has(img),
.miq-returns-request-page .miq-req-side-item-thumb:has(img) {
    background: #fff;
    padding: 0;
    overflow: hidden;
}
.miq-returns-request-page .miq-req-order-thumb-more {
    width: 32px; height: 32px; border-radius: 6px;
    background: var(--miq-line-soft);
    color: var(--miq-muted);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Lato', sans-serif; font-weight: 800;
    font-size: 10px; flex-shrink: 0;
}
.miq-returns-request-page .miq-req-order-window {
    text-align: right; flex-shrink: 0;
}
.miq-returns-request-page .miq-req-order-window-text {
    font-size: 11px; color: var(--miq-muted); margin-bottom: 2px;
}
.miq-returns-request-page .miq-req-order-window-num {
    font-family: 'Lato', sans-serif; font-weight: 800;
    color: var(--miq-good); font-size: 16px;
    letter-spacing: -0.2px;
}
.miq-returns-request-page .miq-req-order-arrow {
    color: var(--miq-muted); flex-shrink: 0;
    transition: transform .15s, color .15s;
}
.miq-returns-request-page .miq-req-order-card:hover .miq-req-order-arrow {
    color: var(--miq-teal-dark); transform: translateX(3px);
}

/* Items panel inside selected order */
.miq-returns-request-page .miq-req-order-items-panel {
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
    background: #FBFCFD;
    border-top: 1px solid transparent;
}
.miq-returns-request-page .miq-req-order-card.selected .miq-req-order-items-panel {
    max-height: 1200px;
    border-top: 1px solid rgba(4,161,184,.18);
}
.miq-returns-request-page .miq-req-order-items-inner { padding: 20px 22px; }
.miq-returns-request-page .miq-req-order-items-title {
    font-size: 13px; font-weight: 700;
    color: var(--miq-navy); margin: 0 0 14px;
}
.miq-returns-request-page .miq-req-order-items-list {
    list-style: none; padding: 0;
    margin: 0 0 16px;
    display: flex; flex-direction: column; gap: 8px;
}
.miq-returns-request-page .miq-req-item-row {
    background: #fff;
    border: 1.5px solid var(--miq-line);
    border-radius: 10px; padding: 12px 14px;
    display: flex; align-items: center; gap: 14px;
    transition: border-color .15s, background .15s;
}
.miq-returns-request-page .miq-req-item-row.checked {
    border-color: var(--miq-teal);
    background: rgba(4,161,184,.04);
}
.miq-returns-request-page .miq-req-item-checkbox {
    width: 20px; height: 20px;
    border: 1.5px solid var(--miq-line);
    border-radius: 5px;
    background: #fff; cursor: pointer;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    transition: all .15s;
}
.miq-returns-request-page .miq-req-item-row.checked .miq-req-item-checkbox {
    background: var(--miq-teal);
    border-color: var(--miq-teal);
    color: #fff;
}
.miq-returns-request-page .miq-req-item-checkbox svg { display: none; }
.miq-returns-request-page .miq-req-item-row.checked .miq-req-item-checkbox svg { display: block; }

.miq-returns-request-page .miq-req-item-thumb {
    width: 42px; height: 42px; border-radius: 7px;
    background: linear-gradient(135deg, #F4F0E8 0%, #E0D9CC 100%);
    color: var(--miq-muted);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Lato', sans-serif; font-weight: 900;
    font-size: 10px; flex-shrink: 0;
}
.miq-returns-request-page .miq-req-item-thumb.t-dark { background: linear-gradient(135deg, #2A3F52 0%, #15263A 100%); color: rgba(255,255,255,.6); }
.miq-returns-request-page .miq-req-item-thumb.t-black { background: linear-gradient(135deg, #3D3D3D 0%, #1E1E1E 100%); color: rgba(255,255,255,.6); }

.miq-returns-request-page .miq-req-item-info { flex: 1; min-width: 0; }
.miq-returns-request-page .miq-req-item-name {
    font-size: 13.5px; font-weight: 700;
    color: var(--miq-navy); line-height: 1.3; margin: 0 0 3px;
}
.miq-returns-request-page .miq-req-item-meta { font-size: 11.5px; color: var(--miq-muted); }
.miq-returns-request-page .miq-req-item-impa {
    display: inline-block;
    background: var(--miq-teal-soft);
    color: var(--miq-teal-dark);
    font-size: 10px; font-weight: 800;
    padding: 1.5px 6px; border-radius: 4px;
    margin-left: 5px;
    letter-spacing: .04em;
}

.miq-returns-request-page .miq-req-qty-picker {
    display: flex; align-items: center;
    background: var(--miq-bg);
    border: 1px solid var(--miq-line);
    border-radius: 8px; overflow: hidden;
    flex-shrink: 0;
}
.miq-returns-request-page .miq-req-qty-btn {
    background: none; border: none;
    width: 28px; height: 30px;
    color: var(--miq-navy); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s;
    font-family: inherit;
}
.miq-returns-request-page .miq-req-qty-btn:hover { background: var(--miq-line-soft); }
.miq-returns-request-page .miq-req-qty-btn:disabled { color: var(--miq-muted); cursor: not-allowed; }
.miq-returns-request-page .miq-req-qty-num {
    width: 34px; text-align: center;
    font-size: 13px; font-weight: 700;
    color: var(--miq-navy); padding: 0 4px;
}
.miq-returns-request-page .miq-req-qty-of {
    font-size: 10.5px; color: var(--miq-muted);
    margin-left: 8px; margin-right: 4px;
    flex-shrink: 0;
}

.miq-returns-request-page .miq-req-order-fallback {
    margin-top: 18px; padding: 14px 16px;
    background: var(--miq-bg);
    border: 1px solid var(--miq-line);
    border-radius: 10px;
    font-size: 13px; color: var(--miq-muted);
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
}
.miq-returns-request-page .miq-req-order-fallback a {
    color: var(--miq-teal-dark); text-decoration: none;
    font-weight: 700; white-space: nowrap;
}
.miq-returns-request-page .miq-req-order-fallback a:hover { color: var(--miq-teal); }

/* Reason picker (single-select radio) */
.miq-returns-request-page .miq-req-context-hint {
    background: var(--miq-teal-soft);
    border: 1px solid rgba(4,161,184,.2);
    border-radius: 10px;
    padding: 12px 14px;
    margin: 0 0 18px;
    font-size: 13px;
    color: var(--miq-navy);
    line-height: 1.55;
    display: flex; align-items: flex-start; gap: 11px;
}
.miq-returns-request-page .miq-req-context-hint svg {
    flex-shrink: 0; color: var(--miq-teal-dark); margin-top: 1px;
}
.miq-returns-request-page .miq-req-context-hint strong { color: var(--miq-teal-dark); font-weight: 800; }
.miq-returns-request-page .miq-req-context-hint a {
    color: var(--miq-teal-dark); text-decoration: underline; cursor: pointer;
}

.miq-returns-request-page .miq-req-reason-list {
    display: flex; flex-direction: column; gap: 9px;
}
.miq-returns-request-page .miq-req-reason-card {
    border: 1.5px solid var(--miq-line);
    border-radius: 11px;
    background: #fff;
    cursor: pointer;
    transition: all .15s;
    overflow: hidden;
}
.miq-returns-request-page .miq-req-reason-card:hover {
    border-color: var(--miq-teal-light); background: #FCFEFE;
}
.miq-returns-request-page .miq-req-reason-card.selected {
    border-color: var(--miq-teal);
    background: rgba(4,161,184,.04);
}
.miq-returns-request-page .miq-req-reason-row {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 18px;
}
.miq-returns-request-page .miq-req-reason-label {
    flex: 1; font-size: 14.5px; font-weight: 600;
    color: var(--miq-navy); line-height: 1.4;
}
.miq-returns-request-page .miq-req-reason-radio {
    width: 20px; height: 20px;
    border: 2px solid var(--miq-line);
    border-radius: 50%;
    flex-shrink: 0; position: relative;
    transition: border-color .15s;
}
.miq-returns-request-page .miq-req-reason-card:hover .miq-req-reason-radio {
    border-color: var(--miq-teal-light);
}
.miq-returns-request-page .miq-req-reason-card.selected .miq-req-reason-radio {
    border-color: var(--miq-teal);
}
.miq-returns-request-page .miq-req-reason-card.selected .miq-req-reason-radio::after {
    content: ''; position: absolute; inset: 3px;
    background: var(--miq-teal);
    border-radius: 50%;
}
.miq-returns-request-page .miq-req-reason-sub {
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
}
.miq-returns-request-page .miq-req-reason-card.selected .miq-req-reason-sub { max-height: 600px; }
.miq-returns-request-page .miq-req-reason-sub-inner {
    padding: 0 18px 18px 18px;
    border-top: 1px dashed var(--miq-line);
    margin-top: -2px;
    padding-top: 14px;
}
.miq-returns-request-page .miq-req-reason-sub-title {
    font-size: 12.5px; font-weight: 700;
    color: var(--miq-muted);
    text-transform: uppercase; letter-spacing: .08em;
    margin: 0 0 10px;
}
.miq-returns-request-page .miq-req-reason-sub-chips {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.miq-returns-request-page .miq-req-reason-sub-chip {
    background: #fff;
    border: 1.5px solid var(--miq-line);
    color: var(--miq-navy);
    font-size: 13px; font-weight: 600;
    padding: 8px 13px; border-radius: 100px;
    cursor: pointer; transition: all .15s;
}
.miq-returns-request-page .miq-req-reason-sub-chip:hover {
    border-color: var(--miq-teal-light); color: var(--miq-teal-dark);
}
.miq-returns-request-page .miq-req-reason-sub-chip.active {
    background: var(--miq-teal); color: #fff;
    border-color: var(--miq-teal);
}

/* Truthfulness note */
.miq-returns-request-page .miq-req-truthful-note {
    margin-top: 22px;
    background: #FFF8F2;
    border: 1px solid rgba(199,106,42,.25);
    border-radius: 10px;
    padding: 13px 15px;
    font-size: 12.5px;
    color: var(--miq-warm);
    line-height: 1.55;
    display: flex; align-items: flex-start; gap: 11px;
}
.miq-returns-request-page .miq-req-truthful-note svg {
    flex-shrink: 0; margin-top: 1px;
}
.miq-returns-request-page .miq-req-truthful-note strong { color: #8F4A1C; font-weight: 800; }

/* Solution cards */
.miq-returns-request-page .miq-req-solution-card {
    background: #fff;
    border: 2px solid var(--miq-line);
    border-radius: 14px;
    padding: 28px 30px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}
.miq-returns-request-page .miq-req-solution-card.on-us {
    background: linear-gradient(180deg, #fff 0%, #F4FBFC 100%);
    border-color: rgba(4,161,184,.4);
}
.miq-returns-request-page .miq-req-solution-card.on-us::before {
    content: ''; position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(125,211,232,.2) 0%, transparent 65%);
    pointer-events: none;
}
.miq-returns-request-page .miq-req-solution-card.customer {
    background: linear-gradient(180deg, #fff 0%, #FFF8F2 100%);
    border-color: rgba(199,106,42,.3);
}
.miq-returns-request-page .miq-req-solution-card.exception {
    background: linear-gradient(180deg, #fff 0%, #FAFAFC 100%);
    border-color: var(--miq-line);
}
.miq-returns-request-page .miq-req-solution-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 800;
    letter-spacing: .12em; text-transform: uppercase;
    padding: 5px 11px; border-radius: 100px;
    margin-bottom: 14px;
}
.miq-returns-request-page .miq-req-solution-card.on-us .miq-req-solution-tag { background: var(--miq-teal); color: #fff; }
.miq-returns-request-page .miq-req-solution-card.customer .miq-req-solution-tag { background: var(--miq-warm-soft); color: var(--miq-warm); }
.miq-returns-request-page .miq-req-solution-card.exception .miq-req-solution-tag { background: #F0EBF5; color: #6E4FB8; }

.miq-returns-request-page .miq-req-solution-card h3 {
    font-family: 'Lato', sans-serif !important;
    font-weight: 900 !important; font-size: 22px !important;
    color: var(--miq-navy) !important; margin: 0 0 10px !important;
    letter-spacing: -0.3px !important;
}
.miq-returns-request-page .miq-req-solution-card p {
    color: var(--miq-text); margin: 0 0 12px; line-height: 1.65;
}
.miq-returns-request-page .miq-req-solution-card p strong { color: var(--miq-navy); font-weight: 700; }
.miq-returns-request-page .miq-req-solution-card p:last-child { margin-bottom: 0; }

.miq-returns-request-page .miq-req-solution-bullets {
    list-style: none; padding: 0; margin: 14px 0 0;
    display: flex; flex-direction: column; gap: 9px;
}
.miq-returns-request-page .miq-req-solution-bullets li {
    display: flex; align-items: flex-start; gap: 11px;
    font-size: 14px; color: var(--miq-text); line-height: 1.5;
}
.miq-returns-request-page .miq-req-solution-bullets li svg {
    flex-shrink: 0; color: var(--miq-good); margin-top: 2px;
}
.miq-returns-request-page .miq-req-solution-bullets li strong { color: var(--miq-navy); font-weight: 700; }

/* Selected summary */
.miq-returns-request-page .miq-req-selected-summary {
    background: var(--miq-bg);
    border: 1px solid var(--miq-line);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 22px;
}
.miq-returns-request-page .miq-req-selected-summary-label {
    font-size: 11.5px; font-weight: 700;
    color: var(--miq-muted);
    text-transform: uppercase; letter-spacing: .1em;
    margin-bottom: 8px;
}
.miq-returns-request-page .miq-req-selected-summary-chips {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.miq-returns-request-page .miq-req-selected-summary-chip {
    display: inline-flex; align-items: center; gap: 6px;
    background: #fff; border: 1px solid var(--miq-line);
    color: var(--miq-navy);
    font-size: 12.5px; font-weight: 600;
    padding: 5px 11px; border-radius: 100px;
}

/* Form fields (Step 4) */
.miq-returns-request-page .miq-req-form-field {
    display: flex; flex-direction: column; gap: 6px;
    margin-bottom: 18px;
}
.miq-returns-request-page .miq-req-form-field label {
    font-size: 13px; font-weight: 600;
    color: var(--miq-navy);
}
.miq-returns-request-page .miq-req-form-field label .opt {
    color: var(--miq-muted); font-weight: 400; font-size: 12px;
}
.miq-returns-request-page .miq-req-form-input,
.miq-returns-request-page .miq-req-form-textarea {
    width: 100%; padding: 12px 14px;
    border: 1.5px solid var(--miq-line);
    border-radius: 9px; background: #fff;
    font-family: inherit; font-size: 14.5px;
    color: var(--miq-text);
    transition: border-color .15s, box-shadow .15s;
}
.miq-returns-request-page .miq-req-form-input:focus,
.miq-returns-request-page .miq-req-form-textarea:focus {
    outline: none;
    border-color: var(--miq-teal);
    box-shadow: 0 0 0 3px rgba(4,161,184,.14);
}
.miq-returns-request-page .miq-req-form-textarea {
    resize: vertical; min-height: 100px; line-height: 1.55;
}

.miq-returns-request-page .miq-req-form-alert {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
    padding: 12px 14px; border-radius: 9px;
    font-size: 14px; margin-bottom: 18px;
}

/* Photo upload zone */
.miq-returns-request-page .miq-req-photo-hint {
    font-size: 12.5px;
    color: var(--miq-muted);
    line-height: 1.5;
    margin: 0 0 10px;
}
.miq-returns-request-page .miq-req-photo-zone {
    border: 1.5px dashed var(--miq-line);
    border-radius: 11px;
    padding: 26px 20px;
    text-align: center;
    color: var(--miq-muted);
    cursor: pointer;
    transition: all .15s;
    background: #FAFBFC;
}
.miq-returns-request-page .miq-req-photo-zone:hover {
    border-color: var(--miq-teal-light);
    background: var(--miq-teal-soft);
    color: var(--miq-teal-dark);
}
.miq-returns-request-page .miq-req-photo-zone.is-dragover {
    border-color: var(--miq-teal);
    background: var(--miq-teal-soft);
    color: var(--miq-teal-dark);
}
.miq-returns-request-page .miq-req-photo-zone svg {
    display: block;
    margin: 0 auto 8px;
    color: var(--miq-teal-dark);
}
.miq-returns-request-page .miq-req-photo-zone strong { color: var(--miq-navy); }
.miq-returns-request-page .miq-req-photo-help {
    font-size: 11.5px;
    margin-top: 4px;
}

/* Photo previews */
.miq-returns-request-page .miq-req-photo-previews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
    margin-top: 12px;
}
.miq-returns-request-page .miq-req-photo-previews:empty { display: none; }
.miq-returns-request-page .miq-req-photo-preview {
    position: relative;
    aspect-ratio: 1;
    border-radius: 9px;
    overflow: hidden;
    background: var(--miq-bg);
    border: 1px solid var(--miq-line);
}
.miq-returns-request-page .miq-req-photo-preview img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.miq-returns-request-page .miq-req-photo-remove {
    position: absolute;
    top: 5px; right: 5px;
    width: 24px; height: 24px;
    background: rgba(0,15,30,.7);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s;
    padding: 0;
}
.miq-returns-request-page .miq-req-photo-remove:hover { background: var(--miq-danger); }
.miq-returns-request-page .miq-req-photo-name {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,15,30,.75) 0%, transparent 100%);
    color: #fff;
    font-size: 10.5px;
    padding: 18px 8px 6px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Success */
.miq-returns-request-page .miq-req-success-state { text-align: center; padding: 28px 24px; }
.miq-returns-request-page .miq-req-success-circle {
    width: 80px; height: 80px; border-radius: 50%;
    background: var(--miq-good-soft); color: var(--miq-good);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    animation: miq-success-bump .5s cubic-bezier(.5,1.5,.5,1);
}
@keyframes miq-success-bump {
    0%{transform:scale(0)} 50%{transform:scale(1.1)} 100%{transform:scale(1)}
}
.miq-returns-request-page .miq-req-success-state h2 {
    font-family: 'Lato', sans-serif !important;
    font-weight: 900 !important; font-size: 26px !important;
    color: var(--miq-navy) !important; margin: 0 0 8px !important;
    letter-spacing: -0.3px !important;
}
.miq-returns-request-page .miq-req-success-state p {
    color: var(--miq-muted); font-size: 15px;
    max-width: 460px; margin: 0 auto 8px;
}
.miq-returns-request-page .miq-req-success-state p strong { color: var(--miq-navy); }
.miq-returns-request-page .miq-req-success-ref {
    margin-top: 20px;
    background: var(--miq-teal-soft);
    border: 1px solid rgba(4,161,184,.25);
    border-radius: 10px;
    padding: 14px 18px;
    display: inline-flex; align-items: center; gap: 12px;
}
.miq-returns-request-page .miq-req-success-ref-label {
    font-size: 11.5px; font-weight: 700;
    color: var(--miq-teal-dark);
    text-transform: uppercase; letter-spacing: .08em;
}
.miq-returns-request-page .miq-req-success-ref-value {
    font-family: 'Lato', sans-serif;
    font-weight: 800; color: var(--miq-navy); font-size: 15px;
}
.miq-returns-request-page .miq-req-success-actions { margin-top: 24px; }

/* Step footer */
.miq-returns-request-page .miq-req-step-footer {
    margin-top: 26px; padding-top: 22px;
    border-top: 1px solid var(--miq-line-soft);
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
}
.miq-returns-request-page .miq-req-step-back {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--miq-muted); text-decoration: none;
    font-size: 14px; font-weight: 600;
    padding: 12px 14px; border-radius: 9px;
    transition: background .15s, color .15s;
    background: transparent; border: none;
    cursor: pointer; font-family: inherit;
}
.miq-returns-request-page .miq-req-step-back:hover {
    background: var(--miq-line-soft); color: var(--miq-navy);
}
.miq-returns-request-page .miq-req-step-next {
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--miq-teal); color: #fff; border: none;
    font-family: 'Lato', sans-serif; font-weight: 800;
    font-size: 15px; padding: 14px 26px;
    border-radius: 11px; cursor: pointer;
    transition: background .15s, transform .15s, box-shadow .15s;
    box-shadow: 0 8px 18px -4px rgba(4,161,184,.4), 0 2px 4px rgba(4,161,184,.2);
}
.miq-returns-request-page .miq-req-step-next:hover:not(:disabled) {
    background: var(--miq-teal-dark); transform: translateY(-1px);
}
.miq-returns-request-page .miq-req-step-next:disabled {
    background: var(--miq-line); color: var(--miq-muted);
    cursor: not-allowed; box-shadow: none;
}
.miq-returns-request-page .miq-req-step-next svg { transition: transform .15s; }
.miq-returns-request-page .miq-req-step-next:hover:not(:disabled) svg { transform: translateX(3px); }

/* Submit button spinner */
.miq-returns-request-page .miq-req-submit-spinner {
    display: inline-block;
    width: 14px; height: 14px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: miq-req-spin 0.7s linear infinite;
}
@keyframes miq-req-spin { to { transform: rotate(360deg); } }

/* Start over link */
.miq-returns-request-page .miq-req-start-over-link {
    color: var(--miq-muted);
    font-size: 12.5px;
    text-decoration: underline;
    cursor: pointer;
    background: none; border: none;
    padding: 0; font-family: inherit;
}
.miq-returns-request-page .miq-req-start-over-link:hover { color: var(--miq-danger); }

/* Side overview */
.miq-returns-request-page .miq-req-side-overview {
    background: #fff;
    border: 1px solid var(--miq-line);
    border-radius: 14px;
    padding: 22px;
    position: sticky;
    top: 20px;
}
.miq-returns-request-page .miq-req-side-label {
    font-size: 11.5px; font-weight: 700;
    color: var(--miq-muted);
    text-transform: uppercase; letter-spacing: .1em;
    margin-bottom: 14px;
}
.miq-returns-request-page .miq-req-side-empty {
    text-align: center; padding: 28px 8px;
    color: var(--miq-muted);
}
.miq-returns-request-page .miq-req-side-empty svg {
    color: var(--miq-line); margin-bottom: 10px;
}
.miq-returns-request-page .miq-req-side-empty-text {
    font-size: 13px; line-height: 1.45;
}

.miq-returns-request-page .miq-req-side-order-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px; padding-bottom: 14px;
    border-bottom: 1px solid var(--miq-line-soft);
}
.miq-returns-request-page .miq-req-side-order-ref {
    font-family: 'Lato', sans-serif; font-weight: 800;
    color: var(--miq-navy); font-size: 14px;
}
.miq-returns-request-page .miq-req-side-order-date {
    font-size: 12px; color: var(--miq-muted); margin-top: 2px;
}
.miq-returns-request-page .miq-req-side-change {
    color: var(--miq-teal-dark); text-decoration: none;
    font-weight: 700; font-size: 13px;
    background: none; border: none; padding: 0;
    cursor: pointer; font-family: inherit;
}
.miq-returns-request-page .miq-req-side-change:hover { color: var(--miq-teal); }

.miq-returns-request-page .miq-req-side-items-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 12px;
}
.miq-returns-request-page .miq-req-side-item {
    display: flex; align-items: flex-start; gap: 10px;
}
.miq-returns-request-page .miq-req-side-item-thumb {
    width: 38px; height: 38px; border-radius: 7px;
    background: linear-gradient(135deg, #F4F0E8 0%, #E0D9CC 100%);
    color: var(--miq-muted);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Lato', sans-serif;
    font-weight: 900; font-size: 9px;
    flex-shrink: 0;
}
.miq-returns-request-page .miq-req-side-item-thumb.t-dark { background: linear-gradient(135deg, #2A3F52 0%, #15263A 100%); color: rgba(255,255,255,.6); }
.miq-returns-request-page .miq-req-side-item-thumb.t-black { background: linear-gradient(135deg, #3D3D3D 0%, #1E1E1E 100%); color: rgba(255,255,255,.6); }
.miq-returns-request-page .miq-req-side-item-info { flex: 1; min-width: 0; }
.miq-returns-request-page .miq-req-side-item-name {
    font-size: 12.5px; font-weight: 700;
    color: var(--miq-navy); line-height: 1.3; margin: 0 0 3px;
}
.miq-returns-request-page .miq-req-side-item-meta {
    font-size: 11px; color: var(--miq-muted); line-height: 1.4;
}

.miq-returns-request-page .miq-req-side-window {
    margin-top: 16px;
    background: var(--miq-good-soft);
    border: 1px solid rgba(43,174,106,.25);
    border-radius: 10px;
    padding: 12px 14px;
}
.miq-returns-request-page .miq-req-side-window-row { display: flex; align-items: center; gap: 10px; }
.miq-returns-request-page .miq-req-side-window-icon {
    width: 32px; height: 32px;
    background: #fff; border-radius: 8px;
    color: var(--miq-good);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.miq-returns-request-page .miq-req-side-window-text {
    font-size: 12.5px; color: #1e6b3a; line-height: 1.35;
}
.miq-returns-request-page .miq-req-side-window-text strong { font-weight: 800; color: #15803D; }

.miq-returns-request-page .miq-req-side-help {
    margin-top: 16px; padding-top: 16px;
    border-top: 1px solid var(--miq-line-soft);
    font-size: 12.5px; color: var(--miq-muted); line-height: 1.5;
}
.miq-returns-request-page .miq-req-side-help a {
    color: var(--miq-teal-dark); text-decoration: none; font-weight: 700;
}

/* Start-over modal */
.miq-returns-request-page .miq-req-modal-backdrop {
    position: fixed; inset: 0;
    background: rgba(0,15,30,.55);
    display: none;
    align-items: center; justify-content: center;
    z-index: 100;
    animation: miq-req-fade-in .15s ease;
}
.miq-returns-request-page .miq-req-modal-backdrop.show { display: flex; }
@keyframes miq-req-fade-in { from { opacity: 0 } to { opacity: 1 } }
.miq-returns-request-page .miq-req-modal-box {
    background: #fff;
    border-radius: 14px;
    max-width: 440px;
    width: calc(100% - 32px);
    padding: 28px 28px 22px;
    text-align: center;
    box-shadow: 0 30px 60px -10px rgba(0,15,30,.4);
    animation: miq-req-pop-in .2s cubic-bezier(.5,1.5,.5,1);
}
@keyframes miq-req-pop-in { from { transform: scale(.9); opacity: 0 } to { transform: scale(1); opacity: 1 } }
.miq-returns-request-page .miq-req-modal-icon {
    width: 60px; height: 60px;
    background: var(--miq-danger-soft);
    color: var(--miq-danger);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.miq-returns-request-page .miq-req-modal-box h3 {
    font-family: 'Lato', sans-serif !important;
    font-weight: 900 !important; font-size: 19px !important;
    color: var(--miq-navy) !important; margin: 0 0 8px !important;
}
.miq-returns-request-page .miq-req-modal-box p {
    color: var(--miq-muted); font-size: 14px;
    margin: 0 0 22px; line-height: 1.55;
}
.miq-returns-request-page .miq-req-modal-actions {
    display: flex; gap: 10px; justify-content: center;
}
.miq-returns-request-page .miq-req-modal-btn {
    padding: 11px 22px;
    border-radius: 9px;
    font-family: inherit; font-weight: 700;
    font-size: 14px; cursor: pointer;
    transition: all .15s;
}
.miq-returns-request-page .miq-req-modal-btn-cancel {
    background: #fff;
    border: 1.5px solid var(--miq-line);
    color: var(--miq-navy);
}
.miq-returns-request-page .miq-req-modal-btn-cancel:hover { border-color: var(--miq-muted); }
.miq-returns-request-page .miq-req-modal-btn-confirm {
    background: var(--miq-danger);
    border: 1.5px solid var(--miq-danger);
    color: #fff;
}
.miq-returns-request-page .miq-req-modal-btn-confirm:hover { background: #B84539; }

/* Responsive */
@media (max-width: 960px) {
    .miq-returns-request-page .miq-req-wrap { grid-template-columns: 1fr; }
    .miq-returns-request-page .miq-req-side-overview { position: static; }
}
@media (max-width: 640px) {
    .miq-returns-request-page .miq-req-top,
    .miq-returns-request-page .miq-req-progress { padding-left: 18px; padding-right: 18px; }
    .miq-returns-request-page .miq-req-wrap { padding: 22px 18px; }
    .miq-returns-request-page .miq-req-step-card { padding: 24px 22px; }
    .miq-returns-request-page .miq-req-progress-steps::after { left: 18px; }
    .miq-returns-request-page .miq-req-progress-steps::before { left: 18px; right: 18px; }
    .miq-returns-request-page .miq-req-prog-label { font-size: 10px; }
    .miq-returns-request-page .miq-req-order-row { gap: 12px; padding: 14px 16px; }
    .miq-returns-request-page .miq-req-order-window { display: none; }
}
</content>
