
.ai-empty-options {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(21, 83, 74, 0.04);
}

.ai-result-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.ai-qty-control {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(21, 83, 74, 0.06);
}

.ai-qty-value {
    min-width: 20px;
    text-align: center;
    font-weight: 700;
    color: #173f39;
}

.ai-qty-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    background: #fff;
    color: #15534a;
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(20, 82, 72, 0.12);
}

.ai-qty-btn[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.ai-summary-panel {
    position: sticky;
    top: 0;
    display: grid;
    gap: 12px;
    background:
        radial-gradient(circle at top right, rgba(215, 180, 106, 0.18), transparent 36%),
        rgba(255, 251, 244, 0.94);
}

.ai-modal-shell.ai-mode-review .ai-summary-panel {
    position: static;
    display: block;
    padding: 14px;
}

.ai-summary-content {
    display: grid;
    gap: 14px;
}

.ai-summary-total,
.ai-summary-metric {
    padding: 11px 12px;
    border-radius: 18px;
    background: rgba(21, 83, 74, 0.06);
}

.ai-summary-total {
    display: grid;
    gap: 4px;
}

.ai-summary-stack {
    display: grid;
    gap: 8px;
}

.ai-modal-shell.ai-mode-review .ai-summary-note {
    display: none;
}

.ai-modal-shell.ai-mode-review .ai-summary-actions {
    margin-top: 12px;
}

.ai-summary-note {
    padding-top: 4px;
}

.ai-text-link {
    color: #15534a;
    font-weight: 700;
    text-decoration: none;
}

.ai-text-link:hover {
    text-decoration: underline;
}

.ai-pix-payment-card {
    display: grid;
    gap: 12px;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid rgba(21, 83, 74, 0.18);
    border-radius: 8px;
    background: #ffffff;
}

.ai-pix-payment-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    color: #173f39;
}

.ai-pix-payment-grid {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 12px;
}

.ai-pix-payment-qr {
    width: 128px;
    height: 128px;
    border-radius: 8px;
    object-fit: contain;
    background: #fff;
    border: 1px solid rgba(21, 83, 74, 0.14);
}

.ai-pix-payment-qr-empty {
    display: grid;
    place-items: center;
    color: #6b7280;
    font-weight: 700;
}

.ai-pix-payment-copy {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.ai-pix-payment-copy span {
    color: #475569;
    font-size: 0.86rem;
    font-weight: 700;
}

.ai-pix-copy-code {
    width: 100%;
    min-height: 84px;
    resize: vertical;
    border: 1px solid rgba(21, 83, 74, 0.18);
    border-radius: 8px;
    padding: 8px;
    font: 0.82rem/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: #173f39;
    background: #f8fafc;
}

@media (max-width: 640px) {
    .ai-pix-payment-grid {
        grid-template-columns: 1fr;
    }

    .ai-pix-payment-qr {
        width: min(220px, 100%);
        height: auto;
        aspect-ratio: 1;
        justify-self: center;
    }
}

@keyframes aiFabEnter {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes aiPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 215, 154, 0.55);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(245, 215, 154, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(245, 215, 154, 0);
    }
}

@keyframes aiShimmer {
    from {
        background-position: -220px 0;
    }
    to {
        background-position: 220px 0;
    }
}

@keyframes aiOrbitOne {
    0% { transform: rotate(0deg) translateX(22px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(22px) rotate(-360deg); }
}

@keyframes aiOrbitTwo {
    0% { transform: rotate(120deg) translateX(28px) rotate(-120deg); }
    100% { transform: rotate(480deg) translateX(28px) rotate(-480deg); }
}

@keyframes aiOrbitThree {
    0% { transform: rotate(240deg) translateX(17px) rotate(-240deg); }
    100% { transform: rotate(600deg) translateX(17px) rotate(-600deg); }
}

@media (max-width: 1080px) {
    .ai-review-layout {
        grid-template-columns: 1fr;
    }

    .ai-summary-panel {
        position: static;
    }
}
