@charset "UTF-8";
/* ==========================================================================
   SmartSolo 品牌适配层
   --------------------------------------------------------------------------
   基础版式完全沿用 css/core/master.css（对标基恩士首页的栅格与组件规范）。
   本文件只做「让 SmartSolo 素材在原版槽位里正确落位」所需的最小覆盖，
   不改动任何布局逻辑。改版时优先改这里，不要动 master.css。
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. LOGO —— SmartSolo 标识为 4:1，基恩士原版为 5.75:1，按高度对齐
   -------------------------------------------------------------------------- */
.theme-KC .layout-header.of-full .layout-header-logo > a img,
.theme-KC .layout-header.of-primary .layout-header-logo > a img,
.layout-header.of-full .layout-header-logo > a img,
.layout-header.of-primary .layout-header-logo > a img {
    width: auto;
    height: 32px;
}

@media screen and (max-width: 1024px) {
    .theme-KC .layout-header.of-full .layout-header-logo > a img,
    .layout-header.of-full .layout-header-logo > a img {
        height: 24px;
    }
}

/* 下滑吸顶（.is-fixed）时原版把 LOGO 写死成 210×24px（基恩士 8.75:1），
   我们的标识是 4:1，套上去会被横向拉伸。同样改成按高度对齐、宽度自适应。
   这条选择器与原版同权重，靠加载顺序（本文件在 master.css 之后）生效。 */
.theme-KC .layout-header.of-full.is-fixed .layout-header-logo > a img,
.layout-header.of-full.is-fixed .layout-header-logo > a img {
    width: auto;
    height: 24px;
}

.theme-KC .layout-footer.of-full .layout-footer-logo img,
.theme-KC .layout-footer.of-primary .layout-footer-logo img,
.layout-footer.of-full .layout-footer-logo img,
.layout-footer.of-primary .layout-footer-logo img {
    width: auto;
    height: 26px;
}

/* --------------------------------------------------------------------------
   2. 主视觉 —— SmartSolo 产品图为白底棚拍图（512x404），
      不同于基恩士的透明去背长图，因此：
      · multiply 混合，让白底融进 .home-jumbotron 的浅灰渐变
      · 取消原版 -136px 的「产品探出画面」负边距
      · 限高，保证不撑破 max-height:320px 的内容区
   -------------------------------------------------------------------------- */
.home-jumbotron-image > img {
    max-width: 100%;
    max-height: 272px;
    margin-bottom: 0;
    mix-blend-mode: multiply;
}

.home-jumbotron-content {
    align-items: center;
    min-height: 320px;
}

@media screen and (max-width: 1024px) {
    .home-jumbotron-image > img {
        width: auto;
        max-height: 240px;
        margin-bottom: 0;
    }
    .home-jumbotron-content {
        min-height: 0;
    }
}

@media screen and (max-width: 640px) {
    .home-jumbotron-image > img {
        max-height: 200px;
    }
}

/* --------------------------------------------------------------------------
   3. 产品栅格 / 新产品卡片 —— 素材同为白底图，统一等比留白，避免高度参差
   -------------------------------------------------------------------------- */
.home-mediaProduct-image > img,
.home-media-image > img {
    width: 100%;
    height: auto;
    object-fit: contain;
    background: #fff;
}

/* --------------------------------------------------------------------------
   4. 页脚二维码 —— SmartSolo 公众号码为 96x96 正方形
   -------------------------------------------------------------------------- */
.layout-footer-bannerImage img {
    width: 88px;
    height: 88px;
}

/* --------------------------------------------------------------------------
   5. 页脚地址块 —— 承载比原版更多的联系信息，放开行高
   -------------------------------------------------------------------------- */
.layout-footer-address {
    line-height: 1.8;
}

