/* ============================================
   FOOTER STYLES
   ============================================ */

.bt-footer {
    margin-top: auto;
}

/* Footer Newsletter */
.bt-footer-newsletter {
    padding: var(--bt-space-3xl) 0;
}

.bt-footer-newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--bt-space-2xl);
    padding: var(--bt-space-2xl) var(--bt-space-3xl);
    background: linear-gradient(135deg, rgba(var(--bt-primary-rgb), 0.1), rgba(var(--bt-accent-rgb), 0.05));
    border: 1px solid rgba(var(--bt-primary-rgb), 0.2);
}

.bt-footer-newsletter-text h3 {
    font-size: var(--bt-fs-xl);
    margin-bottom: var(--bt-space-xs);
}

.bt-footer-newsletter-text p {
    margin: 0;
    color: var(--bt-text-secondary);
}

.bt-footer-newsletter-input {
    display: flex;
    gap: var(--bt-space-sm);
}

.bt-footer-newsletter-input .bt-input {
    min-width: 280px;
}

/* Footer Main */
.bt-footer-main {
    padding: var(--bt-space-3xl) 0;
    border-top: 1px solid var(--bt-border-color);
}

.bt-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--bt-space-3xl);
}

.bt-footer-logo {
    margin-bottom: var(--bt-space-md);
}

.bt-footer-logo img {
    max-height: 40px;
}

.bt-footer-desc {
    color: var(--bt-text-secondary);
    font-size: var(--bt-fs-sm);
    line-height: 1.8;
    margin-bottom: var(--bt-space-lg);
}

/* Social Links */
.bt-footer-social {
    display: flex;
    gap: var(--bt-space-sm);
}

.bt-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--bt-radius-md);
    background: var(--bt-glass-bg);
    border: 1px solid var(--bt-border-color);
    color: var(--bt-text-secondary);
    transition: all var(--bt-transition-fast);
}

.bt-social-link:hover {
    background: rgba(var(--bt-primary-rgb), 0.15);
    border-color: var(--bt-primary);
    color: var(--bt-primary);
    transform: translateY(-2px);
}

/* Footer Titles */
.bt-footer-title {
    font-size: var(--bt-fs-base);
    font-weight: var(--bt-fw-semibold);
    margin-bottom: var(--bt-space-lg);
    color: var(--bt-text-primary);
}

/* Footer Links */
.bt-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bt-footer-links li {
    margin-bottom: var(--bt-space-sm);
}

.bt-footer-links a {
    color: var(--bt-text-secondary);
    font-size: var(--bt-fs-sm);
    transition: all var(--bt-transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bt-footer-links a::before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--bt-primary);
    transition: width var(--bt-transition-fast);
}

.bt-footer-links a:hover {
    color: var(--bt-primary);
}

.bt-footer-links a:hover::before {
    width: 12px;
}

/* Footer Contact */
.bt-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bt-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--bt-space-sm);
    margin-bottom: var(--bt-space-md);
    color: var(--bt-text-secondary);
    font-size: var(--bt-fs-sm);
}

.bt-footer-contact svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Footer Bottom */
.bt-footer-bottom {
    padding: var(--bt-space-lg) 0;
    border-top: 1px solid var(--bt-border-color);
}

.bt-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--bt-space-md);
}

.bt-copyright {
    color: var(--bt-text-muted);
    font-size: var(--bt-fs-sm);
    margin: 0;
}

.bt-payment-methods {
    display: flex;
    align-items: center;
    gap: var(--bt-space-sm);
    color: var(--bt-text-muted);
    font-size: var(--bt-fs-sm);
}

.bt-payment-icons {
    display: flex;
    gap: var(--bt-space-xs);
}

.bt-payment-icon {
    padding: 4px 10px;
    background: var(--bt-glass-bg);
    border: 1px solid var(--bt-border-color);
    border-radius: var(--bt-radius-sm);
    font-size: 11px;
    font-weight: var(--bt-fw-semibold);
    color: var(--bt-text-secondary);
}

/* Back to Top */
.bt-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bt-primary);
    color: var(--bt-white);
    border: none;
    border-radius: var(--bt-radius-full);
    cursor: pointer;
    z-index: var(--bt-z-sticky);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--bt-transition-base);
    box-shadow: 0 4px 15px rgba(var(--bt-primary-rgb), 0.4);
}

