.sp-consent-panel[hidden] {
    display: none !important;
}

.sp-consent-panel {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 10000;
    width: min(390px, calc(100vw - 40px));
    box-sizing: border-box;
    background: #fff;
    color: #171717;
    border: 1px solid #d4b650;
    border-radius: 8px;
    padding: 22px;
    box-shadow: 0 12px 45px rgba(0,0,0,.14);
    font-family: inherit;
}

.sp-consent-panel strong {
    font-size: 17px;
}

.sp-consent-panel p {
    margin: 10px 0 18px;
    font-size: 13px;
    line-height: 1.65;
    color: #454545;
}

.sp-consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.sp-consent-actions button {
    min-height: 44px;
    border: 1px solid #171717;
    background: #fff;
    color: #171717;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
    padding: 8px;
    border-radius: 3px;
}

.sp-consent-actions button:hover {
    background: #f8f5ee;
}

.sp-consent-actions button:focus-visible,
.sp-consent-settings button:focus-visible {
    outline: 2px solid #967526;
    outline-offset: 3px;
}

.sp-consent-settings {
    background: #171717;
    text-align: center;
    padding: 6px 15px 14px;
}

.sp-consent-settings button {
    border: 0;
    background: transparent;
    color: #d4b650;
    font: inherit;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
}

@media (max-width:600px) {
    .sp-consent-panel {
        left: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
        padding: 18px;
    }
}
