.ai-demo{ color-scheme: light; --ink: #23272b; --muted: #68717b; --line: #e2e6e9; --paper: #fff; --wash: #f5f7f8; --accent: #008fac; --accent-dark: #006f87; --green: #27835a; }
.ai-demo *{ box-sizing: border-box; letter-spacing: 0; }
.ai-demo button,.ai-demo input,.ai-demo textarea{ font: inherit; }
.ai-demo button,.ai-demo a,.ai-demo input,.ai-demo textarea{ -webkit-tap-highlight-color: transparent; }
.ai-demo button{ cursor: pointer; color: inherit; }
.ai-demo button:disabled{ cursor: wait; opacity: .55; }
.ai-demo button,.ai-demo input,.ai-demo textarea{ border-radius: 5px; }
.ai-demo button{ border: 1px solid transparent; background: transparent; }
.ai-demo button:focus-visible,.ai-demo a:focus-visible{ outline: 3px solid #67c8de; outline-offset: 3px; }
.ai-demo a{ color: inherit; text-decoration: none; }
.ai-demo a:hover{ color: var(--accent-dark); }
.ai-demo svg{ width: 20px; height: 20px; flex: 0 0 auto; stroke-width: 1.7; }
.ai-demo img{ display: block; max-width: 100%; }
.ai-demo h1,.ai-demo h2,.ai-demo h3,.ai-demo p{ margin: 0; }
.ai-demo [hidden]{ display: none !important; }
.ai-demo .sr-only{ position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.ai-demo .site-header{ border-bottom: 1px solid var(--line); }
.ai-demo .header-inner{ max-width: 1320px; margin: auto; padding: 25px 32px; display: flex; align-items: center; gap: 44px; }
.ai-demo .brand{ flex: 0 0 174px; }
.ai-demo .brand img{ width: 174px; height: 50px; object-fit: contain; }
.ai-demo .search-entry{ display: flex; align-items: center; gap: 14px; text-align: left; flex: 1; min-width: 0; height: 48px; border: 1px solid #ced5da; background: var(--wash); padding: 0 16px; color: var(--muted); }
.ai-demo .search-hint{ flex: 1; min-width: 0; overflow: hidden; }
.ai-demo .search-hint-track{ display: flex; width: max-content; min-width: 200%; animation: search-hint 24s linear infinite; }
.ai-demo .search-hint-track > span{ flex: 1 0 auto; padding-right: 60px; white-space: nowrap; }
.ai-demo .search-entry:hover .search-hint-track,.ai-demo .search-entry:focus .search-hint-track{ animation-play-state: paused; }
@keyframes  search-hint { to { transform: translateX(-50%); } }
.ai-demo .search-entry:hover{ border-color: var(--accent); background: #fff; }
.ai-demo .header-assistant{ display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 10px 17px; font-size: 14px; font-weight: 600; color: #fff; background: var(--accent); flex-shrink: 0; }
.ai-demo .header-assistant:hover{ background: var(--accent-dark); color: #fff; }
.ai-demo .text-command:hover{ color: var(--accent-dark); }
.ai-demo .catalog-page{ max-width: 1320px; margin: auto; padding: 26px 32px 44px; }
.ai-demo .breadcrumb{ display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; margin-bottom: 24px; }
.ai-demo .breadcrumb svg{ width: 13px; height: 13px; }
.ai-demo .demo-label{ margin-left: auto; color: #8a6b30; font-size: 11px; text-transform: uppercase; }
.ai-demo .page-heading{ display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 30px; }
.ai-demo h1{ font-size: 30px; line-height: 1.22; font-weight: 600; overflow-wrap: anywhere; }
.ai-demo .page-heading p{ color: var(--muted); font-size: 14px; margin-top: 10px; }
.ai-demo .catalog-total{ white-space: nowrap; font-size: 13px; color: var(--muted); }
.ai-demo .catalog-layout{ display: grid; grid-template-columns: 215px minmax(0, 1fr); gap: 30px; }
.ai-demo .catalog-nav{ padding-right: 24px; border-right: 1px solid var(--line); }
.ai-demo .catalog-nav h2{ font-size: 13px; margin: 12px 0 14px; font-weight: 600; }
.ai-demo .catalog-nav button{ width: 100%; padding: 12px 0; display: flex; align-items: center; gap: 12px; justify-content: space-between; text-align: left; font-size: 13px; line-height: 1.5; border-bottom: 1px solid #edf0f2; border-radius: 0; }
.ai-demo .catalog-nav button:hover{ color: var(--accent-dark); }
.ai-demo .catalog-nav button svg{ width: 14px; height: 14px; }
.ai-demo .brand-nav{ margin-top: 30px; }
.ai-demo .original-catalog{ font-size: 12px; display: flex; align-items: center; gap: 8px; color: var(--muted); margin-top: 30px; }
.ai-demo .original-catalog svg{ width: 14px; height: 14px; }
.ai-demo .catalog-toolbar{ min-height: 44px; display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ai-demo .catalog-toolbar h2{ font-size: 16px; font-weight: 500; }
.ai-demo .text-command{ display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; padding: 9px 2px; }
.ai-demo .catalog-grid{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ai-demo .catalog-loading{ grid-column: 1 / -1; padding: 60px 0; color: var(--muted); }
.ai-demo .product-card{ border: 1px solid var(--line); border-radius: 6px; min-width: 0; background: #fff; display: flex; flex-direction: column; overflow: hidden; }
.ai-demo .product-card:hover{ border-color: #b7c6cc; }
.ai-demo .product-picture{ aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 20px; background: #fff; }
.ai-demo .product-picture img{ width: 100%; height: 100%; object-fit: contain; }
.ai-demo .product-picture svg{ color: #a4acb3; width: 36px; height: 36px; }
.ai-demo .product-body{ padding: 14px; flex: 1; display: flex; flex-direction: column; min-width: 0; }
.ai-demo .product-brand{ color: var(--muted); font-size: 10px; text-transform: uppercase; margin-bottom: 5px; overflow-wrap: anywhere; }
.ai-demo .product-name{ font-size: 14px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.ai-demo .product-code{ font-size: 11px; color: var(--muted); margin-top: 5px; overflow-wrap: anywhere; }
.ai-demo .product-specs{ display: grid; gap: 7px; margin: 15px 0 18px; }
.ai-demo .product-specs div{ font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.ai-demo .product-specs dt{ color: var(--muted); }
.ai-demo .product-specs dd{ margin: 0; font-weight: 500; }
.ai-demo .product-bottom{ display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 11px; }
.ai-demo .availability{ display: flex; align-items: center; gap: 5px; color: var(--green); }
.ai-demo .availability::before{ content: ""; width: 5px; height: 5px; background: currentColor; border-radius: 50%; }
.ai-demo .product-bottom a{ display: flex; align-items: center; gap: 4px; }
.ai-demo .product-bottom svg{ width: 13px; height: 13px; }
.ai-demo .site-footer{ max-width: 1320px; margin: auto; border-top: 1px solid var(--line); padding: 25px 32px 90px; display: flex; gap: 24px; font-size: 12px; color: var(--muted); }
.ai-demo .notice-reopen{ margin-left: auto; margin-top: -10px; color: #153fc7; }
.ai-demo .demo-notice{ position: fixed; inset: auto 0 0; z-index: 6; background: #fff; border-top: 3px solid #153fc7; box-shadow: 0 -5px 24px #172b4420; animation: notice-in .24s ease-out; }
.ai-demo .demo-notice-inner{ position: relative; max-width: 1320px; margin: auto; padding: 20px 82px 22px 32px; }
.ai-demo .demo-notice-copy{ min-width: 0; }
.ai-demo .demo-notice h2{ font-size: 22px; line-height: 1.3; font-weight: 600; overflow-wrap: anywhere; }
.ai-demo .demo-notice p{ color: var(--ink); font-size: 18px; line-height: 1.4; margin-top: 8px; overflow-wrap: anywhere; }
.ai-demo .demo-notice .notice-close{ position: absolute; top: 12px; right: 25px; width: 44px; height: 44px; color: var(--muted); }
@keyframes  notice-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.ai-demo .chat-launcher{ position: fixed; right: 26px; bottom: 24px; display: flex; align-items: center; gap: 10px; padding: 14px 19px; background: var(--ink); color: #fff; box-shadow: 0 4px 20px #0002; z-index: 5; font-size: 14px; }
.ai-demo .chat-launcher:hover{ background: #363f46; }
.ai-demo dialog{ padding: 0; border: 1px solid #d6dee2; color: var(--ink); background: #fff; border-radius: 8px; box-shadow: 0 20px 80px #0003; max-width: calc(100% - 40px); max-height: calc(100dvh - 64px); }
.ai-demo dialog::backdrop{ background: #20282d80; }
.ai-demo dialog[open]{ display: flex; flex-direction: column; }
.ai-demo .search-dialog,.ai-demo .chat-dialog{ width: 1030px; height: min(800px, calc(100dvh - 64px)); }
.ai-demo .search-top{ padding: 18px 20px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); flex: 0 0 auto; }
.ai-demo .search-form{ border: 1px solid var(--accent); border-radius: 5px; padding: 5px 5px 5px 14px; display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.ai-demo .search-form input{ width: 100%; min-width: 0; border: 0; outline: 0; padding: 7px 0; background: #fff; color: var(--ink); font-size: 16px; }
.ai-demo .search-form:focus-within{ box-shadow: 0 0 0 2px #008fac20; }
.ai-demo .primary{ background: var(--accent); color: #fff; }
.ai-demo .primary:hover{ background: var(--accent-dark); }
.ai-demo .icon-button{ width: 40px; height: 40px; flex: 0 0 40px; display: inline-flex; align-items: center; justify-content: center; }
.ai-demo .icon-button:not(.primary):hover{ background: #edf1f3; }
.ai-demo .search-scroll{ flex: 1; min-height: 0; overflow: auto; padding: 24px; overscroll-behavior: contain; }
.ai-demo .search-scroll h2{ font-size: 19px; font-weight: 500; }
.ai-demo .search-categories{ display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; }
.ai-demo .search-categories button{ padding: 7px 12px; font-size: 13px; line-height: 20px; border-color: #c4dce2; color: var(--accent-dark); background: #f3f9fa; }
.ai-demo .search-categories button:hover{ background: #e6f3f6; border-color: var(--accent); }
.ai-demo .search-summary{ display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.ai-demo .search-summary h2{ overflow-wrap: anywhere; }
.ai-demo .search-summary p{ font-size: 13px; color: var(--muted); margin-top: 7px; white-space: pre-wrap; }
.ai-demo .search-summary > span{ font-size: 12px; color: var(--muted); flex-shrink: 0; margin-top: 5px; }
.ai-demo .constraints{ display: flex; gap: 7px; flex-wrap: wrap; margin: 0 0 18px; }
.ai-demo .constraint{ padding: 4px 8px; background: #edf6f8; color: #28606d; font-size: 11px; border-radius: 3px; max-width: 100%; overflow-wrap: anywhere; }
.ai-demo .search-products{ display: grid; gap: 10px; }
.ai-demo .product-row{ display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 14px 16px; background: #f7f8f9; border: 1px solid #edf0f1; border-radius: 6px; }
.ai-demo .product-row .product-picture{ padding: 7px; width: 92px; }
.ai-demo .product-row .product-brand{ margin-bottom: 3px; }
.ai-demo .product-row .product-name{ font-size: 15px; }
.ai-demo .row-specs{ margin-top: 7px; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.ai-demo .row-link{ font-size: 12px; color: var(--accent-dark); display: flex; align-items: center; gap: 8px; }
.ai-demo .row-link svg{ width: 15px; height: 15px; }
.ai-demo .search-product-row{ grid-template-columns: 112px minmax(0, 1fr); align-items: start; gap: 20px; padding: 16px; background: #fff; border: 1px solid var(--stroke_black, #ececec); }
.ai-demo .search-product-row .product-picture{ width: 112px; padding: 0; background: transparent; }
.ai-demo .search-product-body{ min-width: 0; }
.ai-demo .search-product-row .product-name{ line-height: 1.5; }
.ai-demo .search-product-row a{ color: var(--accent); }
.ai-demo .search-product-row a:hover{ color: var(--accent-dark); text-decoration: underline; }
.ai-demo .search-product-row .product-title-link{ color: var(--white_text_black, #333); }
.ai-demo .search-product-row .product-title-link:hover{ color: var(--fill_dark_light_hover, var(--accent)); text-decoration: none; }
.ai-demo .search-product-row .row-specs{ display: grid; gap: 5px; margin: 12px 0 0; font-size: 13px; line-height: 1.5; }
.ai-demo .search-product-row .row-spec{ margin: 0; overflow-wrap: anywhere; }
.ai-demo .search-product-row dt,.ai-demo .search-product-row dd{ display: inline; margin: 0; font-weight: 400; }
.ai-demo .search-product-row dt{ color: var(--muted); }
.ai-demo .search-product-row dt::after{ content: ": "; }
.ai-demo .search-product-row dd{ color: var(--ink); }
.ai-demo .search-bottom{ display: none; }
.ai-demo .search-status{ padding: 32px 0; color: var(--muted); font-size: 14px; }
.ai-demo .search-status button{ margin: 12px 0 0; display: block; border-color: var(--line); padding: 9px 14px; }
.ai-demo .search-suggestions{ margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.ai-demo .search-show-all{ flex-basis: 100%; display: flex; justify-content: center; }
.ai-demo .search-show-all .show-results{ justify-content: center; text-align: center; min-height: 44px; padding: 11px 18px; background: var(--accent); border-color: var(--accent); }
.ai-demo .suggestion{ display: inline-flex; align-items: center; gap: 8px; text-align: left; font-size: 12px; padding: 9px 12px; border: 1px solid #d1dfe4; border-radius: 5px; background: #fff; max-width: 100%; overflow-wrap: anywhere; }
.ai-demo .suggestion:hover{ border-color: var(--accent); color: var(--accent-dark); }
.ai-demo .suggestion svg{ width: 14px; height: 14px; }
.ai-demo .chat-heading{ display: flex; align-items: center; min-height: 88px; padding: 18px 20px; gap: 12px; border-bottom: 1px solid var(--line); flex: 0 0 auto; }
.ai-demo .assistant-mark{ width: 40px; height: 40px; flex: 0 0 40px; background: #e9f5f7; color: var(--accent-dark); display: flex; align-items: center; justify-content: center; border-radius: 6px; }
.ai-demo .chat-heading > div{ margin-right: auto; min-width: 0; }
.ai-demo .chat-heading h2{ font-size: 17px; font-weight: 600; line-height: 1.4; }
.ai-demo .chat-heading p{ font-size: 12px; color: var(--muted); margin-top: 3px; }
.ai-demo .conversation{ flex: 1; min-height: 0; overflow: auto; padding: 24px; overscroll-behavior: contain; }
.ai-demo .message{ margin-bottom: 24px; overflow-wrap: anywhere; }
.ai-demo .message > p{ white-space: pre-wrap; font-size: 14px; line-height: 1.65; }
.ai-demo .user-message{ margin-left: auto; width: fit-content; max-width: 85%; padding: 11px 15px; background: #edf3f5; border-radius: 6px; }
.ai-demo .assistant-message{ padding: 0; }
.ai-demo .assistant-message .constraints{ margin: 12px 0; }
.ai-demo .message-products{ display: grid; gap: 10px; margin-top: 14px; }
.ai-demo .message-suggestions{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ai-demo .welcome{ padding-top: 12px; }
.ai-demo .welcome > p{ font-size: 19px; line-height: 1.5; }
.ai-demo .composer{ display: flex; align-items: flex-end; gap: 10px; border-top: 1px solid var(--line); padding: 15px 20px max(15px, env(safe-area-inset-bottom)); flex: 0 0 auto; }
.ai-demo .composer textarea{ flex: 1; min-width: 0; min-height: 88px; max-height: 132px; padding: 11px 12px; border: 1px solid var(--accent); background: #fff; color: var(--ink); resize: none; font-size: 16px; line-height: 22px; }
.ai-demo .composer textarea:focus{ outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px #008fac15; }
.ai-demo .composer .icon-button{ margin-bottom: 2px; }
.ai-demo .waiting{ color: var(--muted); display: flex; gap: 8px; align-items: center; }
.ai-demo .waiting svg{ animation: spin 1s linear infinite; width: 16px; height: 16px; }
@keyframes  spin { to { transform: rotate(360deg); } }
@media  (max-width: 1160px) {.ai-demo .catalog-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ai-demo .catalog-layout{ grid-template-columns: 190px minmax(0, 1fr); gap: 24px; }
.ai-demo .header-inner{ gap: 26px; }
}
@media  (max-width: 820px) {.ai-demo .demo-notice-inner{ padding: 16px 64px 18px 20px; }
.ai-demo .demo-notice .notice-close{ top: 9px; right: 10px; }
.ai-demo .header-inner{ padding: 20px; gap: 20px; flex-wrap: wrap; }
.ai-demo .brand{ flex-basis: 150px; }
.ai-demo .brand img{ width: 150px; height: 44px; }
.ai-demo .header-assistant{ margin-left: auto; }
.ai-demo .search-entry{ order: 3; flex-basis: 100%; font-size: 14px; }
.ai-demo .catalog-page{ padding: 22px 20px 30px; }
.ai-demo h1{ font-size: 26px; }
.ai-demo .page-heading{ display: block; margin-bottom: 22px; }
.ai-demo .catalog-total{ display: block; margin-top: 12px; }
.ai-demo .catalog-layout{ display: block; }
.ai-demo .catalog-nav{ display: flex; gap: 10px; overflow: auto; padding: 0 0 14px; border: 0; margin-bottom: 12px; }
.ai-demo .catalog-nav > h2,.ai-demo .brand-nav,.ai-demo .original-catalog{ display: none; }
.ai-demo .catalog-nav > button{ flex: 0 0 155px; width: 155px; padding: 10px; border: 1px solid var(--line); border-radius: 5px; font-size: 12px; }
.ai-demo .catalog-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ai-demo .product-body{ padding: 12px; }
.ai-demo .site-footer{ padding-left: 20px; padding-right: 20px; }
}
@media  (max-width: 560px) {.ai-demo .header-inner{ gap: 14px; }
.ai-demo .brand{ flex-basis: 130px; }
.ai-demo .brand img{ width: 130px; }
.ai-demo .header-assistant{ padding: 9px 12px; font-size: 13px; min-height: 44px; }
.ai-demo .demo-notice-inner{ padding: 12px 16px max(14px, env(safe-area-inset-bottom)); }
.ai-demo .demo-notice h2{ padding-right: 40px; }
.ai-demo .demo-notice .notice-close{ top: 8px; right: 8px; }
.ai-demo .notice-reopen{ position: absolute; right: 20px; top: 23px; margin: 0; }
.ai-demo h1{ font-size: 25px; }
.ai-demo .page-heading p{ font-size: 13px; }
.ai-demo .catalog-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ai-demo .product-picture{ padding: 14px; }
.ai-demo .product-body{ padding: 10px; }
.ai-demo .product-name{ font-size: 13px; }
.ai-demo .product-specs{ gap: 6px; margin: 12px 0; }
.ai-demo .product-specs div{ font-size: 10px; }
.ai-demo .product-bottom{ flex-wrap: wrap; font-size: 10px; }
.ai-demo .catalog-toolbar .text-command{ font-size: 12px; }
.ai-demo .chat-launcher{ right: 16px; bottom: 16px; font-size: 13px; padding: 12px 15px; }
.ai-demo .search-dialog,.ai-demo .chat-dialog{ width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; border: 0; border-radius: 0; margin: 0; }
.ai-demo .search-top{ padding: 12px; gap: 10px 5px; flex-wrap: wrap; }
.ai-demo .search-assistant{ order: 3; margin-left: 0; min-height: 40px; padding: 7px 12px; }
.ai-demo .search-form{ flex-basis: calc(100% - 40px); }
.ai-demo .search-form{ gap: 5px; padding-left: 10px; }
.ai-demo .search-form > svg{ display: none; }
.ai-demo .search-form input{ font-size: 16px; }
.ai-demo .close-button{ width: 32px; flex-basis: 32px; }
.ai-demo .search-scroll{ padding: 20px 14px; }
.ai-demo .search-summary{ gap: 10px; }
.ai-demo .search-summary h2{ font-size: 17px; }
.ai-demo .search-summary > span{ font-size: 11px; }
.ai-demo .product-row{ grid-template-columns: 68px minmax(0, 1fr) 18px; gap: 10px; padding: 10px; }
.ai-demo .product-row .product-picture{ width: 68px; }
.ai-demo .product-row .product-name{ font-size: 13px; }
.ai-demo .row-specs{ font-size: 11px; }
.ai-demo .row-link span{ display: none; }
.ai-demo .search-product-row{ grid-template-columns: 76px minmax(0, 1fr); padding: 12px; gap: 12px; }
.ai-demo .search-product-row .product-picture{ width: 76px; padding: 0; }
.ai-demo .search-product-row .row-specs{ font-size: 12px; gap: 5px; margin-top: 9px; }
.ai-demo .chat-heading{ padding: 12px; gap: 8px; }
.ai-demo .chat-heading h2{ font-size: 15px; }
.ai-demo .chat-heading .icon-button{ width: 34px; flex-basis: 34px; }
.ai-demo .assistant-mark{ width: 34px; height: 34px; flex-basis: 34px; }
.ai-demo .conversation{ padding: 20px 14px; }
.ai-demo .composer{ padding-left: 12px; padding-right: 12px; }
.ai-demo .site-footer{ position: relative; flex-direction: column; gap: 5px; padding-right: 66px; }
}
@media  (prefers-reduced-motion: reduce) {.ai-demo *,.ai-demo *::before,.ai-demo *::after{ animation: none !important; scroll-behavior: auto !important; }
}
@media  (prefers-reduced-motion: reduce) {.ai-demo .search-hint-track{ display: block; width: auto; min-width: 0; }
.ai-demo .search-hint-track > span{ padding: 0; white-space: normal; line-height: 1.3; }
.ai-demo .search-hint-track > span + span{ display: none; }
}
