@import url("https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,900&display=swap");
@charset "utf-8";
.clear {
  font-size: 0;
  line-height: 0;
  clear: both;
  overflow: hidden;
  zoom: 1;
}
.fr {
  float: right;
}
.fl {
  float: left;
}
a {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
  color: #c01701;
  transition: all 0.2s linear 0s;
}
    /* ===== 样式（完整保留，与之前一致） ===== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        html,
        body {
            height: 100%;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
            background: #f5f1f8;
            color: #2d1b3a;
        }
        .app {padding-top: 12vh;
            display: flex;
            height: 100vh;
            width: 100vw;
            overflow: hidden;
            background: #fff;
        }
        .sidebar {
            width: 280px;
            min-width: 280px;
            height: 100%;
            background: linear-gradient(180deg, #f8f4fc 0%, #ede6f4 100%);
            border-right: 1px solid #e4daea;
            padding: 28px 16px 20px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            flex-shrink: 0;
        }
        .sidebar::-webkit-scrollbar {
            width: 4px;
        }
        .sidebar::-webkit-scrollbar-thumb {
            background: #cbb5d9;
            border-radius: 4px;
        }
        .sidebar::-webkit-scrollbar-track {
            background: transparent;
        }
        .sidebar-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: #000;
            letter-spacing: 2px;
            padding-bottom: 20px;
            border-bottom: 2px solid #dcc9e8;
            margin-bottom: 18px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .sidebar-title span {
            background: #7b4b8c;
            color: #fff;
            font-size: 14px;
            border-radius: 20px;
            padding: 0 12px;
            line-height: 26px;
            font-weight: 500;
        }
        .nav-list1 {
            display: flex;
            flex-direction: column;
            gap: 2px;
            flex: 1;
        }
        .nav-item {
            border-radius: 10px;
            cursor: pointer;
            user-select: none;
            transition: background 0.2s, color 0.2s;
        }
        .nav-item-main {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 16px;
            font-size: 16px;
            font-weight: 600;
            color: #3d244d;
            border-radius: 10px;
            transition: background 0.2s, color 0.2s;
        }
        .nav-item-main:hover {
            background: rgba(123, 75, 140, 0.10);
        }
        .nav-item-main .arrow {
            font-size: 14px;
            color: #9a7aaa;
            transition: transform 0.3s ease;
            flex-shrink: 0;
            margin-left: 8px;
        }
        .nav-item-main .arrow.open {
            transform: rotate(90deg);
        }
        .nav-item-main .label {
            display: flex;
            align-items: center;
            gap: 10px;fonts-size:1.2rem;
        }
        .nav-item-main .label .icon {
            font-size: 18px;
        }
        .nav-item.active>.nav-item-main {
            background: #7b4b8c;
            color: #fff;
            box-shadow: 0 4px 12px rgba(123, 75, 140, 0.25);
        }
        .nav-item.active>.nav-item-main .arrow {
            color: rgba(255, 255, 255, 0.8);
        }
        .sub-list {
            overflow: hidden;
            max-height: 0;
            opacity: 0;
            transition: max-height 0.35s ease, opacity 0.30s ease, padding 0.30s ease;
            padding-left: 12px;
            padding-right: 6px;
        }
        .sub-list.open {
            max-height: 400px;
            opacity: 1;
            padding-top: 4px;
            padding-bottom: 4px;
        }
        .sub-item {
            padding: 10px 16px 10px 38px;
            font-size: 14px;
            font-weight: 500;
            color: #333;
            border-radius: 8px;
            cursor: pointer;
            transition: background 0.2s, color 0.2s, padding-left 0.2s;
            position: relative;
            margin: 1px 0;
        }
        .sub-item::before {
           
            position: absolute;
            left: 16px;
            color: #b097c4;
            font-size: 13px;
            transition: color 0.2s;
        }
        .sub-item:hover {
            background: rgba(123, 75, 140, 0.10);
            color: #3d244d;
        }
        .sub-item:hover::before {
            color: #7b4b8c;
        }
        .sub-item.active {
            background: rgba(123, 75, 140, 0.16);
            color: #5a2d70;
            font-weight: 600;
        }
        .sub-item.active::before {
            color: #7b4b8c;
            content: "▸";
        }
        .nav-item-simple .nav-item-main .arrow {
            display: none;
        }
        .content {
            flex: 1;
            height: 100%;
            padding: 28px 36px 28px 32px;
            overflow-y: auto;
            background: #ffffff;
        }
        .content::-webkit-scrollbar {
            width: 5px;
        }
        .content::-webkit-scrollbar-thumb {
            background: #d5c4e0;
            border-radius: 6px;
        }
        .content::-webkit-scrollbar-track {
            background: #f8f4fc;
        }
        .content-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 24px;
            padding-bottom: 14px;
            border-bottom: 2px solid #f0e9f5;
        }
        .content-header h2 {
            font-size: 22px;
            font-weight: 700;
            color: #2d1b3a;
            letter-spacing: 0.5px;
        }
        .content-header .badge {
            background: #ede6f4;
            color: #5d3f6e;
            font-size: 13px;
            padding: 4px 16px;
            border-radius: 20px;
            font-weight: 500;
        }
        .product-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 22px 20px;
        }
        .product-card {
            background: #ffffff;
            border-radius: 14px;
            overflow: hidden;
            box-shadow: 0 2px 12px rgba(45, 27, 58, 0.06);
            border: 1px solid #f0e9f5;
            transition: transform 0.25s ease, box-shadow 0.30s ease;
            cursor: default;
            display: flex;
            flex-direction: column;
        }
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 28px rgba(123, 75, 140, 0.13);
            border-color: #dcc9e8;
        }
        .product-card .img-wrap {
            width: 100%;
            aspect-ratio: 1 / 1;
            background: #f8f4fc;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }
        .product-card .img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }
        .product-card:hover .img-wrap img {
            transform: scale(1.03);
        }
        .product-card .product-name {
            padding: 14px 14px 16px;
            font-size: 14px;
            font-weight: 600;
            color: #2d1b3a;
            text-align: center;
            line-height: 1.4;
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #faf8fc;
            border-top: 1px solid #f0e9f5;
            letter-spacing: 0.3px;
        }
        .product-card .tag {
            position: absolute;
            top: 10px;
            left: 10px;
            background: rgba(123, 75, 140, 0.85);
            color: #fff;
            font-size: 11px;
            padding: 2px 12px;
            border-radius: 12px;
            font-weight: 500;
            letter-spacing: 0.3px;
            backdrop-filter: blur(4px);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }
        .empty-state {
            grid-column: 1 / -1;
            text-align: center;
            padding: 60px 20px;
            color: #b097c4;
            font-size: 16px;
        }
        .empty-state .big-icon {
            font-size: 48px;
            display: block;
            margin-bottom: 16px;
        }

        /* 面板切换 */
        .product-panel {
            display: none;
        }
        .product-panel.active {
            display: block;
        }

        @media (max-width: 820px) {
            .sidebar {
                width: 220px;
                min-width: 220px;
                padding: 18px 12px 16px;
            }
            .content {
                padding: 20px 18px 20px 16px;
            }
            .product-grid {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
                gap: 16px;
            }
            .nav-item-main {
                font-size: 14px;
                padding: 10px 12px;
            }
            .sub-item {
                font-size: 13px;
                padding: 8px 12px 8px 32px;
            }
            .sub-item::before {
                left: 12px;
            }
        }
        @media (max-width: 600px) {
            .app {padding-top: 18vw;
                flex-direction: column;
                height: 100vh;
            }
            .sidebar {
                width: 100%;
                min-width: unset;
                height: auto;
                max-height: 45vh;
                border-right: none;
                border-bottom: 1px solid #e4daea;
                padding: 14px 14px 10px;
            }
            .content {
                height: auto;
                flex: 1;
                padding: 16px 14px 20px;
                overflow-y: auto;
            }
            .product-grid {
                grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
                gap: 12px;
            }
            .sidebar-title {
                font-size: 16px;
                padding-bottom: 12px;
                margin-bottom: 12px;
            }
            .content-header h2 {
                font-size: 18px;
            }
            .product-card .product-name {
                font-size: 12px;
                padding: 10px 10px 12px;
            }
            .nav-item-main {
                font-size: 14px;
                padding: 8px 10px;
            }
            .sub-item {
                font-size: 13px;
                padding: 7px 10px 7px 28px;
            }
            .sub-item::before {
                left: 10px;
                font-size: 12px;
            }
        }
		
		
		
