/* ============================================
   SHARED FOOTER STYLES
   Used by every page via <link rel="stylesheet" href="/partials/footer.css">
   so the footer looks and behaves identically everywhere from one file.

   Every rule below sets its own font-family/line-height explicitly
   rather than inheriting from the including page's <body> — otherwise
   the footer's spacing silently changes depending on which page it's
   on (e.g. product_page.php never sets a body line-height at all, so
   it falls back to the browser default ~1.15, while index.html
   inherits 1.6-1.8 from the global stylesheet — same footer.css,
   two different results). Self-contained means no surprises.
============================================ */

        .site-footer {
            position: relative;
            z-index: 1;
            background: #0d0d18;
            border-top: 1px solid rgba(108,99,255,0.12);
            margin-top: 3rem;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
        }
        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 3rem 2rem 0;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1.5fr;
            gap: 3rem;
            padding-bottom: 2.5rem;
            border-bottom: 1px solid rgba(108,99,255,0.08);
        }
        .footer-brand .footer-logo {
            display: flex;
            align-items: center;
            gap: 11px;
            text-decoration: none;
        }
        .footer-logo-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, #6c63ff, #ff6584);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            box-shadow: 0 0 20px rgba(108,99,255,0.3);
        }
        .footer-logo-text {
            font-size: 1.35rem;
            font-weight: 800;
            background: linear-gradient(135deg, #ffffff, #8b85ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .footer-brand p {
            color: #9898b8;
            font-size: 0.87rem;
            line-height: 1.5;
            margin: 0.9rem 0 1.3rem;
            max-width: 400px;
        }
        .footer-social {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }
        .footer-social a {
            width: 38px;
            height: 38px;
            background: rgba(108,99,255,0.08);
            border: 1px solid rgba(108,99,255,0.12);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #9898b8;
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 0.9rem;
        }
        .footer-social a:hover {
            background: rgba(108,99,255,0.15);
            border-color: #6c63ff;
            color: #6c63ff;
            transform: translateY(-3px);
        }
        .footer-social a:active {
            transform: scale(0.92);
        }
        .footer-col h4 {
            font-size: 0.9rem;
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: 1.2rem;
            color: #ffffff;
        }
        .footer-col ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.7rem;
        }
        .footer-col ul a {
            color: #9898b8;
            text-decoration: none;
            font-size: 0.85rem;
            line-height: 1.4;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 4px 0;
        }
        .footer-col ul a:hover {
            color: #6c63ff;
            transform: translateX(4px);
        }
        .footer-col ul a i {
            font-size: 0.65rem;
            opacity: 0;
            transition: all 0.3s ease;
        }
        .footer-col ul a:hover i {
            opacity: 1;
            transform: translateX(4px);
        }
        .footer-bottom {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1.5rem 0;
            flex-wrap: wrap;
            gap: 1rem;
        }
        .footer-bottom p {
            color: #5c5c7a;
            font-size: 0.82rem;
            line-height: 1.4;
        }
        .footer-bottom-links {
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
        }
        .footer-bottom-links a {
            color: #5c5c7a;
            text-decoration: none;
            font-size: 0.82rem;
            line-height: 1.4;
            transition: all 0.3s ease;
        }
        .footer-bottom-links a:hover {
            color: #6c63ff;
        }
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
            /* Footer Mobile */
            .footer-grid {
                grid-template-columns: 1fr !important;
                gap: 2rem !important;
            }
            .footer-container {
                padding: 2rem 1.2rem 0 !important;
            }
            .footer-bottom {
                flex-direction: column !important;
                text-align: center !important;
            }
            .footer-bottom-links {
                flex-wrap: wrap !important;
                justify-content: center !important;
            }
            .footer-payments {
                justify-content: center !important;
            }
}

@media (max-width: 600px) {
            /* Footer Mobile */
            .footer-grid {
                gap: 1.5rem !important;
                padding-bottom: 1.5rem !important;
            }
            .footer-brand p {
                font-size: 0.8rem !important;
                margin: 0.8rem 0 1rem !important;
            }
            .footer-social a {
                width: 34px !important;
                height: 34px !important;
                font-size: 0.8rem !important;
            }
            .footer-col h4 {
                font-size: 0.85rem !important;
                margin-bottom: 0.8rem !important;
            }
            .footer-col ul a {
                font-size: 0.8rem !important;
            }
            .footer-bottom {
                padding: 1rem 0 !important;
                gap: 0.5rem !important;
            }
            .footer-bottom p {
                font-size: 0.7rem !important;
            }
            .footer-bottom-links {
                gap: 0.8rem !important;
                justify-content: center !important;
            }
            .footer-bottom-links a {
                font-size: 0.7rem !important;
            }
            .footer-payments i {
                font-size: 1.2rem !important;
            }
}
