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

/* Buttons */
.fmm-ph-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(--ph-ink); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s;
}
.fmm-ph-btn--yellow { background: var(--ph-yellow); }
.fmm-ph-btn--yellow:hover { background: #F5B10C; }
.fmm-ph-btn--white { background: #fff; border-color: var(--ph-line); }
.fmm-ph-btn--white:hover { border-color: var(--ph-ink); }
.fmm-ph-btn--ghost { background: #2A2A2A; color: #fff; border-color: #444; }
.fmm-ph-btn--ghost:hover { border-color: #888; }

/* Hero */
.fmm-ph-hero { background: var(--ph-cream); padding: 72px 0 84px; }
.fmm-ph-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 500px; gap: 64px; align-items: center; }
.fmm-ph-pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
    background: #fff; border: 1px solid #F3DFA6; font-size: 13px; font-weight: 700;
}
.fmm-ph-pill svg { width: 14px; height: 14px; color: var(--ph-yellow); }
.fmm-ph-hero h1 { margin: 24px 0 22px; font-size: 46px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
.fmm-ph-hero h1 em { font-style: normal; color: var(--ph-yellow); }
.fmm-ph-hero > .fmm-ph-wrap p, .fmm-ph-hero__grid > div > p { margin: 0 0 30px; max-width: 560px; font-size: 17px; line-height: 1.6; color: #555; }
.fmm-ph-hero__acts { display: flex; flex-wrap: wrap; gap: 14px; }
.fmm-ph-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 26px; margin: 28px 0 0; padding: 0; font-size: 14px; color: #555; }
.fmm-ph-trust li { display: inline-flex; align-items: center; gap: 8px; }
.fmm-ph-trust i { display: inline-flex; width: 16px; height: 16px; }
.fmm-ph-trust i svg { width: 100%; height: 100%; }
.fmm-ph-trust .is-green { color: #16A34A; border: 1.5px dashed #16A34A; border-radius: 50%; padding: 2px; width: 18px; height: 18px; }
.fmm-ph-trust .is-grey { color: #777; }
.fmm-ph-hero__media { position: relative; }
.fmm-ph-hero__media img { display: block; width: 100%; height: auto; aspect-ratio: 500 / 390; object-fit: cover; border-radius: 20px; }
.fmm-ph-hero__badge {
    position: absolute; left: -24px; bottom: -22px; display: flex; align-items: center; gap: 12px;
    padding: 14px 18px; background: #fff; border: 1px solid var(--ph-line); border-radius: 14px;
    box-shadow: 0 10px 30px rgba(17, 17, 17, .08);
}
.fmm-ph-hero__badge > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #E8F7EE; color: #16A34A; }
.fmm-ph-hero__badge > span svg { width: 18px; height: 18px; }
.fmm-ph-hero__badge b { display: block; font-size: 15px; }
.fmm-ph-hero__badge em { display: block; font-style: normal; font-size: 13px; color: var(--ph-muted); margin-top: 2px; }

/* Sections */
.fmm-ph-sec { padding: 96px 0; background: #fff; }
.fmm-ph-sec--grey { background: var(--ph-grey); scroll-margin-top: 70px; }
.fmm-ph-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.fmm-ph-head > span { display: block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ph-yellow); }
.fmm-ph-head h2 { margin: 14px 0 0; font-size: 36px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.fmm-ph-head p { margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: var(--ph-muted); }

/* Problem cards */
.fmm-ph-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fmm-ph-card {
    display: flex; flex-direction: column; align-items: flex-start; text-align: left;
    padding: 27px; border: 1px solid #EFEFEF; border-radius: 16px; background: var(--ph-grey);
    font-family: inherit; color: inherit; cursor: pointer; transition: border-color .15s, background .15s, transform .15s;
}
.fmm-ph-card:hover { border-color: var(--ph-yellow); background: #fff; transform: translateY(-2px); }
.fmm-ph-card i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--ph-cream); color: var(--ph-yellow); margin-bottom: 28px; }
.fmm-ph-card i svg { width: 100%; height: 100%; }
.fmm-ph-card b { font-size: 19px; font-weight: 600; }
.fmm-ph-card span { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--ph-muted); }

/* Troubleshooter */
.fmm-ph-tool { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 36px; padding: 36px; background: #fff; border: 1px solid var(--ph-line); border-radius: 20px; }
.fmm-ph-tool__list { display: grid; gap: 14px; align-content: start; }
.fmm-ph-tool__list button {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 19px 22px; border: 1px solid var(--ph-line); border-radius: 12px; background: #fff;
    font-family: inherit; font-size: 16px; font-weight: 700; color: var(--ph-ink); text-align: left; cursor: pointer;
    transition: border-color .15s, background .15s;
}
.fmm-ph-tool__list button svg { flex-shrink: 0; color: #999; }
.fmm-ph-tool__list button:hover { border-color: #CFCFCF; }
.fmm-ph-tool__list button.is-on { background: #FFFBEB; border: 2px solid var(--ph-yellow); padding: 18px 21px; }
.fmm-ph-tool__list button.is-on svg { color: var(--ph-yellow); }
.fmm-ph-tool__panel { padding: 34px; border-radius: 16px; background: var(--ph-grey); }
.fmm-ph-tool__panel h3 { margin: 0 0 26px; font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.fmm-ph-tool__panel ol { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 20px; }
.fmm-ph-tool__panel li { display: flex; gap: 14px; font-size: 15px; line-height: 1.55; color: #444; }
.fmm-ph-tool__panel li i {
    display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
    background: var(--ph-yellow); font-style: normal; font-size: 13px; font-weight: 700; color: var(--ph-ink); margin-top: -2px;
}

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

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

/* Tablet */
@media (max-width: 1060px) {
    .fmm-ph-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 40px; }
    .fmm-ph-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fmm-ph-tool { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .fmm-ph-hero__grid { grid-template-columns: 1fr; }
    .fmm-ph-hero__media { max-width: 560px; }
    .fmm-ph-hero__badge { left: 12px; }
    .fmm-ph-help__grid { flex-direction: column; align-items: flex-start; }
}

/* Phone */
@media (max-width: 560px) {
    .fmm-ph-wrap { padding: 0 16px; }
    .fmm-ph-hero { padding: 40px 0 56px; }
    .fmm-ph-hero h1 { font-size: 32px; margin: 18px 0 16px; }
    .fmm-ph-hero__grid > div > p { font-size: 15px; margin-bottom: 24px; }
    .fmm-ph-hero__acts { flex-direction: column; }
    .fmm-ph-hero__acts .fmm-ph-btn { width: 100%; }
    .fmm-ph-trust { gap: 14px; margin-top: 22px; font-size: 13px; }
    .fmm-ph-hero__badge { left: 12px; bottom: -20px; padding: 12px 14px; }
    .fmm-ph-sec { padding: 56px 0; }
    .fmm-ph-head { margin-bottom: 32px; }
    .fmm-ph-head h2 { font-size: 26px; }
    .fmm-ph-head p { font-size: 15px; }
    .fmm-ph-cards { grid-template-columns: 1fr; gap: 14px; }
    .fmm-ph-card { padding: 20px; }
    .fmm-ph-card i { margin-bottom: 16px; }
    .fmm-ph-card b { font-size: 17px; }
    .fmm-ph-tool { padding: 18px; gap: 20px; }
    .fmm-ph-tool__list button { padding: 15px 16px; font-size: 15px; }
    .fmm-ph-tool__list button.is-on { padding: 14px 15px; }
    .fmm-ph-tool__panel { padding: 20px 16px; }
    .fmm-ph-tool__panel h3 { font-size: 20px; margin-bottom: 18px; }
    .fmm-ph-faq { border-radius: 18px; }
    .fmm-ph-faq button { padding: 16px 18px; font-size: 15px; }
    .fmm-ph-faq p { margin: -2px 18px 16px; font-size: 14px; }
    .fmm-ph-help { padding: 44px 0; }
    .fmm-ph-help h2 { font-size: 25px; }
    .fmm-ph-help__acts { width: 100%; flex-direction: column; }
    .fmm-ph-help .fmm-ph-btn { width: 100%; }
}
