
/* ==========================================================================
   Definitive Footer Layout (Desktop Fig 2 / Mobile Fig 4)
   ========================================================================== */
.site-footer {
    background-color: #121212 !important;
    border-top: 1px solid #1f1f1f !important;
    padding: 80px 0 40px 0 !important;
    color: #a3a3a3 !important;
}

.site-footer .footer-content-wrap {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
}

.site-footer .footer-top-grid {
    display: grid !important;
    grid-template-columns: 1.8fr 0.85fr 1.1fr 0.85fr 1.15fr minmax(165px, 1.45fr) minmax(180px, 1.4fr) !important;
    gap: 22px !important;
    margin-bottom: 48px !important;
}

.site-footer .footer-customer-service-col {
    min-width: 180px !important;
}

.site-footer .footer-customer-service-col .footer-service-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin-bottom: 18px !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.site-footer .footer-email-label {
    font-size: 14px !important;
    color: #a1a1aa !important;
    margin: 0 0 4px 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.site-footer .footer-email-link {
    font-size: 14px !important;
    color: #ffffff !important;
    text-decoration: underline !important;
    margin-bottom: 20px !important;
    display: inline-block !important;
}

.site-footer .footer-follow-btn {
    background-color: #5844ff !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    border-radius: 9999px !important;
    padding: 10px 22px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    width: fit-content !important;
    flex-shrink: 0 !important;
    border: none !important;
    outline: none !important;
    transition: background-color 0.2s ease !important;
}

.site-footer .footer-follow-btn span {
    white-space: nowrap !important;
}

.site-footer .footer-follow-btn svg,
.site-footer .footer-follow-btn i {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0 !important;
}

.site-footer .footer-follow-btn:hover {
    background-color: #4a34ea !important;
}

/* ==========================================================================
   Footer App & Desktop Download Buttons Styling - NO BORDER, WITH QR TOOLTIP
   ========================================================================== */
.site-footer .footer-btn-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* App Store / Google Play / Android APK badges */
.site-footer .footer-app-badge-link {
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    overflow: visible !important;
    position: relative !important;
    background-color: #1c1c1c !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    width: fit-content !important;
    height: 35px !important;
    box-sizing: border-box !important;
    transition: transform 0.2s ease, background-color 0.2s ease !important;
}

.site-footer .footer-app-badge-link img {
    height: 35px !important;
    width: auto !important;
    display: block !important;
    border-radius: 6px !important;
    border: none !important;
}

.site-footer .footer-app-badge-link:hover {
    transform: translateY(-1.5px) !important;
    background-color: #282828 !important;
    border: none !important;
}

/* QR Code Tooltip on Hover */
.site-footer .footer-app-badge-link .qr-tooltip {
    position: absolute !important;
    bottom: calc(100% + 10px) !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(4px) !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28) !important;
    padding: 10px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
    z-index: 1000 !important;
    pointer-events: none !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.site-footer .footer-app-badge-link .qr-tooltip::after {
    content: '' !important;
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-width: 6px !important;
    border-style: solid !important;
    border-color: #ffffff transparent transparent transparent !important;
}

.site-footer .footer-app-badge-link:hover .qr-tooltip {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
}

.site-footer .qr-placeholder {
    width: 90px !important;
    height: 90px !important;
    background: #f8fafc !important;
    border: 2px dashed #cbd5e1 !important;
    border-radius: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
    color: #475569 !important;
    font-weight: 600 !important;
    text-align: center !important;
    line-height: 1.25 !important;
    box-sizing: border-box !important;
}

/* Desktop Download Buttons (Windows / macOS) - NO BORDER, FULL TEXT VISIBLE */
.site-footer .footer-desktop-badge-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background-color: #1c1c1c !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 6px !important;
    height: 35px !important;
    padding: 0 12px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    width: fit-content !important;
    min-width: 162px !important;
    max-width: 100% !important;
    transition: transform 0.2s ease, background-color 0.2s ease !important;
}

.site-footer .footer-desktop-badge-btn .footer-btn-left {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    white-space: nowrap !important;
    overflow: visible !important;
    flex-shrink: 0 !important;
}

.site-footer .footer-desktop-badge-btn .footer-btn-left span {
    font-size: 11.5px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    white-space: nowrap !important;
    overflow: visible !important;
    letter-spacing: -0.01em !important;
}

.site-footer .footer-desktop-badge-btn .footer-os-icon {
    width: 13px !important;
    height: 13px !important;
    flex-shrink: 0 !important;
    color: #ffffff !important;
}

.site-footer .footer-desktop-badge-btn .footer-dl-icon {
    width: 13px !important;
    height: 13px !important;
    flex-shrink: 0 !important;
    color: #a1a1aa !important;
    margin-left: 10px !important;
    transition: color 0.2s ease !important;
}

.site-footer .footer-desktop-badge-btn:hover {
    background-color: #282828 !important;
    border: none !important;
    transform: translateY(-1.5px) !important;
}

