﻿html, body, #app{
    height: 100%;
    margin: 0;
    font-family: "Avenir", Helvetica, Arial, sans-serif;
}

body, html {
    line-height: 1.42857143;
}

ol, ul {
    list-style: none
}

a {
    text-decoration: none;
    color: #333;
}

.qingwu {
    height: 100%;
}

/* 宽度1200 左右居中 */
.width_center_1200 {
    width: 1200px;
    margin: 0 auto;
}

.width_center_1200:after {
    display: block;
    clear: both;
    content: '';
}

/* 公共左浮动 */
.float_left {
    float: left;
}

.float_right {
    float: right;
}

/* 商城头部浮动 */
.shop_top {
    position: relative;
    height: 210px;
}

/* 商品列表 分类选择 */
.home_goods_cat_list .el-cascader .el-input .el-input__inner:focus, .home_goods_cat_list .el-cascader .el-input.is-focus .el-input__inner {
    border-color: #ccc;
}

.clear {
    clear: both;
}

.center_header .nav ul li a.router-link-active{
    background: #ff464e;
    color: #fff;
    line-height: 40px;
    width: 150px;
    text-align: center;
}


/*礼品详情*/
.img-container {
    position: relative;
}

.img-selector {
    position: absolute;
    cursor: crosshair;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.6);
}

.img-selector.circle {
    border-radius: 50%;
}

.img-out-show {
    position: absolute;
    background-repeat: no-repeat;
    transform: translate(100%, 0);
    border: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 2;
    background-color: #fff;
}

.img-selector-point {
    position: absolute;
    width: 4px;
    height: 4px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: black;
}

