﻿body {
}

/* ==============================
   PawKarma — Header & Footer CSS
   (Keep this file focused and small)
   ============================== */

/* Brand tokens (optional if already defined elsewhere) */
:root {
    --brand-50: #eefcf9;
    --brand-100: #d5f7f0;
    --brand-200: #abefe1;
    --brand-500: #22b39b;
    --ink: #0b1f24;
    --muted: #6b7280;
}

/* Container (safe default; remove if your project already defines .container) */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Header ---------- */
.pk-topbar,
.pk-footer {
    /* full-bleed edge-to-edge */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #fff;
}

.pk-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid #eceff3;
    backdrop-filter: saturate(180%) blur(6px);
}

.pk-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #111827;
}

.logo__icon svg {
    stroke: #7AB730;
}
/* pink heart */
.logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

    .logo__text small {
        color: var(--muted);
        font-size: 12px;
    }

.pk-nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pk-nav__item {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    color: #111827;
}

    .pk-nav__item:hover {
        background: #f3f4f6;
    }

    .pk-nav__item.is-active {
        background: #0f1221;
        color: #fff;
    }

.nav-icon {
    font-size: 14px;
}

/* Keep this minimal so we don't override app-wide buttons */
.pk-user .btn-ghost {
    border-radius: 999px;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
}

/* ---------- Footer ---------- */
.pk-footer {
    border-top: 1px solid #eceff3;
}

.pk-footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
    padding: 28px 0;
}

    .pk-footer__inner .brand p {
        color: var(--muted);
        margin: 6px 0 10px;
    }

    .pk-footer__inner h4 {
        margin: 0 0 8px;
    }

    .pk-footer__inner ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .pk-footer__inner a {
        color: #111827;
        text-decoration: none;
    }

        .pk-footer__inner a:hover {
            text-decoration: underline;
        }

.pk-footer__love {
    text-align: center;
    color: var(--muted);
    padding: 8px 20px;
    border-top: 1px solid #eceff3;
}

/* ---------- Mobile safety ---------- */
@media (max-width: 640px) {
    /* avoid horizontal scroll from 100vw trick */
    .pk-topbar, .pk-footer {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .pk-footer__inner {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px 20px;
    }
}
