[v-cloak] {
    display: none;
}

* {
    position: relative;
}

scrollbar,
*::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

.btn:focus,
.btn:active {
    outline: none;
    box-shadow: none;
}

a,
a:hover {
    color: #333;
    text-decoration: none;
}

select:focus,
input:focus,
textarea:focus {
    box-shadow: none !important;
    outline: none !important;
}

@media (min-width: 1320px){
    .container {
        max-width: 1200px;
    }
}
.hide-phone{
    display: block;
}
.hide-web{
    display: none;
}
.blockUI{
    z-index: 9999999999 !important;
}
.blockUI.blockMsg{
    padding: 30px 15px !important;
    border: none !important;
    color: #fff !important;
    background:  rgba(0,0,0,0.5) !important;
    border-radius: 15px !important;
}
body {
    font-family: "微軟正黑體";
    background-color: #f9f9f9;
}
header{
    position: fixed;
    top: 0px;
    left: 0px;
    background-color: #f9f9f9;
    width: 100%;
    height: 180px;
    z-index: 1000;
    box-shadow: 0 20px 20px -20px #00000026;
}
header .cartNum{
    width: 24px;
    height: 24px;
    font-size: 14px;
    transform: scale(0.8);
    font-family: Arial;
    background-color: #c79b79;
    color: #fff;
    margin-left: 5px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.navTop {
    height: 40px;
    background-color: #fbeccd;
    width: 100%;
}

.navTop .container {
    display: flex;
    align-items: center;
    justify-content: end;
    height: 100%;
}
.navTop .container .btn{
    font-size: 14px;
    color: #c79b79;
    height: 35px;
    padding: 0px;
    margin-left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.navTop .container .btn i{
    font-size: 16px;
    margin-right: 5px;
}
.navTop .container .search{
    margin: 0px 15px;
}
.navTop .container .search i{
    position: absolute;
    z-index: 1;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 0px;
    cursor: pointer;
}
.navTop .container .search .form-control{
    background-color: transparent;
    border: none;
    border-radius: 0px;
    border-bottom: 1px solid #000;
    padding-left: 0px;
    height: 35px;
}
.navTop .container .search .form-control::placeholder {
    color: #ccc;
    font-size: 14px;
}
.navTop .container .btn.btn-menu{
    width: 50px;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px;
}
.navTop .container .btn.btn-menu i{
    margin: 0px;
    font-size: 20px;
}
header .logo{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100px;
}
header .logo img{
    max-height: 80px;
}
header .navMenu ul{
    width: 100%;
    list-style-type: none;
    padding: 0px;
    margin: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}
header .navMenu ul li a{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 25px;
    transition: all .3s;
    min-height: 35px;
    font-size: 14px;
}
header .navMenu ul li > a:hover{
    /*background-color: #fbeccd;*/
}
header .navMenu ul li .subMenu{
  position: absolute;
  width: 100%;
  background-color: #c79b79;
  z-index: -1;
  padding: 15px 0px;
  transition: all .5s;
  opacity: 0;
  visibility: hidden;
  top: 50px;
  border-radius: 15px;
  min-width: 120px;
  left: 50%;
  transform: translateX(-50%);
}
header .navMenu ul li .subMenu a{
    padding: 5px 10px;
    font-size: 14px;
}
header .navMenu ul li .subMenu a{
    color: #fff;
}
header .navMenu ul li:hover .subMenu{
    top: 35px;
    opacity: 1;
    visibility: visible;
    z-index: 1;
}
header .navMenu ul li:hover .subMenu a:hover{
    background-color: #fbeccd;
    color: #c79b79;
}
main{
    width: 100%;
    margin-top: 200px;
    min-height: 200px;
}
.error404{
    width: 100%;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #838689;
}
.error404 i{
    font-size: 5em;
    border: 5px solid;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}
.error404 p{
    margin-bottom: 5px;
}
.menu-mask{
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
    /*backdrop-filter: blur(10px);*/
    z-index: -1;
    opacity: 0;
    visibility: hidden;
}
.menu-mask.open{
    z-index: 9998;
    opacity: 1;
    visibility: visible;
}
.menu-fixed{
    position: fixed;
    top: 0px;
    width: 300px;
    height: 100vh;
    height: 100svh;
    z-index: -1;
    background-color: #fff;
    padding: 30px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    left: -320px;
    visibility: hidden;
    opacity: 0;
    transition: all .5s;
}
.menu-fixed.open{
    z-index: 99999;
    left: 0px;
    visibility: visible;
    opacity: 1;
}
.menu-fixed .btn-close{
    margin-bottom: 30px;
    background-color: #fff;
    font-size: 18px;
}
.menu-fixed ul{
    list-style-type: none;
    padding: 0px;
    margin: 0px;
    width: 100%;
    height: 100%;
    overflow-y: auto;
}
.menu-fixed ul > li > a{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-weight: bold;
    color: #c79b79;
    background-color: #fff;
    padding: 7px 15px;
    margin-bottom: 10px;
    /*border-radius: 20px;*/
    border: 1px solid transparent;
    transition: all .5s;
}
.menu-fixed ul > li > a i{
    font-size: 12px;
}

.menu-fixed ul > li .subMenu{
    margin-left: 25px;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 15px;
}
.menu-fixed ul > li .subMenu a{
    padding: 5px;
    font-size: 14px;
}
section.prod{
    margin: 30px 0px;
}

.box-title,
section.prod .title{
    display: flex;
    align-items: end;
    justify-content: space-between;
    width: 100%;
}
.box-title h4,
section.prod .title h4{
    font-size: 20px;
    color: #333;
}
.box-title ul,
section.prod .title ul{
    list-style-type: none;
    padding: 0px;
    margin: 0px;
    display: flex;
    align-items: center;
    justify-content: end;
    font-size: 14px;
    color: #666;
}
.box-title li,
section.prod .title li{
    /*margin-left: 15px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 20px;
}
section.prod .title li:before{
    content: '|';
    padding: 0px 10px;
}
section.prod .title li:nth-child(1):before{
    content: '';
    padding: 0px;
}
.box-title li a,
section.prod .title li a{
    /*border-bottom: 1px solid #000;*/
    display: flex;
    align-items: center;
    line-height: 20px;
}
.box-title li a i,
section.prod .title li a i{
    margin-left: 5px;
}
.prods{
    display: flex;
    flex-wrap: wrap;
    margin-left: -18px;
    margin-right: -18px;
}
.prods .prodBox{
    width: calc(100% / 4 - 36px);
    margin: 18px;
    cursor: pointer;
}
.prods .prodBox .photo{
    width: 100%;
    padding-top: calc(100% - 4px);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 15px;
    transition: all .5s;
    border: 2px solid transparent;
    /*background-color: #fff;*/
}
.prods .prodBox .photo:hover{
    border: 2px solid #fff;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
}
.prods .prodBox .content{
    font-size: 14px;
    padding: 15px 10px;
}
.prods .prodBox .content .prodName{
    height: 24px;
    overflow: hidden;
}
.prods .prodBox .content .price{
    color: #0E2430;
    font-family: 'AR One Sans', sans-serif;
    margin-top: 5px;
}
.prods .prodBox .content .price.red{
    color: #ED6464;
}

.prods .prodBox .content .price span{
    margin-left: 5px;
    color: #999;
    font-size: 12px;
    text-decoration: line-through;
}
.pageNav .page{
    list-style-type: none;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pageNav .page li{
    cursor: pointer;
    width: 28px;
    height: 28px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    margin: 0px 5px;
    background-color: #eee;
    transition: all .5s;
}
.pageNav .page li:hover,
.pageNav .page li.active{
    background-color: #000;
    color: #fff;
}

.loginBox{
    width: 100vw;
    height: 100vh;
    position: fixed;
    left: 0px;
    top: 0px;
    z-index: 100;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}
.loginBox .login{
    width: 350px;
    max-width: 90vw;
    background-color: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.2);
}
.loginBox .login .formGroup{
    margin-bottom: 15px;
}
.loginBox .login .formGroup label{
    margin: 0px;
    margin-bottom: 10px;
    padding-left: 5px;
    border-left: 5px solid;
    color: #c79a79;
    line-height: 1em;
}
.loginBox .login .formGroup .form-control{
    width: 100%;
    height: 40px;
    border-radius: 10px;
}
.loginBox .login .btns{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}
.loginBox .login .btns .btn{
    width: 100%;
    height: 40px;
    background-color: #c79a79;
    color: #fff;
    border-radius: 10px;
}
.loginBox .login .flex{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 14px;
    color: #777;
}
.loginBox .login .flex span{
    cursor: pointer;
}
.loginBox .btn-close{
    position: absolute;
    width: 24px;
    height: 24px;
    font-size: 12px;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 10px;
    top: 10px;
    z-index: 1;
    color: #ccc;
    border: 1px solid;
    border-radius: 50%;
}
.prodDetail{
    overflow-x: hidden;
}
@media(max-width: 1024px){
    header .logo{
        height: 100px;
    }
    header{
        height: 200px;
    }
    main{
        margin-top: 200px;
    }
}
@media(max-width: 820px){
    .prods .prodBox{
        width: calc(100% / 3 - 36px);
    }
    .prodDetail .prod-info{
        width: 60%;
    }
    .prodDetail .prod-photo{
        width: 40%;
    }
    .prodDetail .prod-info{
        padding: 25px;
    }
    .prodDetail .prod-photo .swiper-slide{
        width: calc(100% / 2 - 10px);
        border-radius: 15px;
    }
    .prodDetail .prod-photo .swiper-slide > div{
        border-radius: 10px;
    }
    .prodContent{
        padding: 25px;
    }
}
@media(max-width: 820px){
    header{
        height: 110px;
    }
    main{
        margin-top: 110px;
    }
    .navTop{
        height: 40px;
    }
    header .logo{
        height: 70px;
    }
    header .logo img{
        max-height: 90%;
        max-width: 70%;
    }
    .navMenu{
        display: none;
    }
    .navTop .container .btn{
        padding: 0px 5px;
        font-size: 13px;
    }
    .navTop .container .search{
        display: none;
    }
    section.prod .title h4{
        font-size: 18px;
        margin: 0px;
    }
    section.prod .title ul li{
        font-size: 12px;
    }
    .prods{
        margin-left: -9px;
        margin-right: -9px;
    }
    .prods.slide{
        flex-wrap: nowrap;
        overflow-x: auto;
        -ms-overflow-style: none;  /* IE 和 Edge */
        scrollbar-width: none;  /* Firefox */
    }
    .prods.slide::-webkit-scrollbar {
        display: none;  /* Chrome, Safari 和 Opera */
    }
    .prodBanner{
        margin-top: 30px;
    }
    .prods .prodBox .content{
        padding: 10px 0px;
    }
    .prods .prodBox .content .prodName{
        height: 42px;
        overflow: hidden;
    }
    .blockUI.blockMsg{
        width: 80% !important;
        left: 10% !important;
    }
}
@media(max-width: 640px){
    .hide-phone{
        display: none !important;
    }
    .hide-web{
        display: block;
    }    
    .prods .prodBox{
        width: calc(100% / 2 - 18px);
        margin: 9px;
        flex-shrink: 0;
    }
    .prods.slide .prodBox{
        width: calc(100% / 2 - 50px);
    }
}
