.footer-wrap {
    background: #ffffff;
    border-top: 1px solid #eee;
}

.footer-link {
    color: #555;
    text-decoration: none;
    position: relative;
    transition: 0.2s;
}

.footer-link:hover {
    color: #2e7d32;
}

/* شريط الكوكيز */
.cookie-banner {
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: none; /* يظهر فقط عند الحاجة عبر JS */
    max-width: 620px;
    width: calc(100% - 24px);
    padding: 0;
    pointer-events: none; /* حتى لا يأخذ كلك خارج الكارد */
}

.cookie-inner {
    pointer-events: auto; /* الكارد نفسه قابل للضغط */
    background: #2e7d32;
    color: #ffffff;
    border-radius: 14px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.cookie-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2e7d32;
    font-size: 1rem;
}

.cookie-text {
    flex: 1 1 auto;
    line-height: 1.5;
}

.cookie-link {
    color: #c8e6c9;
    text-decoration: underline;
}

.cookie-link:hover {
    color: #e8f5e9;
}

.cookie-btn {
    background: #ffffff;
    color: #2e7d32;
    padding: 6px 16px;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.cookie-btn:hover {
    opacity: 0.9;
}

@media (max-width: 576px) {
    .cookie-banner {
        bottom: 70px; /* فوق الهيدر السفلي في الهاتف إن وجد */
        width: calc(100% - 20px);
    }

    .cookie-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 10px 10px;
    }

    .cookie-icon {
        margin: 0 auto 4px;
    }

    .cookie-text {
        font-size: 0.78rem;
    }

    .cookie-btn {
        width: 100%;
        margin-top: 4px;
    }
}
