.op-cookie-consent[hidden],
.op-cookie-preferences[hidden] {
    display: none !important;
}

.op-cookie-consent {
    position: fixed;
    z-index: 9999;
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px;
    background: #111827;
    color: #f9fafb;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    box-shadow: 0 18px 60px rgba(0,0,0,.35);
    font-family: inherit;
}

.op-cookie-consent__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.op-cookie-consent__text {
    flex: 1;
}

.op-cookie-consent h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 19px;
    font-weight: 700;
}

.op-cookie-consent p {
    margin: 0;
    color: #d1d5db;
    font-size: 14px;
    line-height: 1.65;
}

.op-cookie-consent a {
    color: #93c5fd;
    text-decoration: underline;
}

.op-cookie-consent__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.op-cookie-button {
    appearance: none;
    border: 0;
    border-radius: 10px;
    padding: 12px 16px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.op-cookie-button--primary {
    background: #2563eb;
    color: #fff;
}

.op-cookie-button--primary:hover {
    background: #1d4ed8;
}

.op-cookie-button--secondary {
    background: #374151;
    color: #fff;
}

.op-cookie-button--secondary:hover {
    background: #4b5563;
}

.op-cookie-button--text {
    background: transparent;
    color: #dbeafe;
    border: 1px solid rgba(255,255,255,.2);
}

.op-cookie-preferences {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.15);
}

.op-cookie-preferences__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 12px 0;
}

.op-cookie-preferences__row strong {
    color: #fff;
    font-size: 14px;
}

.op-cookie-preferences__row p {
    margin-top: 4px;
    font-size: 13px;
}

.op-cookie-preferences__required {
    color: #93c5fd;
    font-size: 12px;
    white-space: nowrap;
}

.op-cookie-switch input {
    width: 20px;
    height: 20px;
    accent-color: #2563eb;
    cursor: pointer;
}

.op-cookie-switch__slider {
    display: none;
}

.op-cookie-consent .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}

@media (max-width: 760px) {
    .op-cookie-consent {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 18px;
    }

    .op-cookie-consent__content {
        display: block;
    }

    .op-cookie-consent__actions {
        margin-top: 16px;
    }

    .op-cookie-button {
        flex: 1;
    }
}

.op-cookie-footer-link {
    appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    padding: 0;
    text-align: left;
    cursor: pointer;
}

.op-cookie-footer-link:hover {
    text-decoration: underline;
}

/* ==========================================
   OKAZJE PŁOCK — V15-C.20.1
   Jasny baner cookies
   ========================================== */

.op-cookie-consent {
    background: #ffffff;
    color: #172033;
    border: 1px solid #dfe5ee;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.14);
    padding: 22px 26px;
    max-width: 1120px;
}

.op-cookie-consent h2 {
    color: #172033;
    font-size: 19px;
    font-weight: 750;
}

.op-cookie-consent p {
    color: #596579;
    font-size: 14px;
    line-height: 1.65;
}

.op-cookie-consent a {
    color: #2563eb;
    font-weight: 600;
}

.op-cookie-button--primary {
    background: #2563eb;
    color: #ffffff;
}

.op-cookie-button--primary:hover {
    background: #1d4ed8;
}

.op-cookie-button--secondary {
    background: #eef2f7;
    color: #172033;
}

.op-cookie-button--secondary:hover {
    background: #e2e8f0;
}

.op-cookie-button--text {
    background: #ffffff;
    color: #334155;
    border: 1px solid #d7deea;
}

.op-cookie-button--text:hover {
    background: #f8fafc;
}

.op-cookie-preferences {
    border-top-color: #e5eaf1;
}

.op-cookie-preferences__row strong {
    color: #172033;
}

.op-cookie-preferences__required {
    color: #2563eb;
}

.op-cookie-consent button:focus-visible,
.op-cookie-consent a:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.45);
    outline-offset: 3px;
}

@media (max-width: 760px) {
    .op-cookie-consent {
        padding: 18px;
        border-radius: 16px;
    }

    .op-cookie-consent__actions {
        gap: 8px;
    }
}

/* ==========================================
   OKAZJE PŁOCK — V15-C.20.2
   Kolorystyka złoto-pomarańczowa
   ========================================== */

.op-cookie-button--primary {
    background: linear-gradient(110deg, #ffdc78 0%, #ffad45 100%);
    color: #172033;
    border: 1px solid rgba(234, 151, 48, 0.18);
    box-shadow: 0 4px 12px rgba(255, 174, 67, 0.15);
    transition: filter .2s ease, box-shadow .2s ease;
}

.op-cookie-button--primary:hover {
    background: linear-gradient(110deg, #ffdc78 0%, #ffad45 100%);
    color: #172033;
    filter: brightness(1.03);
    box-shadow: 0 6px 16px rgba(255, 174, 67, 0.22);
}

.op-cookie-consent a {
    color: #b65c16;
    font-weight: 650;
    text-decoration-color: rgba(182, 92, 22, 0.45);
}

.op-cookie-consent a:hover {
    color: #91440d;
}

.op-cookie-consent .op-cookie-preferences__required {
    color: #a65312;
}

.op-cookie-consent input[type="checkbox"] {
    accent-color: #e99532;
}

.op-cookie-consent button:focus-visible,
.op-cookie-consent a:focus-visible {
    outline: 3px solid rgba(255, 173, 69, 0.65);
    outline-offset: 3px;
}