.layout-footer-address a {
    color: inherit;
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   6. 产品页侧栏「产品类别」缩略图
      原版用的是透明 PNG，靠 margin:-1.5rem 让产品外溢出色块、再加投影。
      我们的素材是白底棚拍图，直接套用会出现白方块 + 方形投影压住文字，
      因此改为 multiply 混合（白底融进背景）并去掉投影，几何尺寸保持不变。
   -------------------------------------------------------------------------- */
.prd-categoryNavigation-parentLinkImage > .prd-image:not(canvas) {
    filter: none;
    mix-blend-mode: multiply;
}

/* 原版 margin:-1.5rem 让透明 PNG 的产品向四周溢出，文字压在图片右缘 15px 上也不违和；
   我们是白底实心图，压上去会直接盖住图，所以把右侧负边距改成正的 .8rem 留白，
   缩略图仍保持 100×100（与对标站点一致）。 */
.prd-categoryNavigation-parentLinkImage {
    margin-right: .8rem;
}

/* --------------------------------------------------------------------------
   7. 产品系列卡 / 主视觉块的白底素材，同样做 multiply 融底
   -------------------------------------------------------------------------- */
.prd-seriesCard-image,
.prd-typeJumbotronVertical-image {
    mix-blend-mode: multiply;
}

/* --------------------------------------------------------------------------
   8. 系列页顶部冻结导航
      对标站点滚动后由「系列头」独占顶部（产品名 + 目录/价格咨询 + 五个 Tab），
      全站导航让位。我们的全站导航 z-index 1002 会压住系列头，只露出 Tab 一条，
      所以吸顶时把它隐藏，并把系列头层级提到最上。
      .is-seriesPinned 由 js/custom/prd.js 在滚过系列头位置时挂到 <html> 上。
   -------------------------------------------------------------------------- */
/* 系列头吸顶时层级要压过全站导航（1002），否则会被盖住只露出 Tab 一条。
   注意：不能用 display:none 隐藏全站导航——它在文档流内，隐藏会让高度塌陷，
   导致系列头位置反复跳变、吸顶状态解不开，回到顶部也看不见导航。 */
.prd-seriesHeader.is-fixed .prd-seriesHeader-sticky {
    z-index: 1003;
}

/* 全站导航下方的分割线。
   不能画在 <header> 的 border-bottom 上：
     · .theme-series .layout-header.of-full 已把它定成 #f0f0f0（权重更高，且几乎看不见）；
     · 即使改了色，子元素 .layout-header-body 是白底且底边与之齐平，
       按绘制顺序（父级边框先画、子级后画）会把这 1px 盖掉；
     · 吸顶时 .layout-header.of-full.is-fixed 被压成 51px 的占位盒并 box-shadow:none，
       真正钉在顶部的是 position:fixed 的 .layout-header-content，边框画在占位盒上看不到。
   所以统一画在 .layout-header-content 上，并用 box-shadow —— 它绘制在边框盒之外，
   不会被任何子元素遮住，常态与吸顶两种状态都跟着那条白色横条走。 */
.layout-header.of-full,
.layout-header.of-full.is-fixed {
    border-bottom: 0;
}

.layout-header.of-full .layout-header-content {
    box-shadow: 0 1px 0 #ddd;
}


/* 规格表字号对齐对标站点（正文 medium 会偏大） */
.prd-specsTable .specTable-row td,
.prd-specsTable .specTable-row td p {
    font-size: 1.4rem;
}

/* 表格下方「返回顶部」 */
.ss-backToTop .prd-inlineLink-label {
    font-size: 15px;
}

/* --------------------------------------------------------------------------
   9. 概述页「推荐项目」卡片
      对标站点是等宽等高的灰底卡：封面居中约 170px、标题、文件信息、下载按钮，
      按钮统一贴卡片底部对齐。我们的封面是 300×300 方图，需要限宽居中。
   -------------------------------------------------------------------------- */
.ss-recommendCard {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2.4rem;
    background-color: #f5f5f5;
}

.ss-recommendCard-image {
    margin-bottom: 2.4rem;
    text-align: center;
}

.ss-recommendCard-image img {
    width: 170px;
    max-width: 100%;
    height: auto;
}

.ss-recommendCard-footer {
    margin-top: auto;
}

/* --------------------------------------------------------------------------
   10. 右侧悬浮快捷条 / 在线咨询浮窗 / 在线咨询对话窗
       对标站点这三块由第三方脚本注入，不在我们抓到的 css/js 里，按截图复刻。
       层级取 1001：低于全站导航（1002），所以大菜单展开时会跟正文一起被遮罩压暗。
   -------------------------------------------------------------------------- */

/* ---- 快捷条 ---- */
.ss-quickBar {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 1001;
    transform: translateY(-50%);
}

.ss-quickBar-list {
    /* 列向 flex：各行等宽（取最宽一行），展开时整条一起变宽。
       注意不能给行加 width:100% —— 那样宽度会反过来由图标撑出的 52px 决定，
       文字作为 flex 子项被压成 0，永远展不开。 */
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    list-style: none;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(46, 49, 51, .15);
}

.ss-quickBar-item {
    position: relative;
}

.ss-quickBar-item + .ss-quickBar-item {
    border-top: 1px solid #e6e6e6;
}

.ss-quickBar-link,
.ss-quickBar-subLink {
    display: flex;
    align-items: center;
    height: 52px;
    padding: 0;
    /* 对标站点这一条的文字用品牌色（他们是红），不是正文灰 */
    color: #66BA13;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    background-color: #fff;
    border: 0;
    transition: background-color .2s cubic-bezier(.4, 0, .2, 1);
}

.ss-quickBar-link:hover,
.ss-quickBar-subLink:hover {
    background-color: #f0f0f0;
}

.ss-quickBar-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
}

