@charset "utf-8";
/* 样式归0开始 */
* {
    margin: 0;
}
html,
body {

    font-family: var(--general_font_family);
    font-style: var(--general_font_style);
    font-weight: var(--general_font_weigth);
    font-size: var(--general_font_size);
    width: 100%;
    color: var(--main_color);
    line-height: var(--general_line_height);
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    background-color: var(--page_background_color);
    word-wrap:break-word;
}

html {
    overflow-y: scroll;
}

td {
    font-size: var(--general_font_size);
}
iframe{
    border: 0;
}
input,
button,
textarea {
    font-size: var(--general_font_size);
    outline: none;
    border: none;
    -webkit-appearance: none;
    color: var(--color-main);
    font-family: var(--general_font_family);
}
select{
    font-family: var(--general_font_family);
    font-size: var(--general_font_size);
}

input:disabled {
    color: var(--disable-color);
}

input[type=text],
input[type=password] {
    line-height: 1;
    -webkit-appearance: none;
}

input::-moz-placeholder {
    color: var(--color-input-placeholder);
}

input:-ms-input-placeholder {
    color: var(--color-input-placeholder);
}

input::placeholder {
    color: var(--color-input-placeholder);
}

textarea::placeholder {
    color: var(--color-input-placeholder);
}

input[type=button],
button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select {
    font-size: 1rem;
}

textarea {
    overflow: auto;
    font-size: 1rem;
}

img {
    border: 0px;
    vertical-align: top;
}

ul,
li {
    list-style-type: none;
}


ul,
li,
p,
div,
input,
ol {
    padding: 0px;
    margin: 0px;
}

a {
    color: var(--main_color);
    text-decoration: none;
    outline-style: none;
}




.title {
    text-align: center;
    margin-top: calc(var(--general_layout_spacing) * var(--title_margin_bottom_scale));
    margin-bottom: calc(var(--general_layout_spacing) * var(--title_margin_bottom_scale));
    position: relative;
    color: var(--title_color);
    font-size: var(--title_font_size);
    font-family: var(--title_font_family);
    font-style: var(--title_font_style);
    font-weight: var(--title_font_weigth);
    letter-spacing: var(--title_letter_spacing);
    padding: 0 0 20px;
}
.title:before{
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    margin-left: -25px;
    width: 50px;
    height: 1px;
    background: var(--title_color);

}


/*积木块样式*/
.block_title {
    margin-bottom: calc(var(--general_layout_spacing) * var(--title_margin_bottom_scale));
    text-align: left;
    padding: 0;
    position: relative;
}

.block_title h2 {
    font-size: var(--title_font_size);
    color: var(--title_color);
    font-family: var(--title_font_family);
    font-style: var(--title_font_style);
    font-weight: var(--title_font_weigth);
    letter-spacing: var(--title_letter_spacing);
    position: relative;
    line-height: 1;
    
}

.block_title .block_detail {
    color: var(--detail_color);
    max-width: 100%;
    margin: 0 auto;
    margin-top: calc(var(--general_layout_spacing) * 0.25);
    padding: 0 !important;
}



