/* Shared cookie consent banner for main domain and condis subdomain */

.cookie-consent {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1100;
    max-width: 920px;
    margin: 0 auto;
    border: 1px solid #e2d9c8;
    border-radius: 14px;
    background: #fffdf9;
    box-shadow: 0 14px 36px rgba(35, 29, 20, 0.2);
    color: #2f2f2f;
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent__inner {
    padding: 16px;
}

.cookie-consent__title {
    margin: 0 0 8px;
    font-size: 1.05rem;
    color: #4d2a17;
}

.cookie-consent__text {
    margin: 0 0 14px;
    line-height: 1.45;
    color: #4e4a43;
}

.cookie-consent__options {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.cookie-consent__option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    border: 1px solid #ede5d5;
    border-radius: 10px;
    background: #fff;
    padding: 10px 12px;
}

.cookie-consent__option-title {
    font-weight: 700;
    margin-right: 8px;
}

.cookie-consent__option-help {
    color: #6b665c;
    font-size: 0.92rem;
}

.cookie-consent__switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.cookie-consent__switch input {
    width: 18px;
    height: 18px;
    accent-color: #d32f2f;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cookie-consent__button {
    border: 1px solid #d8cdb7;
    background: #fff;
    color: #4d3f2f;
    border-radius: 10px;
    font-weight: 700;
    padding: 10px 14px;
    cursor: pointer;
}

.cookie-consent__button:hover {
    background: #f7f1e5;
}

.cookie-consent__button--primary {
    border-color: #d32f2f;
    background: #d32f2f;
    color: #fff;
}

.cookie-consent__button--primary:hover {
    background: #b71c1c;
}

.cookie-consent__policy {
    margin-left: auto;
    align-self: center;
    color: #7f4a23;
    font-weight: 700;
    text-decoration: none;
}

.cookie-consent__policy:hover {
    text-decoration: underline;
}

.js-cookie-manage {
    cursor: pointer;
}

@media (max-width: 760px) {
    .cookie-consent {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .cookie-consent__inner {
        padding: 14px;
    }

    .cookie-consent__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .cookie-consent__button,
    .cookie-consent__policy {
        width: 100%;
        text-align: center;
    }

    .cookie-consent__policy {
        margin-left: 0;
        padding: 6px 0;
    }
}
