.ogi-assistant,
.ogi-assistant * {
    box-sizing: border-box;
}

.ogi-assistant {
    --ogi-primary: #0b5c34;
    --ogi-text: #15211a;
    --ogi-muted: #6d756f;
    --ogi-line: #e3e9e5;
    --ogi-soft: #f4f8f5;
    position: fixed;
    z-index: 999990;
    right: 22px;
    bottom: 88px;
    font-family: inherit;
    color: var(--ogi-text);
}

.ogi-launcher {
    position: relative;
    width: 86px;
    height: 96px;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    background-image: none !important;
    color: var(--ogi-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: transform .18s ease, filter .18s ease;
}

.ogi-launcher:hover,
.ogi-launcher:focus,
.ogi-launcher:focus-visible,
.ogi-launcher:active {
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    transform: translateY(-2px) scale(1.02);
    filter: drop-shadow(0 12px 24px rgba(11, 92, 52, .16));
}

.ogi-launcher__icon {
    width: 84px;
    height: 84px;
    display: block;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    filter: drop-shadow(0 9px 18px rgba(11, 92, 52, .14));
    transform: translateY(-5px);
}

.ogi-launcher__icon img,
.ogi-panel__leaf img {
    width: 100%;
    height: 100%;
    display: block;
}

.ogi-launcher__icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.ogi-launcher__name {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    min-width: 34px;
    padding: 3px 9px 4px;
    border: 0 !important;
    border-radius: 999px;
    outline: 0 !important;
    background: var(--ogi-primary) !important;
    color: #fff !important;
    box-shadow: 0 4px 11px rgba(11, 92, 52, .18);
    font-family: inherit;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .01em;
    text-transform: none;
    white-space: nowrap;
    pointer-events: none;
}

.ogi-panel__leaf img {
    object-fit: cover;
}

.ogi-panel {
    position: absolute;
    right: 0;
    bottom: 82px;
    width: min(390px, calc(100vw - 32px));
    height: min(610px, calc(100vh - 150px));
    min-height: 480px;
    border: 1px solid rgba(17, 55, 35, .09);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 22px 60px rgba(22, 45, 31, .22);
    display: grid;
    grid-template-rows: auto auto auto minmax(0, 1fr) auto auto;
    transform-origin: right bottom;
    animation: ogi-pop .18s ease-out;
}

.ogi-panel[hidden] {
    display: none !important;
}

@keyframes ogi-pop {
    from { opacity: 0; transform: translateY(10px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.ogi-panel__header {
    min-height: 68px;
    padding: 12px 13px 12px 15px;
    background: var(--ogi-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ogi-panel__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.ogi-panel__leaf {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    background: #f8fbf3;
    overflow: hidden;
}

.ogi-panel__brand strong,
.ogi-panel__brand span {
    display: block;
}

.ogi-panel__brand strong {
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
    letter-spacing: .01em;
}

.ogi-panel__brand span {
    margin-top: 2px;
    font-size: 10px;
    line-height: 1.35;
    color: rgba(255,255,255,.82);
    letter-spacing: .01em;
}

.ogi-panel__actions {
    display: flex;
    gap: 4px;
}

/* Contextual product actions: readable compact toolbar outside the message body. */
.ogi-product-toolbar {
    grid-row: 3;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px 8px;
    border-bottom: 1px solid #e7eee9;
    background: #f7faf8;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    position: relative;
    z-index: 2;
}

.ogi-product-toolbar::-webkit-scrollbar {
    display: none;
}

.ogi-product-toolbar[hidden] {
    display: none !important;
}

.ogi-assistant .ogi-product-toolbar .ogi-product-toolbar__button {
    flex: 0 0 auto;
    width: auto !important;
    min-width: 88px !important;
    min-height: 31px !important;
    margin: 0 !important;
    padding: 6px 10px !important;
    border: 1px solid rgba(11, 92, 52, .18) !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #174d31 !important;
    font-family: inherit !important;
    font-size: 10.2px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    text-align: center !important;
    white-space: nowrap !important;
    box-shadow: 0 1px 2px rgba(16, 55, 35, .04) !important;
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.ogi-assistant .ogi-product-toolbar .ogi-product-toolbar__button:hover,
.ogi-assistant .ogi-product-toolbar .ogi-product-toolbar__button:focus-visible {
    border-color: rgba(11, 92, 52, .42) !important;
    background: #edf7f0 !important;
    color: var(--ogi-primary) !important;
    outline: 0 !important;
    transform: translateY(-1px);
}

.ogi-icon-button {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.ogi-icon-button:hover,
.ogi-icon-button:focus-visible {
    background: rgba(255,255,255,.14);
    outline: 0;
}

.ogi-icon-button i {
    font-size: 15px;
    line-height: 1;
}

.ogi-icon-button svg {
    width: 16px;
    height: 16px;
}

.ogi-panel__body {
    grid-row: 4;
    min-height: 0;
    overflow-y: auto;
    padding: 16px 15px 12px;
    background: linear-gradient(#fff, #fbfdfb);
    scroll-behavior: smooth;
}

.ogi-message {
    display: flex;
    margin-bottom: 12px;
}

.ogi-message--user {
    justify-content: flex-end;
}

.ogi-message__bubble {
    max-width: 88%;
    padding: 11px 12px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.55;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.ogi-message--assistant .ogi-message__bubble {
    background: var(--ogi-soft);
    border: 1px solid #e1ebe4;
    border-top-left-radius: 5px;
}

.ogi-message--user .ogi-message__bubble {
    background: var(--ogi-primary);
    color: #fff;
    border-bottom-right-radius: 5px;
}

/* Compact product technical table built from WooCommerce attributes. */
.ogi-technical-table {
    width: 100%;
    max-height: 245px;
    margin-top: 8px;
    overflow-y: auto;
    border: 1px solid #dce7df;
    border-radius: 9px;
    background: #fff;
    scrollbar-width: thin;
}

.ogi-technical-table__row {
    display: grid;
    grid-template-columns: minmax(92px, .78fr) minmax(0, 1.45fr);
    gap: 8px;
    padding: 7px 8px;
    border-bottom: 1px solid #edf2ee;
    font-size: 10px;
    line-height: 1.35;
    white-space: normal;
}

.ogi-technical-table__row:last-child {
    border-bottom: 0;
}

.ogi-technical-table__row strong {
    color: #244431;
    font-size: 9.8px;
    font-weight: 800;
}

.ogi-technical-table__row span {
    min-width: 0;
    color: #53645a;
    overflow-wrap: anywhere;
}

.ogi-message__links {
    margin-top: 8px;
    display: grid;
    gap: 6px;
}

.ogi-message__links a {
    display: block;
    padding: 8px 10px;
    border: 1px solid rgba(11, 92, 52, .23);
    border-radius: 9px;
    background: #fff;
    color: var(--ogi-primary);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.ogi-message__links a:hover,
.ogi-message__links a:focus-visible {
    border-color: var(--ogi-primary);
    background: #f6faf7;
}

.ogi-quick-actions {
    grid-row: 2;
    z-index: 8;
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 7px 9px;
    border-bottom: 1px solid #e7eee9;
    background: #fff;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    box-shadow: 0 2px 7px rgba(15, 54, 33, .035);
}

.ogi-quick-actions::-webkit-scrollbar {
    display: none;
}

.ogi-quick-actions[hidden] {
    display: none !important;
}

.ogi-quick-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 0 auto;
    min-width: 78px;
    min-height: 30px;
    margin: 0;
    border: 1px solid rgba(11, 92, 52, .14);
    border-radius: 9px;
    padding: 6px 8px;
    background: #f5f9f6;
    color: #275c3d;
    font-family: inherit;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
    box-shadow: none;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}

.ogi-quick-actions button:hover,
.ogi-quick-actions button:focus-visible {
    border-color: rgba(11, 92, 52, .38);
    background: #eaf5ed;
    color: var(--ogi-primary);
    outline: 0;
    transform: translateY(-1px);
}

.ogi-quick-actions button:active {
    background: #e2f0e6;
    transform: translateY(0);
}

.ogi-typing {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    padding: 12px;
    border-radius: 13px;
    background: var(--ogi-soft);
    border: 1px solid #e1ebe4;
}

.ogi-typing i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #789383;
    animation: ogi-dot 1s infinite ease-in-out;
}

.ogi-typing i:nth-child(2) { animation-delay: .13s; }
.ogi-typing i:nth-child(3) { animation-delay: .26s; }

@keyframes ogi-dot {
    0%, 80%, 100% { transform: translateY(0); opacity: .45; }
    40% { transform: translateY(-4px); opacity: 1; }
}

.ogi-contact-bar {
    grid-row: 5;
    padding: 8px 11px 0;
    background: #fff;
}

.ogi-whatsapp {
    width: 100%;
    min-height: 40px;
    padding: 9px 13px;
    border: 1px solid rgba(11, 92, 52, .22);
    border-radius: 12px;
    background: #f1f9f3;
    color: var(--ogi-primary) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none !important;
    transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}

.ogi-whatsapp i {
    font-size: 17px;
}

.ogi-whatsapp:hover,
.ogi-whatsapp:focus-visible {
    border-color: rgba(11, 92, 52, .44);
    background: #e7f5eb;
    color: #084929 !important;
    outline: 0;
    transform: translateY(-1px);
}

.ogi-composer {
    grid-row: 6;
    min-height: 70px;
    padding: 10px 11px;
    border-top: 1px solid var(--ogi-line);
    background: #fff;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 43px;
    align-items: end;
    gap: 8px;
}

.ogi-assistant .ogi-composer textarea {
    width: 100% !important;
    min-height: 44px;
    max-height: 110px;
    resize: none;
    border: 1px solid rgba(11, 92, 52, .34) !important;
    border-radius: 13px !important;
    padding: 11px 12px !important;
    background: #fff !important;
    background-image: none !important;
    color: var(--ogi-text) !important;
    font: inherit;
    font-size: 13px;
    line-height: 1.45;
    outline: 0 !important;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.ogi-assistant .ogi-composer textarea:hover {
    border-color: rgba(11, 92, 52, .56) !important;
    box-shadow: 0 0 0 2px rgba(11, 92, 52, .04) !important;
}

.ogi-assistant .ogi-composer textarea:focus,
.ogi-assistant .ogi-composer textarea:focus-visible {
    border-color: var(--ogi-primary) !important;
    outline: 0 !important;
    box-shadow: 0 0 0 3px rgba(11, 92, 52, .11) !important;
}

.ogi-send {
    width: 43px;
    height: 43px;
    border: 0;
    border-radius: 50%;
    background: var(--ogi-primary);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.ogi-send:disabled {
    opacity: .5;
    cursor: wait;
}

.ogi-send svg {
    width: 20px;
    height: 20px;
}

.ogi-settings {
    grid-row: 2 / 5;
    min-height: 0;
    overflow-y: auto;
    padding: 18px 15px 20px;
    background: #fff;
}

.ogi-settings[hidden] {
    display: none !important;
}

.ogi-settings__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 7px;
}

.ogi-settings__head strong {
    font-size: 16px;
    line-height: 1.25;
    color: var(--ogi-text);
}

.ogi-settings__back {
    border: 0;
    background: transparent;
    color: var(--ogi-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    cursor: pointer;
}

.ogi-settings > p {
    margin: 0 0 14px;
    color: var(--ogi-muted);
    font-size: 11px;
    line-height: 1.55;
}

.ogi-memory-options {
    display: grid;
    gap: 8px;
}

.ogi-memory-option {
    width: 100%;
    min-height: 68px;
    border: 1px solid #dce5df;
    border-radius: 14px;
    padding: 12px 13px;
    background: #fff;
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr) 18px;
    align-items: start;
    gap: 10px;
    text-align: left;
    color: var(--ogi-text);
    font-family: inherit;
    font-weight: 400;
    letter-spacing: normal;
    line-height: normal;
    text-transform: none;
    box-shadow: 0 1px 0 rgba(9, 36, 19, .02);
    cursor: pointer;
    transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.ogi-memory-option:hover,
.ogi-memory-option:focus-visible {
    border-color: #b9cec0;
    background: #f8fcf9;
    box-shadow: 0 6px 16px rgba(11, 92, 52, .08);
    outline: 0;
}

.ogi-memory-option[aria-checked="true"] {
    border-color: var(--ogi-primary);
    background: #eef8f1;
    box-shadow: 0 8px 18px rgba(11, 92, 52, .10);
}

.ogi-memory-option__dot {
    width: 11px;
    height: 11px;
    margin-top: 5px;
    border-radius: 50%;
    background: #ccd7d0;
    transition: background-color .16s ease, transform .16s ease;
}

.ogi-memory-option:hover .ogi-memory-option__dot,
.ogi-memory-option:focus-visible .ogi-memory-option__dot {
    background: #8fb39a;
}

.ogi-memory-option[aria-checked="true"] .ogi-memory-option__dot {
    background: var(--ogi-primary);
    transform: scale(1.05);
}

.ogi-memory-option strong,
.ogi-memory-option small {
    display: block;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.ogi-memory-option strong {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    color: #183123;
}

.ogi-memory-option small {
    margin-top: 4px;
    color: #64756b;
    font-size: 11px;
    line-height: 1.5;
}

.ogi-memory-option:hover strong,
.ogi-memory-option:focus-visible strong,
.ogi-memory-option[aria-checked="true"] strong {
    color: #12301f;
}

.ogi-memory-option:hover small,
.ogi-memory-option:focus-visible small,
.ogi-memory-option[aria-checked="true"] small {
    color: #50685a;
}

.ogi-memory-option__check {
    color: var(--ogi-primary);
    opacity: 0;
    font-weight: 800;
    font-size: 14px;
    line-height: 1;
    align-self: start;
    margin-top: 2px;
}

.ogi-memory-option[aria-checked="true"] .ogi-memory-option__check {
    opacity: 1;
}

.ogi-clear-history {
    width: 100%;
    margin-top: 18px;
    border: 1px solid #c8d6cd;
    border-radius: 12px;
    padding: 11px 13px;
    background: #fff;
    color: #56685d;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .01em;
    text-transform: none;
    cursor: pointer;
    transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}

.ogi-clear-history:hover,
.ogi-clear-history:focus-visible {
    border-color: #9fb4a7;
    background: #f7faf8;
    color: var(--ogi-text);
    outline: 0;
}



/* Ogi rotating promo bubbles. */
.ogi-promo {
    position: absolute;
    right: 6px;
    bottom: 104px;
    width: min(228px, calc(100vw - 44px));
    min-height: 54px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(.98);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    filter: drop-shadow(0 10px 22px rgba(19, 42, 28, .14));
}

.ogi-promo[hidden] {
    display: none !important;
}

.ogi-promo.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.ogi-promo::after {
    content: '';
    position: absolute;
    right: 22px;
    bottom: -7px;
    width: 14px;
    height: 14px;
    background: #fff;
    border-right: 1px solid #e3e9e5;
    border-bottom: 1px solid #e3e9e5;
    transform: rotate(45deg);
}

.ogi-promo__message {
    width: 100%;
    min-height: 54px;
    padding: 12px 30px 12px 13px !important;
    margin: 0 !important;
    border: 1px solid #e3e9e5 !important;
    border-radius: 12px !important;
    outline: 0 !important;
    background: #fff !important;
    background-image: none !important;
    color: #46534b !important;
    box-shadow: none !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    letter-spacing: normal !important;
    text-align: left !important;
    text-transform: none !important;
    cursor: pointer;
}

.ogi-promo__message:hover,
.ogi-promo__message:focus-visible {
    border-color: #c7d8cd !important;
    background: #fbfdfb !important;
    color: #25362c !important;
    outline: 0 !important;
}

.ogi-promo__close {
    position: absolute;
    z-index: 2;
    top: 5px;
    right: 6px;
    width: 24px;
    height: 24px;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    outline: 0 !important;
    background: transparent !important;
    color: #98a49d !important;
    box-shadow: none !important;
    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 24px !important;
    text-align: center;
    cursor: pointer;
}

.ogi-promo__close:hover,
.ogi-promo__close:focus-visible {
    background: #f1f6f2 !important;
    color: var(--ogi-primary) !important;
    outline: 0 !important;
}

@media (max-width: 640px) {
    .ogi-assistant {
        right: 14px;
        bottom: 78px;
    }

    .ogi-promo {
        right: 2px;
        bottom: 92px;
        width: min(220px, calc(100vw - 38px));
    }

    .ogi-launcher {
        width: 74px;
        height: 74px;
    }

    .ogi-launcher__icon {
        width: 72px;
        height: 72px;
    }

        .ogi-panel {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: 82px;
        width: auto;
        height: min(610px, calc(100dvh - 105px));
        min-height: 420px;
        border-radius: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ogi-panel,
    .ogi-launcher,
    .ogi-panel__body {
        animation: none;
        transition: none;
        scroll-behavior: auto;
    }
}

/* v1.0.5: launcher mascot is unframed; only the panel header avatar is circular. */
.ogi-panel__leaf {
    overflow: hidden;
    border-radius: 50%;
}

.ogi-panel__leaf img {
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}


/* v1.0.4: isolate settings panel controls from theme button typography */
.ogi-settings button,
.ogi-settings button * {
    font-family: inherit;
}


/* v1.0.6: hard isolation from theme input/button accent colors. */
.ogi-assistant .ogi-composer,
.ogi-assistant .ogi-contact-bar {
    border-color: rgba(11, 92, 52, .16) !important;
}

.ogi-assistant .ogi-composer textarea::placeholder {
    color: #7c8b82 !important;
    opacity: 1;
}

/* Keep Ogi beneath Elessi's cart/Quick View drawer and its modal fog only
 * while one of those drawers is active. Normal page layering is unchanged. */
.ogi-assistant.ogi-assistant--under-drawer {
    z-index: 350;
}

/* Compact conversational action controls (v1.4.1). */
.ogi-assistant .ogi-message__choices {
    width: 100%;
    margin-top: 8px;
}

.ogi-assistant .ogi-message__choices--compact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
}

.ogi-assistant .ogi-message__choice {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100%;
    min-height: 29px !important;
    margin: 0 !important;
    padding: 5px 8px !important;
    border: 1px solid rgba(11, 92, 52, .18) !important;
    border-radius: 9px !important;
    background: rgba(255, 255, 255, .9) !important;
    color: var(--ogi-primary) !important;
    font: inherit !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    white-space: normal !important;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(16, 55, 35, .04) !important;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.ogi-assistant .ogi-message__choice:hover,
.ogi-assistant .ogi-message__choice:focus-visible {
    border-color: rgba(11, 92, 52, .45) !important;
    background: #edf7f0 !important;
    color: var(--ogi-primary) !important;
    outline: 0 !important;
    transform: translateY(-1px);
}

.ogi-assistant .ogi-message__choice:focus-visible {
    box-shadow: 0 0 0 2px rgba(11, 92, 52, .12) !important;
}

.ogi-assistant .ogi-message__choice:disabled,
.ogi-assistant .ogi-message__choice.is-loading {
    opacity: .62;
    cursor: wait;
    transform: none;
}

.ogi-assistant .ogi-message__choice--cart,
.ogi-assistant .ogi-message__choice--buy_now,
.ogi-assistant .ogi-message__choice--bulk_cart,
.ogi-assistant .ogi-message__choice--navigate_cart,
.ogi-assistant .ogi-message__choice--navigate_checkout,
.ogi-assistant .ogi-message__choice--quote,
.ogi-assistant .ogi-message__choice--sample {
    border-color: rgba(11, 92, 52, .28) !important;
}

.ogi-assistant .ogi-message__choice--cart,
.ogi-assistant .ogi-message__choice--navigate_cart {
    background: #eef7f0 !important;
    color: var(--ogi-primary) !important;
}

.ogi-assistant .ogi-message__choice--buy_now,
.ogi-assistant .ogi-message__choice--bulk_cart,
.ogi-assistant .ogi-message__choice--navigate_checkout {
    border-color: var(--ogi-primary) !important;
    background: var(--ogi-primary) !important;
    color: #fff !important;
}

.ogi-assistant .ogi-message__choice--cart:hover,
.ogi-assistant .ogi-message__choice--cart:focus-visible,
.ogi-assistant .ogi-message__choice--navigate_cart:hover,
.ogi-assistant .ogi-message__choice--navigate_cart:focus-visible {
    background: #e2f1e6 !important;
    color: var(--ogi-primary) !important;
}

.ogi-assistant .ogi-message__choice--buy_now:hover,
.ogi-assistant .ogi-message__choice--buy_now:focus-visible,
.ogi-assistant .ogi-message__choice--bulk_cart:hover,
.ogi-assistant .ogi-message__choice--bulk_cart:focus-visible,
.ogi-assistant .ogi-message__choice--navigate_checkout:hover,
.ogi-assistant .ogi-message__choice--navigate_checkout:focus-visible {
    background: #084827 !important;
    color: #fff !important;
}

.ogi-assistant .ogi-message__choice--quote,
.ogi-assistant .ogi-message__choice--sample {
    background: #f5fbf7 !important;
}

.ogi-assistant .ogi-message__choices--variations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ogi-assistant .ogi-message__choice--variation {
    font-size: 9.8px !important;
    font-weight: 750 !important;
}

/* Product links stay as small inline chips even if the theme forces full-width links. */
.ogi-assistant .ogi-message__links {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.ogi-assistant .ogi-message__links a {
    width: auto !important;
    max-width: 100%;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 5px 8px !important;
    border-radius: 8px !important;
    font-size: 9.8px !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
}

/* Product FAQ stays one-column because the questions are longer, but each row is compact. */
.ogi-assistant .ogi-message__bubble--faq .ogi-message__links {
    margin-top: 5px;
}

.ogi-assistant .ogi-message__choices--faq {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
    max-height: 148px;
    margin-top: 6px;
    padding: 1px 3px 1px 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.ogi-assistant .ogi-message__choice--faq {
    position: relative;
    width: 100% !important;
    min-height: 0 !important;
    padding: 6px 24px 6px 8px !important;
    border-color: rgba(11, 92, 52, .12) !important;
    border-radius: 7px !important;
    background: rgba(255, 255, 255, .82) !important;
    color: #174d31 !important;
    font-size: 9.6px !important;
    font-weight: 650 !important;
    line-height: 1.24 !important;
    text-align: left !important;
    transform: none !important;
}

.ogi-assistant .ogi-message__choice--faq::after {
    content: '›';
    position: absolute;
    top: 50%;
    right: 8px;
    color: rgba(11, 92, 52, .6);
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    transform: translateY(-52%);
}

.ogi-assistant .ogi-message__choice--faq:hover,
.ogi-assistant .ogi-message__choice--faq:focus-visible {
    border-color: rgba(11, 92, 52, .3) !important;
    background: #edf7f0 !important;
}

@media (max-width: 640px) {
    .ogi-assistant .ogi-message__choices--compact,
    .ogi-assistant .ogi-message__choices--variations {
        gap: 4px;
    }

    .ogi-assistant .ogi-message__choice {
        min-height: 28px !important;
        padding: 5px 7px !important;
        font-size: 9.6px !important;
    }

    .ogi-assistant .ogi-message__choices--faq {
        max-height: 138px;
    }

    .ogi-assistant .ogi-message__choice--faq {
        padding: 5px 22px 5px 7px !important;
        font-size: 9.3px !important;
    }
}


@media (max-width: 640px) {
    .ogi-quick-actions {
        gap: 4px;
        padding: 6px 7px;
    }

    .ogi-quick-actions button {
        flex: 0 0 auto;
        min-width: 76px;
        min-height: 29px;
        padding: 5px 7px;
        font-size: 9px;
        white-space: nowrap;
    }

    .ogi-product-toolbar {
        gap: 5px;
        padding: 6px 8px 7px;
    }

    .ogi-assistant .ogi-product-toolbar .ogi-product-toolbar__button {
        min-width: 84px !important;
        min-height: 30px !important;
        padding: 5px 9px !important;
        font-size: 9.7px !important;
        letter-spacing: 0 !important;
    }

    .ogi-technical-table__row {
        grid-template-columns: minmax(82px, .72fr) minmax(0, 1.35fr);
        gap: 6px;
        padding: 6px 7px;
        font-size: 9.5px;
    }
}