.product_tag_list {
    position: absolute;
    right: 20px;
    bottom: 20px;
    top: auto;
    left: auto;
    width: auto;
    display: flex;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.product_tag_list .mobile_product_view{
    display: none;
}

.fall-item:hover .product_tag_list,
li:hover .product_tag_list {
    opacity: 1;
    visibility: visible;
}

.product_tag_list a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    margin: 0;
    border-radius: 50%;
    background-color: #fff;
    transition: all 0.3s;
    box-shadow: 0px 6px 6px 0px rgb(0 0 0 / 10%);
}
.product_tag_list a:hover{
    opacity: .95;
    transform: none;
}
.product_tag_list a svg{
    fill: #333;
}
.block_product_name a{
    font-size: var(--general_font_size);
    /* text-align: left; */
}
.block_product_name a:hover{
    color: var(--title_color);
}
.product_pic .soldout{
    position: absolute;
    left: 20px;
    bottom: 30px;
    width: calc(100% - 40px);
    height: 34px;
    line-height: 34px;
    background-color: #d6d6d6;
    color: #f6f6f6;
}
.block_product_name{
    font-family: var(--title_font_family);
}
.discount_tag.label_style_1,
.discount_tag.label_style_2,
.discount_tag.label_style_3,
.discount_tag.label_style_4{
    overflow: hidden;
}
.mobile_product_view{
    display:none;
}
.block_collection_recommend .product_pic .soldout,
.collection_detail_default .product_pic .soldout,
.block_collection_waterfall .product_pic .soldout,
.block_collection_tab .product_pic .soldout,
.block_collection_slides .product_pic .soldout,
.block_collection_list .product_pic  .soldout {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 120px !important;
    height: 120px !important;
    margin: -60px 0 0 -60px !important;
    border-radius: 50% !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background: rgba(0, 0, 0, .3) !important;
    color: #fff !important;
}


.collection_list_default .collection_content li .collection_pic .collection_name{
    text-align: center !important;
}

