/* Portal-theme tint band — injected via Razor so colour matches portal */
.agentic-page-wrap {
    background: var(--ag-theme-tint);
    margin-top: -30px;      /* pull flush against nav border */
    padding-top: 30px;      /* restore content position */
}
.agentic-hero-bg {
    width: 100%;
    padding-bottom: 32px;            /* gap that acts as visual separator before FAQ */
}

.agentic-hero {
    display: flex;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 12px 0;
    gap: 14px;
}

.agentic-card {
    flex: 1 1 0;
    background: #fff;
    border: 1.5px solid #e3e8ef;
    border-radius: 14px;
    padding: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    min-width: 0;
    position: relative;
    height: calc(100vh - 160px);
    display: flex;
    flex-direction: column;
    font-family: 'proxima-nova', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #434343;
}

.agentic-card__scroll {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 60px 0px 20px 25px;
    position: relative;
}

.agentic-suppliers {
    width: 150px;
    flex-shrink: 0;
}

/* Mobile-only suppliers block (inside card) — hidden on desktop */
.agentic-mobile-suppliers {
    display: none;
}

.agentic-suppliers__heading {
    font-size: 15px;
    font-weight: 700;
    color: #434343;
    text-align: center;
    margin-bottom: 8px;
}

.agentic-supplier-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #e3e8ef;
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 7px;
    background: #fff;
    min-height: 44px;
}

.agentic-supplier-logo img {
    max-width: 100%;
    max-height: 28px;
    object-fit: contain;
}

.agentic-card__top {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 0;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf0f4;
    width: 78%;
    margin-left: 40px;
}

.agentic-card__top {
    border-bottom: 1px solid #edf0f4;
    padding-bottom: 14px;
    margin-bottom: 0;
    width: calc(100% - 180px);
}

.agentic-card__image {
    width: 250px;
    height: 220px;
    object-fit: contain;
    flex-shrink: 0;
    position: absolute;
    right: 24px;
    top: 22px;
}

.agentic-intro {
    border-top: none;
    padding-top: 14px;
    margin-bottom: 12px;
}

.agentic-card__title {
    font-size: 34px;
    font-weight: 700;
    color: #434343;
    line-height: 1.25;
    flex: 1;
    margin: 0;
}

.agentic-steps {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    padding-top: 12px;
    margin-left: 50px;
    margin-right: 255px;
}

.agentic-step {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding-right: 10px;
    position: relative;
}

.agentic-step__num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ecf4f6;
    color: #434343;
    font-size: .72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.agentic-step__text {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.3;
    min-width: 0;
    word-break: break-word;
}

.agentic-step__text strong {
    display: block;
    font-weight: 700;
    color: #434343;
    font-size: 15px;
}

.agentic-location-label {
    font-size: .83rem;
    color: #3a4a5c;
    margin-bottom: 7px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.agentic-location-label i {
    color: var(--ag-theme);
}

.agentic-location-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 20px;
    margin-left: 50px;
    margin-right: 50px;
}

.agentic-pill {
    padding: 5px 20px;
    border-radius: 20px;
    border: 1.5px solid #d0d8e4;
    background: #fff;
    font-size: 15px;
    font-weight: 500;
    color: #3a4a5c;
    cursor: pointer;
    transition: all .15s;
    line-height: 1.5;
    min-width: 80px;
    text-align: center;
}

.agentic-pill:hover {
    border-color: var(--ag-theme);
    color: var(--ag-theme);
}

.agentic-messages {
    display: none;
    margin-bottom: 10px;
}

.agentic-messages.open {
    display: block;
}

.agentic-msg {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    align-items: flex-start;
}

.agentic-msg--user {
    flex-direction: row-reverse;
}

.agentic-msg__bubble {
    max-width: 80%;
    padding: 9px 13px;
    border-radius: 14px;
    font-size: .83rem;
    line-height: 1.45;
}

.agentic-msg--bot .agentic-msg__bubble {
    background: transparent;
    color: #1a2535;
    padding: 2px 0;
}

.agentic-msg--user .agentic-msg__bubble {
    background: var(--ag-theme);
    color: #fff;
}

.agentic-chat-row {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid #d0d8e4;
    border-radius: 30px;
    padding: 6px 8px 6px 16px;
    background: #ffffff;
}
.agentic-chat-row {
    max-width: calc(100% - 140px);
    margin-left: 55px;
    margin-right: 20px;
    margin-top: 0;
    margin-bottom: 22px;
    flex-shrink: 0;
}
.agentic-chat-input:focus {
    outline: none;
}

