:root{--ghssa-bg:#f5f7fa;--ghssa-card:#fff;--ghssa-text:#15202b;--ghssa-muted:#667085;--ghssa-border:#e4e7ec;--ghssa-accent:#175cd3;--ghssa-accent-soft:#eef4ff;--ghssa-success:#067647;--ghssa-shadow:0 26px 80px rgba(15,23,42,.24)}
body.ghssa-open{overflow:hidden!important}
.ghssa-overlay{position:fixed;inset:0;z-index:2147480000;background:rgba(12,21,34,.58);backdrop-filter:blur(6px);padding:2vh 2vw;opacity:0;visibility:hidden;transition:opacity .18s ease,visibility .18s ease}
.ghssa-overlay.is-open{opacity:1;visibility:visible}
.ghssa-shell{width:100%;height:96vh;max-width:1680px;margin:0 auto;background:var(--ghssa-bg);border-radius:24px;overflow:hidden;box-shadow:var(--ghssa-shadow);transform:translateY(10px) scale(.995);transition:transform .2s ease;display:flex;flex-direction:column}
.ghssa-overlay.is-open .ghssa-shell{transform:none}
.ghssa-topbar{display:flex;gap:14px;align-items:center;padding:18px 22px;background:#fff;border-bottom:1px solid var(--ghssa-border)}
.ghssa-searchbox{flex:1;display:flex;align-items:center;gap:12px;border:2px solid transparent;background:#f7f8fa;border-radius:18px;padding:0 16px;transition:.18s ease}
.ghssa-searchbox:focus-within{background:#fff;border-color:#b2ccff;box-shadow:0 0 0 4px rgba(23,92,211,.08)}
.ghssa-searchicon{font-size:28px;line-height:1;color:#475467;transform:rotate(-20deg)}
.ghssa-input{width:100%;height:58px;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;font-size:24px;font-weight:600;color:var(--ghssa-text);padding:0!important}
.ghssa-input::placeholder{color:#98a2b3;font-weight:500}
.ghssa-clear,.ghssa-close{border:0;background:transparent;color:#475467;cursor:pointer;border-radius:12px}
.ghssa-clear{font-size:30px;padding:0 6px}
.ghssa-close{width:52px;height:52px;font-size:34px;background:#f2f4f7}
.ghssa-close:hover,.ghssa-clear:hover{background:#eaecf0;color:#101828}
.ghssa-body{display:grid;grid-template-columns:minmax(260px,330px) 1fr;min-height:0;flex:1}
.ghssa-sidebar{padding:24px;border-right:1px solid var(--ghssa-border);overflow:auto;background:#fbfcfd}
.ghssa-main{padding:28px 30px 36px;overflow:auto;position:relative}
.ghssa-section{margin-bottom:24px}.ghssa-section-title{font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-weight:800;color:#667085;margin-bottom:10px}
.ghssa-chiplist{display:flex;flex-wrap:wrap;gap:8px}.ghssa-chip{border:1px solid var(--ghssa-border);background:#fff;border-radius:999px;padding:8px 11px;font-size:13px;font-weight:700;color:#344054;cursor:pointer}.ghssa-chip:hover{border-color:#84adff;background:var(--ghssa-accent-soft);color:#1849a9}.ghssa-chip small{opacity:.55;margin-left:5px;font-weight:600}
.ghssa-kicker{font-size:13px;text-transform:uppercase;letter-spacing:.1em;color:var(--ghssa-accent);font-weight:800;margin-bottom:10px}.ghssa-start{max-width:900px;padding:5vh 2vw 0}.ghssa-start h2{font-size:clamp(30px,4vw,56px);line-height:1.05;letter-spacing:-.035em;margin:0 0 16px;color:#101828;max-width:900px}.ghssa-start p{font-size:18px;line-height:1.55;color:#667085;max-width:780px}.ghssa-popular-title{font-size:13px;font-weight:800;color:#475467;margin:34px 0 12px}.ghssa-popular-list{display:flex;flex-wrap:wrap;gap:10px}.ghssa-popular{border:1px solid #d0d5dd;background:#fff;border-radius:999px;padding:11px 16px;font-weight:700;color:#344054;cursor:pointer}.ghssa-popular:hover{background:var(--ghssa-accent-soft);border-color:#84adff;color:#1849a9}
.ghssa-summary{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;color:#475467;font-size:14px}.ghssa-summary strong,#ghssa-count{font-weight:800;color:#101828}.ghssa-summary a{font-weight:700;color:var(--ghssa-accent);text-decoration:none}.ghssa-mode{margin-left:10px;background:#f2f4f7;border-radius:999px;padding:5px 8px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.ghssa-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.ghssa-product{background:var(--ghssa-card);border:1px solid var(--ghssa-border);border-radius:18px;padding:14px;display:grid;grid-template-columns:116px 1fr;gap:14px;min-height:146px;text-decoration:none!important;color:inherit!important;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.ghssa-product:hover{transform:translateY(-2px);border-color:#b2ccff;box-shadow:0 12px 28px rgba(16,24,40,.08)}.ghssa-product-image{width:116px;height:116px;border-radius:13px;background:#f2f4f7;display:flex;align-items:center;justify-content:center;overflow:hidden}.ghssa-product-image img{width:100%;height:100%;object-fit:contain;background:#fff}.ghssa-product-noimage{font-size:28px;color:#98a2b3}.ghssa-product-body{min-width:0;display:flex;flex-direction:column}.ghssa-product-meta{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:7px}.ghssa-tag{font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;padding:4px 7px;border-radius:999px;background:#f2f4f7;color:#475467}.ghssa-tag.brand{background:#eef4ff;color:#1849a9}.ghssa-tag.manufacturer{background:#ecfdf3;color:#067647}.ghssa-product-name{font-weight:800;font-size:15px;line-height:1.3;color:#101828;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:6px}.ghssa-product-ref{font-size:11px;color:#98a2b3;margin-bottom:8px}.ghssa-product-bottom{display:flex;align-items:end;justify-content:space-between;gap:8px;margin-top:auto}.ghssa-price{font-size:18px;font-weight:900;color:#101828}.ghssa-stock{font-size:11px;color:#667085}.ghssa-stock.in{color:#067647;font-weight:700}.ghssa-stock.out{color:#b42318;font-weight:700}
.ghssa-loading{display:flex;align-items:center;justify-content:center;gap:7px;padding:12vh 0}.ghssa-loading span{width:9px;height:9px;background:#98a2b3;border-radius:50%;animation:ghssaPulse 1s infinite ease-in-out}.ghssa-loading span:nth-child(2){animation-delay:.14s}.ghssa-loading span:nth-child(3){animation-delay:.28s}@keyframes ghssaPulse{0%,100%{transform:scale(.7);opacity:.4}50%{transform:scale(1.1);opacity:1}}
.ghssa-empty{text-align:center;padding:11vh 20px;color:#667085}.ghssa-empty-icon{font-size:54px;color:#98a2b3}.ghssa-empty h3{font-size:24px;color:#101828;margin:10px 0}.ghssa-empty p{max-width:650px;margin:0 auto;line-height:1.6}
.ghssa-ai-box{border:1px solid #b2ccff;background:linear-gradient(145deg,#eef4ff,#f9fbff);border-radius:16px;padding:15px;margin-bottom:24px}.ghssa-ai-title{display:flex;align-items:center;gap:8px;font-weight:900;color:#1849a9;margin-bottom:8px}.ghssa-ai-text{font-size:13px;line-height:1.5;color:#344054}.ghssa-ai-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.ghssa-ai-tag{font-size:11px;font-weight:800;background:#fff;border:1px solid #d1e0ff;color:#175cd3;padding:5px 8px;border-radius:999px}
.ghssa-contact{border:1px solid #fedf89;background:#fffaeb;border-radius:16px;padding:16px;margin-top:20px}.ghssa-contact h4{margin:0 0 7px;font-size:15px;color:#7a2e0e}.ghssa-contact p{font-size:12px;line-height:1.5;color:#854a0e}.ghssa-contact-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.ghssa-contact-actions a{display:inline-flex;align-items:center;justify-content:center;padding:9px 11px;border-radius:10px;background:#fff;border:1px solid #fedf89;color:#7a2e0e;text-decoration:none!important;font-weight:800;font-size:12px}.ghssa-contact-actions a.primary{background:#f79009;color:#fff;border-color:#f79009}
@media (max-width:1280px){.ghssa-products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:860px){.ghssa-overlay{padding:0;background:#fff}.ghssa-shell{height:100dvh;border-radius:0}.ghssa-topbar{padding:10px 12px;gap:8px}.ghssa-searchbox{border-radius:14px;padding:0 12px}.ghssa-input{height:52px;font-size:18px}.ghssa-close{width:48px;height:48px}.ghssa-body{display:block;overflow:auto}.ghssa-sidebar{border-right:0;border-bottom:1px solid var(--ghssa-border);padding:16px;overflow:visible}.ghssa-main{overflow:visible;padding:18px 14px 30px}.ghssa-section{display:inline}.ghssa-section-title{margin-top:12px}.ghssa-start{padding:5vh 2px 0}.ghssa-start h2{font-size:34px}.ghssa-start p{font-size:16px}.ghssa-products{grid-template-columns:1fr}.ghssa-product{grid-template-columns:98px 1fr}.ghssa-product-image{width:98px;height:98px}.ghssa-summary{gap:8px}.ghssa-summary a{font-size:12px}.ghssa-ai-box{margin-bottom:16px}}
@media (max-width:420px){.ghssa-product{padding:10px;gap:10px}.ghssa-product-image{width:88px;height:88px}.ghssa-product{grid-template-columns:88px 1fr}.ghssa-price{font-size:16px}.ghssa-product-name{font-size:14px}.ghssa-sidebar{padding:12px}.ghssa-main{padding:14px 10px 24px}}

.ghssa-chip.is-active{background:var(--ghssa-accent);border-color:var(--ghssa-accent);color:#fff}.ghssa-chip.is-active small{opacity:.85}

/* v1.0.10: facetas compactas y filtros reales */
.ghssa-facet-extra{display:none!important}
.ghssa-facet-toggle{width:100%;border:0;background:transparent;color:var(--ghssa-accent);font-size:12px;font-weight:800;text-align:left;padding:8px 2px 2px;cursor:pointer}
.ghssa-facet-toggle:hover{text-decoration:underline}
.ghssa-active-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.ghssa-active-filter{display:inline-flex;align-items:center;gap:8px;border:1px solid #b2ccff;background:#eef4ff;color:#1849a9;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800;cursor:pointer}
.ghssa-active-filter b{font-size:16px;line-height:1;font-weight:700}
.ghssa-active-filter:hover{background:#dbe8ff}
@media (max-width:860px){.ghssa-facet-toggle{display:inline-block;width:auto;margin-right:14px}.ghssa-active-filters{margin-bottom:10px}}


/* v1.0.11: facetas multiselección para comparar */
.ghssa-chip{display:flex;align-items:center;gap:7px;text-align:left;border-radius:10px;padding:8px 9px;max-width:100%}
.ghssa-chip-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ghssa-chip small{margin-left:auto;flex:0 0 auto}
.ghssa-check{width:17px;height:17px;flex:0 0 17px;border:1.5px solid #b8c1cc;border-radius:4px;background:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:900;line-height:1;color:#fff}
.ghssa-chip.is-active{background:#eef4ff;border-color:#84adff;color:#1849a9}
.ghssa-chip.is-active .ghssa-check{background:var(--ghssa-accent);border-color:var(--ghssa-accent);color:#fff}
.ghssa-chip.is-active small{color:#1849a9;opacity:.75}
.ghssa-clear-filters{border:0;background:transparent;color:#b42318;font-size:12px;font-weight:800;padding:7px 4px;cursor:pointer}
.ghssa-clear-filters:hover{text-decoration:underline}

/* v1.2.0 · rápido primero, IA a petición y contacto humano */
.ghssa-drawer-head{display:none}
.ghssa-mobile-toolbar{display:none}
.ghssa-filter-backdrop{display:none}
.ghssa-ai-cta{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #c7d7fe;background:linear-gradient(135deg,#f6f9ff,#eef4ff);border-radius:16px;padding:15px 17px;margin:0 0 16px;color:#1849a9}
.ghssa-ai-cta>div{display:flex;flex-direction:column;gap:3px;min-width:0}.ghssa-ai-cta strong{font-size:15px}.ghssa-ai-cta span{font-size:12px;color:#475467;line-height:1.45}
.ghssa-ai-cta button{flex:0 0 auto;border:0;background:#175cd3;color:#fff;font-weight:800;border-radius:11px;padding:11px 15px;cursor:pointer}.ghssa-ai-cta button:hover{background:#1849a9}.ghssa-ai-cta button:disabled{opacity:.65;cursor:wait}
.ghssa-human-help{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center;border:1px solid #d0d5dd;background:#fff;border-radius:16px;padding:16px 18px;margin:0 0 18px;box-shadow:0 4px 18px rgba(16,24,40,.04)}
.ghssa-human-copy{display:flex;flex-direction:column;gap:3px}.ghssa-human-kicker{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#067647;font-weight:900}.ghssa-human-copy strong{font-size:15px;color:#101828}.ghssa-human-copy p{font-size:12px;line-height:1.45;color:#667085;margin:0}
.ghssa-human-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.ghssa-human-actions a,.ghssa-human-actions button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #d0d5dd;background:#fff;color:#344054;text-decoration:none!important;border-radius:10px;padding:9px 11px;font-weight:800;font-size:12px;cursor:pointer}.ghssa-human-actions .primary{background:#12b76a;border-color:#12b76a;color:#fff}.ghssa-human-actions a:hover,.ghssa-human-actions button:hover{border-color:#84adff;background:#f5f8ff}
.ghssa-callback-panel{grid-column:1/-1;border-top:1px solid #eaecf0;padding-top:12px}.ghssa-callback-fields{display:grid;grid-template-columns:1fr 1fr auto;gap:8px}.ghssa-callback-fields input{min-width:0;border:1px solid #d0d5dd;border-radius:9px;padding:10px 11px;background:#fff;color:#101828}.ghssa-callback-fields button{border:0;background:#101828;color:#fff;border-radius:9px;padding:10px 13px;font-weight:800;cursor:pointer}.ghssa-callback-status{font-size:12px;margin-top:8px;color:#667085}.ghssa-callback-status.is-ok{color:#067647;font-weight:700}.ghssa-callback-status.is-error{color:#b42318;font-weight:700}.ghssa-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important}
.ghssa-ai-box{margin-bottom:16px}

@media (max-width:860px){
  .ghssa-overlay{padding:0;background:#fff;backdrop-filter:none}
  .ghssa-shell{height:100dvh;border-radius:0;max-width:none}
  .ghssa-body{display:block;position:relative;overflow:hidden;flex:1}
  .ghssa-main{height:100%;overflow:auto;padding:14px 12px 30px;background:#f8fafc}
  .ghssa-sidebar{display:block;position:absolute;z-index:40;top:0;bottom:0;left:0;width:min(86vw,390px);padding:0 18px 28px;background:#fff;border:0;border-right:1px solid var(--ghssa-border);overflow:auto;transform:translateX(-105%);transition:transform .22s ease;box-shadow:14px 0 34px rgba(16,24,40,.18)}
  .ghssa-sidebar.is-open{transform:translateX(0)}
  .ghssa-drawer-head{position:sticky;top:0;z-index:2;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:18px 0 14px;margin-bottom:8px;border-bottom:1px solid #eaecf0;font-size:18px;color:#101828}
  .ghssa-drawer-head button{width:40px;height:40px;border:0;border-radius:10px;background:#f2f4f7;color:#344054;font-size:26px;cursor:pointer}
  .ghssa-filter-backdrop{display:block;position:absolute;z-index:35;inset:0;background:rgba(16,24,40,.42);opacity:0;transition:opacity .18s ease}.ghssa-filter-backdrop.is-open{opacity:1}
  .ghssa-mobile-toolbar{display:flex!important;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid #eaecf0;border-radius:12px;padding:9px 11px;margin:0 0 10px;color:#475467;font-size:13px}.ghssa-mobile-toolbar[hidden]{display:none!important}
  .ghssa-filter-open{border:0;background:transparent;color:#101828;font-weight:800;font-size:14px;padding:5px 2px;cursor:pointer}
  .ghssa-summary{margin:0 0 10px;padding:0 2px}.ghssa-summary>div{display:none}.ghssa-summary a{font-size:12px;margin-left:auto}
  .ghssa-active-filters{overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px;margin-bottom:10px}.ghssa-active-filter{flex:0 0 auto}
  .ghssa-ai-cta{display:grid;grid-template-columns:1fr;gap:10px;padding:13px;margin-bottom:12px}.ghssa-ai-cta button{width:100%}
  .ghssa-ai-box{margin-bottom:12px}
  .ghssa-human-help{grid-template-columns:1fr;padding:13px;margin-bottom:12px;gap:10px}.ghssa-human-actions{justify-content:flex-start}.ghssa-human-actions a,.ghssa-human-actions button{flex:1 1 auto}
  .ghssa-callback-fields{grid-template-columns:1fr}.ghssa-callback-fields button{width:100%}
  .ghssa-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .ghssa-product{display:flex;flex-direction:column;min-height:0;padding:9px;gap:8px;border-radius:13px}
  .ghssa-product-image{width:100%;height:150px;border-radius:10px}.ghssa-product-image img{object-fit:contain}
  .ghssa-product-meta{margin-bottom:4px;gap:4px}.ghssa-tag{font-size:8px;padding:3px 5px}
  .ghssa-product-name{font-size:13px;line-height:1.28;min-height:34px;margin-bottom:3px}.ghssa-product-ref{font-size:9px;margin-bottom:5px}.ghssa-price{font-size:16px}
  .ghssa-product-bottom{align-items:center}.ghssa-stock{font-size:9px}
  .ghssa-section{display:block;margin-bottom:24px}.ghssa-section-title{font-size:12px;margin:15px 0 10px}.ghssa-chiplist{display:flex;flex-direction:column;align-items:stretch;gap:8px}.ghssa-chip{width:100%;border-radius:9px;padding:10px}.ghssa-facet-toggle{padding:9px 3px}
  .ghssa-start{padding:4vh 4px 0}.ghssa-start h2{font-size:30px}.ghssa-start p{font-size:15px}
}
@media (max-width:420px){
  .ghssa-topbar{padding:9px 10px}.ghssa-input{font-size:18px}.ghssa-close{width:46px;height:46px}
  .ghssa-main{padding:12px 8px 24px}.ghssa-products{gap:8px}.ghssa-product{padding:7px}.ghssa-product-image{height:132px}.ghssa-product-name{font-size:12.5px}.ghssa-price{font-size:15px}
}


/* v1.3.0 · acciones humanas claramente separadas */
.ghssa-human-actions{display:grid;grid-template-columns:repeat(4,minmax(135px,1fr));gap:10px;width:min(720px,100%)}
.ghssa-human-actions .ghssa-human-action{min-height:74px;display:grid;grid-template-columns:30px 1fr;grid-template-rows:auto auto;column-gap:8px;align-items:center;text-align:left;padding:10px 12px;border:1px solid #d0d5dd;border-radius:12px;background:#fff;color:#344054!important;text-decoration:none!important}
.ghssa-human-actions .ghssa-human-action>span{grid-row:1/3;font-size:22px;line-height:1}
.ghssa-human-actions .ghssa-human-action>strong{font-size:12px;line-height:1.2}
.ghssa-human-actions .ghssa-human-action>small{font-size:10px;line-height:1.25;color:#667085;font-weight:500}
.ghssa-human-actions .ghssa-human-action.whatsapp{border-color:#86efac;background:#f0fdf4}.ghssa-human-actions .ghssa-human-action.phone{border-color:#bfdbfe;background:#eff6ff}.ghssa-human-actions .ghssa-human-action.callback{border-color:#ddd6fe;background:#f5f3ff}.ghssa-human-actions .ghssa-human-action.contact{border-color:#fed7aa;background:#fff7ed}
@media (max-width:860px){.ghssa-human-actions{grid-template-columns:1fr 1fr;width:100%}.ghssa-human-actions .ghssa-human-action{width:100%;min-height:70px;flex:none!important}}
@media (max-width:430px){.ghssa-human-actions{grid-template-columns:1fr}.ghssa-human-actions .ghssa-human-action{min-height:62px}}

/* v1.4.0 · modo conversacional IA */
.ghssa-chat{border:1px solid #c7d7fe;background:#fff;border-radius:16px;margin:0 0 16px;overflow:hidden;box-shadow:0 8px 24px rgba(23,92,211,.08)}
.ghssa-chat-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;background:linear-gradient(135deg,#eef4ff,#f8fbff);border-bottom:1px solid #dbe6ff}
.ghssa-chat-head>div{display:flex;flex-direction:column;gap:2px}.ghssa-chat-head span{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#175cd3;font-weight:900}.ghssa-chat-head strong{font-size:14px;color:#101828}
.ghssa-chat-head button{border:0;background:#fff;color:#475467;width:32px;height:32px;border-radius:9px;font-size:22px;cursor:pointer}
.ghssa-chat-messages{display:flex;flex-direction:column;gap:8px;max-height:230px;overflow:auto;padding:14px 15px 8px;background:#fff}
.ghssa-chat-msg{display:flex}.ghssa-chat-msg span{max-width:min(760px,88%);padding:9px 11px;border-radius:12px;font-size:13px;line-height:1.45}
.ghssa-chat-msg.is-ai{justify-content:flex-start}.ghssa-chat-msg.is-ai span{background:#f2f4f7;color:#344054;border-bottom-left-radius:4px}
.ghssa-chat-msg.is-user{justify-content:flex-end}.ghssa-chat-msg.is-user span{background:#175cd3;color:#fff;border-bottom-right-radius:4px}
.ghssa-chat-choices{display:flex;flex-wrap:wrap;gap:7px;padding:4px 15px 10px}.ghssa-chat-choice{border:1px solid #b2ccff;background:#eef4ff;color:#1849a9;border-radius:999px;padding:8px 11px;font-size:12px;font-weight:800;cursor:pointer}.ghssa-chat-choice:hover{background:#dbe8ff}
.ghssa-chat-inputrow{display:grid;grid-template-columns:1fr auto;gap:8px;padding:10px 15px 14px;border-top:1px solid #eaecf0}.ghssa-chat-inputrow input{border:1px solid #d0d5dd;border-radius:10px;padding:10px 11px;min-width:0;background:#fff;color:#101828}.ghssa-chat-inputrow button{border:0;background:#101828;color:#fff;border-radius:10px;padding:10px 15px;font-weight:800;cursor:pointer}.ghssa-chat-inputrow button:disabled{opacity:.55;cursor:wait}
.ghssa-chat-human{padding:0 15px 12px;font-size:11px;color:#667085}
@media(max-width:860px){.ghssa-chat{margin-bottom:12px}.ghssa-chat-messages{max-height:190px;padding:12px}.ghssa-chat-msg span{max-width:92%;font-size:12.5px}.ghssa-chat-choices{padding:3px 12px 9px}.ghssa-chat-inputrow{padding:9px 12px 12px}.ghssa-chat-inputrow button{padding:10px 12px}}


/* v1.4.1 · contacto móvil compacto y desplegable */
.ghssa-human-toggle{display:none}
.ghssa-human-panel{display:block}
@media(max-width:860px){
  .ghssa-human-help{display:block;padding:0;margin:0 0 10px;border:0;background:transparent;box-shadow:none}
  .ghssa-human-copy{display:none}
  .ghssa-human-toggle{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;border:1px solid #d0d5dd;background:#fff;color:#344054;border-radius:11px;padding:9px 12px;font-size:12.5px;font-weight:850;cursor:pointer;box-shadow:0 2px 8px rgba(16,24,40,.04)}
  .ghssa-human-toggle span{font-size:16px;transition:transform .18s ease}.ghssa-human-toggle.is-open span{transform:rotate(180deg)}
  .ghssa-human-panel{display:none;margin-top:8px}.ghssa-human-panel.is-open{display:block}
  .ghssa-human-actions{grid-template-columns:1fr 1fr!important;gap:6px!important}
  .ghssa-human-actions .ghssa-human-action{min-height:48px!important;padding:7px 8px!important;grid-template-columns:22px 1fr!important;column-gap:6px!important;border-radius:10px!important}
  .ghssa-human-actions .ghssa-human-action>span{font-size:17px!important}.ghssa-human-actions .ghssa-human-action>strong{font-size:11px!important}.ghssa-human-actions .ghssa-human-action>small{font-size:8.5px!important}
  .ghssa-callback-panel{margin-top:8px;padding-top:8px}
}
@media(max-width:430px){.ghssa-human-actions{grid-template-columns:1fr 1fr!important}.ghssa-human-actions .ghssa-human-action{min-height:46px!important}}
/* v1.5.1: prioridades comerciales y familias/variantes */
.ghssa-tag.priority{background:#fff3cd;color:#7a5200;border:1px solid #ffe08a}
.ghssa-options-hint{margin-top:7px;padding:6px 8px;border-radius:8px;background:#eef6ff;color:#174ea6;font-size:12px;line-height:1.25}
.ghssa-options-hint strong{display:block;font-size:12px}
.ghssa-options-hint small{display:block;margin-top:2px;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ghssa-options-hint.related{background:#f6f3ff;color:#6544b5}
@media(max-width:767px){.ghssa-options-hint{padding:5px 6px;font-size:11px}.ghssa-options-hint strong{font-size:11px}.ghssa-options-hint small{display:none}}

/* v1.5.2 - familias agrupadas */
.ghssa-product{display:block}
.ghssa-product-main{display:flex;color:inherit;text-decoration:none;height:100%}
.ghssa-family-product{display:block;overflow:hidden}
.ghssa-family-product .ghssa-product-main{min-height:100%}
.ghssa-options-hint.family{position:relative;padding-right:4px}
.ghssa-family-toggle{margin-top:6px;border:0;background:transparent;color:#155eef;font-weight:700;padding:0;cursor:pointer;font-size:12px}
.ghssa-family-variants{border-top:1px solid #e5e7eb;background:#fbfcff;padding:8px 10px;max-height:210px;overflow:auto}
.ghssa-family-variant{display:flex;justify-content:space-between;gap:10px;padding:7px 4px;border-bottom:1px solid #edf0f5;color:#172033;text-decoration:none;font-size:12px}
.ghssa-family-variant:last-child{border-bottom:0}
.ghssa-family-variant span{font-weight:700}
.ghssa-family-variant small{color:#667085;text-align:right}
.ghssa-family-variant:hover{color:#155eef;background:#f5f8ff}
@media(max-width:767px){.ghssa-family-variant{display:block}.ghssa-family-variant small{display:block;text-align:left;margin-top:2px}}

/* v1.5.3 - expansión visible de familias */
.ghssa-family-product{overflow:visible!important}
.ghssa-family-product .ghssa-product-main{height:auto!important;min-height:0!important}
.ghssa-family-product .ghssa-family-variants{display:block;width:100%;box-sizing:border-box;border:1px solid #e5e7eb;border-top:0;border-radius:0 0 14px 14px;margin-top:8px;background:#fbfcff;overflow:auto}
.ghssa-family-product .ghssa-family-variants[hidden]{display:none!important}
.ghssa-family-product .ghssa-family-variant{display:flex!important;align-items:center;justify-content:space-between;gap:10px}
@media(max-width:860px){.ghssa-family-product .ghssa-family-variant{display:block!important}}

.ghssa-human-help.is-rescue{border-color:#f59e0b;background:#fffbeb;box-shadow:0 5px 20px rgba(245,158,11,.12)}
.ghssa-human-help.is-rescue .ghssa-human-kicker{color:#b45309}

.ghssa-spell-original{border:0;background:transparent;color:#1261d8;text-decoration:underline;cursor:pointer;padding:0;font:inherit}.ghssa-spell-original:hover{color:#0a4096}

/* v2.1.0 · búsqueda guiada, lupa explícita y móvil a una columna */
.ghssa-searchbox{display:flex;align-items:center;gap:6px}
.ghssa-search-submit{height:48px;min-width:92px;border:0;border-radius:12px;background:#e9eef5;color:#667085;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:800;cursor:default;transition:.15s ease;padding:0 15px}
.ghssa-search-submit.is-ready{background:#175cd3;color:#fff;cursor:pointer!important;box-shadow:0 3px 10px rgba(23,92,211,.18)}
.ghssa-search-submit-icon{font-size:21px;line-height:1}.ghssa-search-submit-text{font-size:13px}
.ghssa-clarify{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 15px;margin:0 0 14px;border:1px solid #b2ccff;background:#f5f8ff;border-radius:14px}
.ghssa-clarify-copy{display:flex;flex-direction:column;gap:3px;min-width:220px}.ghssa-clarify-copy strong{font-size:14px;color:#1849a9}.ghssa-clarify-copy span{font-size:12px;color:#475467}
.ghssa-clarify-options{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}.ghssa-clarify-option{border:1px solid #b2ccff;background:#fff;color:#1849a9;border-radius:999px;padding:8px 11px;font-size:12px;font-weight:800;cursor:pointer}.ghssa-clarify-option:hover{background:#eaf1ff}.ghssa-clarify-option small{font-weight:600;color:#667085;margin-left:3px}
@media(max-width:860px){
  .ghssa-search-submit{min-width:50px;width:50px;height:46px;padding:0}.ghssa-search-submit-text{display:none}.ghssa-search-submit-icon{font-size:23px}
  .ghssa-clarify{display:block;padding:11px 12px}.ghssa-clarify-copy{min-width:0;margin-bottom:9px}.ghssa-clarify-options{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px}.ghssa-clarify-option{flex:0 0 auto}
  .ghssa-products{grid-template-columns:1fr!important;gap:10px!important}
  .ghssa-product{padding:10px!important}
  .ghssa-product-main{display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;gap:10px!important;align-items:start!important}
  .ghssa-product-image{width:112px!important;height:112px!important;margin:0!important}
  .ghssa-product-body{min-width:0!important;padding:0!important}
  .ghssa-product-name{font-size:14px!important;line-height:1.3!important;min-height:0!important}
  .ghssa-product-ref{font-size:10px!important}.ghssa-price{font-size:17px!important}
  .ghssa-family-product .ghssa-family-variant{display:block!important}
}
@media(max-width:420px){.ghssa-product-main{grid-template-columns:96px minmax(0,1fr)!important}.ghssa-product-image{width:96px!important;height:96px!important}}

.ghssa-search-submit:disabled{cursor:default}.ghssa-search-submit.is-ready:not(:disabled){cursor:pointer!important}

/* v2.2.0 · entrada dual Buscar / Conversar */
.ghssa-start-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 16px;max-width:860px}
.ghssa-start-action{display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto auto;column-gap:11px;align-items:center;text-align:left;border:1px solid #d0d5dd;background:#fff;border-radius:14px;padding:14px 16px;cursor:pointer;box-shadow:0 4px 16px rgba(16,24,40,.05);transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease}
.ghssa-start-action:hover{transform:translateY(-1px);border-color:#84adff;box-shadow:0 7px 20px rgba(23,92,211,.10)}
.ghssa-start-action>span{grid-row:1/3;font-size:25px}.ghssa-start-action>strong{font-size:13px;letter-spacing:.025em;color:#101828}.ghssa-start-action>small{font-size:11px;color:#667085;line-height:1.35}
.ghssa-start-action.is-chat{background:linear-gradient(135deg,#f5f8ff,#fff);border-color:#b2ccff}.ghssa-start-action.is-chat>strong{color:#1849a9}
.ghssa-search-submit{cursor:pointer!important}.ghssa-search-submit[aria-disabled="true"]{opacity:.58}.ghssa-search-submit.is-ready{opacity:1}
@media(max-width:860px){.ghssa-start-actions{grid-template-columns:1fr;gap:8px;margin:13px 0 12px}.ghssa-start-action{padding:11px 12px;border-radius:12px}.ghssa-start-action>span{font-size:21px}.ghssa-start-action>strong{font-size:12px}.ghssa-start-action>small{font-size:10px}}


/* v2.3.0 · búsqueda primero, conversación después */
.ghssa-start-actions{display:none!important}
.ghssa-ai-cta{padding:8px 10px!important;min-height:0!important;align-items:center!important}
.ghssa-ai-cta>div{display:none!important}
.ghssa-ai-cta button{margin-left:auto!important;padding:7px 11px!important;border-radius:999px!important;font-size:12px!important;min-height:34px!important}
.ghssa-chat-head-actions{display:flex;align-items:center;gap:8px}
.ghssa-chat-traditional{border:1px solid #b2ccff;background:#fff;color:#1849a9;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:850;cursor:pointer}
.ghssa-chat-traditional:hover{background:#eef4ff}
.ghssa-conversation-mode .ghssa-topbar .ghssa-searchbox{display:none!important}
.ghssa-conversation-mode .ghssa-body{display:block!important}
.ghssa-conversation-mode .ghssa-main{max-width:980px;margin:0 auto;width:100%}
.ghssa-conversation-mode .ghssa-chat{margin-top:8px}
@media(max-width:860px){.ghssa-chat-head{gap:8px}.ghssa-chat-head-actions{gap:5px}.ghssa-chat-traditional{font-size:9.5px;padding:6px 8px}.ghssa-conversation-mode .ghssa-main{max-width:none}}


/* v2.3.1 · conversación a pantalla completa dentro del overlay */
.ghssa-overlay.ghssa-conversation-mode .ghssa-shell,
.ghssa-shell.ghssa-conversation-mode{
  display:flex!important;
  flex-direction:column!important;
}
.ghssa-overlay.ghssa-conversation-mode .ghssa-topbar,
.ghssa-shell.ghssa-conversation-mode .ghssa-topbar{
  justify-content:flex-end!important;
  flex:0 0 auto!important;
}
.ghssa-overlay.ghssa-conversation-mode .ghssa-topbar .ghssa-searchbox,
.ghssa-shell.ghssa-conversation-mode .ghssa-topbar .ghssa-searchbox{
  display:none!important;
}
.ghssa-overlay.ghssa-conversation-mode .ghssa-body,
.ghssa-shell.ghssa-conversation-mode .ghssa-body{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  flex:1 1 auto!important;
  overflow:hidden!important;
}
.ghssa-overlay.ghssa-conversation-mode .ghssa-sidebar,
.ghssa-shell.ghssa-conversation-mode .ghssa-sidebar,
.ghssa-overlay.ghssa-conversation-mode .ghssa-filter-backdrop,
.ghssa-shell.ghssa-conversation-mode .ghssa-filter-backdrop{
  display:none!important;
}
.ghssa-overlay.ghssa-conversation-mode .ghssa-main,
.ghssa-shell.ghssa-conversation-mode .ghssa-main{
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  max-width:none!important;
  height:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:18px 22px 22px!important;
  overflow:hidden!important;
  background:#fff!important;
}
.ghssa-overlay.ghssa-conversation-mode .ghssa-main > :not(.ghssa-chat):not(.ghssa-human-help),
.ghssa-shell.ghssa-conversation-mode .ghssa-main > :not(.ghssa-chat):not(.ghssa-human-help){
  display:none!important;
}
.ghssa-overlay.ghssa-conversation-mode .ghssa-chat,
.ghssa-shell.ghssa-conversation-mode .ghssa-chat{
  display:flex!important;
  flex-direction:column!important;
  flex:1 1 auto!important;
  width:100%!important;
  max-width:none!important;
  min-height:0!important;
  margin:0!important;
  border-radius:16px!important;
}
.ghssa-overlay.ghssa-conversation-mode .ghssa-chat-messages,
.ghssa-shell.ghssa-conversation-mode .ghssa-chat-messages{
  flex:1 1 auto!important;
  max-height:none!important;
  min-height:260px!important;
  overflow:auto!important;
  padding:20px 22px 12px!important;
}
.ghssa-overlay.ghssa-conversation-mode .ghssa-chat-msg span,
.ghssa-shell.ghssa-conversation-mode .ghssa-chat-msg span{
  max-width:min(900px,82%)!important;
  font-size:14px!important;
  line-height:1.5!important;
}
.ghssa-overlay.ghssa-conversation-mode .ghssa-chat-choices,
.ghssa-shell.ghssa-conversation-mode .ghssa-chat-choices{
  padding:8px 22px 12px!important;
}
.ghssa-overlay.ghssa-conversation-mode .ghssa-chat-inputrow,
.ghssa-shell.ghssa-conversation-mode .ghssa-chat-inputrow{
  padding:12px 22px 16px!important;
}
.ghssa-overlay.ghssa-conversation-mode .ghssa-chat-human,
.ghssa-shell.ghssa-conversation-mode .ghssa-chat-human{
  padding:0 22px 14px!important;
}
.ghssa-overlay.ghssa-conversation-mode .ghssa-human-help,
.ghssa-shell.ghssa-conversation-mode .ghssa-human-help{
  flex:0 0 auto!important;
  margin-top:12px!important;
}
@media(max-width:860px){
  .ghssa-overlay.ghssa-conversation-mode .ghssa-main,
  .ghssa-shell.ghssa-conversation-mode .ghssa-main{padding:10px!important}
  .ghssa-overlay.ghssa-conversation-mode .ghssa-chat,
  .ghssa-shell.ghssa-conversation-mode .ghssa-chat{border-radius:12px!important}
  .ghssa-overlay.ghssa-conversation-mode .ghssa-chat-messages,
  .ghssa-shell.ghssa-conversation-mode .ghssa-chat-messages{min-height:0!important;padding:14px 12px 8px!important}
  .ghssa-overlay.ghssa-conversation-mode .ghssa-chat-msg span,
  .ghssa-shell.ghssa-conversation-mode .ghssa-chat-msg span{max-width:92%!important;font-size:13px!important}
  .ghssa-overlay.ghssa-conversation-mode .ghssa-chat-choices,
  .ghssa-shell.ghssa-conversation-mode .ghssa-chat-choices{padding:6px 12px 10px!important}
  .ghssa-overlay.ghssa-conversation-mode .ghssa-chat-inputrow,
  .ghssa-shell.ghssa-conversation-mode .ghssa-chat-inputrow{padding:9px 12px 12px!important}
  .ghssa-overlay.ghssa-conversation-mode .ghssa-chat-human,
  .ghssa-shell.ghssa-conversation-mode .ghssa-chat-human{padding:0 12px 10px!important}
}

/* v2.4.0 · conversación limpia: sólo cierre global del overlay */
.ghssa-overlay.ghssa-conversation-mode .ghssa-topbar,
.ghssa-shell.ghssa-conversation-mode .ghssa-topbar{
  min-height:58px!important;
  padding-top:10px!important;
  padding-bottom:10px!important;
  border-bottom:1px solid #eaecf0!important;
}
.ghssa-overlay.ghssa-conversation-mode .ghssa-chat,
.ghssa-shell.ghssa-conversation-mode .ghssa-chat{
  border-top:0!important;
  box-shadow:none!important;
}
.ghssa-overlay.ghssa-conversation-mode .ghssa-chat-messages,
.ghssa-shell.ghssa-conversation-mode .ghssa-chat-messages{
  padding-top:18px!important;
}


/* v2.4.1 · recomendaciones de producto visuales en modo IA */
.ghssa-chat-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;width:100%;margin:2px 0 4px}
.ghssa-chat-product-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #dbe3ef;border-radius:16px;overflow:hidden;box-shadow:0 5px 18px rgba(16,24,40,.06);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.ghssa-chat-product-card:hover{transform:translateY(-2px);border-color:#9db9ff;box-shadow:0 10px 26px rgba(23,92,211,.11)}
.ghssa-chat-product-image{height:150px;display:flex;align-items:center;justify-content:center;background:#f8fafc;padding:12px;border-bottom:1px solid #eef2f6}
.ghssa-chat-product-image img{width:100%;height:100%;object-fit:contain;display:block}
.ghssa-chat-product-noimage{font-size:34px;color:#98a2b3}
.ghssa-chat-product-copy{display:flex;flex-direction:column;gap:5px;padding:12px 13px 10px;flex:1 1 auto;min-width:0}
.ghssa-chat-product-meta{font-size:10px;line-height:1.25;font-weight:800;text-transform:uppercase;letter-spacing:.035em;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ghssa-chat-product-name{font-size:13px;line-height:1.32;color:#101828;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ghssa-chat-product-ref{font-size:11px;color:#667085}
.ghssa-chat-product-price{margin-top:auto;padding-top:3px;font-size:16px;color:#101828}
.ghssa-chat-product-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:0 12px 12px}
.ghssa-chat-product-select,.ghssa-chat-product-view{min-height:36px;border-radius:9px;padding:8px 9px;font-size:11px;font-weight:850;text-align:center;display:flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer}
.ghssa-chat-product-select{border:0;background:#175cd3;color:#fff}
.ghssa-chat-product-select:hover{background:#1849a9}
.ghssa-chat-product-view{border:1px solid #b2ccff;background:#eef4ff;color:#1849a9}
.ghssa-chat-product-view:hover{background:#dbe8ff;color:#1849a9;text-decoration:none}
@media(max-width:1180px){.ghssa-chat-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:860px){.ghssa-chat-product-grid{grid-template-columns:1fr;gap:10px}.ghssa-chat-product-card{display:grid;grid-template-columns:105px 1fr;grid-template-areas:"image copy" "image actions";align-items:stretch}.ghssa-chat-product-image{grid-area:image;height:auto;min-height:136px;border-bottom:0;border-right:1px solid #eef2f6;padding:9px}.ghssa-chat-product-copy{grid-area:copy;padding:10px 11px 6px}.ghssa-chat-product-actions{grid-area:actions;padding:4px 10px 10px}.ghssa-chat-product-name{-webkit-line-clamp:2}.ghssa-chat-product-price{font-size:15px}}


/* v2.4.2 · tarjetas completas + conversación siempre disponible */
.ghssa-overlay.ghssa-conversation-mode .ghssa-chat-choices,
.ghssa-shell.ghssa-conversation-mode .ghssa-chat-choices{
  flex:0 1 auto!important;
  max-height:min(390px,46vh)!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  align-content:start!important;
  scrollbar-gutter:stable;
}
.ghssa-overlay.ghssa-conversation-mode .ghssa-chat-inputrow,
.ghssa-shell.ghssa-conversation-mode .ghssa-chat-inputrow{
  flex:0 0 auto!important;
  position:relative!important;
  z-index:5!important;
  background:#fff!important;
  border-top:1px solid #eaecf0!important;
}
.ghssa-overlay.ghssa-conversation-mode .ghssa-chat-human,
.ghssa-shell.ghssa-conversation-mode .ghssa-chat-human{
  flex:0 0 auto!important;
  background:#fff!important;
}
.ghssa-chat-product-copy{min-height:122px}
.ghssa-chat-product-name{order:1;font-size:14px;font-weight:850;line-height:1.32;margin-bottom:2px}
.ghssa-chat-product-ref{order:2}
.ghssa-chat-product-price{order:3;margin-top:2px;padding-top:0}
.ghssa-chat-product-meta{order:4;margin-top:2px;color:#667085;text-transform:none;letter-spacing:0;font-weight:700}
@media(max-width:1180px){
  .ghssa-overlay.ghssa-conversation-mode .ghssa-chat-choices,
  .ghssa-shell.ghssa-conversation-mode .ghssa-chat-choices{max-height:min(430px,48vh)!important}
}
@media(max-width:860px){
  .ghssa-overlay.ghssa-conversation-mode .ghssa-chat-choices,
  .ghssa-shell.ghssa-conversation-mode .ghssa-chat-choices{max-height:min(46vh,430px)!important}
  .ghssa-chat-product-copy{min-height:0}
}

/* v2.4.4 · modo IA con UN SOLO scroll principal */
.ghssa-overlay.ghssa-conversation-mode .ghssa-body,
.ghssa-shell.ghssa-conversation-mode .ghssa-body{
  overflow:hidden!important;
}
.ghssa-overlay.ghssa-conversation-mode .ghssa-main,
.ghssa-shell.ghssa-conversation-mode .ghssa-main{
  display:flex!important;
  flex-direction:column!important;
  height:100%!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  scrollbar-gutter:stable;
}
.ghssa-overlay.ghssa-conversation-mode .ghssa-chat,
.ghssa-shell.ghssa-conversation-mode .ghssa-chat{
  display:block!important;
  flex:0 0 auto!important;
  min-height:0!important;
  overflow:visible!important;
}
.ghssa-overlay.ghssa-conversation-mode .ghssa-chat-messages,
.ghssa-shell.ghssa-conversation-mode .ghssa-chat-messages{
  display:flex!important;
  flex-direction:column!important;
  flex:0 0 auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
}
.ghssa-overlay.ghssa-conversation-mode .ghssa-chat-choices,
.ghssa-shell.ghssa-conversation-mode .ghssa-chat-choices{
  display:block!important;
  flex:0 0 auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
  scrollbar-gutter:auto!important;
  padding:8px 22px 14px!important;
}
.ghssa-chat-results-heading{display:flex;align-items:end;justify-content:space-between;gap:14px;margin:2px 0 10px;color:#101828}
.ghssa-chat-results-heading strong{font-size:15px}
.ghssa-chat-results-heading span{font-size:12px;color:#667085;text-align:right}
.ghssa-chat-results{margin:0!important;width:100%!important}
.ghssa-chat-result-wrap{display:flex;flex-direction:column;min-width:0;gap:7px}
.ghssa-chat-result-wrap>.ghssa-product{height:100%}
.ghssa-chat-result-ask{border:1px solid #b2ccff;background:#eef4ff;color:#1849a9;border-radius:10px;padding:8px 10px;font-size:11px;font-weight:850;cursor:pointer}
.ghssa-chat-result-ask:hover{background:#dbe8ff}
.ghssa-overlay.ghssa-conversation-mode .ghssa-chat-inputrow,
.ghssa-shell.ghssa-conversation-mode .ghssa-chat-inputrow{
  position:sticky!important;
  bottom:0!important;
  z-index:30!important;
  background:#fff!important;
  box-shadow:0 -8px 18px rgba(255,255,255,.96)!important;
}
/* El contenedor antiguo de tarjetas IA ya no participa en el layout. */
.ghssa-chat-product-grid{display:none!important}
@media(max-width:860px){
  .ghssa-overlay.ghssa-conversation-mode .ghssa-chat-choices,
  .ghssa-shell.ghssa-conversation-mode .ghssa-chat-choices{padding:6px 12px 12px!important}
  .ghssa-chat-results-heading{display:block;margin-bottom:8px}
  .ghssa-chat-results-heading span{display:block;text-align:left;margin-top:3px}
  .ghssa-chat-results{grid-template-columns:1fr!important}
}


/* v2.6.4 · acceso directo a MODO IA desde la pantalla inicial */
.ghssa-start-ai-mode{display:grid;grid-template-columns:42px minmax(0,1fr) 24px;align-items:center;gap:12px;width:min(100%,760px);margin:0 0 16px;padding:13px 15px;border:1px solid #b2ccff;border-radius:14px;background:linear-gradient(135deg,#eef4ff 0%,#f8faff 62%,#fff 100%);box-shadow:0 5px 18px rgba(23,92,211,.08);text-align:left;cursor:pointer;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease,background .15s ease}
.ghssa-start-ai-mode:hover{transform:translateY(-1px);border-color:#528bff;box-shadow:0 8px 24px rgba(23,92,211,.13);background:linear-gradient(135deg,#e7efff 0%,#f5f8ff 62%,#fff 100%)}
.ghssa-start-ai-mode:focus-visible{outline:3px solid rgba(23,92,211,.22);outline-offset:2px}
.ghssa-start-ai-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:#175cd3;color:#fff;font-size:21px;line-height:1}
.ghssa-start-ai-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
.ghssa-start-ai-copy strong{font-size:13px;line-height:1.2;letter-spacing:.055em;color:#1849a9}
.ghssa-start-ai-copy small{font-size:11px;line-height:1.35;color:#475467;font-weight:600}
.ghssa-start-ai-arrow{font-size:28px;line-height:1;color:#175cd3;text-align:right}
@media(max-width:860px){.ghssa-start-ai-mode{grid-template-columns:38px minmax(0,1fr) 20px;gap:10px;margin-bottom:13px;padding:11px 12px;border-radius:12px}.ghssa-start-ai-icon{width:38px;height:38px;border-radius:10px;font-size:19px}.ghssa-start-ai-copy strong{font-size:12px}.ghssa-start-ai-copy small{font-size:10px}.ghssa-start-ai-arrow{font-size:24px}}

/* v2.6.7: entrada reducida a búsqueda y dos acciones */
#ghssa-overlay .ghssa-start{padding:20px 0;margin:0}
#ghssa-overlay .ghssa-entry-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
#ghssa-overlay .ghssa-entry-actions button{border:1px solid #61786b;background:#fff;color:#232323;border-radius:10px;padding:13px 24px;font-size:16px;font-weight:600;cursor:pointer}
#ghssa-overlay #ghssa-start-ai-mode{background:#61786b;color:#fff}
#ghssa-overlay .ghssa-entry-actions button:hover{background:#edf1ee}
#ghssa-overlay #ghssa-start-ai-mode:hover{background:#4d6256}
#ghssa-overlay .ghssa-entry-actions button:focus-visible{outline:3px solid #61786b;outline-offset:3px}
#ghssa-overlay .ghssa-sidebar[hidden]{display:none!important}
#ghssa-overlay .ghssa-body:has(.ghssa-start:not([hidden])){grid-template-columns:1fr}
@media(max-width:480px){#ghssa-overlay .ghssa-entry-actions button{flex:1;padding:12px}}

/* v2.6.8: acciones únicas y compactas junto al buscador */
#ghssa-overlay .ghssa-topbar{align-items:center}
#ghssa-overlay .ghssa-topbar .ghssa-searchbox{flex:1 1 auto;min-width:0}
#ghssa-overlay .ghssa-topbar .ghssa-entry-actions{display:flex;flex:0 0 auto;gap:8px;flex-wrap:nowrap}
#ghssa-overlay .ghssa-topbar .ghssa-entry-actions button{font-size:13px;line-height:1.3;padding:10px 13px;white-space:nowrap;border-radius:9px}
#ghssa-overlay .ghssa-start{display:none!important}
#ghssa-overlay .ghssa-ai-cta{display:none!important}
#ghssa-overlay .ghssa-body:has(.ghssa-sidebar[hidden]){grid-template-columns:1fr}
@media(min-width:861px){
 #ghssa-overlay .ghssa-topbar .ghssa-input{height:48px;font-size:18px}
 #ghssa-overlay .ghssa-topbar .ghssa-search-submit{padding:8px 12px;font-size:13px}
}
@media(max-width:860px){
 #ghssa-overlay .ghssa-topbar{flex-wrap:wrap}
 #ghssa-overlay .ghssa-topbar .ghssa-searchbox{order:0;flex:1 1 calc(100% - 64px)}
 #ghssa-overlay .ghssa-topbar .ghssa-close{order:1}
 #ghssa-overlay .ghssa-topbar .ghssa-entry-actions{order:2;width:100%;justify-content:flex-end}
 #ghssa-overlay .ghssa-topbar .ghssa-entry-actions button{flex:0 0 auto;font-size:12px;padding:8px 12px}
}

/* v2.6.9: resultados sin resumen técnico ni enlace de búsqueda completa */
#ghssa-overlay #ghssa-summary{display:none!important}
#ghssa-overlay #ghssa-mobile-toolbar>span{display:none!important}
