/* HotSmoke support: launcher stacked under the side-cart basket. */
:root {
 --hsa-bg: #fff;
 --hsa-fg: #171717;
 --hsa-muted: #666;
 --hsa-accent: #171717;
 --hsa-accent-fg: #fff;
 --hsa-border: #e6e6e6;
 --hsa-surface: #f3f3f3;
 --hsa-z: 9000;
 --hsa-launcher-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
}
.hsa-panel, .hsa-panel *, .hsa-launcher, .hsa-launcher *, .hsa-edge, .hsa-edge * {
 box-sizing: border-box;
 letter-spacing: normal;
 text-transform: none;
}
.hsa-panel, .hsa-panel * {
 user-select: text;
 -webkit-user-select: text;
 -webkit-touch-callout: default;
}
.hsa-panel, .hsa-launcher, .hsa-edge {
 font: 400 14px/1.55 "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
 -webkit-font-smoothing: antialiased;
}
.hsa-panel button, .hsa-panel textarea, .hsa-panel select { font: inherit; }
.hsa-panel p, .hsa-panel li { color: inherit; font: inherit; }
.hsa-panel button, .hsa-launcher, .hsa-edge { -webkit-tap-highlight-color: transparent; }
.hsa-panel button::before, .hsa-panel button::after, .hsa-launcher::before, .hsa-launcher::after, .hsa-edge::before, .hsa-edge::after { content: none; }
.hsa-panel button:focus-visible, .hsa-panel a:focus-visible, .hsa-panel summary:focus-visible, .hsa-launcher:focus-visible, .hsa-edge:focus-visible {
 outline: 2px solid #333;
 outline-offset: 3px;
}
.hsa-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hsa-hidden, .hsa-panel[hidden], .hsa-launcher[hidden], .hsa-edge[hidden],
body.xoo-wsc-cart-active .hsa-launcher, body.xoo-wsc-cart-active .hsa-edge, body.xoo-wsc-cart-active .hsa-panel,
.register-popup.show ~ .hsa-launcher, .register-popup.show ~ .hsa-edge, .register-popup.show ~ .hsa-panel,
body.hsa-open .hsa-edge { display: none !important; }
body:not(.xoo-wsc-cart-active):has(.hsa-launcher:not([hidden]):not(.hsa-hidden)) .xoo-wsc-basket {
 bottom: calc(12px + 70px) !important;
}
body.hsa-open .xoo-wsc-basket { display: none !important; }
.hsa-icon { display: block; width: 24px; height: 24px; flex: 0 0 auto; pointer-events: none; }
.hsa-launcher {
 position: fixed;
 left: auto;
 right: 10px;
 bottom: var(--hsa-launcher-bottom);
 width: 60px;
 height: 60px;
 display: flex;
 align-items: center;
 justify-content: center;
 padding: 0;
 border: 1px solid rgba(255,255,255,.22);
 border-radius: 50%;
 background: var(--hsa-accent);
 color: var(--hsa-accent-fg);
 box-shadow: 0 5px 20px rgba(0, 0, 0, .15), 0 0 0 4px rgba(255, 255, 255, .7);
 cursor: pointer;
 z-index: var(--hsa-z);
 transition: box-shadow .18s ease, background .18s ease;
}
.hsa-launcher:hover { background: #2a2a2a; box-shadow: 0 6px 24px rgba(0, 0, 0, .22), 0 0 0 4px rgba(255, 255, 255, .85); }
.hsa-launcher__icon { width: 31px; height: 31px; }
.hsa-launcher__close { display: none; }
.hsa-launcher[aria-expanded="true"] .hsa-launcher__icon { display: none; }
.hsa-launcher[aria-expanded="true"] .hsa-launcher__close { display: block; }
.hsa-launcher__label {
 position: absolute;
 left: auto;
 right: calc(100% + 13px);
 padding: 8px 12px;
 border: 1px solid var(--hsa-border);
 border-radius: 9px;
 background: #fff;
 color: var(--hsa-fg);
 box-shadow: 0 3px 12px rgba(0, 0, 0, .07);
 font-size: 12px;
 font-weight: 500;
 white-space: nowrap;
 opacity: 0;
 visibility: hidden;
 transition: opacity .15s ease;
 pointer-events: none;
}
.hsa-launcher[aria-expanded="false"]:hover .hsa-launcher__label,
.hsa-launcher[aria-expanded="false"]:focus-visible .hsa-launcher__label { visibility: visible; opacity: 1; }
.hsa-edge {
 position: fixed;
 top: 50%;
 right: 0;
 z-index: var(--hsa-z);
 display: flex;
 align-items: center;
 justify-content: center;
 margin: 0;
 padding: 18px 11px;
 border: 0;
 border-radius: 10px 0 0 10px;
 background: var(--hsa-accent);
 color: var(--hsa-accent-fg);
 box-shadow: -4px 4px 18px rgba(0, 0, 0, .16);
 cursor: pointer;
 transform: translateY(-50%);
 writing-mode: vertical-rl;
}
.hsa-edge:hover { background: #2a2a2a; }
.hsa-edge .hsa-edge__text {
 font-size: 13px;
 font-weight: 600;
 letter-spacing: .04em;
 white-space: nowrap;
 color: #fff;
 transform: rotate(180deg);
}
.hsa-panel {
 position: fixed;
 left: auto;
 right: 18px;
 bottom: calc(var(--hsa-launcher-bottom) + 74px);
 width: 390px;
 max-width: calc(100vw - 36px);
 height: 690px;
 max-height: calc(100vh - 118px);
 max-height: calc(100dvh - 118px);
 display: flex;
 flex-direction: column;
 background: var(--hsa-bg);
 color: var(--hsa-fg);
 border: 1px solid #e6e6e6;
 border-radius: 22px;
 box-shadow: 0 18px 60px rgba(0, 0, 0, .15), 0 3px 12px rgba(0, 0, 0, .04);
 z-index: var(--hsa-z);
 overflow: hidden;
 text-align: left;
}
.hsa-panel__header { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--hsa-border); flex: 0 0 auto; }
.hsa-panel__avatar { display: flex; align-items: center; justify-content: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 14px; background: var(--hsa-accent); color: #fff; }
.hsa-panel__identity { flex: 1; min-width: 0; }
.hsa-panel .hsa-panel__title { margin: 0; font: 600 17px/1.3 "Montserrat", system-ui, sans-serif; color: var(--hsa-fg); letter-spacing: -.4px; }
.hsa-panel__title:focus { outline: none; }
.hsa-panel .hsa-panel__subtitle { margin: 3px 0 0; font-size: 11px; line-height: 1.4; color: var(--hsa-muted); }
.hsa-panel__close { display: flex; align-items: center; justify-content: center; flex: 0 0 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--hsa-surface); color: var(--hsa-muted); cursor: pointer; }
.hsa-panel__close:hover { background: #e6e6e6; color: var(--hsa-fg); }
.hsa-panel__close .hsa-icon { width: 19px; height: 19px; }
.hsa-panel__body { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
.hsa-messages { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; gap: 14px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #ccc transparent; padding: 22px 20px; }
.hsa-welcome { padding: 1px 0 5px; }
.hsa-panel .hsa-welcome h3 { margin: 0 0 7px; font: 500 24px/1.25 "Montserrat", system-ui, sans-serif; letter-spacing: -.8px; color: var(--hsa-fg); }
.hsa-panel .hsa-welcome p { margin: 0; font-size: 12px; line-height: 1.65; color: var(--hsa-muted); }
.hsa-quick { display: flex; flex-direction: column; gap: 7px; width: 100%; }
.hsa-quick__title { margin-bottom: 2px; font-size: 11px; font-weight: 500; color: var(--hsa-muted); }
.hsa-chip { display: flex; align-items: center; gap: 10px; min-height: 43px; width: 100%; padding: 10px 12px; border: 1px solid var(--hsa-border); border-radius: 10px; background: #fff; color: var(--hsa-fg); text-align: left; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.hsa-panel .hsa-chip { font-size: 12px; line-height: 1.5; font-weight: 500; }
.hsa-chip > .hsa-icon { width: 19px; height: 19px; color: #666; }
.hsa-chip > span { flex: 1; }
.hsa-chip > .hsa-chip__arrow { width: 17px; height: 17px; color: #888; }
.hsa-chip:hover { background: var(--hsa-surface); border-color: #ccc; }
.hsa-chip.hsa-chip--attention { background: #f3f3f3; border-color: #171717; animation: hsa-pulse 1.2s ease-out infinite; }
.hsa-chip--attention > .hsa-icon, .hsa-chip--attention > .hsa-chip__arrow { color: #171717; }
@keyframes hsa-pulse {
 0% { box-shadow: 0 0 0 0 rgba(23, 23, 23, .35); }
 100% { box-shadow: 0 0 0 6px rgba(23, 23, 23, 0); }
}
.hsa-disclosure { font-size: 11px; line-height: 1.65; color: var(--hsa-muted); }
.hsa-panel .hsa-disclosure p { margin: 0; }
.hsa-disclosure a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.hsa-msg { max-width: 94%; padding: 12px 14px; border-radius: 14px; overflow-wrap: anywhere; font-size: 13px; line-height: 1.7; flex: 0 0 auto; }
.hsa-panel .hsa-msg p { margin: 0 0 8px; }
.hsa-panel .hsa-msg p:last-child { margin-bottom: 0; }
.hsa-msg--assistant { align-self: flex-start; background: var(--hsa-surface); border: 1px solid #eee; border-bottom-left-radius: 4px; }
.hsa-msg--user { align-self: flex-end; background: var(--hsa-accent); color: #fff; border-bottom-right-radius: 4px; }
.hsa-msg--notice { color: var(--hsa-muted); }
.hsa-msg--typing { background: transparent; border: 0; padding: 4px 0; color: var(--hsa-muted); font-size: 12px; }
.hsa-list { margin: 0 0 8px; padding: 0 0 0 17px; list-style: disc; }
.hsa-lines { margin: 0 0 8px; }
.hsa-list li { padding: 0; margin: 0 0 5px; }
.hsa-sources-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 10px; }
.hsa-product-link { display: inline-flex; align-items: center; min-height: 36px; padding: 8px 14px; border-radius: 9px; background: #171717; color: #fff; font-size: 12px; font-weight: 500; text-decoration: none; }
.hsa-msg p { margin: 0 0 8px; }
.hsa-msg > .hsa-product-link { display: flex; width: fit-content; margin: 0 0 12px; }
.hsa-panel a.hsa-product-link { color: #fff; text-decoration: none; }
.hsa-product-link:hover { background: #2a2a2a; color: #fff; }
.hsa-panel a.hsa-text-link { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hsa-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.hsa-actions:last-child { margin-bottom: 0; }
.hsa-panel button.hsa-product-link { border: 1px solid #171717; font-family: inherit; line-height: 1.4; cursor: pointer; }
.hsa-panel .hsa-product-link--secondary { background: #fff; color: #171717; }
.hsa-panel .hsa-product-link--secondary:hover { background: #f3f3f3; color: #171717; }
.hsa-panel .hsa-product-link:disabled { opacity: .6; cursor: default; }
.hsa-near { list-style: none; padding: 0; }
.hsa-near li { display: flex; flex-direction: column; gap: 1px; padding: 8px 0; margin: 0; border-top: 1px solid #e6e6e6; }
.hsa-near li:first-child { border-top: 0; padding-top: 2px; }
.hsa-near__name { font-weight: 600; }
.hsa-near__address { color: var(--hsa-muted); font-size: 12px; }
.hsa-panel a.hsa-near__route { width: fit-content; color: var(--hsa-fg); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.hsa-sources { padding-top: 8px; border-top: 1px solid #ddd; font-size: 10px; display: flex; flex-wrap: wrap; gap: 4px 8px; color: var(--hsa-muted); }
.hsa-panel a.hsa-sources__item { color: var(--hsa-fg); text-decoration: underline; text-underline-offset: 3px; }
.hsa-contact { flex: 0 0 auto; max-height: 35%; overflow-y: auto; border-top: 1px solid var(--hsa-border); font-size: 12px; margin: 0; background: #fafafa; }
.hsa-contact__summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 20px; list-style: none; cursor: pointer; color: var(--hsa-fg); user-select: none; -webkit-user-select: none; }
.hsa-contact__summary::-webkit-details-marker { display: none; }
.hsa-contact__summary:focus-visible { outline-offset: -3px; }
.hsa-contact__chevron { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform .15s ease; flex: 0 0 auto; margin-right: 2px; }
.hsa-contact[open] .hsa-contact__chevron { transform: rotate(45deg); }
.hsa-contact__hint { margin-left: auto; font-size: 10px; color: var(--hsa-muted); }
.hsa-contact__body { padding: 0 20px 14px; }
.hsa-contact__row { display: flex; flex-wrap: wrap; gap: 6px; }
.hsa-panel .hsa-contact__meta { margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--hsa-muted); font-size: 11px; }
.hsa-contact__privacy { color: inherit; text-decoration: underline; }
.hsa-composer { flex: 0 0 auto; margin: 0; border-top: 1px solid var(--hsa-border); padding: 14px 16px 12px; }
.hsa-composer__field { display: flex; align-items: flex-end; gap: 8px; padding: 7px; background: #fff; border: 1px solid #ccc; border-radius: 14px; transition: border-color .15s ease, box-shadow .15s ease; }
.hsa-composer__field:focus-within { border-color: #333; box-shadow: 0 0 0 3px rgba(0, 0, 0, .08); }
.hsa-input { width: 100%; padding: 10px; border: 1px solid var(--hsa-border); border-radius: 8px; color: var(--hsa-fg); background: #fff; }
.hsa-panel .hsa-composer__input { flex: 1; min-width: 0; min-height: 44px; height: 48px; max-height: 112px; padding: 5px 4px; border: 0; border-radius: 0; box-shadow: none; outline: none; resize: none; font-size: 13px; line-height: 1.55; background: transparent; }
.hsa-composer__input::placeholder { color: #777; opacity: 1; }
.hsa-composer__actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 9px; padding: 0 2px; }
.hsa-composer__hint { color: #777; font-size: 9px; }
.hsa-btn { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--hsa-accent); background: var(--hsa-accent); color: #fff; border-radius: 9px; padding: 9px 14px; font-weight: 500; cursor: pointer; text-decoration: none; }
.hsa-panel .hsa-composer__send { width: 38px; height: 38px; flex: 0 0 38px; padding: 0; border-radius: 10px; }
.hsa-composer__send:hover { background: #2a2a2a; }
.hsa-panel .hsa-btn--ghost { padding: 7px 10px; background: #fff; border-color: #ddd; color: var(--hsa-fg); font-size: 11px; text-decoration: none; overflow-wrap: anywhere; }
.hsa-btn--ghost:hover { border-color: #999; }
.hsa-panel .hsa-link { border: 0; padding: 2px 0; background: transparent; color: var(--hsa-muted); text-decoration: underline; text-underline-offset: 3px; font-size: 10px; cursor: pointer; }
.hsa-panel button:disabled { opacity: .45; cursor: default; }
.hsa-age { padding: 24px 20px; }
.hsa-age__title { margin: 0 0 16px; font-weight: 500; }
.hsa-age__row { display: flex; gap: 8px; margin-bottom: 12px; }
.hsa-error { color: #a52638; min-height: 1.2em; margin: 0 0 12px; font-size: 13px; }
.hsa-note { padding: 24px 20px; margin: 0; color: var(--hsa-muted); }
@media (max-width: 600px) {
 body:not(.xoo-wsc-cart-active):has(.hsa-launcher:not([hidden]):not(.hsa-hidden)) .xoo-wsc-basket {
  bottom: calc(12px + 66px) !important;
 }
 .hsa-launcher { left: auto; right: 10px; width: 56px; height: 56px; }
 .hsa-panel { left: 0; right: 0; top: 0; bottom: auto; width: 100%; max-width: none; height: 100vh; height: 100dvh; max-height: 100dvh; border: 0; border-radius: 0; }
 .hsa-panel__header { padding-top: calc(16px + env(safe-area-inset-top, 0px)); }
 .hsa-messages { padding-top: 24px; }
 .hsa-panel .hsa-composer__input, .hsa-panel select { font-size: 16px; }
 .hsa-composer { padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
 .hsa-composer__hint { display: none; }
 .hsa-contact__hint { max-width: 40%; text-align: right; }
 body.hsa-open { overflow: hidden; }
 body.hsa-open .xoo-wsc-basket, body.hsa-open .messenger, body.hsa-open .hsa-launcher { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
 .hsa-launcher, .hsa-launcher__label, .hsa-edge, .hsa-chip, .hsa-contact__chevron, .hsa-composer__field { transition: none; }
 .hsa-chip.hsa-chip--attention { animation: none; }
}

.hsa-age { display: grid; gap: 14px; }
.hsa-age .hsa-btn { min-height: 48px; width: 100%; justify-content: center; }
.hsa-age .hsa-btn--secondary { background: #fff; color: #171717; border: 1px solid #171717; }
