/* ====================================================================
 * DIGITAL STORE PRO: FOOTER STYLES
 * ==================================================================== */

 #dsp-colophon {
    background-color: #1a1a2e;
    color: #b2bec3;
    margin-top: auto;
    font-family: var(--font-primary, 'Inter', sans-serif);
    position: relative;
    z-index: 10;
}

body.dark-mode #dsp-colophon {
    background-color: #0d0f1a;
}

/* SECTION 1: Newsletter */
.dsp-footer-newsletter-wrapper {
    position: relative;
    top: -50px;
    margin-bottom: -10px;
    z-index: 20;
}
.dsp-footer-newsletter {
    background: var(--card-bg, #ffffff);
    border-radius: 20px;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    flex-wrap: wrap;
    gap: 20px;
}
body.dark-mode .dsp-footer-newsletter {
    background: #16213e;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
.newsletter-img {
    flex: 0 0 auto;
    width: 60px;
    display: flex;
    justify-content: center;
}
.newsletter-img img {
    max-height: 80px;
    width: auto;
    animation: float 4s ease-in-out infinite;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}
.newsletter-content {
    flex: 1;
    min-width: 280px;
}
.newsletter-content h2 {
    font-size: 26px;
    margin: 0 0 5px;
    color: var(--text-primary, #2d3436);
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-weight: 700;
}
.newsletter-content p {
    font-size: 13px;
    font-weight: 700;
    margin: 0;
    color: var(--e-global-color-primary, #6C5CE7);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.newsletter-form {
    flex: 0 0 auto;
    width: 420px;
    max-width: 100%;
}
.dsp-subscribe-form {
    display: flex;
    background: var(--body-bg, #f4f6f8);
    border-radius: 30px;
    padding: 6px;
    border: 1px solid var(--border-color, #e2e8f0);
}
body.dark-mode .dsp-subscribe-form {
    background: rgba(0,0,0,0.2);
    border-color: rgba(255,255,255,0.05);
}
.dsp-subscribe-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 20px;
    color: var(--text-primary);
    outline: none;
    font-size: 15px;
}
.dsp-subscribe-form input::placeholder {
    color: var(--text-secondary);
}
.dsp-subscribe-form button {
    background: var(--primary-gradient, linear-gradient(135deg, var(--e-global-color-primary, #6C5CE7), var(--e-global-color-secondary, #00CEC9)));
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 12px 25px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}
.dsp-subscribe-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.5);
}

/* SECTION 2: Main Footer */
.dsp-footer-main {
    padding: 20px 0 50px;
}
.dsp-footer-row-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 30px;
    margin-bottom: 45px;
    flex-wrap: wrap;
    gap: 20px;
}
.dsp-footer-logo .site-logo-img {
    max-height: 45px;
    width: auto;
}
.dsp-footer-logo h2, .dsp-footer-logo .logo-text {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    text-decoration: none;
    font-family: var(--font-heading, 'Outfit', sans-serif);
}
.dsp-footer-logo a {
    text-decoration: none;
}
.dsp-footer-socials {
    display: flex;
    gap: 12px;
}
.dsp-footer-socials .social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    color: #b2bec3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}
.dsp-footer-socials .social-link:hover {
    background: var(--primary-gradient, linear-gradient(135deg, var(--e-global-color-primary, #6C5CE7), var(--e-global-color-secondary, #00CEC9)));
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(108,92,231,0.3);
}

/* Widget Columns */
.dsp-footer-widgets .widget-title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 25px;
    font-family: var(--font-heading, 'Outfit', sans-serif);
}
.dsp-footer-widgets ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.dsp-footer-widgets ul li {
    margin-bottom: 14px;
}
.dsp-footer-widgets a {
    color: #b2bec3;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 15px;
}
.dsp-footer-widgets a:hover {
    color: var(--e-global-color-secondary, #00CEC9);
}
/* Ensure the widget inner content text uses muted color */
.dsp-footer-widgets .textwidget p {
    color: #929eaa;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.footer-grid-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 15px;
}

/* SECTION 3: Bottom Bar */
.dsp-footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 14px;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.footer-copyright {
    color: #7f8c8d;
}
.footer-inline-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}
.footer-inline-menu a {
    color: #7f8c8d;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}
.footer-inline-menu a:hover {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 991px) {
    .dsp-footer-newsletter {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    .newsletter-form {
        width: 100%;
    }
    .dsp-subscribe-form button span {
        display: none; /* Hide button text on very small screens to save space */
    }
}
@media (min-width: 576px) and (max-width: 991px) {
    .dsp-subscribe-form button span {
        display: inline;
    }
}
@media (max-width: 768px) {
    .dsp-footer-row-top {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    .footer-inline-menu {
        justify-content: center;
    }
}
