/*
 * PDPA cookie banner (template-parts/sections/shared/pdpa-banner.php).
 *
 * Its own file because the banner renders on EVERY front-end page --
 * mgk_pdpa_banner_maybe_render() is hooked to wp_footer with no portal
 * exclusion -- while these rules used to sit in mgk-retail.css, which
 * functions.php deliberately skips for merchant pages. The banner therefore
 * appeared on the merchant portal with no layout at all: full-bleed text and
 * three buttons loose on the page, no fixed bar, no card, no border.
 *
 * Every token carries a literal fallback, because mgk-tokens.css is skipped on
 * merchant pages too -- var() alone would have left the card transparent and
 * borderless there even once the rules arrived.
 *
 * The buttons need nothing here: .mgk-btn and its --ghost/--outline/--navy
 * variants exist in both the storefront and the merchant bundles.
 */

.mgk-cookiebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; display: flex; justify-content: center; padding: 16px; pointer-events: none; }
.mgk-cookiebar__card { pointer-events: auto; width: 100%; max-width: 920px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; background: var(--mgk-surface, #FFFFFF); border: 2px solid var(--mgk-navy, #1B3A52); border-radius: var(--mgk-radius-sm, 12px); box-shadow: var(--mgk-shadow-lg, 0 10px 30px rgba(27,58,82,.16)); padding: 16px 20px; }
.mgk-cookiebar__text { flex: 1 1 380px; font-size: 13px; line-height: 1.6; color: var(--mgk-text-2, #4A6580); margin: 0; }
.mgk-cookiebar__link { color: var(--mgk-teal, #0099B3); text-decoration: none; }
.mgk-cookiebar__link:hover { text-decoration: underline; }
.mgk-cookiebar__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
@media (max-width: 640px) { .mgk-cookiebar__actions { width: 100%; } .mgk-cookiebar__actions .mgk-btn { flex: 1 1 auto; } }
