/* ═══════════════════════════════════════════════════
   David & Stone Group — Cookie Consent Banner
   ═══════════════════════════════════════════════════ */

.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 9999;
    background: var(--navy);
    color: rgba(255,255,255,0.85);
    border-top: 1px solid var(--gold-line);
    box-shadow: var(--shadow-md);
    padding: 1.6rem 2rem;
    transform: translateY(100%);
    transition: transform .4s ease;
}
.cookie-banner.visible { transform: translateY(0); }

.cookie-banner-inner {
    max-width: 1260px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.cookie-banner-text {
    flex: 1 1 420px;
    font-size: .88rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
}
.cookie-banner-text a { color: var(--gold-light); text-decoration: underline; }

.cookie-banner-actions {
    display: flex;
    gap: .9rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}
.cookie-btn {
    font-family: 'Outfit', sans-serif;
    font-size: .82rem;
    letter-spacing: .02em;
    padding: .75rem 1.5rem;
    border-radius: 2px;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
}
.cookie-btn-accept {
    background: var(--gold);
    color: var(--navy);
    font-weight: 500;
}
.cookie-btn-accept:hover { background: var(--gold-light); }
.cookie-btn-reject {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.35);
}
.cookie-btn-reject:hover { border-color: rgba(255,255,255,0.7); }

@media (max-width: 768px) {
    .cookie-banner { padding: 1rem 1.1rem; }
    .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: .9rem; }
    .cookie-banner-text { font-size: .78rem; line-height: 1.5; flex-basis: auto; }
    .cookie-banner-actions { justify-content: stretch; gap: .6rem; }
    .cookie-btn { flex: 1; text-align: center; padding: .65rem 1rem; font-size: .78rem; }
}

/* ── Manage-preferences button (used on Cookie Policy page) ── */
.cookie-manage-btn {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: .85rem;
    padding: .75rem 1.6rem;
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: 2px;
    cursor: pointer;
}
.cookie-manage-btn:hover { background: var(--navy-mid); }
