/* Cookie notice uses the storefront tokens and stays behind dialogs. */
.cookie-notice {
    position: fixed;
    z-index: 1060;
    display: none;
    padding: var(--space-md);
    background: var(--surface-control);
    color: var(--ink);
    font: inherit;
    line-height: 1.4;
    transition: opacity .2s ease;
}
.cookie-notice-bottom { bottom: 0; left: 0; right: 0; width: 100%; }
.cookie-notice-left,
.cookie-notice-right { bottom: 20px; max-width: 350px; border-radius: var(--radius-sm); }
.cookie-notice-left { left: 20px; }
.cookie-notice-right { right: 20px; }
.cookie-notice-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
    max-width: 1410px;
    margin: 0 auto;
}
.cookie-notice-message { flex: 1; min-width: 250px; }
.cookie-notice-message a { color: var(--ink-accent); text-decoration: none; }
.cookie-notice-actions { flex-shrink: 0; }
.cookie-notice-button {
    min-height: var(--control-height);
    padding: 0 var(--space-md);
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--surface-active);
    color: var(--ink);
    font: inherit;
    cursor: pointer;
    white-space: nowrap;
}
.cookie-notice-button:hover { background: var(--surface-page); }
.cookie-notice-button:focus-visible { outline: 1px dashed var(--ink-accent); outline-offset: 2px; }
@media (max-width: 767px) {
    .cookie-notice-content { flex-direction: column; text-align: center; }
    .cookie-notice-message { min-width: 0; }
    .cookie-notice-left,
    .cookie-notice-right { left: 15px; right: 15px; bottom: 15px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .cookie-notice { transition: none; } }
