#orc-launcher.orc-launcher{position:fixed;bottom:24px;width:64px;height:64px;border-radius:999px;border:0;background:var(--orc-primary);color:#fff;font-size:28px;box-shadow:0 14px 30px rgba(0,0,0,.22);z-index:99998;cursor:pointer;display:flex;align-items:center;justify-content:center}
#orc-widget.orc-widget{position:fixed;bottom:98px;width:min(390px,calc(100vw - 32px));height:min(640px,calc(100vh - 124px));background:#fff;border:1px solid #e5e7eb;border-radius:22px;box-shadow:0 28px 80px rgba(15,23,42,.28);z-index:99999;display:flex;flex-direction:column;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
#orc-widget[hidden]{display:none!important}
.orc-header{background:var(--orc-primary);color:#fff;padding:16px;display:flex;justify-content:space-between;align-items:center}
.orc-header strong{display:block;font-size:16px}.orc-header span{font-size:12px;opacity:.9}.orc-close{background:transparent;border:0;color:#fff;font-size:28px;cursor:pointer}
.orc-messages{flex:1;overflow:auto;padding:16px;background:#f8fafc}
.orc-message{display:flex;margin:10px 0}.orc-user{justify-content:flex-end}.orc-assistant{justify-content:flex-start}
.orc-bubble{max-width:82%;padding:11px 13px;border-radius:16px;font-size:14px;line-height:1.45;white-space:pre-wrap;word-break:break-word}
.orc-user .orc-bubble{background:var(--orc-primary);color:#fff;border-bottom-right-radius:5px}.orc-assistant .orc-bubble{background:#fff;color:#0f172a;border:1px solid #e5e7eb;border-bottom-left-radius:5px}
.orc-form{display:flex;gap:10px;padding:12px;background:#fff;border-top:1px solid #e5e7eb}.orc-form textarea{flex:1;resize:none;min-height:44px;max-height:120px;border:1px solid #d1d5db;border-radius:14px;padding:11px;font-size:14px}.orc-form button,.orc-order-form button,.orc-lead-form button{background:var(--orc-primary);border:0;color:#fff;border-radius:14px;padding:0 16px;cursor:pointer;font-weight:700}
.orc-contact-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px 12px;background:#fff;border-top:1px solid #e5e7eb}.orc-contact-actions a{display:flex;align-items:center;justify-content:center;gap:7px;min-height:38px;border-radius:12px;text-decoration:none;font-size:14px;font-weight:700;line-height:1.2}.orc-contact-call{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}.orc-contact-whatsapp{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}
.orc-quick-actions{display:flex;gap:8px;padding:10px 12px;background:#fff;border-top:1px solid #e5e7eb;overflow-x:auto}.orc-quick-actions button{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:max-content;min-height:34px;border:1px solid #d1d5db!important;border-radius:999px!important;background:#fff!important;color:#0f172a!important;padding:8px 12px!important;white-space:nowrap;cursor:pointer;font-size:13px!important;font-weight:600!important;line-height:1.2!important;text-indent:0!important;letter-spacing:normal!important;opacity:1!important}.orc-quick-actions button span{display:inline!important;color:#0f172a!important;font-size:13px!important;line-height:1.2!important;visibility:visible!important}
.orc-order-form,.orc-lead-form{display:grid;gap:8px;padding:12px;background:#fff7ed;border-top:1px solid #fed7aa}.orc-order-form[hidden],.orc-lead-form[hidden]{display:none}.orc-order-form input,.orc-lead-form input{border:1px solid #d1d5db;border-radius:10px;padding:10px}
.orc-products{display:grid;gap:10px;margin:10px 0}.orc-product{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:12px}.orc-product strong,.orc-product span{display:block}.orc-product span{font-size:13px;color:#475569;margin-top:4px}.orc-product-actions{display:flex;gap:8px;margin-top:10px}.orc-product-actions a{background:#f1f5f9;border-radius:999px;padding:6px 10px;text-decoration:none;color:#0f172a;font-size:13px}
@media (max-width:480px){#orc-widget.orc-widget{bottom:0;right:0!important;left:0!important;width:100vw;height:100vh;border-radius:0}.orc-launcher{bottom:18px!important}.orc-contact-actions{grid-template-columns:1fr 1fr}.orc-quick-actions{padding:8px 10px}}
@media (prefers-reduced-motion:no-preference){#orc-launcher{animation:orcPulse 2.2s infinite}@keyframes orcPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.05)}}}


/* Enterprise theme-isolation hardening for action buttons. Some WordPress themes set button text to transparent or font-size:0. */
#orc-widget.orc-widget .orc-quick-actions button,
#orc-widget.orc-widget .orc-quick-actions button *,
#orc-widget.orc-widget .orc-contact-actions a,
#orc-widget.orc-widget .orc-contact-actions a *{
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:700!important;
    text-transform:none!important;
    text-indent:0!important;
    letter-spacing:normal!important;
    color:inherit!important;
    -webkit-text-fill-color:currentColor!important;
    visibility:visible!important;
    opacity:1!important;
    overflow:visible!important;
    white-space:nowrap!important;
}
#orc-widget.orc-widget .orc-quick-actions button{
    color:#0f172a!important;
    background:#fff!important;
    min-width:auto!important;
    width:auto!important;
    height:auto!important;
}
#orc-widget.orc-widget .orc-contact-call{color:#1d4ed8!important}
#orc-widget.orc-widget .orc-contact-whatsapp{color:#047857!important}


#orc-widget.orc-widget .orc-product-actions button,
#orc-widget.orc-widget .orc-product-actions .orc-view-cart{
    appearance:none!important;
    border:0!important;
    border-radius:999px!important;
    padding:6px 10px!important;
    background:#f1f5f9!important;
    color:#0f172a!important;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:500!important;
    text-decoration:none!important;
    cursor:pointer!important;
    width:auto!important;
    height:auto!important;
    min-width:auto!important;
    text-transform:none!important;
    -webkit-text-fill-color:currentColor!important;
}
#orc-widget.orc-widget .orc-product-actions button:hover,
#orc-widget.orc-widget .orc-product-actions .orc-view-cart:hover{
    filter:brightness(.96);
}
#orc-widget.orc-widget .orc-product-actions button:disabled{
    cursor:not-allowed!important;
    opacity:.75!important;
}
#orc-widget.orc-widget .orc-product-actions .orc-added{
    background:#dcfce7!important;
    color:#166534!important;
}


/* Checkout safety: prevents a customer from placing an order while chatbot cart changes are syncing. */
body.orc-cart-syncing #place_order,
body.orc-cart-syncing button[name="woocommerce_checkout_place_order"] {
    opacity: .55 !important;
    pointer-events: none !important;
}
