#aitech-cart-feedback {
    position: fixed;
    z-index: 999997;
    right: max(16px, env(safe-area-inset-right));
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 12px;
    width: max-content;
    max-width: min(350px, calc(100vw - 32px));
    padding: 12px 16px;
    border: 1px solid #bddacb;
    border-radius: 14px;
    background: #f4fcf7;
    color: #102f23;
    box-shadow: 0 5px 22px rgba(12, 32, 24, .22);
    font: 500 14px/1.35 system-ui, sans-serif;
    text-align: start;
    pointer-events: none;
    opacity: 0;
}

#aitech-cart-feedback[data-visible="true"] { opacity: 1; }
#aitech-cart-feedback .acf-check {
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    height: 32px;
    border-radius: 50%;
    background: #12633f;
    color: #fff;
    font-size: 19px;
    font-weight: 700;
}
#aitech-cart-feedback .acf-copy { display: grid; gap: 1px; min-width: 0; }
#aitech-cart-feedback .acf-heading { color: #1d6446; font-size: 12px; font-weight: 700; }
#aitech-cart-feedback .acf-product {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    overflow-wrap: anywhere;
    font-size: 16px;
}
#aitech-cart-feedback .acf-quantity { color: #385847; font-size: 13px; }
@media (max-width: 600px) {
    #aitech-cart-feedback {
        left: max(12px, env(safe-area-inset-left));
        right: auto;
    }
}
#aitech-order-app .acf-highlight, #aitech-fab.acf-highlight {
    box-shadow: 0 0 0 2px #fff, 0 0 0 5px #267a53;
}
.acf-flying-count {
    position: fixed;
    z-index: 999998;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #165c40;
    color: #fff;
    box-shadow: 0 0 0 2px #fff, 0 3px 10px #0004;
    font: 700 15px/1 system-ui, sans-serif;
    pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
    #aitech-cart-feedback[data-visible="true"] { animation: acf-notice-in .2s ease-out; }
    #aitech-order-app .acf-highlight, #aitech-fab.acf-highlight { animation: acf-ring .6s ease-out; }
    @keyframes acf-notice-in {
        from { opacity: 0; transform: translateY(6px); }
        to { opacity: 1; transform: translateY(0); }
    }
    @keyframes acf-ring {
        from { box-shadow: 0 0 0 2px #fff, 0 0 0 2px #267a53; }
        50% { box-shadow: 0 0 0 2px #fff, 0 0 0 7px #267a53; }
    }
}

@media (prefers-reduced-motion: reduce) { .acf-flying-count { display: none; } }
@media print { #aitech-cart-feedback, .acf-flying-count { display: none; } }
