.wp, #wp {
    width: calc(100vw - var(--grid-style3-margin)* 2) !important;
    margin: 0 auto;
}
.main {
    width: 1240px;
    background: #FFF;
    position: relative;
    border: 0px solid #eee;
    padding: 0px 0px 80px 0px;
    border-radius: 8px;
    font-family: Microsoft Yahei;
    margin: 15px 0 30px 0 !important;
}
.buytitle {
    text-align: center;
    font-weight: bold;
    font-size: 32px;
    color: #333;
    line-height: 50px;
    width: 90%;
    margin: 28px auto 15px;
    padding-top: 45px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ddd;
}
.container {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: 48px auto 10px;
}
.column {
    box-sizing: border-box;
    color: #333;
    border-radius: 16px;
}
.main > .container > .column:hover {
    box-shadow: 2px 3px 6px 0px #D8D8D8;
}
.free {
    width: 330px;
    height: 492px;
    background: url(/template/hl_club/static/dz_style/code/free-tuya.webp) no-repeat;
    border-radius: 8px;
    background-size: cover;
}
.gcode {
    width: 535px;
    height: 610px;
    background: url(/template/hl_club/static/dz_style/code/gcode.jpg) no-repeat;
    border-radius: 16px;
    background-size: cover;
}
.dsp {
    width: 535px;
    height: 610px;
    background: url(/template/hl_club/static/dz_style/code/dsp.jpg) no-repeat;
    border-radius: 16px;
    background-size: cover;
}
.ctitle {
    padding: 25px 30px;
    font-size: 24px;
    font-weight: 500;
}
.cprice {
    padding: 0 30px;
}
.cprice span{
    font-size: 40px;
    font-weight: 500;
    left: -2%;
    position: relative;
}
.cinfo {
    height: 240px;
    line-height: 30px;
    padding: 50px 35px;
}
.cinfo span {
    margin-left: 20px;
}
.cinfo a {
    color: #4181D7;
    text-decoration: underline;
}
.cbn {
    border: 2px solid #4181D7;
    border-radius: 8px;
    padding: 6px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #4181D7;
    margin: 0 30px;
    cursor: pointer;
    letter-spacing: 1px;
}
.crenew {
    padding: 10px 30px 0;
    height: 30px;
}
.crenew span {
    font-size: 18px;
    font-weight: 500;
    position: relative;
    color: #4181D7;
}
.chl {
    color: #4181D7;
    font-weight: 600;
}
.chlbn {
    color: #fff;
    background: #4181D7;
}
.model {
    font-size: 24px;
    font-weight: 500;
    width: 90%;
    margin: 108px auto 10px;
    text-align: center;
}
.cmt {
    width: 150%;
    height: 40px;
    line-height: 40px;
    font-size: 24px;
    color: #4181D7;
    padding-bottom: 15px;
}
.hcmt {
    height: 40px;
    line-height: 40px;
    font-size: 24px;
    color: #999999;
    padding-bottom: 15px;
}
.cmv {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: 48px auto 10px;
}
.cmvv {
    text-align: center;
}
.cmvvw {
    text-align: left;
    line-height: 30px;
}
.cmvv img {
    padding-bottom: 15px;
}
.ncmt {
    height: 10px !important;
}
.nimg {
    width:260px !important;
}
.bc {
    color: #999999;
    font-size: 20px;
    width: 90%;
    margin: 48px auto 10px;
    text-align: center;
}
.back {
    position: absolute;
    font-size: 44px;
    font-weight: 500;
    padding-left: 30px;
    padding-top: 10px;
    color: #494949;
}
#ckf {
    position: fixed;
    bottom: 300px;
}

.ckf {
    position: relative;
    display: block;
    width: 52px;
    background: #ffffff;
    border: 0px #ffffff solid;
    border-radius: 52px;
    border-top: 0;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

.ckf i {
    font-size: 26px;
    display: none;
    width: 52px;
    height: 52px;
    line-height: 52px;
    text-align: center;
    color: #333333;
    text-decoration: none;
    border-top: 0px #ffffff solid;
    padding: 0px 0px;
}

#ckfewm {
    display: block;
    position: absolute;
    bottom: 70px; /* 52px (button height) + 8px (additional space) */
    left: 0;
    padding: 15px;
    background: #fff;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
    color: #4181D7;
    font-size: 12px;
}

#ckfewm img {
    padding-top: 10px;
}

.ckf:hover #ckfewm, #ckfewm:hover {
    display: block;
}

