﻿@charset "utf-8";

:root {
    --theme-color: rgba(224 209 194/.9);
    --theme-text-color: rgba(219, 143, 67, 0.9);
    --theme-bg-color: rgba(247, 232, 216, 0.66);
    --theme-gray-color: rgba(133, 116, 99, 0.9);
    --cream-color: rgba(224, 209, 194, 1);
    --active-text-color: rgb(248 128 0/.9);
    --swiper-theme-color: rgba(255, 255, 255, .9);
}

body {
    font-family: "Microsoft Yahei", "Helvetica Neue", Helvetica, Tahoma, sans-serif;
    background-color: #fff;
    font-size: 16px;
    line-height: 1.5;
    color: #000;

}
a,
button {
    outline: none;
}
a {
    color: rgba(0, 0, 0, .9);
}
a:hover,
a:active {
    text-decoration: none;
    color: var(--theme-gray-color) !important;
}

.container-fluid {
    overflow: hidden;
}
.display-5{font-size:2.5rem;}
.display-6{font-size:1.5rem;}
.bg-theme{background-color:var(--theme-bg-color);}
.header {
    background-color: var(--white);    
    width: 100%;
    padding: 0 3%;    
    box-shadow: 0 -1px var(--theme-bg-color) inset;
}
.logo img{height:48px;}
.breadcrumb {
    border-radius: 0;
    background-color:var(--white);
}
.footer{background-color: var(--theme-bg-color);font-size:14px;}
.footer a{color:#6c757d!important;}
.footer .qrcodes img{max-width:100%;}
.navbar-theme {
    padding: 0;
}

.navbar-theme .nav-item {
    padding: 0 8px;
}

.navbar-theme>.navbar-toggler {
    border: none
}

.navbar-theme .nav-item.on .nav-link {
    /*background-color: var(--green-color) !important;*/
    color: var(--dark) !important;
}

.navbar-theme .dropdown-menu {
    border: none;
    border-radius: 0;
}

.dropdown-item:hover,.dropdown-item:active {
    color: var(--active-text-color) !important;
    background-color: var(--theme-bg-color);
}
/*
.navbar-light{background-color:#fff;}
.navbar-brand{margin:0 auto;}
.brand-logo {height: 34px !important;}
.navbar-toggler{border:none!important;}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28229, 0, 74, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
.nav-text, .navbar-nav > .dropdown-divider {
    margin-left: -1rem;
    margin-right: -1rem;
}
.nav-text {
    background-color: var(--theme-color) !important;
    color: #fff;
    margin-left: -1rem;
    margin-right: -1rem;
    padding: .5rem 1rem;
}
.navbar-nav > .dropdown-divider {
    border-top-color: var(--theme-color) !important;
}
.navbar-light .navbar-nav .nav-link {
    color: var(--theme-color) !important;
    
}
.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    color: var(--theme-color) !important;
    font-weight: 600;    
}
*/



.dropdown-toggle::after {
    content: ' ';
    background: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23999999'%2F%3E%3C%2Fsvg%3E") center center no-repeat;
    background-size: cover;
    width: 10px;
    height: 10px;
    border: none;
    transform: rotate(90deg);
    margin-top: .25rem;
}
.swiper-button-prev,
.swiper-button-next {
    color: rgba(255, 255, 255, .9) !important;
}

.swiper-button-prev:active,
.swiper-button-next:active {
    outline: none;
    border: none;
}

.category-nav{background-color: var(--theme-bg-color);padding:1rem 0;}
.category-nav a{padding:1rem;font-size: 16px;text-align: center;}
.tab-title {
    line-height: 150%;
    padding-bottom: 10px;
    text-align: center;
    border-bottom: 3px solid var(--cream-color);
}

.tab-link {
    margin: 0 1rem;
    
        font-size: 3.5rem;
        font-weight: 300;
        line-height: 1.2;
    transition: all .3s;
}

/*
    .tab-link::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: var(--cream-color);
        -moz-border-radius: 1px;
        -webkit-border-radius: 1px;
        border-radius: 1px;
        display: none;
        transform-origin: left center;
        transition: transform .3s;
    }*/

.tab-link.active {
    font-size: 23px;
    color: var(--green-color);
}
.tabs-nav .nav-link.active{background-color: var(--theme-bg-color);color: var(--theme-gray-color);}
/*
.tab-link.active::after {
    display: block;
    transform: scaleX(1);
}
*/
.swiper-container{overflow: hidden;}
.swiper-container.gallery-thumbs .swiper-slide{cursor: pointer;}
.swiper-container.gallery-thumbs .swiper-slide-thumb-active {
    opacity: .5;
}

.article-title{
    font-size: 2.5rem;
    padding: 0 0 1.5rem;
    margin: 1rem 0;
    display: block;
    text-align: center;
    border-bottom: 1px solid #dee2e6!important;
}

.article-body{ overflow:hidden;}
.article-body img{max-width:100%; margin:0 auto;}

.page-banner {
    position: relative;
}

.page-banner>.jumbotron {
    background-color: rgba(0, 0, 0, .0);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

.page-title {
    font-size: 2.5rem;
    padding: 0 0 1.5rem;
    position: relative;
    margin: 3rem 0;
    display: block;
    text-align: center;
    font-weight: 500;
}

.page-title:after {
    content: "";
    width: 50px;
    height: 4px;
    background: var(--cream-color);
    position: absolute;
    left: 50%;
    bottom: 0;
    margin: 0 0 0 -25px;
}

.section-title {
    font-size: 20px;
    font-weight: 500;
    border-left: 3px solid #e5004a;
    text-align: left;
    padding-left: 10px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.tab-theme .card {
    border: none !important;
}

.tab-theme .card-body {
    padding: 20px 0;
}
.product-head{}

.product-grid a {
    text-decoration: none;
    color: rgba(0, 0, 0, .88)
}
.product-grid .product-item{overflow: hidden; position: relative;}
.product-grid .product-img {
    overflow: hidden;
    display: block;
}
.product-grid .product-img img{
    transition: transform 380ms;
}
.product-grid .product-img:hover img{
    transform: scale(1.12);
}

.product-grid .product-text {
    margin-top:1rem;
    min-height: 120px;
}

.product-grid .product-title,.product-grid .product-des{margin-bottom: 10px;text-overflow: ellipsis;overflow: hidden;}
.product-grid .product-title{max-height:50px;display: block;}
.product-grid .product-des{font-size: 14px;color: var(--theme-gray-color);max-height:40px;}
.product-grid .product-bottom{position: absolute;left:0;right:0;bottom:0;}
.product-grid .product-price{
    font-size:14px;
    text-align:center;
    color:var(--theme-color);
    background-color: var(--dark);   
}
.price{font-size:1.28rem; color:var(--theme-text-color);}
.text-body{white-space:pre-line;}
.hvr-sweep-to-right {
    position: relative;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);    
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
  }
  .hvr-sweep-to-right:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color:var(--dark);  
    background-color:  rgba(197, 197, 197, 0.7);
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
  }
  .hvr-sweep-to-right:hover, .hvr-sweep-to-right:focus, .hvr-sweep-to-right:active {
    color:var(--dark);  
    background-color: var(--theme-bg-color);
  }
  .hvr-sweep-to-right:hover:before, .hvr-sweep-to-right:focus:before, .hvr-sweep-to-right:active:before {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
.section-heading {
    float: left;
    width: 100%;
    padding-bottom: 50px;
    margin-bottom: 0px;
    clear: both;
}

.section-heading h1 {
    margin: 0 0 0 0;
    font-size: 28px;
    font-weight: 400;
    color: #333;
    position: relative;
    display: block;
    padding-bottom: 10px;
    line-height: 1.5;
}

.section-heading h3 {
    font-size: 16px !important;
    line-height: 28px;
    font-weight: 400;
    color: #8f989f;
    position: relative;
    text-align: center;
    padding-bottom: 30px;
}

.section-heading h3:after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 2px;
    background: var(--cream-color);
    left: 50%;
    margin-left: -25px;
    bottom: 0;
}

.detail-page {
    background-color: #fff;
}

.detail-explore {
    padding: 80px 0;
}

.detail-page .detail-explore:nth-child(2n+1) {
    background-color: var(--theme-bg-color) !important;

}
.page-link{color:var(--dark)!important;}
.pagination-bar{display: flex;justify-content: center;}
.page-item.active .page-link{background-color:var(--theme-bg-color);
    border-color: var(--theme-bg-color);}
@media screen and (min-width:768px) {
    .section-heading h1 {
        font-size: 40px;
    }

    .section-heading h3 {
        font-size: 18px;
        line-height: 1.5;
    }
    .footer .qrcodes img{width:160px;}
}

@media (min-width: 992px) {
    .header {
        height: 79px;       
    }
    .index .header,.header.fixed-top{box-shadow:none; background-color: rgba(255,255,255,.01);}
    .index .header{position: absolute;z-index:1003;}
    .header.fixed-top{position: fixed;}
    
    .header:hover {
        background-color: rgba(255, 255, 255, 1);
        -webkit-transition: all 1s;        
        transition: all 1s;
        box-shadow: 0 -1px var(--theme-bg-color) inset;
    }
    .logo img{height:70px;}
    .navbar-theme .nav-link {
        padding: 0 1rem;
        line-height: 76px;
        font-size: 16px;
    }
    
    .navbar-theme .nav-item {
        position: relative;
    }

    .navbar-theme .nav-item:first-child {
        padding-left: 0;
    }

    .navbar-theme .nav-item:last-child {
        padding-right: 0;
    }
    .navbar-theme .nav-item>.dropdown-menu{padding:0;}
    .navbar-theme .nav-item>.dropdown-menu::before{content:'';display:block;
        background-color: var(--dark);
        height: 2px;
        -webkit-transition-property: right;
        transition-property: right;
        -webkit-transition-duration: 1s;
        transition-duration: 1s;
        -webkit-transition-timing-function: ease-out;
        transition-timing-function: ease-out;
    }
    .category-nav a{padding:1rem 2rem;}    
    .container-product{padding:0 2rem}
    .container-product>.row{padding:0}
    .container-product>.row>div{padding:1rem 2rem;}
}

@media (min-width: 1600px) {

    .header {
        height: 94px;
    }
    
    .navbar-theme .nav-link {
        line-height: 91px;
    }
    .header.fixed-top{height: 79px;transition: height 0.3s ease-in-out;}
    .header.fixed-top .navbar-theme .nav-link{line-height: 76px;}
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl {
        max-width: 1540px;
    }
}