/* ============================================================
   Cookie Consent Banner — Prysm Edge
   ============================================================ */

#pe-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #0a0a0a;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 32px;
    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -8px 48px rgba(0,0,0,0.5);
}

#pe-cookie-banner.pe-cookie-visible {
    transform: translateY(0);
}

.pe-cookie-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ── Left: icon + text ── */
.pe-cookie-text {
    flex: 1;
    min-width: 240px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.pe-cookie-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(234,88,12,0.12);
    border: 1px solid rgba(234,88,12,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pe-cookie-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.pe-cookie-title {
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.pe-cookie-desc {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #737373;
    line-height: 1.5;
}

.pe-cookie-desc a {
    color: #ea580c;
    text-decoration: none;
}

.pe-cookie-desc a:hover {
    text-decoration: underline;
}

/* ── Right: buttons ── */
.pe-cookie-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* Reject All — muted ghost */
#pe-btn-reject {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #737373;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 11px 20px;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1;
    transition: color 0.2s ease, border-color 0.2s ease;
}
#pe-btn-reject:hover {
    color: #d4d4d4;
    border-color: rgba(255,255,255,0.28);
}

/* Essential Only — white outline */
#pe-btn-essential {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 8px;
    padding: 11px 20px;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1;
    transition: background 0.2s ease, border-color 0.2s ease;
}
#pe-btn-essential:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.5);
}

/* Accept All — filled orange */
#pe-btn-accept-all {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    background: #ea580c;
    border: 1px solid #ea580c;
    border-radius: 8px;
    padding: 11px 20px;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1;
    transition: background 0.2s ease, transform 0.15s ease;
}
#pe-btn-accept-all:hover {
    background: #c2410c;
    border-color: #c2410c;
    transform: translateY(-1px);
}

/* ── Mobile ── */
@media (max-width: 640px) {
    #pe-cookie-banner {
        padding: 16px 16px 20px;
    }
    .pe-cookie-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .pe-cookie-actions {
        width: 100%;
        justify-content: flex-end;
    }
    #pe-btn-reject,
    #pe-btn-essential,
    #pe-btn-accept-all {
        font-size: 12px;
        padding: 10px 14px;
    }
}