.futitle {
    color: #666;
    font-weight: 500;
    font-size: 18px;
}
.ctab {
    display: inline-block;
    padding: 10px 20px;
    cursor: pointer;
    position: relative;
    color: gray;
    transition: color 0.3s;
    border-radius: 5px;
}

.ctab::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -2px; /* 调整下划线位置 */
    transform: translateX(-50%);
    width: 0;
    height: 4px; /* 调整下划线厚度 */
    border-radius: 4px;
    background-color: #4181D7;
    transition: width 0.3s;
}

.ctab.active {
    color: black;
}

.ctab.active::after {
    width: 40%; /* 调整下划线长度 */
}

.content {
    display: none;
    margin-top: 20px;
}

.content.active {
    display: block;
}
.hx {
    font-size: 18px !important;
    text-decoration: line-through;
    text-decoration-color: #000;
    text-decoration-thickness: 1px;
    padding-left: 4px;
}
.letter {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.letter-content {
    text-align: center;
    width: 800px;
    background: #fff;
    border-radius: 16px;
    padding: 30px;
}

.letter-content h1 {
    margin-bottom: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid #efefef;
}

.letter-content p {
    font-size: 18px;
}

.close-button {
    position: relative;
    top: -20px;
    right: -10px;
    float: right;
    font-size: 26px;
    cursor: pointer;
}

.dn-title {
    text-align: center;
    font-weight: bold;
    font-size: 32px;
    color: #333;
    line-height: 50px;
    width: 90%;
    margin: 28px auto 15px;
    padding-bottom: 10px;
}

.dn-content {
    display: flex;
    align-items: center;
}

.dn-content div {
    flex-grow: 1;
}

.dlogo {
    font-size: 22px;
    font-weight: 600;
}

.dlogo i {
    font-size: 52px;
    margin-bottom: -10px;
    display: block;
    font-weight: normal;
}

.dwin {
    padding: 0 15px;
    color: #666666;
    font-size: 16px;
}

.dgx {
    color: #c7c7c7;
    padding: 25px 0 15px 0;
    font-size: 16px;
}

/*.dwin span {*/
/*    padding: 8px 15px;*/
/*    background: #4181D7;*/
/*    color: #fff;*/
/*    border-radius: 6px;*/
/*    margin-top: 5px;*/
/*    display: block;*/
/*}*/
.dbutton {
    margin-top: 20px;
}
.downl {
    padding: 10px 25px;
    background-color: #4181D7;
    color: #fff;
    border-radius: 6px 0 0 6px;
    border-right: 1px solid #fff;
    font-weight: 600;
}
.downr {
    margin-left: -4px;
    padding: 10px;
    background-color: #4181D7;
    color: #fff;
    border-radius: 0 6px 6px 0;
    font-weight: 500;
}
#download-matrix {
    white-space: nowrap;
    background: #ffffff;
    position: absolute;
    border-radius: 5px;
    z-index: 1;
    margin-top: 210px;
    margin-left: 188px;
    -webkit-box-shadow: 0px 3px 3px 0px rgb(0 0 0 / 33%);
    -moz-box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, .33);
    box-shadow: 0px 1px 3px 0px rgb(0 0 0 / 33%);
    display: none;
    color: #000;
    padding: 0px 10px;
}
.os-group {
    padding: 5px 0;
    display: block;
}
#download-matrix table .os {
    font-size: 16px;
    font-weight: 400;
    text-align: left;
    padding-left: 1rem;
    padding-right: 2.2rem;
}
#download-matrix table .download-type {
    font-size: 16px;
    font-weight: 300;
    text-align: left;
    padding-left: 1rem;
    padding-right: 1rem;
}
#download-matrix table .download-button {
    font-weight: 100;
    font-size: 18px;
    text-align: center;
    color: #4A90E2;
    padding-right: 5px;
}
#download-matrix table .os-group:not(:first-of-type) {
    border-top: 1px solid rgba(55, 52, 117, .25);
}
.p40 {
    padding: 20px 0;
}
.ams {
    padding-right: 40px;
    text-align: left;
    line-height: 30px;
}
.ams a {
    color: #4181D7;
}

