/* Baner zgody na cookies + zablokowana mapa Google (zgoda przed załadowaniem) */
.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 1500;
    background: #fff;
    border-top: 3px solid #00B200;
    box-shadow: 0 -6px 24px rgba(0,0,0,0.14);
    font-family: 'Open Sans', sans-serif;
    color: #161925;
}
.cookie-banner[hidden] { display: none; }

.cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
}

.cookie-text { flex: 1 1 520px; font-size: 14px; line-height: 1.55; }
.cookie-text strong { display: block; font-size: 15px; margin-bottom: 4px; }
.cookie-text p { color: #444; margin: 0; }
.cookie-text a { color: #00B200; font-weight: 600; }

.cookie-details {
    flex: 1 1 100%;
    display: grid;
    gap: 10px;
    padding-top: 4px;
}
.cookie-details[hidden] { display: none; }

.cookie-opt {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #f9f9f9;
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
}
.cookie-opt input { margin-top: 3px; width: 18px; height: 18px; accent-color: #00B200; flex: 0 0 auto; }
.cookie-opt strong { display: block; font-size: 14px; }
.cookie-opt span span { color: #666; }
.cookie-opt.is-locked { cursor: default; opacity: 0.8; }

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

.cookie-btn {
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 22px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, color 0.2s;
}
/* "Tylko niezbędne" i "Zaakceptuj wszystkie" mają ten sam rozmiar i wagę wizualną */
.cookie-btn-accept { background: #00B200; border-color: #00B200; color: #fff; }
.cookie-btn-accept:hover { background: #008000; border-color: #008000; }
.cookie-btn-reject { background: #161925; border-color: #161925; color: #fff; }
.cookie-btn-reject:hover { background: #2b3045; border-color: #2b3045; }
.cookie-btn-link { background: none; color: #161925; text-decoration: underline; padding: 11px 6px; }
.cookie-btn-link:hover { color: #00B200; }

/* Mapa Google — placeholder do czasu zgody */
.map-consent {
    min-height: 320px;
    background: #f4f4f4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    padding: 30px 24px;
    line-height: 1.5;
    font-size: 14px;
    color: #555;
}
.map-consent p { max-width: 420px; margin: 0; }
.map-consent a { color: #00B200; font-weight: 600; font-size: 14px; }

@media (max-width: 640px) {
    .cookie-inner { padding: 16px; }
    .cookie-actions { width: 100%; }
    .cookie-btn-accept, .cookie-btn-reject { flex: 1 1 100%; }
    .cookie-btn-link { width: 100%; text-align: center; }
}

/* Film YouTube — placeholder do czasu zgody (16:9) */
.video-wrap { padding: 20px 0 70px; background: white; }
.video-wrap h2 { font-size: 24px; font-weight: 600; color: #161925; text-align: center; margin-bottom: 30px; }
.video-embed {
    max-width: 780px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: #f4f4f4;
}
.video-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-embed .map-consent { min-height: 0; height: 100%; }
