/* Footer Common Styles */
footer {
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #6E6E6E;
    font-size: 0.85em;
    font-weight: 400;
    background-color: #FBF9F7;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.footer-left,
.footer-center,
.footer-right {
    display: flex;
    align-items: center;
}

.footer-left {
    flex: 1;
}

.footer-center {
    flex: 1;
    justify-content: center;
    gap: 24px;
    white-space: nowrap;
}

.footer-center a {
    white-space: nowrap;
}

.copyright {
    margin: 0;
    white-space: nowrap;
    color: #6E6E6E;
    font-size: inherit;
}

.footer-right {
    flex: 1;
    justify-content: flex-end;
}

footer a {
    color: #6E6E6E;
    text-decoration: none;
}

footer a:hover {
    color: #1A1A1A;
}

.footer-lang {
    position: relative;
}

.footer-lang-btn {
    background: none;
    border: none;
    color: #6E6E6E;
    cursor: pointer;
    font-size: inherit;
    font-weight: inherit;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.footer-lang-btn:hover {
    color: #1A1A1A;
}

.footer-lang-btn svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.footer-lang-dropdown {
    display: none;
    position: absolute;
    bottom: 30px;
    right: 0;
    background: #FBF9F7;
    border: 1px solid #ECE7E0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 100px;
}

.footer-lang-dropdown.show {
    display: block;
}

.footer-lang-dropdown a {
    display: block;
    padding: 10px 16px;
    color: #1A1A1A;
}

.footer-lang-dropdown a:hover {
    background-color: #f0ebe5;
}

.footer-lang-dropdown a.active {
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    footer {
        flex-wrap: wrap;
        gap: 8px;
    }

    .footer-left {
        order: -1;
        flex-basis: 100%;
    }

    .footer-center {
        flex: none;
        gap: 16px;
    }

    .footer-right {
        flex: none;
    }
}
