﻿/* partials-consent-banner.css */
.nz-consent {
        position: fixed;
        left: 1rem;
        bottom: 1rem;
        z-index: 80;
        width: min(30rem, calc(100vw - 2rem));
    }

    .nz-consent[hidden] {
        display: none;
    }

    .nz-consent__panel {
        display: grid;
        gap: 1rem;
        padding: 1rem 1.1rem;
        border: 1px solid rgba(209, 213, 219, 0.95);
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 8px 24px rgba(26, 36, 47, 0.08);
    }

    .nz-consent__copy {
        display: grid;
        gap: 0.4rem;
    }

    .nz-consent__copy h2 {
        margin: 0;
        color: #1a242f;
        font-family: "Montserrat", "Inter", "Lato", "Open Sans", ui-sans-serif, system-ui, sans-serif;
        font-size: 0.9rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .nz-consent__copy p {
        margin: 0;
        color: #5d6773;
        font-family: "Inter", "Lato", "Open Sans", ui-sans-serif, system-ui, sans-serif;
        font-size: 0.94rem;
        line-height: 1.6;
    }

    .nz-consent__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .nz-consent__button {
        min-height: 2.75rem;
        padding: 0.7rem 1rem;
        border: 1px solid #1a242f;
        border-radius: 0;
        background: transparent;
        color: #1a242f;
        font-family: "Inter", "Lato", "Open Sans", ui-sans-serif, system-ui, sans-serif;
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .nz-consent__button--primary {
        border-color: #c5a059;
        background: #c5a059;
        color: #ffffff;
    }

    .nz-consent__button:focus-visible {
        outline: 0;
        box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.18);
    }

    @media (max-width: 640px) {
        .nz-consent {
            left: 0.75rem;
            bottom: 0.75rem;
            width: calc(100vw - 1.5rem);
        }

        .nz-consent__actions {
            display: grid;
            grid-template-columns: 1fr;
        }
    }


/* partials-cart-animation.css */
.nz-cart-flyer {
        position: fixed;
        z-index: 9999;
        pointer-events: none;
        overflow: hidden;
        border: 2px solid rgba(205, 180, 120, 0.86);
        background: #fff;
        box-shadow:
            0 18px 44px rgba(20, 28, 35, 0.24),
            0 0 0 6px rgba(205, 180, 120, 0.18);
        will-change: transform, opacity;
    }

    .nz-cart-flyer-icon {
        display: grid;
        width: 100%;
        height: 100%;
        place-items: center;
        color: #141c23;
        background: #cdb478;
    }

    .nz-cart-flyer-icon svg {
        width: 58%;
        height: 58%;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.9;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .nz-cart-flyer img {
        display: block;
        width: 100%;
        height: 100%;
        background: #fff;
        object-fit: contain;
    }

    [data-cart-animation-target].is-cart-animation-target,
    [data-nz-cart-animation-target].is-cart-animation-target {
        box-shadow: 0 0 0 4px rgba(205, 180, 120, 0.28);
    }

    .b2c-flycart-panel.is-nz-cart-accepting .b2c-flycart-total,
    .b2c-flycart-panel.is-nz-cart-accepting .b2c-flycart-actions {
        transform: translateY(54px);
    }

    .dashboard-cart-total,
    .dashboard-cart-actions,
    .b2c-flycart-total,
    .b2c-flycart-actions {
        transition: transform 260ms cubic-bezier(.22, .85, .28, 1);
    }

    .dashboard-cart-item.is-nz-cart-line-glow,
    .b2c-flycart-item.is-nz-cart-line-glow {
        animation: nzCartLineGlow 980ms ease-out 1;
    }

    .dashboard-cart-item,
    .b2c-flycart-item {
        position: relative;
        overflow: hidden;
    }

    .dashboard-cart-item > *,
    .b2c-flycart-item > * {
        position: relative;
        z-index: 1;
    }

    .dashboard-cart-item.is-nz-cart-line-primed [data-nz-cart-line-content],
    .dashboard-cart-item.is-nz-cart-line-primed [data-nz-cart-line-stepper],
    .dashboard-cart-item.is-nz-cart-line-primed [data-nz-cart-line-price],
    .b2c-flycart-item.is-nz-cart-line-primed [data-nz-cart-line-content],
    .b2c-flycart-item.is-nz-cart-line-primed [data-nz-cart-line-stepper],
    .b2c-flycart-item.is-nz-cart-line-primed [data-nz-cart-line-price] {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }

    .dashboard-cart-item.is-nz-cart-line-revealing [data-nz-cart-line-content],
    .dashboard-cart-item.is-nz-cart-line-revealing [data-nz-cart-line-stepper],
    .dashboard-cart-item.is-nz-cart-line-revealing [data-nz-cart-line-price],
    .b2c-flycart-item.is-nz-cart-line-revealing [data-nz-cart-line-content],
    .b2c-flycart-item.is-nz-cart-line-revealing [data-nz-cart-line-stepper],
    .b2c-flycart-item.is-nz-cart-line-revealing [data-nz-cart-line-price] {
        animation: nzCartContentReveal 1460ms cubic-bezier(.18,.76,.22,1) forwards;
    }

    .dashboard-cart-item.is-nz-cart-line-revealing::after,
    .b2c-flycart-item.is-nz-cart-line-revealing::after {
        content: "";
        position: absolute;
        inset: 3px 0 3px 0;
        z-index: 0;
        pointer-events: none;
        background:
            linear-gradient(90deg,
                rgba(205, 180, 120, 0) 0%,
                rgba(205, 180, 120, .1) 28%,
                rgba(205, 180, 120, .42) 50%,
                rgba(205, 180, 120, .13) 72%,
                rgba(205, 180, 120, 0) 100%);
        filter: blur(.2px);
        opacity: 0;
        transform: translateX(-72%) scaleX(.38);
        animation: nzCartLineSweep 1500ms cubic-bezier(.18,.76,.22,1) forwards;
    }

    [data-nz-cart-line-thumb].is-nz-cart-thumb-settle {
        animation: nzCartThumbSettle 420ms cubic-bezier(.2,.9,.25,1) 1;
    }

    [data-nz-cart-line-stepper].is-nz-cart-stepper-pulse,
    [data-nz-cart-line-price].is-nz-cart-stepper-pulse {
        animation: nzCartSmallPulse 640ms ease-out 1;
    }

    [data-nz-cart-subtotal].is-nz-cart-subtotal-pulse {
        display: inline-block;
        transform-origin: right center;
        animation: nzCartSubtotalPulse 780ms ease-out 1;
    }

    [data-nz-cart-animation-source].is-nz-cart-source-added {
        opacity: .46;
        transform: translateY(3px) scale(.985);
        transition: opacity 260ms ease, transform 260ms ease;
    }

    @keyframes nzCartContentReveal {
        0% {
            opacity: 0;
            clip-path: inset(0 100% 0 0);
        }
        34% {
            opacity: .58;
        }
        100% {
            opacity: 1;
            clip-path: inset(0 0 0 0);
        }
    }

    @keyframes nzCartLineSweep {
        0% {
            opacity: 0;
            transform: translateX(-72%) scaleX(.38);
        }
        18% {
            opacity: 1;
        }
        76% {
            opacity: .82;
        }
        100% {
            opacity: 0;
            transform: translateX(84%) scaleX(.48);
        }
    }

    @keyframes nzCartThumbSettle {
        0% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(205, 180, 120, 0);
        }
        36% {
            transform: scale(1.045);
            box-shadow: 0 0 0 5px rgba(205, 180, 120, .18);
        }
        100% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(205, 180, 120, 0);
        }
    }

    @keyframes nzCartSmallPulse {
        0% {
            box-shadow: 0 0 0 0 rgba(205, 180, 120, 0);
            filter: brightness(1);
        }
        42% {
            box-shadow: 0 0 0 4px rgba(205, 180, 120, .16);
            filter: brightness(1.06);
        }
        100% {
            box-shadow: 0 0 0 0 rgba(205, 180, 120, 0);
            filter: brightness(1);
        }
    }

    @keyframes nzCartSubtotalPulse {
        0% {
            color: inherit;
            text-shadow: none;
            transform: scale(1);
        }
        38% {
            color: #a0845d;
            text-shadow: 0 0 16px rgba(205, 180, 120, .34);
            transform: scale(1.14);
        }
        64% {
            transform: scale(1.06);
        }
        100% {
            color: inherit;
            text-shadow: none;
            transform: scale(1);
        }
    }

    @keyframes nzCartLineGlow {
        0% {
            background: rgba(205, 180, 120, 0.22);
            box-shadow: inset 0 0 0 1px rgba(205, 180, 120, 0.48), 0 0 0 rgba(205, 180, 120, 0);
        }
        46% {
            background: rgba(205, 180, 120, 0.14);
            box-shadow: inset 0 0 0 1px rgba(205, 180, 120, 0.34), 0 12px 24px rgba(205, 180, 120, 0.16);
        }
        100% {
            background: transparent;
            box-shadow: inset 0 0 0 0 rgba(205, 180, 120, 0), 0 0 0 rgba(205, 180, 120, 0);
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .b2c-flycart-panel.is-nz-cart-accepting .b2c-flycart-total,
        .b2c-flycart-panel.is-nz-cart-accepting .b2c-flycart-actions {
            transform: none;
        }

        .dashboard-cart-item.is-nz-cart-line-glow,
        .b2c-flycart-item.is-nz-cart-line-glow {
            animation: none;
            box-shadow: inset 0 0 0 2px rgba(205, 180, 120, 0.38);
        }

        .dashboard-cart-item.is-nz-cart-line-primed [data-nz-cart-line-content],
        .dashboard-cart-item.is-nz-cart-line-primed [data-nz-cart-line-stepper],
        .dashboard-cart-item.is-nz-cart-line-primed [data-nz-cart-line-price],
        .b2c-flycart-item.is-nz-cart-line-primed [data-nz-cart-line-content],
        .b2c-flycart-item.is-nz-cart-line-primed [data-nz-cart-line-stepper],
        .b2c-flycart-item.is-nz-cart-line-primed [data-nz-cart-line-price] {
            opacity: 1;
            clip-path: none;
        }
    }



.nz-impersonation-banner {
    position: relative;
    z-index: 80;
    padding: 10px 16px;
    background: #fff7ed;
    border-bottom: 1px solid #fed7aa;
    color: #7c2d12;
    font: 600 14px/1.4 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.nz-impersonation-form {
    display: inline;
}

.nz-impersonation-stop {
    margin-left: 12px;
    text-decoration: underline;
    font: inherit;
    color: inherit;
    background: transparent;
    border: 0;
    cursor: pointer;
}