.img-out-show.base-line::after {
    position: absolute;
    box-sizing: border-box;
    content: '';
    width: 1px;
    border: 1px dashed rgba(0, 0, 0, 0.36);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.img-out-show.base-line::before {
    position: absolute;
    box-sizing: border-box;
    content: '';
    height: 1px;
    border: 1px dashed rgba(0, 0, 0, 0.36);
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.goods_info_content {
    border: 1px solid #efefef;
    margin-top: 30px;
}

.goods_info_content .title {
    line-height: 40px;
    background: #f0f0f0;
    text-align: center;
    width: 100%;
    color: #666;
}

.goods_info_content .content {
    color: #666;
    padding: 20px;
}

.purchase_dialog div span:first-child {
    margin-right: 30px;
}

.purchase_dialog div:first-child span:first-child {
    margin-right: 25px;
}

.purchase_dialog .storage_handle .item {
    border: 1px solid #CCC;
    position: relative;
    color: #666;
    padding: 2px 10px 2px 5px;
    line-height: 28px;
    min-width: 80px;
    text-align: center;
    float: left;
    margin: 2px;
    border-radius: 4px;
}

.purchase_dialog .storage_handle .item i {
    position: absolute;
    right: -19px;
    bottom: -4px;
    font-size: 40px;
}

.purchase_dialog .storage_handle .item:hover {
    cursor: pointer;
}

.purchase_dialog .storage_handle .item.red {
    border-color: #f64f6f;
    color: #f64f6f;
}

.purchase_dialog .storage {
    height: 45px;
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.purchase_dialog .storage span:last-child {
    color: #666;
    font-size: 14px;
    line-height: 35px;
    *margin-top: 2px;
}

.purchase_dialog .storage span:first-child {
    margin-right: 23px;
}

.purchase_dialog .num {
    height: 45px;
    display: flex;
    align-items: center;
}

.purchase_dialog .num span:last-child {
    color: #666;
    font-size: 14px;
    line-height: 35px;
    *margin-top: 2px;
}

.purchase_dialog .num span:first-child {
    margin-right: 25px;
}

.purchase_dialog .stock {
    height: 45px;
    display: flex;
    align-items: center;
}

.purchase_dialog .stock span:last-child {
    color: #666;
    font-size: 14px;
    line-height: 35px;
    *margin-top: 2px;
}

.purchase_dialog .wei {
    height: 45px;
    display: flex;
    align-items: center;
}

.purchase_dialog .wei span:last-child {
    color: #333;
    font-size: 14px;
    line-height: 35px;
    *margin-top: 2px;
}

.purchase_dialog .price {
    height: 45px;
    display: flex;
    align-items: center;
}

.purchase_dialog .price font {
    color: #FF0036;
    font-size: 18px;
    font-family: Arial;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    vertical-align: middle;
}

.purchase_dialog .price span:last-child {
    color: #FF0036;
    font-size: 24px;
    font-weight: bolder;
    font-family: Arial;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    vertical-align: middle;
}

.goods_info_top_right {
    float: left;
}

.goods_info_top_right .buy_btn {
    margin-top: 30px;
    line-height: 40px;
    color: #999;
    font-size: 14px;
}

.goods_info_top_right .buy_btn .btn {
    float: left;
    line-height: 40px;
    background: #ff8f22;
    color: #fff;
    cursor: pointer;
    min-width: 152px;
    font-size: 18px;
    margin-right: 15px;
    text-align: center;
}

.goods_info_top_right .buy_btn .btn:nth-child(2) {
    background: #ff464e;
    width: 210px;
}

.goods_info_top_right .buy_btn .text {
    float: left;
}

.goods_info_top_right .storage_handle .item {
    border: 1px solid #CCC;
    position: relative;
    color: #666;
    padding: 2px 10px 2px 5px;
    line-height: 28px;
    min-width: 80px;
    text-align: center;
    float: left;
    margin: 2px;
    border-radius: 4px;
}

.goods_info_top_right .storage_handle .item i {
    position: absolute;
    right: -20px;
    bottom: -4px;
    font-size: 40px;
}

.goods_info_top_right .storage_handle .item:hover {
    cursor: pointer;
}

.goods_info_top_right .storage_handle .item.red {
    border-color: #f64f6f;
    color: #f64f6f;
}

.goods_info_top_right .attr {
    float: left;
    margin-right: 35px;
    font-size: 14px;
    color: #999;
}

.goods_info_top_right .attr div span:first-child {
    margin-right: 30px;
}

.goods_info_top_right .attr div:first-child span:first-child {
    margin-right: 25px;
}

.goods_info_top_right .attr .storage {
    height: 45px;
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.goods_info_top_right .attr .storage span:last-child {
    color: #666;
    font-size: 14px;
    line-height: 35px;
    *margin-top: 2px;
}

.goods_info_top_right .attr .storage span:first-child {
    margin-right: 23px;
}

.goods_info_top_right .attr .num {
    height: 45px;
    display: flex;
    align-items: center;
}

.goods_info_top_right .attr .num span:last-child {
    color: #666;
    font-size: 14px;
    line-height: 35px;
    *margin-top: 2px;
}

.goods_info_top_right .attr .num span:first-child {
    margin-right: 25px;
}

.goods_info_top_right .attr .stock {
    height: 45px;
    display: flex;
    align-items: center;
}

.goods_info_top_right .attr .stock span:last-child {
    color: #666;
    font-size: 14px;
    line-height: 35px;
    *margin-top: 2px;
}

.goods_info_top_right .attr .wei {
    height: 45px;
    display: flex;
    align-items: center;
}

.goods_info_top_right .attr .wei span:last-child {
    color: #333;
    font-size: 14px;
    line-height: 35px;
    *margin-top: 2px;
}

.goods_info_top_right .attr .price {
    height: 45px;
    display: flex;
    align-items: center;
}

.goods_info_top_right .attr .price font {
    color: #FF0036;
    font-size: 18px;
    font-family: Arial;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    vertical-align: middle;
}

.goods_info_top_right .attr .price span:last-child {
    color: #FF0036;
    font-size: 24px;
    font-weight: bolder;
    font-family: Arial;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    vertical-align: middle;
}

.goods_info_top_right .goods_name {
    font-size: 18px;
    line-height: 26px;
    color: rgba(0, 0, 0, 0.85);
    font-weight: 700;
    margin-bottom: 2px;
}

.goods_info_top_right .goods_subname {
    font-size: 14px;
    line-height: 36px;
    color: #f64f6f;
    font-weight: 400;
    margin-bottom: 15px;
}

.goods_info_top_left {
    width: 402px;
    border: 1px solid #efefef;
    margin-right: 28px;
    float: left;
    box-sizing: border-box;
}

.goods_info_top_left .goods_image_item {
    width: 400px;
    height: 400px;
    display: block;
    border-bottom: 1px solid #efefef;
}

.goods_info_top_left .pic_zoom_list ul li {
    float: left;
    margin: 10px 10px 10px 0;
    border: 1px solid #efefef;
}

.goods_info_top_left .pic_zoom_list ul li img {
    width: 60px;
    height: 60px;
}

.goods_info_top_left .pic_zoom_list ul li:hover {
    border-color: #ff464e;
}

.goods_info_top_left .pic_zoom_list ul li:last-child {
    margin-right: 0;
}

.goods_info_top_left .pic_zoom_list ul li.border_color {
    border-color: #ff464e;
}

.goods_info_top_left .pic_zoom_list .pic_zoom_list_left {
    font-size: 24px;
    float: left;
    line-height: 80px;
    color: #666;
    margin-right: 10px;
    margin-left: 10px;
}

.goods_info_top_left .pic_zoom_list .pic_zoom_list_left :hover {
    color: #ff464e;
}

.goods_info_top_left .pic_zoom_list .pic_zoom_list_right {
    font-size: 24px;
    float: right;
    line-height: 80px;
    color: #666;
    margin-right: 10px;
    margin-left: 10px;
}

.goods_info_top_left .pic_zoom_list .pic_zoom_list_right :hover {
    color: #ff464e;
}

.mbx {
    line-height: 60px;
    font-size: 14px;
    color: #666;
}

.goods_page_nav {
    font-size: 16px;/*字体大小*/
    margin-top: 10px;
    border-bottom: 2px solid #ff464e;
}

.goods_page_nav .goods_nav_in {
    width: 1200px;
    margin: 0 auto;
}

.goods_page_nav .goods_nav_in .right_text {
    float: right;
    line-height: 40px;
}

.goods_page_nav .goods_nav_in .right_text a {
    color: #ff464e;
}

.goods_page_nav .goods_nav_in .right_text a:hover {
    color: #666;
}

.goods_page_nav .goods_nav_in ul li {
    float: left;
    line-height: 40px;
    width: 150px;
    text-align: center;
}

.goods_page_nav .goods_nav_in ul li.red {
    background: #ff464e;
}

.goods_page_nav .goods_nav_in ul li.red a {
    color: #fff;
}

.goods_page_nav .goods_nav_in ul:after {
    content: "";
    display: block;
    clear: both;
}

.goods_disabled {
    background: #efefef !important;
}

.goods_info_num_jian, .goods_info_num_jia, .goods_disabled {
    border-radius: 3px;
    width: 40px;
    height: 40px;
    line-height: 25px;
    text-align: center;
    float: left;
    margin-right: 5px;
    color: #c0c4cc;
    /*background: #dddddd;*/
    background: #efefef;
}

.goods_info_num_jian i, .goods_info_num_jia i, .goods_disabled i {
    line-height: 40px;
    font-size: 16px;
    font-weight: bold;
}

.goods_info_num_jian:hover, .goods_info_num_jia:hover, .goods_disabled:hover {
    cursor: pointer;
}

.goods_info_num_stock {
    line-height: 40px;
    float: left;
    color: #333;
}

.goods_info_num_input {
    float: left;
}

.goods_info_num_input input {
    height: 40px;
    border: 1px solid #efefef;
    outline: none;
    width: 80px;
    margin-right: 5px;
    box-sizing: border-box;
    padding: 0 8px;
    color: #333;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}
