/* ============================================================
   App Download Buttons — Frontend
   Author: Ricardo Ustariz  |  v1.1.0
   ============================================================ */

.adb-container {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    align-items: center;
    margin: 40px 0 24px;
    padding: 0;
    clear: both;
}

.adb-badge-link {
    display: inline-block;
    line-height: 0;
    border: none;
    background: none;
    padding: 0;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.adb-badge-link:hover,
.adb-badge-link:focus {
    opacity: 0.85;
    transform: translateY(-2px);
    outline: 2px solid #888;
    outline-offset: 3px;
    border-radius: 10px;
}

/* Badge SVG dimensions */
.adb-badge-link svg {
    display: block;
    height: 58px;
    width: auto;
}

/* ── Responsive ── */
@media ( max-width: 520px ) {
    .adb-container {
        flex-direction: column;
        align-items: center;
    }
    .adb-badge-link svg {
        height: 50px;
    }
}

/* ── Footer Bar (wp_footer injection) ── */
.adb-footer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.06);
    padding: 10px 16px;
    transition: transform 0.3s ease;
}

.adb-footer-bar .adb-container {
    margin: 0;
    gap: 14px;
}

.adb-footer-bar .adb-badge-link svg {
    height: 44px;
}

@media ( max-width: 520px ) {
    .adb-footer-bar .adb-badge-link svg {
        height: 38px;
    }
}