.bt-back-to-top.bt-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bt-back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(var(--bt-primary-rgb), 0.6);
}

/* Custom Cursor - desktop only, hide on touch */
.bt-cursor,
.bt-cursor-follower {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    display: none;
}

@media (hover: hover) and (min-width: 992px) {
    .bt-cursor,
    .bt-cursor-follower {
        display: block;
    }
}

.bt-cursor {
    width: 6px;
    height: 6px;
    background: var(--bt-accent);
    transform: translate(-50%, -50%);
}

.bt-cursor-follower {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(var(--bt-accent-rgb), 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.bt-cursor-follower.bt-hover {
    width: 44px;
    height: 44px;
    border-color: rgba(var(--bt-primary-rgb), 0.4);
}

/* Responsive */
@media (max-width: 992px) {
    .bt-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--bt-space-2xl);
    }

    .bt-footer-newsletter-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .bt-footer-grid {
        grid-template-columns: 1fr;
    }

    .bt-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .bt-footer-newsletter-input {
        flex-direction: column;
    }

    .bt-footer-newsletter-input .bt-input {
        min-width: auto;
    }
}


/* ═══════════════ FOOTER STYLE VARIANTS — see end of file ═══════════════ */


/* ============================================
   FOOTER STYLE VARIANTS (Customizer: bt_footer_style)
   ============================================ */

/* ---------- Minimal Footer ----------
   2-column compact layout, no newsletter section, simpler bottom bar.
   Best for one-product stores or lite landing pages. */
.bt-footer.bt-footer-minimal .bt-footer-newsletter {
    display: none;
}

.bt-footer.bt-footer-minimal .bt-footer-grid {
    grid-template-columns: 2fr 1fr;
    gap: var(--bt-space-2xl);
}

.bt-footer.bt-footer-minimal .bt-footer-col:nth-child(3),
.bt-footer.bt-footer-minimal .bt-footer-col:nth-child(4) {
    display: none;
}

.bt-footer.bt-footer-minimal .bt-footer-main {
    padding: var(--bt-space-2xl) 0;
}

.bt-footer.bt-footer-minimal .bt-footer-bottom-inner {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: var(--bt-space-sm);
}

@media (max-width: 768px) {
    .bt-footer.bt-footer-minimal .bt-footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Mega Footer ----------
   5-column expanded layout with extra Information column.
   Best for large catalogs / multi-brand stores. */
.bt-footer.bt-footer-mega .bt-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    gap: var(--bt-space-2xl);
}

.bt-footer.bt-footer-mega .bt-footer-newsletter-inner {
    background: linear-gradient(135deg, rgba(var(--bt-primary-rgb), 0.18), rgba(var(--bt-accent-rgb), 0.1));
    border-color: rgba(var(--bt-primary-rgb), 0.3);
}

.bt-footer.bt-footer-mega .bt-footer-main {
    padding: var(--bt-space-3xl) 0 var(--bt-space-2xl);
}

.bt-footer.bt-footer-mega .bt-footer-info-extra {
    display: block;
}

@media (max-width: 1024px) {
    .bt-footer.bt-footer-mega .bt-footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .bt-footer.bt-footer-mega .bt-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---------- Centered Footer ----------
   Single column centered. Like minimal but everything on one column. */
.bt-footer.bt-footer-centered .bt-footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.bt-footer.bt-footer-centered .bt-footer-col {
    align-items: center;
}

.bt-footer.bt-footer-centered .bt-footer-social,
.bt-footer.bt-footer-centered .bt-footer-links,
.bt-footer.bt-footer-centered .bt-footer-contact {
    justify-content: center;
    align-items: center;
}

.bt-footer.bt-footer-centered .bt-footer-contact li {
    justify-content: center;
}

.bt-footer.bt-footer-centered .bt-footer-newsletter-inner {
    flex-direction: column;
    text-align: center;
}

/* ---------- Dark Footer ---------- */
.bt-footer.bt-footer-dark .bt-footer-main,
.bt-footer.bt-footer-dark .bt-footer-bottom {
    background: #0a0f1f;
}
