.jd-site-footer .jd-footer-disclosure summary {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    list-style: none;
}

.jd-site-footer .jd-footer-disclosure summary::-webkit-details-marker { display: none; }
.jd-site-footer .jd-footer-disclosure summary,
.jd-site-footer .jd-footer-description-body p {
    font-size: .875rem;
    line-height: 1.9;
    color: var(--jd-muted);
}

.jd-site-footer .jd-footer-preview {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.jd-site-footer .jd-footer-disclosure:not([open]) .jd-footer-collapse-label,
.jd-site-footer .jd-footer-disclosure[open] .jd-footer-preview { display: none; }

.jd-site-footer .jd-footer-chevron {
    flex: 0 0 8px;
    height: 8px;
    border: solid currentColor;
    border-width: 0 0 1.5px 1.5px;
    rotate: -45deg;
    margin-inline-end: 5px;
}

.jd-site-footer .jd-footer-disclosure[open] .jd-footer-chevron { rotate: 135deg; }
.jd-site-footer .jd-footer-description-body p { margin-block: 4px 12px; }

.jd-site-footer .jd-footer-app {
    display: grid;
    justify-items: center;
    gap: 8px;
    max-inline-size: 100%;
    text-align: center;
}

.jd-site-footer .jd-footer-app:has(.jd-install[hidden]) { display: none; }
.jd-site-footer .jd-footer-app .jd-install {
    border-radius: var(--jd-radius-md);
    padding-inline: 16px;
    font-size: .875rem;
}
.jd-site-footer .jd-footer-app .jd-install svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}
.jd-site-footer .jd-footer-app .jd-install-help {
    margin: 0;
    font-size: .8125rem;
    line-height: 1.75;
    color: var(--jd-muted);
}

@media (min-width: 801px) {
    body .jd-site-footer .jd-footer-trust-row:has(.jd-install) {
        display: flex !important;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 14px;
        margin-block: 16px;
    }

    .jd-site-footer .jd-footer-trust-row:has(.jd-install) > .elementor-widget {
        width: auto !important;
        max-width: 100%;
    }

    .jd-site-footer .jd-footer-trust-row .jd-footer-app {
        padding: 16px 18px;
        border: 1px solid var(--jd-line);
        border-radius: var(--jd-radius-md);
        background: var(--jd-glass-soft);
    }

    .jd-site-footer .jd-footer-trust-row .jd-trust-badges { margin-block: 0; }
}
