/* =================================================
   FOOTER – AURORASHOP PREMIUM (ALWAYS VISIBLE)
================================================= */

/* --- FOOTER BASE --- */
.site-footer {
    background: var(--aurora-footer-bg, #0f172a);
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
    position: relative;
}

.site-footer a {
    color: inherit;
    text-decoration: none;
    transition: color .25s ease;
}

.site-footer a:hover {
    color: #38bdf8;
}

/* --- WIDGETS --- */
.footer-widgets {
    padding: 70px 0 50px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none !important;
}

.footer-title,
.footer-column h3,
.footer-column h2,
.footer-column .widget-title {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-column p,
.footer-column li,
.footer-column .textwidget {
    font-size: 14px;
    color: #94a3b8;
}

.footer-column ul {
    list-style: none !important;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

/* --- FOOTER BOTTOM --- */
.footer-bottom {
    padding: 22px 0;
    background: rgba(2,6,23,.85);
    backdrop-filter: blur(8px);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

.copyright p {
    margin: 0;
    font-size: 13px;
    color: #94a3b8;
}

.copyright strong {
    color: #ffffff;
}

/* --- PAYMENTS --- */
.footer-payments {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.payment-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #94a3b8;
}

.payment-icons img {
    height: auto;
    max-width: 100%;
    width: 250px;
    object-fit: contain;
}

/* =================================================
   RESPONSIVE (Zawsze widoczne, brak collapse)
================================================= */

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

    .footer-grid {
        grid-template-columns: 1fr; /* Kolumny jedna pod drugą */
        gap: 35px; /* Odstęp między sekcjami */
        padding: 0 25px;
    }

    .footer-column {
        border-bottom: none; /* Brak linii oddzielających sekcje */
        align-items: flex-start; /* Wszystko do lewej */
    }

    /* Wyłączenie wszystkich efektów strzałek i ukrywania */
    .footer-title,
    .footer-column h3,
    .footer-column h2,
    .footer-column .widget-title {
        padding: 0;
        margin-bottom: 15px !important;
        cursor: default; /* Kursor nie sugeruje kliknięcia */
    }

    /* Ukrywamy strzałkę ::after, jeśli wcześniej została dodana */
    .footer-title::after,
    .footer-column h3::after,
    .footer-column h2::after,
    .footer-column .widget-title::after {
        display: none !important;
    }

    /* Wymuszamy widoczność wszystkich list i tekstów */
    .footer-column ul,
    .footer-column p,
    .footer-column .textwidget {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        padding-bottom: 0;
        animation: none !important; /* Brak animacji */
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        padding-bottom: 80px; /* Miejsce na mobile nav */
    }

    .footer-payments {
        justify-content: center;
    }

}

/* Fix dla małych ekranów */
@media (max-width: 600px) {
    .payment-icons img {
        width: 200px;
    }
}

/* =================================================
   MOBILE BOTTOM NAV
================================================= */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: var(--aurora-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid rgba(0, 0, 0, .05);
    box-shadow: 0 -5px 25px rgba(0, 0, 0, .05);
    padding-bottom: env(safe-area-inset-bottom);
}

@media (min-width: 1100px) {
    .mobile-bottom-nav { display: none; }
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--aurora-slate);
    flex: 1;
    height: 100%;
    transition: var(--aurora-transition);
}

.mobile-nav-item i {
    font-size: 1.2rem;
    margin-bottom: 4px;
    transition: var(--aurora-transition);
}

.mobile-nav-item span {
    font-family: var(--aurora-font-main);
    font-size: 11px;
    color: var(--aurora-navy);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.mobile-nav-item.is-active,
.mobile-nav-item:active,
.mobile-nav-item:hover {
    color: var(--aurora-indigo);
}

.mobile-nav-item:active i { transform: translateY(-3px); }

.mobile-nav-icon-wrap { position: relative; display: inline-block; }

.mobile-bottom-nav .cart-count-bubble,
.mobile-bottom-nav .status-dot-nav {
    position: absolute;
    top: -6px;
    right: -10px;
    background: var(--aurora-gradient);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 4px 8px rgba(99, 102, 241, .3);
}

.mobile-bottom-nav .status-dot-nav {
    top: -2px;
    right: -2px;
    min-width: 10px;
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    background: var(--aurora-green);
}

/* =================================================
   FOOTER – PRZEBUDOWA (blok marki + układy + back-to-top)
================================================= */
.aurora-footer-inner { padding: 70px 0 50px; }
/* .footer-grid jest teraz w .container — resetujemy jego własną szerokość */
.aurora-footer-inner .footer-grid { max-width: none; margin: 0; padding: 0; }
.aurora-footer .footer-bottom { border-top: 1px solid rgba(255, 255, 255, .06); }

/* --- Blok marki --- */
.aurora-fbrand { margin-bottom: 44px; max-width: 460px; }
.aurora-footer-logo { margin-bottom: 16px; }
.aurora-footer-logo .logo-text { font-family: 'Archivo', sans-serif; font-size: 1.5rem; font-weight: 900; color: #fff; }
.aurora-footer-logo .logo-text span { color: var(--aurora-accent, #f59e0b); }
.aurora-footer-logo img,
.aurora-footer-logo .custom-logo { max-height: 46px; width: auto; }
.aurora-footer-tagline { color: #94a3b8; font-size: 14px; line-height: 1.7; margin: 0 0 18px; }
.aurora-footer-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.aurora-footer-socials a {
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .08); color: #cbd5e1; font-size: 17px;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.aurora-footer-socials a:hover { background: var(--aurora-accent, #f59e0b); color: #fff; transform: translateY(-2px); }

/* --- Back to top --- */
.aurora-backtop {
    position: fixed; right: 22px; bottom: 90px; z-index: 900;
    width: 46px; height: 46px; border: none; border-radius: 50%;
    background: var(--aurora-gradient, linear-gradient(135deg, #f59e0b, #6366f1));
    color: #fff; font-size: 18px; cursor: pointer;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .25);
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
}
.aurora-backtop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.aurora-backtop:hover { filter: brightness(1.05); }
@media (min-width: 1100px) { .aurora-backtop { bottom: 30px; } }

/* =========================================================
   UKŁADY STOPKI (body.aurora-footer-{style})
   ========================================================= */

/* Marka z boku */
body.aurora-footer-brand .aurora-footer-inner {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 2.4fr;
    gap: 56px;
    align-items: start;
}
body.aurora-footer-brand .aurora-fbrand { margin-bottom: 0; max-width: none; }
body.aurora-footer-brand .aurora-footer-cols { grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); }

/* Wyśrodkowany */
body.aurora-footer-centered .aurora-fbrand { max-width: 620px; margin: 0 auto 40px; text-align: center; }
body.aurora-footer-centered .aurora-footer-socials { justify-content: center; }
body.aurora-footer-centered .aurora-footer-cols { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); text-align: center; }
body.aurora-footer-centered .footer-column { align-items: center; }

/* Kompaktowy */
body.aurora-footer-compact .aurora-footer-inner { padding: 46px 0 34px; }
body.aurora-footer-compact .aurora-fbrand { margin: 0 auto 30px; max-width: none; text-align: center; }
body.aurora-footer-compact .aurora-footer-socials { justify-content: center; }
body.aurora-footer-compact .aurora-footer-cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }

@media (max-width: 900px) {
    body.aurora-footer-brand .aurora-footer-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
    .aurora-footer-inner { padding: 40px 0; }
    body.aurora-footer-compact .aurora-footer-cols { grid-template-columns: 1fr; }
    .aurora-backtop { bottom: 80px; }
}