.ss-quickBar-icon svg {
    width: 24px;
    height: 24px;
    fill: #66BA13;
}

/* 微信绿沿用官方色，与对标站点一致；这一行的文字也跟着回到正文深灰，
   和对标站点「微信小程序」那行的处理相同 */
.ss-quickBar-icon.of-wechat svg {
    fill: #09bb07;
}

.ss-quickBar-link.of-wechat {
    color: #2e3133;
}

/* 收起时只露图标；鼠标移到整条上时向左展开出文字 */
.ss-quickBar-label {
    flex-shrink: 0;
    width: 0;
    padding-right: 0;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
    transition: width .2s cubic-bezier(.4, 0, .2, 1), padding-right .2s cubic-bezier(.4, 0, .2, 1);
}

.ss-quickBar:hover .ss-quickBar-list > .ss-quickBar-item > .ss-quickBar-link > .ss-quickBar-label {
    width: 120px;
    padding-right: 1.6rem;
}

/* 「下载」的四个子项，鼠标停在该行时从左侧滑出 */
.ss-quickBar-subList {
    position: absolute;
    top: 0;
    right: 100%;
    z-index: 1;
    width: 144px;
    padding: 0;
    margin: 0;
    list-style: none;
    visibility: hidden;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(46, 49, 51, .15);
    opacity: 0;
    transition: opacity .2s cubic-bezier(.4, 0, .2, 1), visibility .2s cubic-bezier(.4, 0, .2, 1);
}

.ss-quickBar-subList > li + li {
    border-top: 1px solid #e6e6e6;
}

.ss-quickBar-subList .ss-quickBar-label {
    width: auto;
    padding-right: 1.6rem;
}

.ss-quickBar-item:hover > .ss-quickBar-subList {
    visibility: visible;
    opacity: 1;
}

/* 微信项的二维码卡片 */
/* 卡片必须给死宽度：图片带全局 max-width:100%，参与不了收缩到适应宽度的计算，
   否则卡片会按下面那行说明文字定宽，把二维码横向压扁。 */
.ss-quickBar-qr {
    position: absolute;
    box-sizing: content-box;
    width: 144px;
    top: 50%;
    right: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.2rem;
    margin-right: .8rem;
    font-size: 12px;
    line-height: 1.4;
    color: #2e3133;
    white-space: nowrap;
    visibility: hidden;
    background-color: #fff;
    border: 1px solid #e6e6e6;
    box-shadow: 0 2px 10px rgba(46, 49, 51, .15);
    opacity: 0;
    transition: opacity .2s cubic-bezier(.4, 0, .2, 1), visibility .2s cubic-bezier(.4, 0, .2, 1);
    transform: translateY(-50%);
}

.ss-quickBar-qr img {
    display: block;
    flex-shrink: 0;
    width: 144px;
    max-width: none;
    height: 144px;
    margin-bottom: .8rem;
}

.ss-quickBar-qr em {
    font-style: normal;
}

.ss-quickBar-link:hover .ss-quickBar-qr {
    visibility: visible;
    opacity: 1;
}

/* ---- 在线咨询浮窗 ---- */
/* 位置对齐对标站点：右边缘与快捷条同一条竖线，纵向紧跟在快捷条下方
   （快捷条 top:50% 居中、高 317px，所以偏移 50% + 半高 + 间距）。
   矮屏放不下时退回贴底。 */
.ss-consult {
    position: fixed;
    top: calc(50% + 175px);
    right: 0;
    z-index: 1001;
}

@media screen and (max-height: 780px) {
    .ss-consult {
        top: auto;
        bottom: 12px;
    }
}

.ss-consult[hidden],
.ss-chat[hidden] {
    display: none;
}

.ss-consult-body {
    display: block;
    padding: 0;
    cursor: pointer;
    background: none;
    border: 0;
}

.ss-consult-image {
    display: block;
    width: 200px;
    height: auto;
    filter: drop-shadow(0 2px 6px rgba(46, 49, 51, .25));
}

/* 关闭按钮平时不显示，移上去才出现，保持与对标站点相同的观感 */
.ss-consult-close {
    position: absolute;
    top: 6px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    cursor: pointer;
    background-color: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 50%;
    opacity: 0;
    transition: opacity .2s cubic-bezier(.4, 0, .2, 1);
}

.ss-consult:hover .ss-consult-close,
.ss-consult-close:focus-visible {
    opacity: 1;
}

.ss-consult-close svg {
    width: 12px;
    height: 12px;
    fill: #767a7d;
}

