@font-face {
    font-family: "Brandon";
    src: url("../fonts/Brandon_Text/BrandonText-Bold.otf");
    font-weight: 700;
    unicode-range: U+00-024F
}
@font-face {
    font-family: "Brandon";
    src: url("../fonts/Brandon_Text/BrandonText-Light.otf");
    font-weight: 300;
    unicode-range: U+00-024F
}
@font-face {
    font-family: "Brandon";
    src: url("../fonts/Brandon_Text/BrandonText-Thin.otf");
    font-weight: 100;
    unicode-range: U+00-024F
}
@font-face {
    font-family: "Brandon";
    src: url("../fonts/Brandon_Text/BrandonText-Regular.otf");
    font-weight: 500;
    unicode-range: U+00-024F
}
@font-face {
    font-family: "GlowSans";
    src: url("../fonts/Glow_Sans/GlowSansSC-Condensed-Light.otf");
    font-weight: 300;
}
@font-face {
    font-family: "GlowSans";
    src: url("../fonts/Glow_Sans/GlowSansSC-Condensed-Book.otf");
    font-weight: 500;
}
@font-face {
    font-family: "GlowSans";
    src: url("../fonts/Glow_Sans/GlowSansSC-Condensed-Bold.otf");
    font-weight: 700;
}
:root {
    --letterSpacingFactor: 0;
    --lightGray: #eee;
    --textAlign: justify;
    --mainColor:#555;
    --maxBodyWidth:1000px;
}
body {
    margin: 0 auto;
    max-width: var(--maxBodyWidth);
    font-weight: 300;
    font-family: Brandon ,GlowSans, sans-serif;
    color: var(--mainColor);
}
p {
    line-height: 1.8em;
    text-align: var(--textAlign);
    letter-spacing: calc(0.25em * var(--letterSpacingFactor));
    margin:0 0 0.8em 0;
}
h1 {
    color: white;
    font-size: 1.6em;
    font-weight: 700;
}
h3 {
    font-size: 1.3em;
    letter-spacing: calc(0.3em * var(--letterSpacingFactor));
    font-weight: 100;
    text-align: left;
    color: var(--mainColor);
    margin:0 0 1.5em 0;
    text-transform: uppercase; 
}
h4{
    margin: 0 0 0.5em 0;
    letter-spacing: calc(0.3em * var(--letterSpacingFactor));
}
h5 {
    font-size: 1em;
    font-weight: 500;
    margin:0.8em 0 0.3em 0; 
}
#Home{
    margin: 0 !important;
    padding: 0 !important;
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
}
#Home .header{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}
#Home video{
    width: 100%;
}
#Home .headerContent{
    position: absolute;
    text-align: center;
}
.headerContent img{
    width: 10em;
}
#Home .content{
    padding: 4em 4em 6em 4em;
    width: 100%;
    box-sizing: border-box;
    max-width: 40em;
    margin: 0 auto;
}
#taxonomy{
    display: flex;
    justify-content: space-between;
    text-transform:uppercase;
    border-bottom: solid 1px var(--mainColor);
}
#taxonomy div:hover{
    background-color: var(--mainColor);
    cursor: pointer;
    color: white;
    box-shadow: 0em 0em 1em #ccc;
}
#Home .specification{
    display: flex;
    justify-content: space-between;
    margin: 2em 0;
}
#Home h2{
    text-transform: uppercase;
    font-size: 1.4em;
    width: 45%;
    border-right: solid 0.15em var(--mainColor);
    padding-right: 1em;
    transition: 0.5s;
}
#Home h2:hover{
    cursor: pointer;
    color: black;
    text-decoration: underline;
    text-shadow: 0em 0em 1em #ccc;
}
#Home ul{
    text-transform: uppercase;
    list-style: none;
    padding: 0;
    text-align: right;
}
#Home li{
    margin: 1em 0;
    text-decoration: underline;
    transition: 0.5s;
}
#Home li:hover{
    background-color: var(--mainColor);
    cursor: pointer;
    color: white;
    box-shadow: 0em 0em 1em #ccc;
}
.lightbox {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 50vw;
    position: relative;
}
.lightbox img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    transition: 2s;
}
#Home .intro{
}
#List{}
.itemList{
    box-sizing: border-box;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.itemCell{
    box-sizing: border-box;
    width: 50%;
    padding: 1em;
    margin: 1em 0;
    transition: 0.5s;
    outline: solid 2px rgba(55,55,55,0);
}
.itemCell:hover{
    cursor: pointer;
    outline: solid 2px var(--mainColor);
}
.itemCell img{
    width: 100%;
}
.itemCell>div:first-of-type{
    font-size: 0.8em;
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    margin-bottom: 1em;
    align-items: flex-start;
}
.itemCell>div:first-of-type span:first-of-type{
    background-color: var(--mainColor);
    color: white;
    padding: 0 0.3em;
    flex-shrink: 0;
    flex-grow: 0;
}
.itemCell>div:first-of-type span:last-of-type{
    text-align: right;
}
.itemCell>div:nth-of-type(2){
    font-size: 1em;
    text-transform: uppercase; 
    border-bottom: solid 2px var(--mainColor);
}
.itemCell>div:last-of-type{
    text-align: right;
    font-weight: 700;
    font-size: 1.1em;
}
.itemCell>div:last-of-type::before{
    content: 'CNY';
    font-size: 0.7em;
}
#Detail{
    --regularPadding: 4em;
    --bigPadding:6.5em;
    padding: 0 var(--regularPadding) ;
    margin: 0;
}
.D-Cell{
    margin: 0 0 var(--regularPadding) 0;
}
.D-Head img{
    width: 100%;
}
.D-Head div.tp{
    display: flex;
    justify-content: space-between;
    border-bottom: solid 0.2em var(--mainColor);
    margin: 2em 0 0.5em 0;
    line-height: 1em;
    padding-bottom: 0.3em;
}
.D-Head span.title{
    font-weight: 700;
    font-size: 1.2em;
    text-transform: uppercase;
}
.sub_title {
    padding-left: 1em;
    font-size: 0.8em;
}
.D-Head span.price{
    display: none;
    color: #41b883;
    font-weight: 700;
    font-size: 1.5em;
}
.D-Head span.price::before{
    content: 'CNY';
    margin-right: 0.3em;
    font-size: 0.6em;
}
.cat_tags{
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
}
.cat_tags span:last-of-type{
    display: none;
    font-family: "DIN Condensed";
    padding-top: 0.3em;
}
.D-Head div.feature{
    margin: 3em 0 2em 0;
    font-size: 0.9em;
    font-weight: 300;
}
.D-Head div.f_line{
    display: flex;
    justify-content: space-between;
    margin: 0.5em 0;
}
.D-Head div.f_line>span:first-child{
    font-weight: 500;
}
.D-Head div.f_line span span{
    margin-left: 0.5em;
}
.D-Head div.f_mline {
    max-width: 70%;
}
.D-Head div.f_mline p{
    line-height: 1.1em;
    margin-bottom: 1.3em;
    text-align: right;
}
.D-Head div.f_mline span{
    letter-spacing:  calc(0.1em * var(--letterSpacingFactor));;
}
.D-Head .f_mline_title{
    margin-right: 0.5em;
}
.D-Head .f_mline_title::after{
    content: ': ';
}
.D-Head div.remark{
    border-top: solid 1px var(--mainColor);
    text-align: right;
    font-size: 0.8em;
    margin-top: 2em;
}
.itemsSamePattern{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-weight: 500;
    border-bottom: solid 2px var(--mainColor);
    text-transform: uppercase;
    padding-bottom: 0.8em;
    overflow: hidden;
}
.itemsSamePattern>div:first-of-type{
    flex-shrink: 1;
    flex-grow: 0;
}
.itemsSamePattern>div:last-of-type{
    flex-grow: 1;
    flex-shrink: 4;
    display: flex;
    justify-content: flex-end;
}
.itemsSamePattern>div:last-of-type>div{
    margin: 0 0 0 1.5em;
    text-align: center;
    font-size: 0.8em;
    cursor: pointer;
    user-select: none
}
.itemsSamePattern>div:last-of-type>div:hover{
    outline: solid 1px var(--mainColor);
}
.itemsSamePattern img{
    width: 5em;
    border-radius: 3em;
    margin-bottom: 0.5em;
}
.buyButton{
    font-size: 1.1em;
    padding: 0.6em;
    text-align: center;
    color: white;
    background-color: #333;
    margin-bottom: 3em;
}
.buyButton svg{
    margin-right: 0.5em;
}
.buyButton:hover{
    background-color: black;
    cursor: pointer;
}
.toBagItem{
    width: 3em;
    position: fixed;
    top: 50%;
    left: 50%;
    opacity: 0;
    transition: 1.5s;
    border-radius: 3em;
}
.D-Feature_icons{
    display: flex;
    justify-content: space-between;
}
.D-Feature_icons h4{
    letter-spacing: calc(0.15em * var(--letterSpacingFactor));
}
.feature_icon {
    font-size: 0.8em;
    height: 6em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.D-Feature_icons img{
    height: 3em;
    max-width: 3.5em;
}
.D-Intro img{
    width: 100%;
}
.D-Photos img{
    width: 100%;margin: 0 0 var(--regularPadding) 0
}
.width_full{
    margin-left:calc(var(--regularPadding) * -1) !important;
    width:100vw !important;
    max-width: var(--maxBodyWidth);
}
.D-Photos img:last-of-type{
    margin: 0;
}
.D-Related>div{
    display: flex;
    justify-content: space-between;
    text-align: center;
    flex-wrap: wrap;
    margin: 2em 0;
}
.D-Related a{
    width: 8em;
    border-bottom: solid 0.1em #666;;
    flex-shrink: 0;
    flex-grow: 0;
}
.D-Related a img{
    width: 100%;
    border-radius: 50%;
    box-shadow: 0 0 1em #ddd;
}
.D-Materials {
    border: solid 2px var(--lightGray);
    padding: calc(var(--bigPadding) - var(--regularPadding));
    padding: 2em;
    min-height: 18em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.D-Materials .Material{
    display: flex;
    align-items: center;
}
.D-Materials img{
    width: 7em;
    height: 7em;
    border-radius: 12em;
    box-shadow: 0 0 1em #ddd;
    margin: 1em 2em 1em 0;
}
.D-Materials p{
    font-size: 0.9em;
    letter-spacing: calc(0.1em * var(--letterSpacingFactor));
}
.D-Foot{
    text-align: center;
    margin: var(--bigPadding) calc(var(--bigPadding) - var(--regularPadding));;
}
.D-Foot img{
    width: 100%;
}
.D-Foot .subTitle{
    font-weight: 500;
}
.D-Foot .remark{
    font-size: 0.8em;
    letter-spacing: calc(0.1em * var(--letterSpacingFactor));
    line-height: 1em !important;
}
#Bag{
    padding: 2em;
}
#Bag .header{
    text-align: center;
    margin-bottom: 3em;
}
#Bag .header img{
    width: 6em;
}
#Bag table{
    box-sizing: border-box;
    width: 100%;
    text-align: center;
    margin-bottom: 3em;
}
#Bag .bagItem td{
    height: 8em;
    padding: 0.8em 0 0 0;
}
#Bag table td{
    border-bottom: dashed 1px #ccc;
}
#Bag table th{
    border-bottom: solid 3px var(--mainColor);
}
#Bag table tr td:last-child{
    width: 2em;
    text-align: right;
}
#Bag table img{
    max-width: 7.5em;
    max-height: 7.5em;
}
#Bag table .quantity{
    display: flex;
    justify-content: center;
    align-items: center;
}
#Bag table .quantityNumber{
    width: 2.5em;
    font-weight: 700;
}
#Bag table .quantityOperator{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1em;
    height: 1em;
    border: solid 1px var(--mainColor);
    border-radius: 2em;
}
#Bag table .quantityOperator:hover{
    cursor: pointer;
    background-color: var(--mainColor);
    color: white;
    user-select: none;
}
#Bag table .productsTotal{
    color:white;
    font-size: 0.6em;
}
#Bag table .productsTotal td{
    border: none;
    padding-bottom: 2em;
}
#Bag table .virtualItem td{
    padding: 1.2em 0 0 0;
}
#Bag table .total td{
    padding-top: 2em;
    font-weight: 500;
    border-bottom: solid 3px var(--mainColor);
    vertical-align: baseline;
}
#Bag table td.total{
    font-weight: 700 !important;
    font-size: 1.5em;
}
#Bag textarea{
    width: 100%;
    border: none;
    border-bottom: solid 2px var(--mainColor);
}
#Bag textarea::placeholder{
    color: #ddd;
    font-weight: 100;
}
#Bag .title{
    text-align: right;
    margin-top: -0.4em;
    margin-bottom: 4em;
}
.virtualItemLoading{
    animation: 2s colorLoading infinite;
}
@keyframes colorLoading{
    0%{color:#999}
    50%{color:#ddd}
    100%{color:#999}
}
#Capture > div:nth-child(1){
    margin: 1em auto;
    width: 15em;
    text-align: center;
    color: white;
    background-color: var(--mainColor);
    padding: 1em;
}
/*通用样式*/
.pointer:hover{
    cursor: pointer;
    user-select: none;
}
/*通用样式*/
/*页面控件*/
.view, .subview {
    display: none;
    padding: 0em 1em 6em 1em;
    width: 100%;
    box-sizing: border-box;
}
#view_selector {
    display: flex;
    justify-content: center;
    position: fixed;
    z-index: 200;
    background: linear-gradient(0deg, rgba(255,255,255,1) 20%, rgba(255,255,255,0) 100%);
    padding-top: 4em;      
    width: 100%;
    bottom: 0;
    left: 0;
    pointer-events: none;
    box-sizing: border-box;
    border: none;
}

#view_selector div {
    display: flex;
    color: #ccc;
    padding: 0.5em 0;
    margin: 0 1em;
    border-radius: 0;
    border-bottom: solid 5px #ccc;
    transition: 0.8s;
    cursor: pointer;
    pointer-events:auto;
    user-select: none;
}
.tabBlink{
    animation: 2s tabBlink 1;
}
@keyframes tabBlink{
    10%{background-color: #41b883;color: white;}
}

#view_selector .current {
    border-bottom: solid 5px #999;
    color: #999;
    font-weight: 500;
}
/*页面控件*/

