/* Sprint 21: Public cookie consent — compact full-width bottom bar */
body.stk-cookie-banner-active {
    padding-bottom: var(--stk-cookie-bar-height, 5.5rem);
}

.stk-cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 1080;
    margin: 0;
    padding: 0;
    pointer-events: none;
    box-sizing: border-box;
}

.stk-cookie-consent__panel {
    pointer-events: auto;
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 -2px 16px rgba(15, 23, 42, 0.1);
    background: #fff;
    padding: 0.85rem 1.25rem;
    min-height: 4.25rem;
    box-sizing: border-box;
}

.stk-cookie-consent__inner {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
    align-items: center;
}

@media (min-width: 768px) {
    .stk-cookie-consent__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 1rem 1.25rem;
    }
}

.stk-cookie-consent__copy {
    min-width: 0;
    width: 100%;
}

.stk-cookie-consent__title {
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0 0 0.2rem;
    color: #0f172a;
    line-height: 1.3;
}

.stk-cookie-consent__text {
    font-size: 0.875rem;
    color: #475569;
    margin: 0;
    line-height: 1.5;
    max-width: none;
}

.stk-cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

@media (min-width: 768px) {
    .stk-cookie-consent__actions {
        flex-wrap: nowrap;
        justify-content: flex-end;
        width: auto;
        max-width: 42rem;
    }
}

.stk-cookie-consent__actions .btn {
    white-space: nowrap;
    flex-shrink: 0;
}

.stk-cookie-consent__link {
    font-size: 0.8125rem;
    color: var(--pub-primary, #0d6efd);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.stk-cookie-consent__link:hover {
    text-decoration: underline;
}


.stk-cookie-consent--hidden {
    display: none !important;
}

.stk-cookie-pref__row {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
}

.stk-cookie-pref__row--locked {
    background: #f8fafc;
}

.stk-cookie-pref__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.stk-cookie-pref__desc {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0.5rem 0 0;
}