/* ---- 在线咨询对话窗 ---- */
.ss-chat {
    position: fixed;
    right: 64px;
    bottom: 24px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    width: 350px;
    height: 560px;
    max-height: calc(100vh - 48px);
    overflow: hidden;
    background-color: #f5f5f5;
    box-shadow: 0 4px 20px rgba(46, 49, 51, .25);
}

.ss-chat-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    height: 56px;
    padding: 0 1.2rem;
    background-color: #4a4f52;
}

.ss-chat-headAvatar {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    margin-right: 1rem;
}

.ss-chat-headAvatar img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.ss-chat-title {
    flex: 1 1 auto;
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.3;
    color: #fff;
}

.ss-chat-headIcon {
    display: block;
    width: 22px;
    height: 22px;
    margin-right: 1.2rem;
}

.ss-chat-headIcon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.ss-chat-min {
    position: relative;
    width: 22px;
    height: 22px;
    padding: 0;
    cursor: pointer;
    background: none;
    border: 0;
}

.ss-chat-minBar {
    display: block;
    width: 14px;
    height: 2px;
    margin: 0 auto;
    background-color: #fff;
}

.ss-chat-minTip {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    padding: 2px 6px;
    font-size: 11px;
    line-height: 1.5;
    color: #fff;
    white-space: nowrap;
    visibility: hidden;
    background-color: #4a4f52;
    opacity: 0;
    transition: opacity .2s cubic-bezier(.4, 0, .2, 1), visibility .2s cubic-bezier(.4, 0, .2, 1);
}

.ss-chat-min:hover .ss-chat-minTip {
    visibility: visible;
    opacity: 1;
}

.ss-chat-body {
    flex: 1 1 auto;
    padding: 1.2rem;
    overflow-y: auto;
}

.ss-chat-meta {
    margin-bottom: .6rem;
    font-size: 12px;
    line-height: 1.5;
    color: #8a8f92;
}

.ss-chat-bubble {
    padding: 1.2rem;
    margin-bottom: 1.6rem;
    font-size: 13px;
    line-height: 1.7;
    color: #2e3133;
    background-color: #fff;
    border-radius: 4px;
}

.ss-chat-bubble p {
    margin-bottom: 0;
}

.ss-chat-highlight {
    margin-top: .8rem;
    color: #d0021b;
}

.ss-chat-qr {
    display: block;
    flex-shrink: 0;
    width: 144px;
    max-width: none;
    height: 144px;
    margin-top: .8rem;
}

/* 访客发出的消息 */
.ss-chat-meta.of-self {
    text-align: right;
}

.ss-chat-bubble.of-self {
    width: fit-content;
    max-width: 80%;
    margin-left: auto;
    color: #fff;
    background-color: #66BA13;
}

.ss-chat-footer {
    flex-shrink: 0;
    padding: .8rem 1.2rem 1.2rem;
    background-color: #fff;
    border-top: 1px solid #e6e6e6;
}

.ss-chat-tools {
    display: flex;
    align-items: center;
    margin-bottom: .4rem;
}

.ss-chat-tool {
    display: block;
    width: 20px;
    height: 20px;
    margin-right: 1.2rem;
}

.ss-chat-tool svg {
    display: block;
    width: 100%;
    height: 100%;
}

.ss-chat-input {
    display: block;
    width: 100%;
    padding: 0;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.6;
    color: #2e3133;
    resize: none;
    border: 0;
    outline: 0;
}

.ss-chat-input::placeholder {
    color: #b5b9bb;
}

.ss-chat-actions {
    text-align: right;
}

.ss-chat-send {
    padding: .4rem 1.6rem;
    font-size: 13px;
    line-height: 1.6;
    color: #2e3133;
    cursor: pointer;
    background-color: #f0f0f0;
    border: 1px solid #d0d0d0;
    border-radius: 2px;
}

.ss-chat-send:hover {
    color: #fff;
    background-color: #66BA13;
    border-color: #66BA13;
}

/* 窄屏让位给正文：快捷条收起，咨询浮窗缩成圆钮，对话窗铺满 */
@media screen and (max-width: 1024px) {
    .ss-quickBar {
        display: none;
    }

    .ss-consult {
        right: 12px;
        bottom: 12px;
    }

    .ss-consult-image {
        width: 130px;
    }

    .ss-chat {
        right: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
        max-width: 350px;
        max-height: calc(100vh - 24px);
    }
}

/* --------------------------------------------------------------------------
   9. 品牌色（默认关闭）
      原版「全新」角标为基恩士红 #ce0010。若确认改用 SmartSolo 绿，
      取消下面注释即可，其余版式不受影响。
   -------------------------------------------------------------------------- */
/*
.home-jumbotron-icon { background: #95c51b; }
*/
