.w-tabs1 {
    margin-bottom: 1.2rem;}

.w-tabs1 ul {
    position: relative;}

/* ===== 二级下拉菜单（全新样式）===== */
.sub-nav-dl {
    position: absolute;
    left: 0;
    top: calc(100% + 0.15rem);
    display:flex;
    gap: 0.1rem;
    width: max-content;
    padding: 0.12rem;
    background: #e8cdff;
    border-radius: 0.2rem;
    /* box-shadow: 0 0.08rem 0.2rem rgba(59, 0, 111, 0.35); */
    /* 默认隐藏 */
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 10;}

/* 一级选中才展示二级 */
.w-tabs1 li.on .sub-nav-dl {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 0.08rem);}

/* 小三角指向一级tab */
.sub-nav-dl::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border: 0.1rem solid transparent;
    border-bottom-color: #7033A5;
    display:none;}

.sub-nav-dl dt {}

.sub-nav-dl dt:last-child {
    margin-bottom: 0;}

.sub-nav-dl dt a {
    display: block;
    padding: 0.12rem 0.28rem;
    border-radius: 0.14rem;
    font-size: 0.2rem;
    line-height: 2;
    color: #333333;
    background: rgba(255,255,255,0.8);
    box-shadow: unset;
    text-align: center;
    transition: all 0.2s;}

.w-tabs1 .sub-nav-dl dt a:before {
    display:none;}

/* 二级选中状态 */
.sub-nav-dl dt.active a {
    background: #7033A5;
    color: #fff;
    box-shadow: 0rem 0.2rem 0.18rem 0rem rgba(63,1,118,0.08) inset, 0.09rem 0.06rem 0.12rem 0rem rgba(59,0,111,0.24), 1px 1px 1px rgba(0, 0, 0, .24);
    font-weight: 500;}

@media (max-width: 769px) {
    .w-tabs1 {
        margin-bottom: 1rem;}

    .sub-nav-dl dt a {
        padding: 0 0.2rem;}
}
