.sandra-cookie {
    position: fixed;
    inset: auto 16px 16px 16px;
    z-index: 9999;
    display: flex;
    justify-content: center;
    font-family: Arial, sans-serif;
}

.sandra-cookie__panel {
    width: min(760px, 100%);
    background: #fff;
    color: #241f1b;
    border: 1px solid rgba(36, 31, 27, 0.18);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
    padding: 18px;
}

.sandra-cookie__copy h2 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: 0;
}

.sandra-cookie__copy p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
}

.sandra-cookie__choices {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.sandra-cookie__choices[hidden],
.sandra-cookie__actions button[hidden] {
    display: none;
}

.sandra-cookie__choice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid rgba(36, 31, 27, 0.14);
    padding: 10px 12px;
}

.sandra-cookie__choice strong,
.sandra-cookie__choice small {
    display: block;
    letter-spacing: 0;
}

.sandra-cookie__choice strong {
    font-size: 14px;
}

.sandra-cookie__choice small {
    margin-top: 3px;
    color: #5e5751;
    font-size: 12px;
    line-height: 1.35;
}

.sandra-cookie__choice input {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.sandra-cookie__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.sandra-cookie__actions button,
.sandra-cookie-prefs {
    border: 1px solid #241f1b;
    background: #241f1b;
    color: #fff;
    min-height: 42px;
    padding: 10px 14px;
    font: 700 13px/1.2 Arial, sans-serif;
    cursor: pointer;
    letter-spacing: 0;
}

.sandra-cookie__actions button:nth-child(2),
.sandra-cookie__actions button:nth-child(3) {
    background: #fff;
    color: #241f1b;
}

.sandra-cookie-prefs {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 9998;
    min-height: 36px;
    padding: 8px 12px;
    font-size: 12px;
}

@media (max-width: 640px) {
    .sandra-cookie {
        inset: auto 10px 10px 10px;
    }

    .sandra-cookie__panel {
        padding: 14px;
    }

    .sandra-cookie__actions {
        display: grid;
    }

    .sandra-cookie__actions button {
        width: 100%;
    }
}
