/* 앱 다운로드 (downloads.php): 넓으면 왼쪽 글·스토어 버튼 | 오른쪽 QR, 좁으면 위아래 (QR 은 가는 선 아래에 QR + 설명 가로로)
   문자·이메일 안내의 링크로 여러 기기에서 열리므로 어느 폭에서도 QR 을 보여줌 (다른 휴대폰으로 찍어 설치) */
.downloads-page {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 56px;
    padding-bottom: 88px;
}

.downloads-eyebrow {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--payper-main-accent-color);
}

.downloads-title {
    font-size: 30px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.downloads-title {
    margin-bottom: 32px;
}

/* 스토어에서 찾는 이름 (QR·버튼을 못 쓸 때) */
.downloads-search {
    margin-top: 20px;
    font-size: 18px;
    color: var(--payper-sub-text-color);
}

.downloads-search strong {
    font-weight: 700;
    color: var(--payper-main-active-color);
}

.downloads-qr {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding-top: 28px;
    border-top: 1px solid var(--site-border-color);
}

.downloads-qr img {
    display: block;
    flex: none;
    width: 160px;
    height: 160px;
    padding: 10px;
    border: 1px solid var(--site-border-color);
    border-radius: 14px;
    background: #fff;
}

.downloads-qr figcaption {
    max-width: 220px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--payper-sub-text-color);
}

@media (min-width: 768px) {
    .downloads-page {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-top: 96px;
        padding-bottom: 120px;
    }

    .downloads-title {
        font-size: 40px;
    }

    /* 넓은 화면: 오른쪽에 QR 위, 설명 아래 (선 없음) */
    .downloads-qr {
        flex: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-top: 0;
        border-top: 0;
    }

    .downloads-qr img {
        width: 240px;
        height: 240px;
        padding: 14px;
        border-radius: 16px;
    }

    .downloads-qr figcaption {
        max-width: 240px;
        font-size: 14px;
    }
}
