.dib {
    display: inline-block;
    cursor: default;
}

.tac {
    text-align: center;
}

.fl {
    float: left;
}

.dm-bg1 {
    padding: 48px 0;
}

.dm-search {
    width: 84%;
    height: 56px;
    line-height: 56px;
    border-radius: 12px 14px 14px 12px;
    border: 1px solid #FF8F32;
    border-right: 0;
    box-shadow: 0px 8px 40px 0px rgba(0, 0, 0, 0.04);
    margin: 0 auto;
    display: flex;
    background-color: #fff;
    position: relative;
}

.s-ico {
    margin: 16px;
    width: 24px;
    height: 24px;
}

#sinput {
    border: 0;
    padding: 0;
    width: 386px;
    font-size: 18px;
    color: rgba(0,0,0,0.9);
    /* 新增以下代码移除自动填充样式 */
    &:-webkit-autofill,
    &:-webkit-autofill:hover,
    &:-webkit-autofill:focus,
    &:-webkit-autofill:active {
        -webkit-box-shadow: 0 0 0 1000px white inset !important;
        -webkit-text-fill-color: rgba(0, 0, 0, 0.9) !important;
        transition: background-color 5000s ease-in-out 0s;
    }
}

#sinput:focus {
    outline: none;
}

.dm-suffix {
    position: absolute;
    right: 120px;
    text-decoration: none;
    cursor: pointer;
    padding-right: 4px;
}

.dm-suffix span {
    display: inline-block;
}

.dm-suffix b {
    float: right;
    background: url('../images/arrow-down.png') no-repeat center;
    width: 24px;
    height: 24px;
    margin-top: 17px;
    background-size: 100% 100%;
}

.up {
    transform: rotate(-180deg);
    -webkit-transform: rotate(-180deg);
}

.dm-s-pop {
    position: absolute;
    width: 100%;
    top: 62px;
    left: 0;
    right: 110px;
    display: none;
    background-color: #fff;
    box-shadow:
        0px 2px 4px -1px rgba(0,0,0,0.12),
        0px 4px 5px 0px rgba(0,0,0,0.08),
        0px 1px 10px 0px rgba(0,0,0,0.05);
    border: 1px solid #DCDCDC;
    z-index: 9;
}


.domain-tabs {
    display: flex;
    gap: 10px;
    padding-top: 6px;
    background: #FFFFFF;
    box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.04);
}

.tab-btn {
    background: #fff;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 14px;
    padding: 8px 12px;
}

.tab-btn.active {
    color: #FF6F0A;
    border-bottom: 2px solid #FF6F0A;
    font-weight: bold;
}

.domain-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 0px;
}

.domain-list li {
    position: relative;
    display: inline-flex;
    width: 110px;
    height: 26px;
    line-height: 26px;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease;
    align-items: center;
    padding: 0 4px;
}

.domain-list li span {
    colir: #2C3C4E;
    padding: 16px 8px;
}

.dm-s-pop li:hover {
    color: #FF6F0A;
}

.sous {
    position: absolute;
    right: 0;
    width: 120px;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    background-color: #FF8F32;
}

.dm1-h2, .dm2-h, .dm2-h1 {
    padding: 48px 0 32px;
    font-weight: 500;
    font-size: 32px;
    color: rgba(0, 0, 0, 0.9);
}

.dm2-h, .dm2-h1 {
    padding: 48px 0 32px;
}

.dm1-list p {
    margin: 28px 0 10px;
    font-size: 18px;
    color: #232323;
}

.dm1-list span {
    font-size: 13px;
    color: rgba(22,24,26,0.7);
}

.dm2 {
    padding-bottom: 96px;
}

.dm2-s li {
    width: 20%;
}

.dm2-s p {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    color: #292929;
    margin-top: 16px;
}

.dm2-s span, .separator {
    color: #9e9e9e;
}

.dm2-s1 li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.dm2-s1 img {
    margin-right: 10px;
}

.dm2-s1 p {
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.dm2-s1 p:hover {
    color: #FF6F0A;
}

.dm2-s1 li span {
    font-size: 12px !important;
    color: rgba(102,102,102,0.8);
}

/*特选优惠*/
.dm1-plist {
    display: grid;
    grid-template-columns: repeat(auto-fit, 302px);
    justify-content: center;
    gap: 10px;
    margin: 0px auto;
    list-style: none;
}

.dm1-plist a {
    width: 302px;
    height: 148px;
    box-sizing: border-box;
    padding: 4px;
    box-shadow:
        0px 2px 4px -1px rgba(0,0,0,0.12),
        0px 4px 5px 0px rgba(0,0,0,0.08),
        0px 1px 10px 0px rgba(0,0,0,0.05);
    border-radius: 12px;
    border: 1px solid #fff;
    transition: transform 0.3s ease, border 0.3s ease;
    cursor: pointer;
}

.p-more {
    position: absolute;
    font-size: 13px;
    color: rgba(0,0,0,0.6);
    right: 16px;
    top: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.p-more:after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background: url('../images/arrow-right-3.png') no-repeat center;
    background-size: 100% 100%;
    margin-left: 4px;
}

.dm1-plist a:hover .p-more {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s linear 0s;
}

.p-title {
    position: relative;
    width: 294px;
    height: 76px;
    line-height: 76px;
    background: #FFF9F4;
    border-radius: 8px;
    padding: 0 16px;
    box-sizing: border-box;
}

.p-weight {
    font-weight: bold;
}

.p-title .p-name {
    color: #16181A;
    font-size: 20px;
    line-height: 20px;
    margin-right: 15px;
}

.p-title .p-discount {
    color: #fff;
    font-size: 12px;
    padding: 4px 12px;
    background: #FF6F0A;
    border-radius: 12px 12px 12px 2px;
    border: 1px solid #FFF7EC;
}

.p-price {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 294px;
    height: 66px;
    padding: 0 16px;
    box-sizing: border-box;
}

.p-current-price {
    display: flex;
    align-items: center;
    color: #FF5500;
}

.p-current-price span:nth-child(1) {
    font-size: 20px;
}

.p-current-price span:nth-child(2) {
    font-size: 24px;
}

.p-current-price span:nth-child(3) {
    margin-left: 4px;
    margin-top: 4px;
    font-size: 13px;
    color: rgba(0,0,0,0.6);
}

.p-origin-price {
    font-size: 13px;
    color: rgba(0,0,0,0.6);
    margin-left: 8px;
    margin-top: 4px;
    position: relative;
}
/* 用伪元素自定义删除线位置 */
.p-origin-price::after {
    content: "";
    position: absolute;
    left: 0;
    top: 55%;
    width: 100%;
    height: 1px;
    background-color: rgba(0,0,0,0.5);
    transform: translateY(-50%);
}

.dm1-list li {
    margin-bottom: 48px;
    width: 33.3%;
}

@media (max-width: 767px) {
    .sous {
        width: 64px;
    }

    .dm-suffix {
        right: 64px;
    }

    #sinput {
        font-size: 14px;
        width: auto;
    }

    .s-ico {
        margin: 16px 6px;
    }

    .dm1-list li {
        width: 100%;
    }

    .dm2-s li {
        width: 100%;
        margin-bottom: 14px;
    }

    .p-more {
        opacity: 1;
        visibility: visible;
    }

    .dm2-s1 {
        padding-bottom: 16px !important;
    }

    .dm2-s p {
        margin-top: 0;
    }

    #sinput::placeholder {
        opacity: 0;
    }

    .dm-search {
        width: 96%;
    }

    .dm-s-pop {
        height: 410px;
        overflow-y: scroll;
    }

    .domain-list li {
        width: 28%;
    }
}
