/* AI BotKit Ask AI Button */
.ai-botkit-ask-ai-btn,
.ai-botkit-enquiry-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;
    color: #ffffff;
    background: linear-gradient(135deg, #008858 0%, #0E594D 100%);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 136, 88, 0.25);
    text-decoration: none;
    min-height: 44px;
    margin: auto 10px;
}

.ai-botkit-ask-ai-btn:hover,
.ai-botkit-enquiry-cart-btn:hover {
    background: linear-gradient(135deg, #0E594D 0%, #008858 100%);
    box-shadow: 0 4px 12px rgba(0, 136, 88, 0.35);
    transform: translateY(-1px);
}

.ai-botkit-ask-ai-btn:active,
.ai-botkit-enquiry-cart-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0, 136, 88, 0.25);
}

.ai-botkit-ask-ai-btn::before,
.ai-botkit-enquiry-cart-btn::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3-1.912 5.813a2 2 0 0 1-1.275 1.275L3 12l5.813 1.912a2 2 0 0 1 1.275 1.275L12 21l1.912-5.813a2 2 0 0 1 1.275-1.275L21 12l-5.813-1.912a2 2 0 0 1-1.275-1.275L12 3Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* Position after add-to-cart form */
form.cart + .ai-botkit-ask-ai-btn,
.woocommerce-variation-add-to-cart + .ai-botkit-ask-ai-btn {
    margin-top: 0.75rem;
}

/* Position after product summary */
.product-summary + .ai-botkit-ask-ai-btn,
.product_meta + .ai-botkit-ask-ai-btn,
.woocommerce-product-details__short-description + .ai-botkit-ask-ai-btn {
    margin-top: 1rem;
}

/* Enquiry cart button spacing */
.ai-botkit-enquiry-cart-btn {
    margin-top: 1rem;
}

/* Override mode: hide PEP button */
.ai-botkit-override-pep {
    /* same styling, just tagged for JS override detection */
}

/* Responsive */
@media (max-width: 480px) {
    .ai-botkit-ask-ai-btn,
    .ai-botkit-enquiry-cart-btn {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
}
