/*
 * Grillandia - Cookie consent banner styles
 * Matched to the site's own theme: Barlow (body) / Fira Sans (headings, buttons),
 * copper accent #B87333, dark text/border #212121, white banner surface,
 * pill-shaped buttons (30px radius) matching .theme-btn / .btn-style-one/two.
 */

.cc-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 99999;
    max-width: 920px;
    margin: 0 auto;
    padding: 24px 28px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(33, 33, 33, 0.08);
    box-shadow: 0 10px 40px rgba(33, 33, 33, 0.18);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px 26px;
    font-family: "Barlow", sans-serif;
    transform: translateY(140%);
    opacity: 0;
    transition: transform .5s cubic-bezier(0,0,0.58,1), opacity .5s ease;
}

.cc-banner.cc-visible {
    transform: translateY(0);
    opacity: 1;
}

.cc-banner-text {
    flex: 1 1 380px;
    min-width: 0;
}

.cc-banner-title {
    font-family: "Fira Sans", sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: .01em;
    margin: 0 0 6px;
    color: #212121;
}

.cc-banner-desc {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    color: rgba(33, 33, 33, 0.72);
}

.cc-banner-desc a {
    color: #B87333;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cc-banner-desc a:hover {
    color: #212121;
}

.cc-banner-actions {
    display: flex;
    gap: 12px;
    flex: 0 0 auto;
    flex-wrap: wrap;
}

.cc-banner-actions .cc-btn {
    display: inline-block;
    cursor: pointer;
    white-space: nowrap;
    font-family: "Fira Sans", sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    padding: 13px 28px;
    border-radius: 30px;
    transition: all .3s ease;
    text-align: center;
}

.cc-banner-actions .cc-accept {
    background-color: #B87333;
    color: #ffffff;
    border: 1px solid #B87333;
}

.cc-banner-actions .cc-accept:hover {
    background-color: #212121;
    border-color: #212121;
}

.cc-banner-actions .cc-decline {
    background-color: transparent;
    color: #212121;
    border: 1px solid rgba(33, 33, 33, 0.25);
}

.cc-banner-actions .cc-decline:hover {
    background-color: #212121;
    color: #ffffff;
    border-color: #212121;
}

.cc-reopen {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 99998;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #B87333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(33, 33, 33, 0.25);
    opacity: 0;
    transform: scale(.6);
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease, background-color .3s ease;
}

.cc-reopen:hover {
    background-color: #212121;
}

.cc-reopen.cc-visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.cc-reopen svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 600px) {
    .cc-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 16px 18px;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        text-align: left;
        gap: 12px;
    }

    /* flex-basis 380px was meant for the desktop (row) layout's width;
       in the mobile column layout the main axis is vertical, so that
       basis was being read as a *height* and inflating the banner.
       Reset it here so the text block only takes the height its content needs. */
    .cc-banner-text {
        flex: none;
    }

    .cc-banner-title {
        font-size: 15px;
        margin: 0 0 4px;
    }

    .cc-banner-desc {
        font-size: 13px;
        line-height: 1.5;
    }

    .cc-banner-actions {
        width: 100%;
        flex: none;
        gap: 10px;
    }

    .cc-banner-actions .cc-btn {
        flex: 1 1 0;
        padding: 12px 16px;
    }
}
