/* ============================================================
   cookie-consent.css — pływająca karta zgody na pliki cookies.
   Sklep używa wyłącznie cookies NIEZBĘDNYCH (koszyk, sesja
   admina, token CSRF) — nie ma analityki ani marketingu —
   więc karta jest informacyjna: jeden przycisk „Akceptuję".
   (etykieta przycisku w cookie-consent.js)
   Styl: ciemna, zaokrąglona karta „unosząca się" w dolnym rogu,
   czerwony akcent marki, font Barlow jak reszta sklepu.
   ============================================================ */

.ck-card {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 2600; /* pod koszykiem (3000), nad resztą strony */
    width: min(380px, calc(100vw - 32px));
    box-sizing: border-box;
    padding: 20px 20px 18px;
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.35);
    font-family: 'Barlow Semi Condensed', 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    opacity: 0;
    transform: translateY(22px) scale(0.98);
    transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
    will-change: opacity, transform;
}

.ck-card.ck-card--visible {
    opacity: 1;
    transform: none;
}

.ck-head {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 9px;
}

.ck-icon {
    flex-shrink: 0;
    display: flex;
    color: #a80808;
}

.ck-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
}

.ck-text {
    margin: 0 0 16px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.55;
    color: #b9b9b9;
}

.ck-text a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ck-text a:hover {
    color: #f0b8b8;
}

.ck-accept {
    display: block;
    width: 100%;
    border: none;
    cursor: pointer;
    background: #a80808;
    color: #ffffff;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 11px 16px;
    border-radius: 10px;
    transition: background 0.2s ease, transform 0.15s ease;
}

.ck-accept:hover {
    background: #8a0606;
    transform: translateY(-1px);
}

.ck-accept:active {
    transform: translateY(0);
}

/* Telefon: karta rozciąga się na całą szerokość (z marginesem),
   dosunięta do dołu z uwzględnieniem "notcha". */
@media (max-width: 520px) {
    .ck-card {
        left: 14px;
        right: 14px;
        bottom: calc(14px + env(safe-area-inset-bottom, 0px));
        width: auto;
        padding: 17px 17px 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ck-card {
        transition: opacity 0.2s linear;
        transform: none;
    }
}
