@charset "utf-8";
/* ============================================================
   SINGREE - 右下角悬浮联系组件（WhatsApp / 询价 / 回到顶部）
   独立文件，整份删掉不影响其他样式；不依赖 css.css
   ============================================================ */

#sgFloat {
    position: fixed;
    right: 18px;
    bottom: 20px;
    z-index: 8000;          /* 低于询价弹层(90000)，弹层打开时被正常遮住 */
    text-align: right;
    line-height: 0;
}
#sgFloat .sgBtn {
    position: relative;
    display: block;
    width: 52px;
    height: 52px;
    margin: 10px 0 0 auto;
    border-radius: 50%;
    background: #1D2760;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 22, 48, .28);
    -webkit-transition: -webkit-transform .16s ease, box-shadow .16s ease;
    transition: transform .16s ease, box-shadow .16s ease;
}
#sgFloat .sgBtn:hover,
#sgFloat .sgBtn:focus {
    text-decoration: none;
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(15, 22, 48, .38);
}
#sgFloat .sgBtn svg {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 27px;
    height: 27px;
    margin: -13.5px 0 0 -13.5px;
}
#sgFloat .sgWa { background: #25D366; }      /* WhatsApp 官方绿 */
#sgFloat .sgWa:hover { background: #1eb257; }
#sgFloat .sgInq { background: #1D2760; }
#sgFloat .sgInq:hover { background: #14214f; }
#sgFloat .sgTop { background: #7b8394; }
#sgFloat .sgTop:hover { background: #1D2760; }

/* hover 气泡文字（手机不显示） */
#sgFloat .sgTip {
    position: absolute;
    right: 62px;
    top: 50%;
    margin-top: -15px;
    height: 30px;
    line-height: 30px;
    padding: 0 12px;
    background: #1D2760;
    color: #fff;
    font: 13px/30px Arial, "Microsoft YaHei", sans-serif;
    white-space: nowrap;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .15s ease;
    transition: opacity .15s ease;
}
#sgFloat .sgTip:after {
    content: "";
    position: absolute;
    right: -5px;
    top: 50%;
    margin-top: -5px;
    border: 5px solid transparent;
    border-left-color: #1D2760;
    border-right: 0;
}
#sgFloat .sgBtn:hover .sgTip { opacity: 1; visibility: visible; }
#sgFloat .sgWa .sgTip:after { border-left-color: #1D2760; }

/* 回到顶部默认不显示，滚动后由 JS 打开 */
#sgTopBtn { display: none; }

/* 手机上缩小、贴边 */
@media screen and (max-width: 640px) {
    #sgFloat { right: 12px; bottom: 14px; }
    #sgFloat .sgBtn { width: 46px; height: 46px; margin-top: 9px; }
    #sgFloat .sgBtn svg { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
    #sgFloat .sgTip { display: none; }
}

/* ============================================================
   页脚社媒图标 —— 放在白底的 .foot 栏里、CE 认证标（.w270）左侧
   靠 float:right 的先后顺序实现右对齐：源码里 .w270 在前 → 最右；
   .footsoc 在后 → 紧挨着它左边。
   ============================================================ */
.copyright .sgcopy {
    float: left;
    line-height: 40px;
}
.footsoc {
    float: right;
    text-align: right;
    padding-top: 10px;
    margin-right: 26px;
}
.footsocttl {
    font-size: 12px;
    color: #999999;
    line-height: 18px;
    margin-bottom: 9px;
}
.sgsoc { line-height: 0; }
.sgsoc a {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-left: 10px;
    background: #1D2760;
    border-radius: 50%;
    text-decoration: none;
    vertical-align: middle;
    -webkit-transition: background .16s ease;
    transition: background .16s ease;
}
.sgsoc a:hover { background: #53C3F1; }
.sgsoc svg {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
}
.sgsoc svg path,
.sgsoc svg circle { fill: #fff; }

/* 平板及以下：CE 认证标在前、社媒图标在后，一起居中 */
@media screen and (max-width: 768px) {
    .footsoc { float: none; text-align: center; margin: 0 0 16px; padding-top: 0; }
    .footsocttl { text-align: center; }
    .sgsoc a { margin: 0 6px; }
    .sgsoc a:first-child { margin-left: 6px; }
}

@media screen and (max-width: 640px) {
    .copyright .sgcopy { float: none; text-align: center; line-height: 1.6; }
}

@media print {
    #sgFloat { display: none !important; }
}
