/* Floristera – Cookie-Einwilligungsbanner */

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    z-index: 9999;
    width: calc(100% - 2rem);
    max-width: 720px;
    box-sizing: border-box;
    padding: 0;
    font-family: 'Outfit', system-ui, sans-serif;
    color: #33251f;
}

.cookie-banner__inner {
    background: #fffbf8;
    border: 1px solid #fbe3d5;
    border-radius: 20px;
    box-shadow: 0 12px 48px rgba(196, 67, 31, 0.18);
    padding: 1.35rem 1.5rem 1.5rem;
}

.cookie-banner__title {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.65rem;
    color: #9b3317;
}

.cookie-banner__text {
    margin: 0 0 1.15rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #7a6559;
}

.cookie-banner__text a {
    color: #c4431f;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner__text a:hover {
    color: #9b3317;
}

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-end;
}

.cookie-banner__btn {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.75rem 1.1rem;
    border-radius: 50px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.cookie-banner__btn:focus-visible {
    outline: 3px solid #f0cca8;
    outline-offset: 2px;
}

.cookie-banner__btn--secondary {
    background: #fff;
    color: #33251f;
    border-color: #fbe3d5;
}

.cookie-banner__btn--secondary:hover {
    border-color: #d8846c;
    background: #fdf1e9;
}

.cookie-banner__btn--primary {
    background: linear-gradient(135deg, #c4431f, #e0724a);
    color: #fff;
    border-color: #c4431f;
}

.cookie-banner__btn--primary:hover {
    background: linear-gradient(135deg, #9b3317, #c4431f);
}

@media (max-width: 540px) {
    .cookie-banner {
        left: 0;
        right: 0;
        bottom: 0;
        transform: none;
        width: 100%;
        max-width: 100%;
    }

    .cookie-banner__inner {
        border-radius: 20px 20px 0 0;
        border-bottom: none;
    }

    .cookie-banner__actions {
        flex-direction: column;
    }

    .cookie-banner__btn {
        width: 100%;
        flex: none;
    }
}

body.cookie-banner-open {
    padding-bottom: env(safe-area-inset-bottom, 0);
}

@media print {
    .cookie-banner {
        display: none !important;
    }
}