html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    background: #ECF4EAFF;
}

:root {
    --pku-nav-height: 48px;
}

.pku-page-content {
    padding-top: 5.75rem;
}

.pku-navbar {
    background: linear-gradient(135deg, rgba(26, 32, 40, 0.98), rgba(24, 32, 42, 0.92));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(10, 14, 20, 0.25);
}

.pku-navbar-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: var(--pku-nav-height);
}

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

.pku-nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pku-nav-right {
    justify-content: flex-end;
    gap: 10px;
}

.pku-brand {
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 60vw;
}

.pku-navbar .navbar-toggler {
    border-radius: 12px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.pku-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.pku-cart-btn {
    border-radius: 999px;
    padding: 6px 12px;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

#access-logout-slot {
    display: flex;
    align-items: center;
}

.pku-cart-btn:hover {
    background: rgba(255, 255, 255, 0.16);
}

@media (max-width: 576px) {
    .pku-navbar-inner {
        gap: 8px;
        flex-wrap: nowrap;
    }

    .pku-brand {
        font-size: 0.95rem;
        max-width: 62vw;
    }

    .pku-nav-left {
        order: 1;
    }

    .pku-nav-right {
        order: 2;
        gap: 6px;
    }

    .pku-nav-center {
        position: absolute;
        transform: translateX(-50%);
        order: 3;
        width: auto;
        justify-content: center;
    }

    .pku-navbar .navbar-toggler {
        padding: 4px 8px;
    }

    #access-logout-btn.access-logout-inline {
        padding: 4px 8px;
        font-size: 0.75rem;
        white-space: nowrap;
    }
}

/* -------- Price Gate -------- */
.price-lock-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.16);
    background: rgba(15, 23, 42, 0.05);
    color: #6b7280;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.price-lock-chip i {
    font-size: 0.9em;
    opacity: 0.7;
}

.price-lock-chip:hover {
    background: rgba(15, 23, 42, 0.08);
    border-color: rgba(15, 23, 42, 0.22);
    color: #4b5563;
}

.price-lock-chip:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(10, 107, 63, 0.25);
}

.price-lock-chip--compact {
    padding: 3px 8px;
    font-size: 0.82rem;
}

.price-lock-chip--pill {
    padding: 6px 10px;
    font-size: 0.88rem;
}

.price-lock-chip--icon {
    width: 26px;
    height: 26px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
}

.price-lock-chip--icon span {
    display: none;
}

.price-gate-popover.popover {
    max-width: 260px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
}

.price-gate-popover .popover-body {
    padding: 12px;
}

.price-gate-popover-text {
    font-size: 0.85rem;
    color: #4b5563;
    margin-bottom: 10px;
}

.price-gate-login {
    width: 100%;
    background: #0a6b3f;
    border-color: #0a6b3f;
}

.price-gate-login:hover,
.price-gate-login:focus {
    background: #085c35;
    border-color: #085c35;
}
