.form-diy {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99999;
}
.form-box {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 696px;
    padding: 40px 36px 28px;
    background-color: #fff;
    transform: translate(-50%, -50%);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.close {
    position: absolute;
    right: 18px;
    top: 13px;
}
.close>i {
    color: #666;
    cursor: pointer;
}
.main {
    height: 650px;
    overflow: auto;
    font-size: 12px;
}
.good img{
    width: 70px;
    height: 70px;
    margin-bottom: 26px;
    object-fit: cover;
}
.good h3 {
    width: 78%;
    margin-left: 12px;
    color: #666;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
/*规格*/
.tb-key {
    width: 95%;
}
.tb-skin {
    color: #333;
}
.tb-skin .tb-sku>dl {
    margin-bottom: 20px;
}
.tb-skin .tb-sku>dl>dt {
    width: 66px;
    color: #333;
    margin-bottom: 15px;
}
.tb-skin .tb-sku>dl>dd {
    flex: 1;
    margin-inline-start: 0px;
}
.tb-skin .tb-sku dd.size>ul {
    flex-wrap: wrap;
}
.tb-skin .tb-sku dd.size a{
    display: block;
    padding: 0 7px;
    line-height: 28px;
    margin-right: 8px;
    margin-bottom: 8px;
    border: 1px solid #dcdcdc;
    text-align: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: #333;
}
.tb-skin .tb-sku dd.size a.no-good {
    background-color: #f2f2f2;
    color: #999;
    cursor: not-allowed;
}
.goods-color>ul{
    flex-wrap: wrap;
}
.goods-color>ul a {
    display: block;
    height: 31px;
    line-height: 31px;
    padding: 0 10px;
    margin-right: 8px;
    margin-bottom: 8px;
    background-color: #e5e5e5;
    text-align: center;
}
.goods-color>ul a.disable-color {
    background-color: #f2f2f2;
    color: #999;
    cursor: not-allowed;
}
/*赠品弹窗*/
.choose-gifts-list {
    width: 95%;
}
.choose-gifts-list h3 {
    line-height: 1;
    margin-bottom: 12px;
}
.choose-gifts-list ul li {
    color: #666;
    line-height: 32px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.choose-gifts-list ul li input {
    display: none;
}
.choose-gifts-list input[type="radio"] +label::before {
    content:'';
    display:inline-block;
    width:10px;
    height:10px;
    border-radius:50%;
    border:1px solid #bdbdbd;
    margin-right:15px;
}
.choose-gifts-list input[type="radio"]:checked + label::before {
    background-clip: content-box;
    background-color: #ff284b;
    border: 1px solid #ff284b;
    width:6px;
    height:6px;
    padding:2px;
}
.choose-gifts-list input[type="radio"]:disabled + label {
    color: #bdbdbd;
}
.choose-gifts-list input[type="radio"]:disabled + label:hover {
    cursor: not-allowed;
}
.choose-gifts-list input[type="radio"] {
    position:absolute;
    clip:rect(0,0,0,0);
}
.choose-gifts-list label{
    display:inline-flex;
    flex-direction:row;
    align-items:center;
}
.choose-gifts .btn {
    padding-top: 160px;
    text-align: center;
}
.choose-gifts .btn button{
    padding: 10px 35px;
    border: 1px solid #ccc;
    background-color: #f5f5f5;
    color: #333;
    font-size: 14px;
    cursor: pointer;
}
.choose-gifts .btn button:last-child {
    background-color: #ff284b;
    color: #fff;
    /* border: none; */
    border-color: #ff284b;
    margin-left: 20px;
}
/*表单*/
.form {
    width: 95%;
    margin-top: 40px;
}
.choose-num {
    position: absolute;
    left: 0;
    top: 6px;
    width: 94px;
    height: 24px;
    line-height: 22px;
    border: 1px solid #d2d2d2;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.choose-num>span {
    width: 22px;
    height: 22px;
    border-left: 1px solid #d2d2d2;
    cursor: pointer;
}
.choose-num>span:first-child {
    border-left: none;
    border-right: 1px solid #d2d2d2;
}
.choose-num input {
    width: 46px;
    background-color: transparent;
    font-size: 14px;
    color: #666;
    text-align: center;
}
.choose-num>span>i {
    width: 22px;
    height: 22px;
    display: inline-block;
    line-height: 22px;
    text-align: center;
}
.layui-form-item {
    margin-bottom: 20px;
}
.layui-input, .layui-select, .layui-textarea {
    height: 44px;
    line-height: 44px;
    border-radius: 4px;
    border: 1px solid #d2d2d2;
    color: #999;
}
.layui-form-label {
    color: #333;
}
.date-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    color: #999;
    cursor: pointer;
    transition: all .3s;
    -webkit-transition: all .3s;
    transform: translateY(-50%);
}
.layui-form-checked[lay-skin=primary] i {
    border-color: #ff284b;
    background-color: #ff284b;
}
.layui-btn {
    height: 44px;
    line-height: 44px;
    background-color: #ff284b;
}
.layui-btn+.layui-btn {
    margin-left: 18px;
}
.add-cart {
    border: 1px solid #ff284b;
    background-color: #ffedf0;
    color: #ff284b;
}
.upload {
    width: 60px;
    height: 60px;
    line-height: 60px;
    border: 1px solid #d2d2d2;
    text-align: center;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    cursor: pointer;
}
.upload>i {
    color: #999;
    font-size: 26px;
}
.imgContainer {
    position: relative;
    width: 60px;
    height: 60px;
    margin-right: 10px;
    margin-bottom: 10px;
}
.imgDelete {
    position: absolute;
    top: 0px;
    right: 0px;
    color: #666;
    cursor: pointer;
}
.img-upload img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}
.layui-upload-list {
    margin: 0;
}
.add-cart:hover {
    color: #ff284b;
}
.wrap {
    position:relative;
    width: 100%;
    height: 44px;
    border: 0;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}
.wrap>s {
    position: absolute;
    top: 50%;
    right: 7px;
    margin-top: -5px;
    border: 10px solid transparent;
    border-top-color: #999;

}
.city-picker-span {
    height: 44px;
    line-height: 44px;
    border-radius: 4px;
    border: 1px solid #d2d2d2;
    color: #999;
}
.city-picker-span > .placeholder {
    padding-left: 10px;
}
.city-picker-span.focus, .city-picker-span.open {
    border-bottom-color: #d2d2d2;
}
.city-picker-span > .title > span {
    color: #999;
}
.title {
    padding-left: 5px;
}
.title span {
    font-size: 12px;
}
.city-select.province dd {
    margin-left: 0;
}
.city-select a {
    display: inline-block;
    height: 35px;
    padding: 0 10px;
    margin-left: 6px;
    margin-top: 3px;
    line-height: 35px;
    text-align: center;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    overflow: hidden;
    background-color: #f5f5f5;
}
.city-select a:hover, .city-select a:focus, .city-select a.active {
    background-color: #ff284b;
    color: #fff !important;
}
.city-select-tab {
    border-bottom: 2px solid #ff284b;
    background-color: #fff;
}
.city-select-tab > a {
    display: inline-block;
    padding: 8px 22px;
    border: 0;
    color: #4D4D4D;
    text-align: center;
    outline: 0;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: -3px;
}
.city-select-tab > a.active {
    background-color: #ff284b;
    color: #fff;
}
.city-select-tab > a.active:hover {
    color: #fff !important;
}

.main::-webkit-scrollbar {/*滚动条整体样式*/
    width: 4px;     /*高宽分别对应横竖滚动条的尺寸*/
    height: 4px;
}
.main::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
    border-radius: 5px;
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    background: rgba(0,0,0,0.2);
}
.main::-webkit-scrollbar-track { /*滚动条里面轨道*/
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    border-radius: 0;
    background: rgba(0, 0, 0, 0.1);
}
i.noempty>svg {
    width: 1.5em;
    height: 1.5em;
    margin-right: -9px;
    margin-top: -5px;
    vertical-align: -webkit-baseline-middle;
}
.city-picker-dropdown {
    width: 100%;
    border: 1px solid #d2d2d2;
}