/*菜单*/
#floatMenuList{
    position: fixed;
    bottom: 3em;
    z-index: 300;
    text-align: right;
    background-color: white;
    outline: solid 0.8em white;
    box-sizing: border-box;
}
#floatMenuList div{
    margin: 0 0 1em 0;
    border-bottom: solid 0.2em var(--mainColor);
}
#floatMenuList div:hover{
    cursor: pointer;
    color: white;
    background-color: var(--mainColor);
}
/*菜单*/

/*消息器*/
#notifier {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 200;
    pointer-events: none;
}
#edit_mode {
    opacity: 0;
    margin: 0.5rem;
    background-color: #eee;
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    color: gray;
    border: solid 1px #fff;
    box-shadow: 0 0 2rem white;
    font-size: 0.9rem;
}
#notifier_msg {
    margin: 0rem;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    color: white;
    border: solid 1px #fff;
    box-shadow: 0 0 2rem white;
    font-size: 0.8rem;
    transition-duration: 0.8s;
    opacity: 0;
}
.notifier_msg_inTrans{
    background-color: #64b4ed;
}
.notifier_msg_error{
    background-color: #db464c;
}
.notifier_msg_success{
    background-color: #41b883;
}
/*消息器*/

/*确认对话框*/
.dia_mask {
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.7);
    width: 100%;
    height: 100%;
    color: gray;
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
    transition-duration: 0.5s;
    z-index: 900;
    text-align: center;
}
#confirm_dia_box{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background-color: #eee;
    border: solid 1px #fff;
    box-shadow: 0 0 2rem white;
    border-radius: 1.5rem;
    padding: 1rem 2rem;
    max-width: 25rem;
}
#confirm_title {
    background-color: white;
    padding: 0.4rem;
    border-radius: 2rem;
    font-size: 1rem;
    letter-spacing: 0.2rem;
    margin: 0.5rem;
    color: #333;
}

#confirm_buttons {
    display: flex;
    justify-content: space-between;
    margin: 0.5rem 0;
}

.confirm_button {
    background-color: white;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem 0.3rem 1rem;
    font-size: 1rem;
    border-radius: 2rem;
    color: #333;
    border: solid 1px #ddd;
    box-shadow: 0.2rem 0.2rem 0.5rem #ccc; 
    transition-duration: 0.5s;
}
.confirm_button:hover{
    background-color: black;
    color: white;
    cursor: pointer;
    border: solid 1px black;
    box-shadow: 0.4rem 0.4rem 0.5rem #999;
}
.btn_confirm_intro {
    font-size: 0.6rem;
    color: gray;
}
#confirm_content {
    margin: 1rem 0.5rem;
}
/*确认对话框*/

@media (max-width: 480px){
    html{
        font-size: 0.8em;
    }
}