.dropdown {
    display: inline-block;
    position: relative;
    margin-top: 10px;
}
.btn-group {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.btn-group .btn:first-child:not(:last-child) {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}
.btn.btn-primary {
    background:  #4181D7;
    border-color:  #fff;
    color: #fff;
}
.btn1.btn-primary {
    background:  #4181D7;
    border-color:  #fff;
    color: #fff;
}
/*.dropdown .btn-group .dropdown-toggle:nth-last-child(2) {*/
/*    border-bottom-right-radius: .1rem;*/
/*    border-top-right-radius: .1rem;*/
/*}*/

.btn-group .btn:not(:first-child):not(:last-child) {
    border-radius: 0;
    margin-left: -.05rem;
}
.btn-group .btn.active, .btn-group .btn:active, .btn-group .btn:focus, .btn-group .btn:hover {
    z-index: 1;
}
.btn-group .btn {
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
}
/*.btn:focus {*/
/*    box-shadow: 0 0 0 .1rem rgba(87, 85, 217, .2);*/
/*}*/
.dropdown .dropdown-toggle:focus+.menu, .dropdown .menu:hover, .dropdown.active .menu {
    display: block;
}
/*.dropdown .menu {*/
/*    animation: slide-down .15s ease 1;*/
/*    display: none;*/
/*    left: 2px;*/
/*    max-height: 50vh;*/
/*    overflow-y: auto;*/
/*    position: absolute;*/
/*    top: 105%;*/
/*}*/
/*.menu {*/
/*    background: #fff;*/
/*    border-radius: 6px;*/
/*    box-shadow: 0 .05rem .2rem rgba(48, 55, 66, .3);*/
/*    list-style: none;*/
/*    margin: 0;*/
/*    min-width: 140px;*/
/*    padding: .4rem;*/
/*    transform: translateY(.2rem);*/
/*    z-index: 300;*/
/*}*/
/*.menu .menu-item {*/
/*    margin-top: 0;*/
/*    padding: 0 .4rem;*/
/*    position: relative;*/
/*    text-decoration: none;*/
/*}*/
/*.menu .menu-item i{*/
/*    margin-left: 5px;*/
/*}*/
/*.menu .menu-item>a {*/
/*    border-radius: .1rem;*/
/*    color: inherit;*/
/*    display: block;*/
/*    margin: 0 -.4rem;*/
/*    padding: .3rem .4rem;*/
/*    text-decoration: none;*/
/*}*/
.dropdown {
    position: relative;
}

.dropdown .menu {
    animation: slide-down 0.1s ease 1; /* 下拉动画 */
    visibility: hidden; /* 默认不可见 */
    opacity: 0; /* 初始透明 */
    display: block; /* 保持位置，配合动画 */
    left: 2px;
    max-height: 50vh;
    overflow-y: auto;
    position: absolute;
    top: 105%;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 0.05rem 0.2rem rgba(48, 55, 66, 0.3);
    list-style: none;
    margin: 0;
    min-width: 140px;
    padding: 0.4rem;
    transform: translateY(0.2rem);
    z-index: 300;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dropdown:hover .menu,
.menu:hover {
    visibility: visible; /* 鼠标悬停立即可见 */
    opacity: 1; /* 恢复不透明 */
}

.dropdown .menu {
    transition: visibility 0.3s linear 0.3s, opacity 0.3s ease; /* 鼠标移开延迟隐藏 */
}

.menu .menu-item {
    margin-top: 0;
    padding: 0 0.4rem;
    position: relative;
    text-decoration: none;
}

.menu .menu-item i {
    position: relative;
    top: 1px;
    margin-left: 5px;
}

.menu .menu-item > a {
    border-radius: 0.1rem;
    color: inherit;
    display: block;
    margin: 0 -0.4rem;
    padding: 0.3rem 0.4rem;
    text-decoration: none;
}

@keyframes slide-down {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.btn {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #fff;
    border: .05rem solid #4181D7;
    border-radius: .1rem;
    color: #4181D7;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    outline: 0;
    padding: 8px 36px;
    text-align: center;
    text-decoration: none;
    transition: background .2s, border .2s, box-shadow .2s, color .2s;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    vertical-align: middle;
    white-space: nowrap;
    border-radius: 8px;
    font-weight: 500;
}
.btn1 {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #fff;
    border: .05rem solid #4181D7;
    border-radius: .1rem;
    color: #4181D7;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    outline: 0;
    padding: 8px 10px;
    text-align: center;
    text-decoration: none;
    transition: background .2s, border .2s, box-shadow .2s, color .2s;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    vertical-align: middle;
    white-space: nowrap;
    border-radius: 0 6px 6px 0;
}
.menu .menu-item>a:focus, .menu .menu-item>a:hover {
    background: #f7faff;
    color: #4181D7;
}

@keyframes slide-down {
    0% {
        opacity: 0;
        transform: translateY(-0.5rem)
    }

    100% {
        opacity: 1;
        transform: translateY(0)
    }
}