.site-footer .footer-desktop-badge-btn:hover .footer-dl-icon {
    color: #ffffff !important;
}

/* ==========================================================================
   Footer Bottom Flex & Dividers
   ========================================================================== */
.site-footer hr.footer-divider {
    border: 0 !important;
    border-top: 1px solid #1f1f1f !important;
    margin: 0 0 32px 0 !important;
    width: 100% !important;
}

.site-footer .footer-bottom-flex {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
    margin-top: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.site-footer .footer-bottom-left {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    align-items: flex-start !important;
}

.site-footer .footer-bottom-right {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
}

.site-footer .footer-socials {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 18px !important;
    align-items: center !important;
}

.site-footer .footer-socials a {
    color: #ffffff !important;
    opacity: 0.85 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
}

.site-footer .footer-socials a:hover {
    opacity: 1 !important;
    transform: translateY(-1px) !important;
}

.site-footer .footer-socials .social-svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
}

.site-footer .footer-copyright-area {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    align-items: flex-start !important;
    text-align: left !important;
}

.site-footer .copyright-text {
    font-size: 13px !important;
    color: #a1a1aa !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

.site-footer .footer-policy-links {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

.site-footer .footer-policy-links a {
    font-size: 13px !important;
    color: #a1a1aa !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.site-footer .footer-policy-links a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

.site-footer .footer-policy-links span {
    font-size: 10px !important;
    color: #71717a !important;
}

.site-footer .footer-payment-icons {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
}

.site-footer .footer-payment-icons img {
    width: 38px !important;
    height: 24px !important;
    display: block !important;
    border-radius: 4px !important;
    object-fit: contain !important;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 !important;
    }

    .site-footer .footer-top-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        margin-bottom: 24px !important;
    }

    .site-footer hr.footer-divider {
        display: none !important;
    }

    /* Mobile: Enlarged App & Desktop Download Badges */
    .site-footer .footer-btn-list {
        gap: 12px !important;
        padding-top: 12px !important;
        padding-bottom: 20px !important;
    }

    .site-footer .footer-app-badge-link {
        height: 44px !important;
        border-radius: 8px !important;
    }

    .site-footer .footer-app-badge-link img {
        height: 44px !important;
        border-radius: 8px !important;
    }

    .site-footer .footer-app-badge-link .qr-tooltip {
        display: none !important;
    }

    .site-footer .footer-desktop-badge-btn {
        height: 44px !important;
        border-radius: 8px !important;
        min-width: 175px !important;
        max-width: 200px !important;
        padding: 0 14px !important;
    }

    .site-footer .footer-desktop-badge-btn .footer-btn-left {
        gap: 10px !important;
    }

    .site-footer .footer-desktop-badge-btn .footer-btn-left span {
        font-size: 13px !important;
    }

    .site-footer .footer-desktop-badge-btn .footer-os-icon {
        width: 15px !important;
        height: 15px !important;
    }

    .site-footer .footer-desktop-badge-btn .footer-dl-icon {
        width: 15px !important;
        height: 15px !important;
        margin-left: 12px !important;
    }

    .site-footer .footer-customer-service-col {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 24px 0 0 0 !important;
        margin: 0 !important;
        border-bottom: none !important;
        min-width: 0 !important;
    }

    .site-footer .footer-customer-service-col .footer-service-title {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        margin: 0 0 16px 0 !important;
        display: block !important;
    }

    .site-footer .footer-service-box {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }

    .site-footer .footer-service-box .footer-email-label {
        font-size: 14px !important;
        color: #a1a1aa !important;
        margin: 0 0 4px 0 !important;
    }

    .site-footer .footer-service-box .footer-email-link {
        font-size: 14px !important;
        color: #ffffff !important;
        text-decoration: underline !important;
        margin-bottom: 12px !important;
    }

    .site-footer .footer-service-box .footer-follow-btn {
        margin-bottom: 20px !important;
        white-space: nowrap !important;
    }

    .site-footer .footer-bottom-flex {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
        margin-top: 24px !important;
    }

    .site-footer .footer-bottom-left {
        display: contents !important;
    }

    .site-footer .footer-bottom-right {
        display: contents !important;
    }

    .site-footer .footer-socials {
        order: 1 !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 16px !important;
        align-items: center !important;
        margin-top: 0 !important;
        margin-bottom: 4px !important;
    }

    .site-footer .footer-payment-icons {
        order: 2 !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px 6px !important;
        justify-content: flex-start !important;
        margin-bottom: 4px !important;
    }

    .site-footer .footer-copyright-area {
        order: 3 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        align-items: flex-start !important;
    }

    .site-footer .footer-policy-links {
        gap: 6px !important;
    }

    .site-footer .footer-policy-links a {
        font-size: 12px !important;
    }

    .site-footer .copyright-text {
        font-size: 12px !important;
    }
}
