body {
    padding: 0;
    margin: 0;
    font-size: 12px;
    font-family: 'Microsoft YaHei';
    background-color: #efefef;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
}

/* 左浮动 */
.f-left {
    float: left;
}

/* 右浮动 */
.f-right {
    float: right;
}

/* 文本居中对齐 */
.text-center {
    text-align: center;
}

/* 文本左对齐 */
.text-left {
    text-align: left;
}

/* 文本左对齐 */
.text-right {
    text-align: right;
}

/* 头部 */
#header {
    height: 140px;
    line-height: 140px;
    padding: 0 50px;
    background-color: #000;
    color: #fff;
}

#header a {
    color: #fff;
}

#header #logo {
    display: inline-block;
    width: 330px;
    padding-left: 20px;
    margin-top: 10px;
    cursor: pointer;
}

#header #logo img {
    width: 100%;
}

#header .head-func {
    font-size: 20px;
}

#header .head-func .shopping-cart-button {
    padding-right: 30px;
    
}

#header .head-func .shopping-cart-button>.icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(../img/shopping-cart.png);
    background-size: 100% 100%;
}

#header .head-func .shopping-cart-button>.shopping-tips {
    width: 20px;
    height: 30px;
    padding: 0 6px;
    background-color: red;
    border-radius: 50%;
}

#header .head-func #open-login {
    cursor: pointer;
}

/* 导航 */
#navigation {
    background-color: #171717;
    height: 80px;
    line-height: 80px;
    color: #fff;
    font-size: 18px;
    padding: 0 150px;
}

#navigation>div {
    max-width: 1280px;
    margin: 0 auto;
    display: inline;
}

#navigation>div ul,
#navigation>div ul li {
    display: inline;
    position: relative;
    text-align: center;
    margin-right: 20px;
}

#navigation>div ul li.check::before {
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    margin: 0 auto;
    background-color: #fff;
    width: 30px;
    height: 3px;
    content: '';
}

#navigation>div input {
    display: inline;
}

#navigation>div img {
    vertical-align: middle;
}

#navigation>div .search {
    vertical-align: middle;
    border: 1px solid #fff;
    border-radius: 20px;
    line-height: 0;
    padding: 5px 10px;
    margin-top: 20px;
}

#navigation>div .search input {
    background-color: #171717;
    border: none;
    color: #fff;
}
#navigation>div .search input:focus-visible {
    outline: none;
}

/* 脚部 */
#footer {
    width: 100%;
    background-color: #171717;
    color: #fff;
    font-size: 14px;
}

#footer .footer-content {
    width: 1280px;
    margin: 0 auto;
    text-align: center;
    padding: 30px 0;
}


#footer ul {
    height: 24px;
}

#footer ul li {
    display: inline;
    border-right: #fff 1px solid;
    padding: 0 3px;
}

#content {
    min-height: 650px;
    padding-bottom: 80px;
}

.tips {
    color: #f32727
}

/* 会话框 */
.dialog {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    margin: auto;
    border: 1px #000 solid;
    border-radius: 10px;
    overflow: hidden;
    z-index: 2;
}

.dialog .dialog-title {
    background-color: #3b3b3b;
    color: #fff;
    text-align: center;
    padding: 15px 0 25px 0;
    font-size: 30px;
    position: relative;
    z-index: -1;
}

.dialog .dialog-title>span {
    cursor: pointer;
    position: absolute;
    right: 20px;
}

.dialog .dialog-body {
    background-color: #fff;
    height: 100%;
    margin-top: -10px;
    border-radius: 10px;
}

/* 购物车弹框 */
.dialog .dialog-body .shopping-cart-box {
    text-align: center;
    padding: 40px;
}

/* 购物车弹框 */
.dialog .dialog-body .shopping-cart-box h2 {
    font-size: 30px;
    margin: 0;
    padding: 50px;
    color: #3b3b3b;
}

.dialog .dialog-body .shopping-cart-box button {
    padding: 10px;
    font-size: 25px;
    margin: 0 20px;
    width: 150px;
    border-radius: 10px;
    cursor: pointer;
}

.dialog .dialog-body .shopping-cart-box button:first-child {
    background-color: #3b3b3b;
    color: #fff;
}

.dialog .dialog-body .shopping-cart-box button:last-child {
    background-color: #fff;
    color: #3b3b3b;
}

/* 登录弹框 */
.dialog .dialog-body .login-box {
    text-align: center;
    padding: 40px 60px 60px 60px;
    color: #d0d0d0;
}

.dialog .dialog-body .login-box input {
    border: 0;
    width: 80%;
    border-left: 1px solid #d0d0d0;
    padding: 6px 10px;
    font-size: 20px;
    vertical-align: middle;
}

.dialog .dialog-body .login-box input:focus-visible {
    outline: none;
}

.dialog .dialog-body .login-box img {
    height: 32px;
}

.dialog .dialog-body .login-box a {
    font-size: 20px;
    color: #797979;
    cursor: pointer;
    border-bottom: 1px #797979 solid;
}

.dialog .dialog-body .login-box .user-name-box,
.dialog .dialog-body .login-box .password-box {
    border: 1px solid #d0d0d0;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.dialog .dialog-body .login-box .auth-code-box {
    border: 1px solid #d0d0d0;
    border-radius: 10px;
    margin: 20px 0;
    text-align: left;
}

