/* Cookie Notice – colourspace.com */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--color-bg-elevated, #1a2027);
    border-top: 1px solid var(--color-border, #2d3740);
    padding: 1.25rem 1.5rem;
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
    transition: transform 0.4s ease;
    -webkit-transform: translateY(100%);
    -webkit-transition: -webkit-transform 0.4s ease;
    /* iOS Safari: force GPU layer for reliable fixed positioning */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}
.cookie-notice.visible {
    transform: translateY(0);
    -webkit-transform: translateY(0);
}
.cookie-notice-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    gap: 1.25rem;
}
.cookie-notice-mascot {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    -webkit-flex-shrink: 0;
}
.cookie-notice-mascot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.cookie-notice-text {
    flex: 1;
    -webkit-flex: 1;
}
.cookie-notice-text p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--color-text-muted, #9aa0a6);
    line-height: 1.5;
}
.cookie-notice-btn {
    background: var(--color-accent, #1E9696);
    color: var(--color-bg, #0f1419);
    border: none;
    padding: 0.6rem 1.25rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-body, 'Outfit', sans-serif);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
@media (hover: hover) {
    .cookie-notice-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(30, 150, 150, 0.3);
    }
}
@media (max-width: 600px) {
    .cookie-notice {
        padding: 1rem;
        padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
        max-height: 85vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .cookie-notice-inner {
        flex-direction: column;
        -webkit-flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    .cookie-notice-mascot {
        width: 48px;
        height: 48px;
    }
    .cookie-notice-text p {
        font-size: 0.8125rem;
        line-height: 1.4;
    }
    .cookie-notice-btn {
        width: 100%;
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
    }
}
