/*
 * Returns page — Figma "FlymyMall Footer Pages (2)".
 * Desktop frame 1440 wide, 1040 content column.
 */
.fmm-ri {
    --ri-ink: #111111;
    --ri-muted: #6B6B6B;
    --ri-line: #E7E7E7;
    --ri-yellow: #FBBF24;
    --ri-cream: #FEF8E1;
    --ri-grey: #F8F8F8;
    color: var(--ri-ink);
}
.fmm-ri *, .fmm-ri *::before, .fmm-ri *::after { box-sizing: border-box; }
.fmm-ri-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.fmm-ri-wrap--narrow { max-width: 780px; }

/* Buttons */
.fmm-ri-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 45px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent;
    font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap;
    color: var(--ri-ink); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s;
}
.fmm-ri-btn--dark { background: var(--ri-ink); color: #fff; }
.fmm-ri-btn--dark:hover { background: #2B2B2B; }
.fmm-ri-btn--white { background: #fff; border-color: var(--ri-line); }
.fmm-ri-btn--white:hover { border-color: var(--ri-ink); }
.fmm-ri-btn--yellow { background: var(--ri-yellow); }
.fmm-ri-btn--yellow:hover { background: #F5B10C; }
.fmm-ri-btn--ghost { background: #2A2A2A; color: #fff; border-color: #444; }
.fmm-ri-btn--ghost:hover { border-color: #888; }
.fmm-ri-center { text-align: center; margin-top: 56px; }

/* Hero */
.fmm-ri-hero { background: var(--ri-cream); padding: 88px 0 96px; }
.fmm-ri-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 533px; gap: 64px; align-items: center; }
.fmm-ri-pill { display: inline-block; padding: 8px 14px; border-radius: 999px; background: #FAEBC8; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.fmm-ri-hero h1 { margin: 24px 0 26px; font-size: 48px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.fmm-ri-hero p { margin: 0 0 36px; max-width: 560px; font-size: 18px; line-height: 1.6; color: #555; }
.fmm-ri-hero__acts { display: flex; flex-wrap: wrap; gap: 14px; }
.fmm-ri-hero__grid > img { display: block; width: 100%; height: auto; aspect-ratio: 533 / 420; object-fit: cover; border-radius: 20px; }

/* Sections */
.fmm-ri-sec { padding: 96px 0; background: #fff; }
.fmm-ri-sec--grey { background: var(--ri-grey); scroll-margin-top: 70px; }
#request-return { scroll-margin-top: 70px; }
.fmm-ri-head { max-width: 720px; margin-bottom: 56px; }
.fmm-ri-head > span { display: block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ri-yellow); }
.fmm-ri-head h2 { margin: 14px 0 0; font-size: 38px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.fmm-ri-head p { margin: 18px 0 0; font-size: 17px; line-height: 1.6; color: var(--ri-muted); }

/* How returns work */
.fmm-ri-work { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.fmm-ri-work article { padding: 27px; border: 1px solid #EFEFEF; border-radius: 16px; background: var(--ri-grey); }
.fmm-ri-work i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--ri-yellow); color: var(--ri-ink); margin-bottom: 30px; }
.fmm-ri-work i svg { width: 100%; height: 100%; }
.fmm-ri-work b { display: block; font-size: 17px; font-weight: 700; line-height: 1.3; }
.fmm-ri-work span { display: block; margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--ri-muted); }

/* Eligibility */
.fmm-ri-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fmm-ri-cases article { border-radius: 14px; background: #fff; box-shadow: 0 1px 3px rgba(17, 17, 17, .07); overflow: hidden; }
.fmm-ri-cases img { display: block; width: 100%; height: auto; aspect-ratio: 500 / 335; object-fit: cover; }
.fmm-ri-cases article > div { padding: 23px; }
.fmm-ri-cases b { display: block; font-size: 18px; font-weight: 700; }
.fmm-ri-cases span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--ri-muted); }
.fmm-ri-note {
    display: flex; gap: 14px; align-items: flex-start; margin-top: 40px; padding: 23px 27px;
    border: 1px solid #F3DFA6; border-radius: 14px; background: #FDF6DF;
}
.fmm-ri-note i { flex-shrink: 0; width: 20px; height: 20px; color: #E3A008; margin-top: 2px; }
.fmm-ri-note i svg { width: 100%; height: 100%; }
.fmm-ri-note p { margin: 0; font-size: 15px; line-height: 1.6; color: #4B4B4B; }

/* Retailer vs private */
.fmm-ri-sellers { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.fmm-ri-sellers article { border: 1px solid var(--ri-line); border-radius: 16px; overflow: hidden; background: #fff; }
.fmm-ri-sellers img { display: block; width: 100%; height: auto; aspect-ratio: 775 / 310; object-fit: cover; }
.fmm-ri-sellers__body { padding: 31px; }
.fmm-ri-sellers h3 { display: flex; align-items: center; gap: 16px; margin: 0 0 24px; font-size: 22px; font-weight: 700; }
.fmm-ri-sellers h3 i { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; }
.fmm-ri-sellers h3 i svg { width: 100%; height: 100%; }
.fmm-ri-sellers h3 i.is-yellow { background: var(--ri-yellow); color: var(--ri-ink); }
.fmm-ri-sellers h3 i.is-dark { background: var(--ri-ink); color: var(--ri-yellow); }
.fmm-ri-sellers ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.fmm-ri-sellers li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.5; color: #333; }
.fmm-ri-sellers li svg { flex-shrink: 0; margin-top: 2px; }

/* Steps */
.fmm-ri-head--left { margin-bottom: 48px; }
.fmm-ri-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 64px; }
.fmm-ri-steps li { display: grid; grid-template-columns: 436px minmax(0, 1fr); gap: 56px; align-items: center; }
.fmm-ri-steps li:nth-child(even) { grid-template-columns: minmax(0, 1fr) 436px; }
.fmm-ri-steps li:nth-child(even) img { order: 2; }
.fmm-ri-steps img { display: block; width: 100%; height: auto; aspect-ratio: 436 / 224; object-fit: cover; border-radius: 14px; }
.fmm-ri-steps em { font-style: normal; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #D99E06; }
.fmm-ri-steps h3 { margin: 10px 0 0; font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.fmm-ri-steps li > div > p { margin: 12px 0 0; max-width: 460px; font-size: 15px; line-height: 1.65; color: var(--ri-muted); }
.fmm-ri-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 72px; }

/* Still need help */
.fmm-ri-help { background: #121212; color: #fff; padding: 56px 0; margin-bottom: -24px; /* touch the footer: .fmm-backtotop carries margin-top 24px */ }
.fmm-ri-help__grid { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.fmm-ri-help h2 { margin: 0; font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.fmm-ri-help p { margin: 12px 0 0; font-size: 17px; color: rgba(255, 255, 255, .6); }
.fmm-ri-help__acts { display: flex; flex-wrap: wrap; gap: 16px; }
.fmm-ri-help .fmm-ri-btn { height: 48px; padding: 0 24px; border-radius: 999px; }

/* FAQ */
.fmm-ri-faqs { display: grid; gap: 16px; }
.fmm-ri-faq { border: 1px solid #EFEFEF; border-radius: 14px; background: var(--ri-grey); }
.fmm-ri-faq button {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%;
    padding: 22px 26px; border: 0; background: none; text-align: left; cursor: pointer;
    font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--ri-ink);
}
.fmm-ri-faq button svg { flex-shrink: 0; color: #555; transition: transform .2s; }
.fmm-ri-faq.is-open button svg { transform: rotate(180deg); }
.fmm-ri-faq p { margin: -4px 26px 22px; font-size: 15px; line-height: 1.65; color: var(--ri-muted); }

/* Tablet */
@media (max-width: 1060px) {
    .fmm-ri-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 40px; }
    .fmm-ri-work { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fmm-ri-steps li, .fmm-ri-steps li:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 860px) {
    .fmm-ri-hero__grid { grid-template-columns: 1fr; }
    .fmm-ri-hero__grid > img { max-width: 560px; }
    .fmm-ri-cases { grid-template-columns: 1fr; max-width: 520px; }
    .fmm-ri-sellers { grid-template-columns: 1fr; }
    .fmm-ri-help__grid { flex-direction: column; align-items: flex-start; }
}

/* Phone */
@media (max-width: 560px) {
    .fmm-ri-wrap { padding: 0 16px; }
    .fmm-ri-hero { padding: 44px 0 56px; }
    .fmm-ri-hero h1 { font-size: 32px; margin: 18px 0 16px; }
    .fmm-ri-hero p { font-size: 15px; margin-bottom: 26px; }
    .fmm-ri-hero__acts { flex-direction: column; }
    .fmm-ri-hero__acts .fmm-ri-btn { width: 100%; }
    .fmm-ri-sec { padding: 56px 0; }
    .fmm-ri-head { margin-bottom: 32px; }
    .fmm-ri-head h2 { font-size: 27px; }
    .fmm-ri-head p { font-size: 15px; }
    .fmm-ri-work { grid-template-columns: 1fr; gap: 14px; }
    .fmm-ri-work article { padding: 20px; }
    .fmm-ri-work i { margin-bottom: 18px; }
    .fmm-ri-note { padding: 18px; margin-top: 28px; }
    .fmm-ri-sellers__body { padding: 22px 18px; }
    .fmm-ri-sellers h3 { font-size: 19px; }
    .fmm-ri-steps { gap: 40px; }
    .fmm-ri-steps li, .fmm-ri-steps li:nth-child(even) { grid-template-columns: 1fr; gap: 16px; }
    .fmm-ri-steps li:nth-child(even) img { order: 0; }
    .fmm-ri-steps h3 { font-size: 20px; }
    .fmm-ri-ctas { margin-top: 44px; }
    .fmm-ri-ctas .fmm-ri-btn { width: 100%; }
    .fmm-ri-center { margin-top: 36px; }
    .fmm-ri-center .fmm-ri-btn { width: 100%; }
    .fmm-ri-help { padding: 44px 0; }
    .fmm-ri-help h2 { font-size: 25px; }
    .fmm-ri-help p { font-size: 15px; }
    .fmm-ri-help__acts { width: 100%; flex-direction: column; }
    .fmm-ri-help .fmm-ri-btn { width: 100%; }
    .fmm-ri-faq button { padding: 17px 18px; font-size: 15px; }
    .fmm-ri-faq p { margin: -2px 18px 18px; font-size: 14px; }
}
