﻿/* 快捷工具栏样式 */
.shortcut-bar {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    right: calc((100% - 1200px) / 2 - 80px); /* 固定在内容区域右侧 */
    z-index: 999;
    border: 1px solid #e9ecf0; /* 整体边框 */
    border-radius: 5px;
    background-color: #fff;
    /*box-shadow: 0 2px 5px rgba(0,0,0,0.1);*/
}

/* 响应式处理：屏幕宽度小于1360px时，将快捷工具栏固定在右侧 */
@media (max-width: 1360px) {
    .shortcut-bar {
        right: 20px;
    }
}

.shortcut-item {
    position: relative;
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 1px solid #e9ecf0 /* 内部边框 */
}

.shortcut-item:last-child {
    border-bottom: none; /* 最后一个按钮不显示底部边框 */
}

.shortcut-item:hover {
    background-color: #f5f5f5;
}

.shortcut-icon {
    font-size: 25px;
    margin-bottom: 3px;
    color: #555
}

.shortcut-text {
    font-size: 12px;
    color: #232628;
}

/* 购物车数量 */
.cart-count-3 {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #e94e77;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* 二维码弹出层 */
.qrcode-popup {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    width: 160px;
    text-align: center;
    z-index: 1000;
    border: 1px solid #eee;
}

.qrcode-popup img {
    width: 100%;
    height: auto;
    margin-bottom: 5px;
    border: 1px solid #eee;
}

.qrcode-text {
    font-size: 13px;
    color: #333;
}

.shortcut-item:hover .qrcode-popup {
    opacity: 1;
    visibility: visible;
}

/* 3二维码并排弹出层 */
.qrcode-popup-multi {
    width: auto;
    display: flex;
    flex-direction: row;
    gap: 12px;
    padding: 14px;
}

.qr-multi-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qrcode-popup-multi img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border: 1px solid #eee;
}

.qrcode-popup-multi .qrcode-text {
    margin-top: 4px;
    font-size: 12px;
    white-space: nowrap;
}

/* 回顶部按钮 */
#back-to-top {
    /*opacity: 0;
        visibility: hidden;
        transition: all 0.3s;*/
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* 页面内容样式 */
.content {
    padding: 40px 0;
}

.icon-wechat-2{
    font-size:32px !important;
}
/* 自定义图标颜色 */
.icon-wechat {
    color: #07c160;
    text-align: center;
}

.icon-cart {
    color: #555;
    text-align: center;
  
}

.icon-service {
    color: #555;
    text-align: center;
}

.icon-feedback {
    color: #555;
    text-align:center;
}

.icon-top {
    color: #555;
}
