/* Cookie Consent — Component CSS */
.sh-cookie-bar {
    display: none; position: fixed; bottom: 0; left: 0; right: 0;
    z-index: var(--z-cookie-consent, 9995);
    background: var(--pi-bg-card, #1e293b); color: var(--pi-text-2, #e2e8f0);
    padding: 16px 24px; padding-bottom: max(16px, env(safe-area-inset-bottom)); font-size: 14px; line-height: 1.5;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    font-family: 'Be Vietnam Pro', sans-serif;
}
.sh-cookie-bar-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
}
.sh-cookie-bar p { margin: 0; flex: 1; min-width: 200px; }
.sh-cookie-bar a { color: var(--color-secondary, #ffff00); text-decoration: underline; }
.sh-cookie-btns { display: flex; gap: 8px; flex-shrink: 0; }
.sh-cookie-accept {
    background: var(--pi-primary, #007d3d); color: #fff; border: none; padding: 8px 20px;
    border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 600; transition: background 0.2s;
}
.sh-cookie-accept:hover { background: #00a84d; }
.sh-cookie-decline {
    background: transparent; color: var(--pi-text-muted, #94a3b8); border: 1px solid var(--pi-border, #475569);
    padding: 8px 20px; border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 500; transition: background 0.2s;
}
.sh-cookie-decline:hover { background: var(--pi-bg-elevated, #334155); }
/* Dark mode adaptation */
.dark .sh-cookie-bar { background: var(--sh-bg-card, #1e293b); color: var(--sh-text, #e2e8f0); }
.dark .sh-cookie-decline { color: var(--pi-text-2, #e2e8f0); border-color: var(--pi-text-2, #4b5563); }
.dark .sh-cookie-decline:hover { background: var(--pi-bg-elevated, #374151); }
@media (max-width: 640px) {
    .sh-cookie-bar { padding: 14px 16px; font-size: 12px; }
    .sh-cookie-bar-inner { flex-direction: column; text-align: center; }
    .sh-cookie-btns { width: 100%; justify-content: center; }
    .sh-cookie-accept, .sh-cookie-decline { flex: 1; padding: 10px 16px; }
}
