/* ═══════════════════════════════════════════════════════════════════
   WeddingFlow – Cookie Consent Banner
   Floating bottom bar with slide-up animation
   Matches .theme-old-money design system
   ═══════════════════════════════════════════════════════════════════ */

.wfc-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    padding: 0 16px 16px;
    pointer-events: none;
    transform: translateY(100%);
    opacity: 0;
    transition: transform .45s cubic-bezier(.4,0,.2,1),
                opacity .45s cubic-bezier(.4,0,.2,1);
}

/* ── Slide-in state ──────────────────────────────────────────────── */
.wfc-banner--visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* ── Slide-out state ─────────────────────────────────────────────── */
.wfc-banner--hiding {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
}

/* ── Inner container (pill card) ─────────────────────────────────── */
.wfc-banner__inner {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid #E8E2D8;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(44,36,32,.08),
                0 1px 4px rgba(44,36,32,.04);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Cookie Icon ─────────────────────────────────────────────────── */
.wfc-banner__icon {
    flex-shrink: 0;
    color: #9B7B4D;
    width: 20px;
    height: 20px;
}

/* ── Text ─────────────────────────────────────────────────────────── */
.wfc-banner__text {
    flex: 1;
    margin: 0;
    font-size: .82rem;
    line-height: 1.5;
    color: #5A5048;
}
.wfc-banner__link {
    color: #9B7B4D;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color .2s ease;
}
.wfc-banner__link:hover {
    color: #876A40;
}

/* ── Accept Button ───────────────────────────────────────────────── */
.wfc-banner__btn {
    flex-shrink: 0;
    padding: 10px 28px;
    border: none;
    border-radius: 10px;
    background: #9B7B4D;
    color: #FFFFFF;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all .2s cubic-bezier(.4,0,.2,1);
    -webkit-appearance: none;
    appearance: none;
}
.wfc-banner__btn:hover {
    background: #876A40;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(155,123,77,.3);
}
.wfc-banner__btn:active {
    transform: translateY(0);
    box-shadow: none;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .wfc-banner {
        padding: 0 10px 10px;
    }
    .wfc-banner__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px 20px;
        text-align: center;
    }
    .wfc-banner__icon {
        display: none;
    }
    .wfc-banner__btn {
        width: 100%;
        padding: 12px 28px;
    }
}
