.boxpark-cookie-consent {
    position: fixed;
    inset: auto 0 0;
    z-index: 1000;
    padding: 16px;
    max-height: 92vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top: 1px solid #d9e2e8;
    background: rgba(255, 255, 255, 0.98);
    color: #163047;
    box-shadow: 0 -12px 36px rgba(7, 54, 94, 0.16);
    font-family: Arial, Helvetica, sans-serif;
}

.boxpark-cookie-consent[hidden],
.boxpark-cookie-details[hidden] {
    display: none;
}

.boxpark-cookie-panel {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.boxpark-cookie-copy h2,
.boxpark-cookie-category h3 {
    margin: 0;
    color: #07365e;
}

.boxpark-cookie-copy h2 { font-size: 20px; }
.boxpark-cookie-copy p { margin: 8px 0 0; font-size: 14px; line-height: 1.55; }
.boxpark-cookie-copy a { color: #07365e; font-weight: 700; text-decoration: underline; }

.boxpark-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.boxpark-cookie-button,
.boxpark-cookie-settings-button {
    border: 1px solid #07365e;
    border-radius: 999px;
    padding: 10px 16px;
    font: 700 14px/1.2 Arial, Helvetica, sans-serif;
    cursor: pointer;
}

.boxpark-cookie-button-primary { background: #07365e; color: #fff; }
.boxpark-cookie-button-secondary { background: #fff; color: #07365e; }
.boxpark-cookie-button:hover,
.boxpark-cookie-button:focus-visible { outline: 2px solid #f47b1c; outline-offset: 2px; }

.boxpark-cookie-details {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #d9e2e8;
}

.boxpark-cookie-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px;
    border: 1px solid #d9e2e8;
    border-radius: 12px;
    background: #f4f6f8;
}

.boxpark-cookie-category h3 { font-size: 15px; }
.boxpark-cookie-category p { margin: 3px 0 0; font-size: 13px; }
.boxpark-cookie-category input { width: 20px; height: 20px; flex: 0 0 auto; }
.boxpark-cookie-category span { font-size: 13px; font-weight: 700; white-space: nowrap; }

.boxpark-cookie-settings-button {
    position: fixed;
    left: 12px;
    bottom: 12px;
    z-index: 900;
    padding: 8px 12px;
    background: #fff;
    color: #07365e;
    box-shadow: 0 6px 18px rgba(7, 54, 94, 0.15);
}

@media (min-width: 760px) {
    .boxpark-cookie-panel {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        gap: 24px;
    }
    .boxpark-cookie-actions { margin-top: 0; }
    .boxpark-cookie-details { grid-column: 1 / -1; }
}