.agentic-input-hint {
    font-size: 11.5px;
    color: #434343;
    text-align: center;
    margin: 10px 14px 18px;
    line-height: 1.5;
}

.agentic-chat-row:focus-within {
    border-color: var(--ag-theme);
    background: #fff;
    outline: none;
}

.agentic-chat-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 15px;
    font-family: 'proxima-nova', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #434343;
    outline: none;
    resize: none;
    min-height: 22px;
    max-height: 100px;
    line-height: 1.4;
}

.agentic-chat-send {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--ag-theme);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.agentic-chat-send svg {
    width: 16px;
    height: 16px;
    fill: #fff;
}

.agentic-intro {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: .88rem;
    color: #3a4a5c;
    margin-top: 20px;
    padding-top: 14px;
    margin-bottom: 12px;
}

.agentic-msg__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ag-theme);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    color: #fff;
}

.agentic-intro__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ag-theme);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    font-size: 1rem;
}


.agentic-steps {
    border-top: none;
}

.agentic-card {
    font-family: 'proxima-nova', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #434343;
}

.agentic-intro,
.agentic-steps,
.agentic-location-label,
.agentic-location-pills,
.agentic-messages,
.agentic-chat-row {
    font-size: 15px;
    font-family: 'proxima-nova', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #434343;
    padding: 5px 32px 5px 32px;
}

.agentic-intro,
.agentic-steps,
.agentic-location-label,
.agentic-location-pills,
.agentic-messages {
    max-width: calc(100% - 40px);
}

.agentic-msg--user .agentic-msg__bubble {
    background: #f4f4f4;
    color: #434343;
    font-size: 15px;
    font-family: 'proxima-nova', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    padding: 10px 20px;
    border-radius: 18px;
}

.agentic-msg--bot {
    max-width: calc(100% - 180px);
}

.agentic-msg--bot .agentic-msg__bubble {
    background: transparent;
    color: #434343;
    font-size: 15px;
    font-family: 'proxima-nova', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    padding: 2px 0;
}

.agentic-pill.active {
    background: var(--ag-theme);
    border-color: var(--ag-theme);
    color: #fff;
}