.dialog .dialog-body .login-box .auth-code-box input {
    border-left: none;
    width: 200px;
    padding: 26px;
}

.dialog .dialog-body .login-box .auth-code-box button {
    width: 200px;
    margin-top: 0;
    cursor: pointer;
    background-color: #d0d0d0;
    border-color: #d0d0d0;
}

.dialog .dialog-body .login-box button {
    width: 100%;
    padding: 20px;
    border-radius: 10px;
    background-color: #3b3b3b;
    color: #fff;
    font-size: 25px;
    margin-top: 60px;
    cursor: pointer;
}

/* 地址弹框 */
.dialog .dialog-body .address-box {
    text-align: center;
    padding: 40px 60px 60px 60px;
    color: #d0d0d0;
}

.dialog .dialog-body .address-box input {
    border: 0;
    width: 100%;
    padding: 6px 10px;
    font-size: 20px;
    vertical-align: middle;
}

.dialog .dialog-body .address-box input:focus-visible {
    outline: none;
}

.dialog .dialog-body .address-box img {
    height: 32px;
}

.dialog .dialog-body .address-box a {
    font-size: 20px;
    color: #797979;
    cursor: pointer;
    border-bottom: 1px #797979 solid;
}

.dialog .dialog-body .address-box .user-name-box,
.dialog .dialog-body .address-box .password-box,
.dialog .dialog-body .address-box .detail-box {
    border: 1px solid #d0d0d0;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.dialog .dialog-body .address-box .detail-box textarea {
    width: 100%;
    border: none;
    padding: 6px 10px;
    font-size: 20px;
    resize: none;
}

.dialog .dialog-body .address-box .detail-box textarea:focus-visible {
    outline: none;
}

.dialog .dialog-body .address-box .auth-code-box {
    border: 1px solid #d0d0d0;
    border-radius: 10px;
    margin: 20px 0;
    text-align: left;
}

.dialog .dialog-body .address-box .auth-code-box input {
    border-left: none;
    width: 200px;
    padding: 26px;
}

.dialog .dialog-body .address-box .auth-code-box button {
    width: 200px;
    margin-top: 0;
    cursor: pointer;
    background-color: #d0d0d0;
    border-color: #d0d0d0;
}

.dialog .dialog-body .address-box button {
    width: 100%;
    padding: 20px;
    border-radius: 10px;
    background-color: #3b3b3b;
    color: #fff;
    font-size: 25px;
    margin-top: 60px;
    cursor: pointer;
}

/* 面包屑 */
#breadcrumb {
    padding: 35px 100px;
    font-size: 20px;
    color: #676767;
}

#breadcrumb a {
    color: #676767;
}

.input-number {
    border-radius: 5px;
    border: 1px solid #d4d4d4;
    padding: 5px 0;
    overflow: hidden;
}

.input-number>span{
    padding: 5px 10px;
    border-left: 1px solid #d4d4d4;
    font-size: 16px;
    cursor: pointer;
}

.input-number input {
    padding: 0;
    margin: 0;
    border: none;
    width: 25px;
    text-align: center;
}

.input-number input:focus-visible {
    outline: none;
}

.input-number>span:first-child {
    border: none;
}

/* 客服按钮 */
.service-box {
    width: 70px;
    height: 96px;
    position: fixed;
    top: 50%;
    right: 5px;
    z-index: 1;
}

.service-box .service-box-content {
    padding-top: 15px;
    width: 68px;
    height: 79px;
    background: #fff;
    border: 1px solid #dcdcdc;
    display: block;
    border-radius: 9px;
    overflow: hidden;
    cursor: pointer;
}

.service-box .service-box-content i {
    margin: 0 auto;
    display: block;
    width: 41px;
    height: 39px;
    background: url(../img/service.png);
    background-position: -2px -2px;
}

.service-box .service-box-content span {
    display: block;
    padding-top: 8px;
    text-align: center;
    color: #626262;
}

.service-box .service-box-content:hover {
    background: #202020;
    border-color: #fff;
}

.service-box .service-box-content:hover i {
    background-position: -47px -2px;
}

.service-box .service-box-content:hover span {
    color: #fff;
}

.hidden {
    display: none;
}

.cursor-pointer {
    cursor: pointer;
}

.logo {
    width: 200px;
    height:109px;
    display: inline-block;
    object-fit: contain;
}

#footer .footer-content {
   position: relative;
}

#footer .footer-content .logo {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
#footer .concat-wrapper li {
   padding: 0 10px;
}

#footer .concat-wrapper li a {
   color: inherit;
}

#footer .concat-wrapper li:last-of-type {
    border-right: none;
}

/* 脚部 */
#footer {
   
    color: #171717;
    background-color: #fff;
}

#footer ul li {
    border-right-color: #171717;
}

/* 头部 */
#header {
  
    color: #000;
    background-color: #fff;
    position: relative;
}
#header::before {
    position: absolute;
    content: ' ';
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
}

#header .open-login {
  color: inherit;
}

/* 导航 */
#navigation {
    color: #171717;
    background-color: #efefef;
    
}
