/* ==========================================================
   FOOTER STORE
========================================================== */

.store-footer {
    position: relative;
    margin-top: 3rem;
    background: var(--footer-bg);
    color: var(--footer-text);
    overflow: hidden;
}

.store-footer__topline {
    height: 4px;
    background: var(--footer-top-border);
}

/* ==========================================================
   GRID
========================================================== */

.store-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 0.9fr 1.2fr;
    gap: 2rem;
    align-items: start;
}

/* ==========================================================
   BRAND
========================================================== */

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand__media {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-brand__text {
    min-width: 0;
}

.footer-brand-mark {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 800;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.footer-brand-mark--logo {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-mark--logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.35rem;
}

.footer-title {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--footer-text);
}

.footer-tagline {
    margin: 0.25rem 0 0;
}

.footer-description {
    margin: 0;
    color: var(--footer-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    max-width: 420px;
}

.text-footer-muted {
    color: var(--footer-muted);
}

/* ==========================================================
   TITLES
========================================================== */

.footer-subtitle {
    margin: 0 0 1rem;
    color: var(--footer-text);
    font-size: 0.96rem;
    font-weight: 700;
}

/* ==========================================================
   LINKS
========================================================== */

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.78rem;
}

.footer-links a,
.footer-contact a {
    color: var(--footer-muted);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--footer-text);
}

/* ==========================================================
   CONTACT
========================================================== */

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.72rem;
    color: var(--footer-muted);
    line-height: 1.55;
}

.footer-contact i {
    color: var(--footer-text);
    margin-top: 0.14rem;
    font-size: 0.96rem;
    flex-shrink: 0;
}

/* ==========================================================
   SOCIAL
========================================================== */

.footer-socials {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.footer-social {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-text);
    border: 1px solid rgba(255, 255, 255, 0.14);
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.24);
    transform: translateY(-1px);
}

/* ==========================================================
   DIVIDER / BOTTOM
========================================================== */

.footer-divider {
    border-color: rgba(255, 255, 255, 0.12);
    opacity: 1;
}

.store-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-copy,
.footer-message {
    color: var(--footer-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* ==========================================================
   BUTTON SCROLL TOP
========================================================== */

.store-scroll-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 999px;
    background: var(--store-primary);
    color: #ffffff;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1040;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
    transition: all 0.2s ease;
    cursor: pointer;
}

.store-scroll-top:hover {
    background: var(--store-secondary);
    transform: translateY(-2px);
}

.store-scroll-top.is-visible {
    display: inline-flex;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 991.98px) {
    .store-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767.98px) {
    .footer-brand__media {
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .store-footer__grid {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .store-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .store-scroll-top {
        width: 44px;
        height: 44px;
        right: 14px;
        bottom: 14px;
    }
}