.advent-cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 15px;
    transform: translateX(-50%);
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    width: calc(100% - 32px);
    max-width: 950px;
    padding: 23px 25px;

    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    box-shadow: 0 8px 35px rgba(0, 0, 0, .09);

    box-sizing: border-box;
    font-family: inherit;
    color: #222222;
}

.advent-cookie-banner[hidden] {
    display: none !important;
}

.advent-cookie-content {
    flex: 1;
    min-width: 0;
}

.advent-cookie-content h2 {
    margin: 0 0 7px;
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #222222;
}

.advent-cookie-content p {
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    color: #666666;
}

.advent-cookie-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 10px;
}

.advent-cookie-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 94px;
    min-height: 48px;
    padding: 12px 19px;

    border: 1px solid #cccccc;
    border-radius: 9px;
    background: #ffffff;
    color: #222222;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;

    cursor: pointer;
    transition: background .15s, border-color .15s;
}

.advent-cookie-actions button:hover {
    background: #f5f5f5;
    border-color: #999999;
}

.advent-cookie-actions button:focus-visible {
    outline: 2px solid #333333;
    outline-offset: 3px;
}

@media (max-width: 767px) {

    .advent-cookie-banner {
        bottom: calc(75px + env(safe-area-inset-bottom, 0px));
        width: calc(100% - 20px);
        padding: 16px;
        border-radius: 13px;

        flex-direction: column;
        align-items: stretch;
        gap: 13px;
    }

    .advent-cookie-content h2 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .advent-cookie-content p {
        font-size: 12px;
        line-height: 1.65;
    }

    .advent-cookie-actions {
        width: 100%;
        gap: 8px;
    }

    .advent-cookie-actions button {
        flex: 1;
        min-width: 0;
        min-height: 42px;
        padding: 10px;
        font-size: 13px;
    }
}
