/* Existing cookie consent component, scoped styles only. */
.cookie8-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(15,23,42,.45);
    backdrop-filter: blur(4px);
}

.cookie8-banner {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.cookie8-banner[hidden] { display: none !important; }
.cookie8-backdrop[hidden] { display: none !important; }

.cookie8-card {
    width: min(920px, 100%);
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
    color: #111827;
    box-shadow: 0 14px 40px rgba(17,24,39,.08);
    pointer-events: auto;
    animation: cookie8SlideUp .34s cubic-bezier(.22,1,.36,1) both;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
}

@keyframes cookie8SlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.cookie8-head {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    align-items: start;
}

.cookie8-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f3f4f6;
    font-size: 22px;
    flex-shrink: 0;
}

.cookie8-head strong {
    display: block;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -.03em;
    color: #111827;
}

.cookie8-head p {
    margin: 6px 0 0;
    color: #6b7280;
    line-height: 1.55;
    font-size: 14px;
    font-weight: 600;
}

.cookie8-settings {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.cookie8-settings[hidden] { display: none !important; }

.cookie8-option {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 12px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
    cursor: pointer;
    transition: background .14s, border-color .14s;
}

.cookie8-option:not(.is-disabled):hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.cookie8-option input {
    margin-top: 2px;
    accent-color: #111827;
    cursor: pointer;
}

.cookie8-option strong {
    display: block;
    font-size: 14px;
    font-weight: 900;
    color: #111827;
}

.cookie8-option small {
    display: block;
    margin-top: 3px;
    color: #6b7280;
    line-height: 1.45;
    font-size: 12px;
    font-weight: 700;
}

.cookie8-option.is-disabled {
    opacity: .7;
    cursor: not-allowed;
}

.cookie8-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 16px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 800;
}

.cookie8-links a,
.cookie8-link-btn {
    color: #6b7280;
    text-decoration: none;
    font-weight: 800;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
}

.cookie8-links a:hover,
.cookie8-link-btn:hover { color: #111827; text-decoration: underline; }

.cookie8-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.cookie8-btn {
    min-height: 40px;
    padding: 0 18px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #374151;
    font-family: inherit;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .15s, background .15s, border-color .15s;
    white-space: nowrap;
}

.cookie8-btn[hidden] { display: none !important; }

.cookie8-btn:hover { background: #f9fafb; border-color: #d1d5db; transform: translateY(-1px); }

.cookie8-btn.primary {
    border-color: #111827;
    background: #111827;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(17,24,39,.18);
}

.cookie8-btn.primary:hover { background: #1f2937; border-color: #1f2937; }

.cookie8-btn.ghost { background: transparent; }

@media (max-width: 680px) {
    .cookie8-banner { left: 12px; right: 12px; bottom: 12px; }
    .cookie8-card { padding: 18px; border-radius: 16px; }
    .cookie8-head { grid-template-columns: 1fr; }
    .cookie8-icon { margin-bottom: 4px; }
    .cookie8-actions { flex-direction: column; justify-content: stretch; }
    .cookie8-btn { width: 100%; justify-content: center; display: flex; align-items: center; }
}