.agentic-msg__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.agentic-msg__options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.agentic-opt--pill {
    padding: 5px 16px;
    border-radius: 20px;
    border: 1.5px solid #d0d8e4;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: #3a4a5c;
    cursor: pointer;
    transition: all .15s;
    font-family: 'proxima-nova', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.agentic-opt--pill:hover {
    border-color: var(--ag-theme);
    color: var(--ag-theme);
}

.agentic-opt--radio {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #3a4a5c;
    cursor: pointer;
    width: 100%;
    padding: 4px 0;
    font-family: 'proxima-nova', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.agentic-opt--checkbox {
    padding: 5px 14px;
    border-radius: 6px;
    border: 1.5px solid #d0d8e4;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: #3a4a5c;
    cursor: pointer;
    transition: all .15s;
    font-family: 'proxima-nova', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.agentic-opt--checkbox.active {
    background: #fff;
    border-color: #d0d8e4;
    color: #3a4a5c;
}

.agentic-opt--confirm {
    padding: 5px 20px;
    border-radius: 20px;
    border: none;
    background: var(--ag-theme);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 4px;
    font-family: 'proxima-nova', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Remove bold from radio labels */
.agentic-opt--radio {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    color: #3a4a5c;
    cursor: pointer;
    width: 100%;
    padding: 4px 0;
    font-family: 'proxima-nova', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Hide default radio, replace with teal custom */
.agentic-opt--radio input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #d0d8e4;
    flex-shrink: 0;
    cursor: pointer;
    transition: all .15s;
    position: relative;
}

.agentic-opt--radio input[type="radio"]:checked {
    border-color: var(--ag-theme);
    background: var(--ag-theme);
    box-shadow: inset 0 0 0 3px #fff;
}

/* Square checkbox buttons */
.agentic-opt--checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 12px;
    border-radius: 6px;
    border: 1.5px solid #d0d8e4;
    background: #fff;
    font-size: 14px;
    font-weight: 400;
    color: #3a4a5c;
    cursor: pointer;
    transition: all .15s;
    font-family: 'proxima-nova', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    width: 100%;
    text-align: left;
}

.agentic-opt--checkbox::before {
    content: '';
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid #d0d8e4;
    border-radius: 3px;
    background: #fff;
    transition: all .15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agentic-opt--checkbox.active::before {
    background: var(--ag-theme);
    border-color: var(--ag-theme);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.agentic-opt--checkbox.active {
    /* Only the checkbox indicator (::before) highlights — leave the
       button border/background untouched. */
    border-color: #d0d8e4;
    color: #3a4a5c;
    background: #fff;
}

/* Options stack vertically */
.agentic-msg__options {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
}

/* Pills stay horizontal */
.agentic-msg__options--pills {
    flex-direction: row;
    flex-wrap: wrap;
}

.agentic-opt--pill.active {
    background: var(--ag-theme);
    border-color: var(--ag-theme);
    color: #fff;
}

.agentic-typing-dots {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 0;
}

.agentic-typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #b0bac8;
    display: inline-block;
    animation: agTypingBounce 1.2s infinite ease-in-out;
}

.agentic-typing-dots span:nth-child(1) { animation-delay: 0s; }
.agentic-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.agentic-typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes agTypingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30%            { transform: translateY(-6px); opacity: 1; }
}

.agentic-plus-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid #d0d8e4;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all .15s;
    flex-shrink: 0;
    padding: 0;
}
.agentic-plus-btn.ask-active {
    background: var(--ag-theme);
    border-color: var(--ag-theme);
    color: #fff;
}
.agentic-plus-menu {
    position: absolute;
    bottom: 46px;
    left: 0;
    background: #fff;
    border: 1.5px solid #e3e8ef;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,.10);
    min-width: 200px;
    overflow: hidden;
    display: none;
    z-index: 100;
}
.agentic-plus-menu.open {
    display: block;
}
.agentic-plus-menu__item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    border: none;
    background: transparent;
    font-size: 13px;
    font-family: 'proxima-nova', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #3a4a5c;
    cursor: pointer;
    text-align: left;
}
.agentic-plus-menu__item:hover {
    background: #f4f6f8;
}
.agentic-plus-menu__item.active {
    color: var(--ag-theme);
    font-weight: 600;
}

.ag-faq-section {
    max-width: 1200px;
    margin: 0 auto 0;
    padding: 32px 12px 24px;
}

.ag-resume-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #e8f9f0;
    border: 1.5px solid #5DCAA5;
    border-radius: 10px;
    padding: 10px 18px;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 10px;
}
.ag-resume-bar__left {
    font-size: 14px;
    color: #085041;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.ag-resume-bar__left strong {
    font-weight: 700;
}
.ag-resume-bar__btn {
    padding: 6px 18px;
    border-radius: 20px;
    background: #085041;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-family: 'proxima-nova', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 600;
    white-space: nowrap;
}
.ag-faq-layout {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.ag-faq-left {
    flex: 1 1 0;
    min-width: 0;
    background: #fff;
    border: 1.5px solid #e3e8ef;
    border-radius: 12px;
    padding: 20px 24px;
    min-height: 220px;
}
.ag-faq-left__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    font-size: 14px;
    color: #b0bac8;
}
.ag-faq-left__q {
    font-size: 16px;
    font-weight: 700;
    color: #434343;
    margin-bottom: 12px;
    line-height: 1.4;
}
.ag-faq-left__a {
    font-size: 14px;
    color: #434343;
    line-height: 1.7;
    margin-bottom: 18px;
}
.ag-faq-left__cta {
    padding: 7px 20px;
    border-radius: 20px;
    background: var(--ag-theme);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    font-family: 'proxima-nova', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
/* IndustrySearch (portal 1) yellow theme needs dark text for legibility */
.body-is .ag-faq-left__cta { color: #434343; }
.ag-faq-right {
    width: 260px;
    flex-shrink: 0;
    background: #fff;
    border: 1.5px solid #e3e8ef;
    border-radius: 12px;
    padding: 16px;
}
.ag-faq-right__label {
    font-size: 15px;
    font-weight: 700;
    color: #434343;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 10px;
}
.ag-faq-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    /* Show 5 items, then scroll. Each item is multi-line so we allocate ~64px per item to comfortably fit 5 rows. */
    max-height: 320px;
    overflow-y: auto;
    padding-right: 4px;
}
.ag-faq-list::-webkit-scrollbar { width: 6px; }
.ag-faq-list::-webkit-scrollbar-track { background: transparent; }
.ag-faq-list::-webkit-scrollbar-thumb { background: #d0d8e4; border-radius: 3px; }
.ag-faq-list::-webkit-scrollbar-thumb:hover { background: #b8c2d1; }
.ag-faq-item {
    font-size: 13px;
    color: #434343;
    padding: 8px 10px;
    border-radius: 7px;
    cursor: pointer;
    line-height: 1.4;
    border: none;
    transition: all .12s;
}
.ag-faq-item:hover {
    background: #f4f6f8;
}
.ag-faq-item.active {
    background: #f4f4f4;
    color: #434343;
    font-weight: 700;
}
.ag-faq-item.buyer-asked {
    font-weight: 700;
    color: #434343;
}
@media (max-width: 767px) {
    .ag-faq-layout {
        flex-direction: column;
    }
    .ag-faq-right {
        width: 100%;
    }
}

.ag-faq-left__a ul,
.ag-faq-left__a ol {
    padding-left: 20px;
    margin: 8px 0;
}

.ag-faq-left__a li {
    margin-bottom: 6px;
    line-height: 1.6;
}

.ag-faq-left__a strong {
    font-weight: 700;
    color: #434343;
}

.ag-faq-left__a p {
    margin-bottom: 10px;
}

/* General question answer — greyed out brief answer */
.agentic-msg--general > .agentic-msg__content > .agentic-msg__bubble:first-child,
.agentic-msg--bot .agentic-msg__bubble.agentic-msg__bubble--answer {
    color: #5b5e63 !important;
    font-size: 14px !important;
}

/* Higher font weight for all question text from AI (the "next question" bubble) */
.agentic-msg--bot .agentic-msg__bubble.agentic-question-text {
    font-weight: 600;
}

/* ─────────────────────────────────────────────────────────────
   MOBILE LAYOUT (≤767px)
   Placed at END of file so it overrides earlier desktop rules.
   ───────────────────────────────────────────────────────────── */
@media (max-width: 767px) {

    /* Tinted background fills the remaining viewport space below the
       site header. JS (adjustMobileChatHeight) sets the exact pixel
       height on .agentic-page-wrap. The CSS fallback uses 100dvh. */
    html, body {
        overflow-x: hidden;
    }
    .agentic-page-wrap {
        background: var(--ag-theme-tint, rgba(0,0,0,.04));
        height: 100dvh; /* JS overrides this with exact pixel value */
        padding: 0 !important;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
    .agentic-hero-bg {
        background: transparent !important;
        padding: 12px 12px 12px !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
    }
    .agentic-hero {
        flex-direction: column !important;
        padding: 0 !important;
        gap: 0 !important;
        max-width: 100% !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
        display: flex !important;
    }

    /* Hide the desktop right-sidebar suppliers — moved inside card */
    .agentic-suppliers {
        display: none !important;
    }

    /* Chat card fills the available phone viewport.
       FIXED height (flex: 1 + min-height: 0) so the input row stays
       pinned at the bottom even when chat content grows. */
    .agentic-card {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        height: auto !important;
        max-height: none !important;
        margin: 0 !important;
        border-radius: 16px !important;
        box-shadow: 0 4px 16px rgba(0,0,0,.08) !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    /* Scrollable content area */
    .agentic-card__scroll {
        padding: 20px 18px 14px !important;
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 auto !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        width: 100% !important;
        position: static !important;
    }

    /* Reorder children of scroll area:
       sparkle icon → title+image → suppliers → delivery → pills → chat */
    .agentic-intro            { order: 1 !important; }
    .agentic-card__top        { order: 2 !important; }
    .agentic-mobile-suppliers { order: 3 !important; }
    .agentic-location-label   { order: 4 !important; }
    .agentic-location-pills   { order: 5 !important; }
    .agentic-messages         { order: 6 !important; }

    /* Repurpose .agentic-intro as the top sparkle icon only */
    .agentic-intro {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 0 !important;
        margin: 4px 0 12px !important;
        max-width: 100% !important;
        border-top: none !important;
        background: transparent !important;
    }
    .agentic-intro > span {
        display: none !important;
    }
    .agentic-intro__icon {
        width: 42px !important;
        height: 42px !important;
        flex-shrink: 0 !important;
    }
    .agentic-intro__icon svg {
        width: 28px !important;
        height: 28px !important;
    }

    /* Title + image: column, centered, NOT absolute anymore */
    .agentic-card__top {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 0 16px !important;
        border-bottom: none !important;
        gap: 12px !important;
        position: static !important;
    }
    .agentic-card__title {
        font-size: 22px !important;
        text-align: center !important;
        line-height: 1.25 !important;
        max-width: 280px !important;
        width: 100% !important;
        margin: 0 !important;
        flex: none !important;
    }
    .agentic-card__image {
        position: static !important;
        right: auto !important;
        top: auto !important;
        width: 200px !important;
        height: 170px !important;
        margin: 0 auto !important;
        display: block !important;
        object-fit: contain !important;
    }

    /* Mobile suppliers block — appears inside the card */
    .agentic-mobile-suppliers {
        display: block !important;
        padding: 14px 0 16px !important;
        border-top: 1px solid #e3e8ef !important;
        border-bottom: 1px solid #e3e8ef !important;
        margin: 0 !important;
    }
    .agentic-mobile-suppliers__heading {
        font-size: 13px;
        font-weight: 600;
        color: #434343;
        margin-bottom: 10px;
        text-align: center;
    }
    /* Dynamic supplier grid: items flow 2-per-row and the last row
       is always centered regardless of how many suppliers there are.
       1 → centered alone | 2 → both on one row | 3 → 2 + 1 centered
       4 → 2 + 2          | 5 → 2 + 2 + 1      | 6 → 2 + 2 + 2    */
    .agentic-mobile-suppliers__grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }
    .agentic-mobile-suppliers__grid .agentic-supplier-logo {
        flex: 0 0 calc(50% - 6px);
        max-width: calc(50% - 6px);
        margin-bottom: 0;
        padding: 6px 8px;
        min-height: 42px;
        box-sizing: border-box;
    }
    .agentic-mobile-suppliers__grid .agentic-supplier-logo img {
        max-height: 24px;
    }

    /* Hide desktop-only sections */
    .agentic-steps,
    .ag-faq-section,
    .agentic-input-hint {
        display: none !important;
    }

    /* Delivery label — no icon, no indent, slight left padding */
    .agentic-location-label {
        padding: 0 4px !important;
        margin: 16px 0 12px !important;
        max-width: 100% !important;
        width: 100% !important;
        font-size: 15px !important;
        display: block !important;
    }
    .agentic-location-label .agentic-intro__icon {
        display: none !important;
    }

    /* Location pills — 3×2 grid stack, narrower & shorter */
    .agentic-location-pills {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 3px !important;
        margin: 0 0 18px !important;
        padding: 0 !important;
        max-width: 80% !important;
        width: 80% !important;
        justify-items: stretch !important;
    }
    .agentic-location-pills .agentic-pill[data-val="NT"],
    .agentic-location-pills .agentic-pill[data-val="TAS"],
    .agentic-location-pills .agentic-pill[data-val="ACT"],
    .agentic-location-pills .agentic-pill[data-val="New Zealand"] {
        display: none !important;
    }
    .agentic-pill {
        min-width: 0 !important;
        padding: 4px 10px !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
        border-radius: 16px !important;
    }

    /* Chat messages — wider, slight left indent, no AI icon */
    .agentic-messages {
        padding: 0 4px !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
    }
    .agentic-msg {
        gap: 6px !important;
        padding-left: 4px !important;
    }
    .agentic-msg--bot .agentic-msg__icon {
        display: none !important;
    }
    .agentic-msg--bot {
        max-width: 100% !important;
    }
    .agentic-msg--bot .agentic-msg__content {
        max-width: calc(100% - 8px) !important;
        flex: 1 1 auto !important;
    }
    .agentic-msg--bot .agentic-msg__bubble {
        max-width: 100% !important;
    }
    .agentic-msg--user .agentic-msg__bubble {
        max-width: 85% !important;
    }

    /* Chat input row — wider, centered, padded from bottom */
    .agentic-chat-row {
        margin: 0 14px 16px !important;
        max-width: calc(100% - 28px) !important;
        width: calc(100% - 28px) !important;
        flex-shrink: 0 !important;
    }
    .agentic-chat-input {
        font-size: 14px !important;
    }
}
