/* ====
   HALAL FOOTER (Unified with Ifta)
   ==== */

.halal-footer {
    text-align: center;
    padding: 40px 20px;
    background: var(--dark-gray);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-top: auto;
}

.halal-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.halal-footer-inner > div:first-child {
    margin-bottom: 8px;
}

.halal-footer-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.halal-footer-links a {
    color: var(--emerald-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.halal-footer-links a:hover {
    color: var(--gold-light);
}

/* ── Переключатель языка в футере ── */
.halal-footer-lang {
    display: flex;
    justify-content: center;
    margin-top: 16px;
    position: relative;
}

/* Переопределяем цвета lang-switcher для тёмного фона */
.halal-footer-lang .lang-trigger {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.75);
}

.halal-footer-lang .lang-trigger:hover,
.halal-footer-lang .lang-trigger.open {
    border-color: var(--emerald-light);
    color: var(--emerald-light);
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.12);
}

/* Дропдаун открывается вверх */
.halal-footer-lang .lang-dropdown {
    top: auto;
    bottom: calc(100% + 8px);
    transform-origin: bottom center;
    transform: translateY(6px) scale(0.97);
    left: 50%;
    right: auto;
    translate: -50%;
}

.halal-footer-lang .lang-dropdown.open {
    transform: translateY(0) scale(1);
    translate: -50%;
}

@media (max-width: 768px) {
    .halal-footer-links {
        flex-direction: column;
        gap: 8px;
    }
}