.minicart .minicart_top .close_btn svg{
    fill: #a6a6a6;
}
.minicart .product_info_name{
    font-size: var(--general_font_size);
}
.block_image2 .block_image2_content .image-two-item{
    border: 1px solid #E8E8E1;
}
@media (max-width: 768px) {
    .product_tag_list{
        opacity: 1;
        visibility: visible;
        right: 10px;
        bottom: 10px;
    }
    .mobile_product_view{
        display:block;
        margin-top: 20px;
    }
    .solgan-warp .solgan-flex .solgan-flex-item {
        padding: 0;
    }
    .discount_tag.label_style_1{
        transform: none; 
        top: 0; 
        right: 0; 
    }
    .block_title{
        margin-bottom: calc(var(--general_layout_spacing) * 0.5);
    }
    .title, 
    .mo-header .header-title, 
    .general_title-color, 
    .block_image .content-title, 
    .block_title h2 {
        font-size: calc(var(--title_font_size) * var(--wap_title_scale));
    }
    
}
@media (max-width: 767px) {
    .discount_tag.label_style_1 .discount_tag_name{
        font-size: 12px;
        line-height: 14px;
        top: 3px;
        left: -2px;
    }
    .discount_tag.label_style_1{
        width: 60px;
        height: 60px;
        line-height: 60px;
    }
    .discount_tag.label_style_1 .discount_tag_graphics{
        border-top: 60px solid var(--discount_tag_bg);
        border-left: 60px solid transparent;
    }
    .discount_tag.label_style_2 .discount_tag_name{
        font-size: 12px;
        width: 34px;
        padding: 6px 0;
    }
    .discount_tag.label_style_3 .discount_tag_name{
        font-size: 12px;
        top: -16px;
        left: 16px;
    }
    .discount_tag.label_style_4{
        right: 0;
        top: 0;
        font-size: 12px;
        width: 40px;
        height: 40px;
    }
    .discount_tag.label_style_4 .discount_tag_name{
        line-height: 14px;
    }
    .block_collection_recommend .collection_product_wap_2 .product_pic .soldout,
    .collection_detail_default .collection_product_wap_2 .product_pic .soldout,
    .block_collection_waterfall .product_pic .soldout,
    .block_collection_tab .collection_product_wap_2 .product_pic .soldout,
    .block_collection_slides .product_pic .soldout,
    .block_collection_list .collection_product_wap_2 .product_pic .soldout {
        width: 80px !important;
        height: 80px !important;
        margin: -40px 0 0 -40px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 767px){
    .product-swiper-small .swiper-container-small .swiper-small-item{
        width: 45px !important;
        height: 45px  !important;
        border-radius:0 !important;
        border: none !important;     
          
    }
    .product-swiper-small .swiper-container-small .active{
        border: 2px solid var(--color-main) !important;
    }

    .product-swiper-small .swiper-container-small .swiper-small-item img{
        display: block !important;
    }  
    .product-swiper-small .arrow{
        display: none !important;
    }
}

.pc_nav{
    overflow: hidden;
  }
  @media screen and (max-width: 767px) {
    .pc_nav{
      display: none;
    }
  }
  .custom_nav > ul {
    height: var(--height);
    display: inline-flex;
    justify-content: flex-start;
  }
  .custom_nav > ul a {
    color: var(--menu-color);
  }
  
  .custom_nav > ul > li {
    padding: 0 15px;
    display: block;
    list-style-type: none;
    position: relative;
    z-index: 99;
  }
  
  .custom_nav > ul > li:first-child {
    margin-left: 0;
  }
  
  .custom_nav > ul > li > span > .nav-li-a {
    display: flex;
    align-items: center;
    font-size: 14px;
    position: relative;
    height: 100%;
    white-space: nowrap;
  }
  
  .custom_nav > ul > li > span {
    display: flex;
    justify-content: space-between;
    height: 100%;
    align-items: center;
    cursor: pointer;
  }
  
  .custom_nav > ul > li > span > svg {
    margin-left: 10px;
    opacity: 0.6;
  }
  .custom_nav > ul > li > span > svg path {
    fill: var(--menu-color);
  }
  
  .custom_nav > ul > li > .nav-li-a:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    display: block;
    width: 0;
    height: 3px;
    background-color: #333;
    transition: width 0.2s;
  }
  
  .custom_nav > ul > li > .nav-child {
    position: absolute;
    min-width: 200px;
    box-shadow: 0 0 2px #ddd;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    font-size: 14px;
    max-height: calc(100vh - 126px);
    overflow: auto;
  }
  
  .custom_nav > ul > li > .nav-child > a {
    display: block;
    line-height: 2;
    transition: all 0.3s;
    white-space: nowrap;
    opacity: 0.6;
  }
  
  .custom_nav li .nav-child > a:hover {
    text-decoration: underline;
    opacity: 1;
  }
  
  .custom_nav li.more_link,
  .custom_nav li.nav-child-three {
    position: static;
  }
  
  .custom_nav li.nav-child-three .nav-child {
    width: 100%;
    left: 0;
    padding: 0;
    max-height: calc(100vh - 126px);
    overflow: auto;
  }
  
  .custom_nav li.nav-child-three .nav_container_wrapper {
    display: flex;
    flex-wrap: wrap;
    padding: 20px 50px;
    box-sizing: border-box;
  }
  
  .custom_nav li.nav-child-three .nav-child dl {
    width: 25%;
    margin-bottom: 30px;
  }
  
  .custom_nav li.nav-child-three .nav-child dl a {
    display: block;
    line-height: 2;
    transition: all 0.3s;
    position: relative;
  }
  
  .custom_nav li.nav-child-three .nav-child dl a:hover {
    text-decoration: underline;
    color: var(--menu-color);
  }
  
  .custom_nav li.nav-child-three .nav-child dl dd a {
    font-size: 14px;
    opacity: 0.6;
  }
  
  .custom_nav li.nav-child-three .nav-child dl dt {
    margin-bottom: 5px;
  }
  
  .custom_nav li.nav-child-three .nav-child dl dt a {
    font-size: 16px;
  }
  
  .custom_nav li.nav-child-three .nav-child dl dd a {
    font-size: 14px;
    opacity: 0.6;
  }
  
  .custom_nav li.nav-child-second .nav-child dl dt {
    margin-bottom: 5px;
  }
  
  .custom_nav li.nav-child-second .nav-child dl dt a {
    font-size: 16px;
  }
  .custom_nav > ul > li:hover{
    background-color: var(--menu-color);
  }
  .custom_nav > ul > li:hover>span>a{
    color: var(--bg) !important;
  }
  
  .custom_nav > ul > li:hover > .nav-child {
    opacity: 1;
    visibility: visible;
    background-color: var(--menu-color);
    transition: opacity 0.3s;
  }
  .custom_nav > ul > li:hover > .nav-child a{
    color: var(--bg) !important;
  }
  
  .custom_nav li.more_link:hover .more_link_child {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s;
  }
  
  .custom_nav li.more_link .more_link_child {
    width: 100%;
    max-height: calc(100vh - 126px);
    overflow: auto;
    position: absolute;
    left: 0;
    box-shadow: 2px 0px 2px #ddd;
    opacity: 0;
    visibility: hidden;
  }
  .custom_nav li.more_link:hover .more_link_child{
    background-color: #fff;
  }
  .custom_nav li.more_link:hover .more_link_child a{
    color: var(--bg) !important;
  }
  
  .custom_nav > ul > li.more_link .more_link_child > .nav_container_wrapper {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    padding: 20px 50px;
  }
  
  .custom_nav > ul > li.more_link .more_link_child > .nav_container_wrapper > .nav-child {
    padding: 30px 20px;
    width: 75%;
    box-sizing: border-box;
  }
  
  .custom_nav > ul > li.more_link .more_link_child > .nav_container_wrapper > .nav-child > .nav_container_wrapper {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    gap: 20px;
  }
  
  .custom_nav > ul > li.more_link .more_link_child > .nav_container_wrapper > .nav-child > a {
    display: block;
    height: 34px;
    line-height: 34px;
    opacity: 0.6;
  }
  
  .custom_nav > ul > li.more_link .more_link_child > .nav_container_wrapper > .nav-child > a:hover {
    opacity: 1;
  }
  
  .custom_nav > ul > li.more_link .more_link_child ul {
    padding: 30px 0;
    width: 25%;
  }
  
  .custom_nav > ul > li.more_link .more_link_child > .nav_container_wrapper > ul > li > span {
    display: flex;
    justify-content: space-between;
    height: 100%;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
    transition: all 0.3s;
    min-height: 40px;
  }
  
  .custom_nav > ul > li.more_link .more_link_child > .nav_container_wrapper > ul > li > span > .nav-li-a {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .custom_nav > ul > li.more_link .more_link_child > .nav_container_wrapper > ul > li > span:hover,
  .custom_nav > ul > li.more_link .more_link_child > .nav_container_wrapper > ul > li.on > span {
    box-shadow: inset 0 0 200px rgba(0, 0, 0, 0.1);
    cursor: pointer;
  }
  
  .custom_nav > ul > li.more_link .more_link_child li > span > svg {
    transform: rotate(-90deg);
  }
  
  .custom_nav > ul > li.more_link .more_link_child li > span > svg > path {
    fill: var(--menu-color);
  }
  
  .custom_nav > ul > li.more_link .more_link_child li > .nav-child {
    opacity: 0;
    visibility: hidden;
    height: 0;
  }
  
  .custom_nav > ul > li.more_link .more_link_child > .nav_container_wrapper > .nav-child > .nav_container_wrapper dt {
    font-size: 16px;
    margin-bottom: 5px;
    line-height: 2;
  }
  .custom_nav > ul > li.more_link .more_link_child > .nav_container_wrapper > .nav-child > .nav_container_wrapper dt a:hover {
    text-decoration: underline;
  }
  
  .custom_nav > ul > li.more_link .more_link_child > .nav_container_wrapper > .nav-child > .nav_container_wrapper dd a {
    line-height: 2;
    opacity: 0.6;
    transition: all 0.3s;
  }
  .custom_nav > ul > li.more_link .more_link_child > .nav_container_wrapper > .nav-child > .nav_container_wrapper dd a:hover {
    text-decoration: underline;
    opacity: 1;
  }
  
  /***********/

  .text-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    word-break: normal;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    width: 100%;
}


  .collection_content li{
    text-align: left !important;
  }

  .block_default_product_recommend .swiper {
    text-align: left !important;
  }
  .block_collection_waterfall .block_collection_product li {
    text-align: left !important;
  }
  .block_collection_list .block_collection_product li {
    text-align: left !important;
  }


