/* Discrete floating controls: no dedicated toolbar row. */
.hs-directory-query{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-decoration:none}
.hs-directory-query svg{flex:none}.hs-directory-query:focus-visible{outline:2px solid #92795c;outline-offset:3px}
.hs-circular-enabled #home-directory .hs-directory-query{color:#f1e7d8}
.hs-service-dock,body.hs-contact-enabled .hs-mobile-actions{display:contents}
body.hs-contact-enabled{--hs-float-bottom:24px}
body.hs-contact-enabled .hs-mobile-actions>a,body.hs-contact-enabled .hs-mobile-actions>button{position:fixed;bottom:var(--hs-float-bottom);z-index:1250;height:50px;min-height:50px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 16px;border:1px solid #ded7cc!important;border-radius:27px!important;background:#fffefa!important;color:#4e453a!important;box-shadow:0 5px 20px #30251a20;font:500 12px/1.2 Arial,"Microsoft YaHei",sans-serif;text-decoration:none;cursor:pointer;transition:box-shadow .2s,background .2s}
body.hs-contact-enabled .hs-mobile-actions>a{left:24px;background:#494238!important;color:#fffdf7!important;border-color:#494238!important}
body.hs-contact-enabled .hs-mobile-actions>button{right:27px;bottom:calc(var(--hs-float-bottom) + 62px);width:44px;height:44px;min-height:44px;padding:4px 0;flex-direction:column;gap:2px;font-size:10px;line-height:1.1}
body.hs-contact-enabled .hs-mobile-actions>button svg{width:18px;height:18px}
body.hs-contact-enabled [data-hs-basket]{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:grab}
body.hs-contact-enabled [data-hs-basket].hs-bag-dragging{cursor:grabbing;box-shadow:0 8px 24px #30251a35}
.hs-mobile-actions svg{flex:none;width:22px;height:22px}
body.hs-contact-enabled .hs-mobile-actions [data-hs-count]{position:absolute;top:-6px;right:-4px;min-width:20px;height:20px;padding:0 4px;border:2px solid #fffdf7;border-radius:11px;background:#947358;color:#fff;font:600 11px/1 Arial,sans-serif;box-sizing:content-box}
body.hs-contact-enabled .hs-mobile-actions :is(a,button):focus-visible{outline:2px solid #947358;outline-offset:4px}
body.hs-contact-enabled:has([aria-controls="home-directory"][aria-expanded="true"],[data-menu-button][aria-expanded="true"],dialog[open]) .hs-service-dock>*{visibility:hidden;pointer-events:none}
body.hs-contact-enabled:has(dialog[open]){overscroll-behavior:none}
.hs-sample-flight{position:fixed;width:52px;height:52px;padding:3px;box-sizing:border-box;border-radius:13px;background:#fffdf7;box-shadow:0 5px 16px #30251a30;z-index:2600;pointer-events:none;overflow:hidden;will-change:transform,opacity}
.hs-sample-flight img{display:block;width:100%;height:100%;object-fit:cover;border-radius:10px}
.hs-basket-drawer{color:#332e27;background:#fcfbf8;border:1px solid #e4ded4;border-radius:24px;width:min(440px,calc(100vw - 32px));padding:0;box-sizing:border-box;max-height:80dvh;margin:auto 24px 24px auto;overflow:hidden;box-shadow:0 16px 60px #211b1730;font-family:Arial,"Microsoft YaHei",sans-serif}
.hs-basket-drawer[open]{display:flex;flex-direction:column}
.hs-basket-drawer::backdrop{background:#211b173b;backdrop-filter:blur(2px)}
.hs-basket-head{display:flex;align-items:center;gap:8px;padding:22px 22px 16px;border-bottom:1px solid #e8e2d9;flex:none}
.hs-basket-head>div{margin-right:auto}.hs-basket-head h2{margin:0;font-size:22px;font-weight:500;letter-spacing:.01em}
.hs-basket-head p{margin:7px 0 0;font-size:12px;color:#7d7469}
.hs-basket-head>a{font-size:12px;color:#6c5742;text-underline-offset:4px;min-height:44px;display:flex;align-items:center;white-space:nowrap}
body.hs-contact-enabled .hs-basket-close{width:44px;height:44px;min-height:44px;display:grid;place-items:center;border:0!important;border-radius:50%!important;padding:0!important;background:#eeeae3!important;color:#5e5448!important;flex:none;cursor:pointer}
.hs-basket-list{overflow:auto;overscroll-behavior:contain;padding:0 22px;min-height:0;scrollbar-width:thin}
.hs-basket-row{display:flex;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid #e8e2d9}.hs-basket-row:last-child{border-bottom:0}
.hs-basket-thumb{width:64px;height:64px;border-radius:12px;background:#ece7de;flex:none;overflow:hidden;display:grid;place-items:center;font-size:12px;color:#746b5e}.hs-basket-thumb img{width:100%;height:100%;object-fit:cover}
.hs-basket-row>div:nth-child(2){flex:1;min-width:0}.hs-basket-row strong{display:block;font-size:15px;font-weight:500;overflow-wrap:anywhere}.hs-basket-row span{display:block;margin-top:6px;font-size:11px;color:#8a8074}
body.hs-contact-enabled .hs-basket-row button{min-width:44px;min-height:44px;padding:0!important;border:0!important;background:none!important;color:#85796b!important;font-size:12px;cursor:pointer}
.hs-basket-empty{padding:36px 0;text-align:center;color:#8a7c6c}.hs-basket-empty svg{width:36px;height:36px}.hs-basket-empty p{font-size:14px}
.hs-basket-foot{display:flex;gap:10px;padding:16px 22px calc(18px + env(safe-area-inset-bottom,0px));border-top:1px solid #e8e2d9;flex:none;background:#fcfbf8}
.hs-basket-foot a{flex:1;display:flex;align-items:center;justify-content:center;gap:12px;min-height:48px;border-radius:24px;border:1px solid #d9d0c4;color:#695948;text-decoration:none;font-size:13px}
.hs-basket-foot [data-hs-request-link]{background:#494238;color:#fffdf7;border-color:#494238}
.hs-basket-foot [hidden]{display:none!important}
.hs-basket-drawer :is(a,button):focus-visible{outline:2px solid #9b7f62;outline-offset:2px}
body.hs-contact-enabled .hs-basket-foot [data-hs-request-link]{color:#fffdf7!important;background:#494238!important}
body.hs-contact-enabled .hs-basket-foot [data-hs-request-link] *{color:inherit!important}
@media(max-width:760px){
 body.hs-contact-enabled{--hs-nav-height:calc(67px + env(safe-area-inset-bottom,0px));--hs-float-bottom:calc(var(--hs-nav-height) + 12px)}
 body.hs-contact-enabled .hs-mobile-actions>a{left:14px;height:48px;min-height:48px;padding:0 14px}
 body.hs-contact-enabled .hs-mobile-actions>button{right:15px;bottom:calc(var(--hs-float-bottom) + 56px);width:44px;height:44px;min-height:44px;padding:4px 0;gap:2px}
 body.hs-contact-enabled.mobile-library-catalog .mobile-catalog-scroll,body.hs-contact-enabled.mobile-detail-catalog .library-detail-grid{padding-bottom:96px!important;scroll-padding-bottom:80px}
 body.information-contact.hs-contact-enabled .hs-main{padding-bottom:110px!important}
 body.information-contact.hs-contact-enabled .site-footer{padding-bottom:calc(var(--hs-nav-height) + 90px)!important}
 body.hs-circular-enabled .hs-mobile-actions>button{background:#262521ed!important;color:#eee9df!important;border-color:#ffffff36!important}
 body.hs-circular-enabled .hs-mobile-actions>a{background:#f4eee3!important;color:#453b2e!important;border-color:#f4eee3!important}
 body.hs-circular-enabled .circular-home{grid-template-rows:var(--home-header-height) minmax(0,1fr) 162px var(--home-nav-height)}
 body.hs-circular-enabled .home-actions{padding-bottom:66px}
 .hs-contact-enabled .hs-contact-person .hs-qr-button{grid-row:1/span 2}
 .hs-contact-enabled .hs-service-card{min-height:96px;padding-bottom:30px}.hs-contact-enabled .hs-service-card h3{margin:9px 0 0}
 .hs-contact-enabled .hs-consult-list>a{min-height:54px;padding:10px 0}.hs-contact-enabled .hs-dialog-head{margin-bottom:12px}
 .hs-contact-enabled .hs-how{margin-top:30px;padding-top:22px}
 .hs-basket-drawer{width:calc(100vw - 20px);max-height:76dvh;margin:auto auto max(10px,env(safe-area-inset-bottom,0px));border-radius:24px}
 .hs-basket-head{padding:18px 18px 14px}.hs-basket-head h2{font-size:21px}.hs-basket-list{padding:0 18px}.hs-basket-foot{padding-left:18px;padding-right:18px}
}
@media(max-width:760px) and (max-height:620px){body.hs-circular-enabled .circular-home{grid-template-rows:var(--home-header-height) minmax(0,1fr) 148px var(--home-nav-height)}body.hs-circular-enabled .home-actions{padding-bottom:60px}}
@media(prefers-reduced-motion:reduce){.hs-sample-flight{display:none}.hs-basket-drawer,.hs-mobile-actions *{animation:none!important;transition:none!important}}

body[data-hs-assistant-open] .hs-mobile-actions{visibility:hidden;pointer-events:none}
body.hs-contact-enabled:has([aria-controls="home-directory"][aria-expanded="true"]) #haolun-fabric-assistant{visibility:hidden!important;pointer-events:none!important}
/* Preserve the actual AI launcher and its label while matching the approved compact dock. */
body.hs-contact-enabled #haolun-fabric-assistant{--assistant-launcher-size:60px}
@media(max-width:760px){
 body.hs-contact-enabled #haolun-fabric-assistant{--assistant-launcher-size:56px}
 body.hs-circular-enabled .circular-home{grid-template-rows:var(--home-header-height) minmax(0,1fr) 182px var(--home-nav-height)}
 body.hs-circular-enabled .home-actions{padding-bottom:86px}
}
@media(max-width:760px) and (max-height:620px){
 body.hs-circular-enabled .circular-home{grid-template-rows:var(--home-header-height) minmax(0,1fr) 168px var(--home-nav-height)}
 body.hs-circular-enabled .home-actions{padding-bottom:80px}
}

/* Only control footprint and gestures; preserve the approved home layout. */
body.hs-contact-enabled #haolun-fabric-assistant{--assistant-launcher-size:60px}
body.hs-contact-enabled .hs-mobile-actions>[data-hs-basket],body.hs-contact-enabled .hs-mobile-actions>[data-hs-consult]{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:grab}
body.hs-contact-enabled .hs-mobile-actions>[data-hs-dragging]{cursor:grabbing;transition:none!important}
@media(max-width:760px){body.hs-contact-enabled #haolun-fabric-assistant{--assistant-launcher-size:56px}}

/* Mobile controls only: one launcher size and two independent default anchors. */
@media(max-width:760px){
 html body.hs-contact-enabled #haolun-fabric-assistant{--assistant-launcher-size:56px!important}
 body.tryon-wizard-active #haolun-fabric-assistant{display:block!important}
 body.hs-contact-enabled .hs-mobile-actions>[data-hs-consult]{width:60px!important;height:60px!important;min-height:60px!important;padding:6px 0!important;border-radius:50%!important;gap:3px!important;font-size:12px!important;line-height:1.15!important}
 body.hs-contact-enabled .hs-mobile-actions>[data-hs-consult] svg{width:22px!important;height:22px!important}
}
.hs-basket-head>div{min-width:0}
body.hs-contact-enabled .hs-basket-heading-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;max-width:100%;box-sizing:border-box;padding:0 10px;border-radius:22px!important;border:1px solid #cec5b9!important;background:#f5f2ed!important;color:#403d38!important;font-size:15px;font-weight:500;line-height:1.2;text-decoration:none;overflow-wrap:anywhere}
body.hs-contact-enabled .hs-basket-head>.hs-basket-query-link{display:inline-flex;flex:none;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 10px;border:1px solid #b9ae9e!important;border-radius:22px!important;background:#ebe6de!important;color:#51483f!important;font-size:12px;line-height:1.2;text-decoration:none;text-align:center;white-space:normal;max-width:130px}
body.hs-contact-enabled .hs-basket-heading-link:focus-visible,body.hs-contact-enabled .hs-basket-query-link:focus-visible{outline:2px solid #92795c;outline-offset:3px}
@media(max-width:360px){
 .hs-basket-head{position:relative;flex-wrap:wrap}
 .hs-basket-head>div{flex-basis:100%;margin-right:0;padding-right:50px;box-sizing:border-box}
 .hs-basket-heading-link{white-space:nowrap}
 .hs-basket-head>.hs-basket-query-link{margin-top:0;max-width:none}
 .hs-basket-head>.hs-basket-close{position:absolute;top:18px;right:18px}
}
/* New consultation integrations must not resize existing desktop AI avatars. */
@media(min-width:761px){
 body[data-hs-original-contact="false"] #haolun-fabric-assistant{--assistant-launcher-size:calc(224px / 3)}
 body[data-hs-original-contact="false"] .hs-mobile-actions{display:none!important}
}

/* Header navigation icons and labels share the button color, not catalog link overrides. */
body.hs-contact-enabled .hs-basket-heading-link *,body.hs-contact-enabled .hs-basket-query-link *{color:inherit!important}
body.hs-contact-enabled .hs-basket-heading-link svg,body.hs-contact-enabled .hs-basket-query-link svg{width:16px!important;height:16px!important;flex:0 0 16px;display:block;stroke:currentColor}
@media(max-width:430px){
 .hs-basket-drawer[lang="en"] .hs-basket-head{position:relative;flex-wrap:wrap}
 .hs-basket-drawer[lang="en"] .hs-basket-head>div{flex-basis:100%;margin-right:0;padding-right:50px;box-sizing:border-box}
 .hs-basket-drawer[lang="en"] .hs-basket-heading-link{white-space:nowrap}
 .hs-basket-drawer[lang="en"] .hs-basket-head>.hs-basket-query-link{margin-top:0;max-width:none}
 .hs-basket-drawer[lang="en"] .hs-basket-head>.hs-basket-close{position:absolute;top:18px;right:18px}
}
/* On short narrow home screens, keep the fixed default AI stack off CTA hit targets. */
@media(max-width:430px) and (max-height:640px){
 body.hs-circular-enabled .circular-home .home-actions>.primary-actions{transform:translateX(-16px)}
}
