@charset "utf-8";

/* ====== Banner ====== */
.tj-banner-wrap {
    width: 100%;
    background: #ff5a00;
    overflow: hidden;
}

.tj-banner {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.tj-banner .banner-widget,
.tj-banner .carousel-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.tj-banner .carousel-list {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tj-banner .carousel-item {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    filter: alpha(opacity=0);
    z-index: 1;
    -webkit-transition: opacity 0.8s ease;
    -moz-transition: opacity 0.8s ease;
    -o-transition: opacity 0.8s ease;
    transition: opacity 0.8s ease;
}

.tj-banner .carousel-item.active {
    opacity: 1;
    filter: alpha(opacity=100);
    z-index: 2;
}

.tj-banner .carousel-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.tj-banner .carousel-item img {
    width: 100%;
    height: 100%;
    border: 0;
}

.tj-banner .carousel-single {
    width: 100%;
    height: 100%;
}

.tj-banner .carousel-single a {
    display: block;
    width: 100%;
    height: 100%;
}

.tj-banner .carousel-single img {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ====== Flash Sale ====== */
.tj-flash-wrap {
    background: #fff5f0;
    padding: 30px 0;
    border-bottom: 1px solid #ffe0d0;
}

.tj-flash-hd {
    margin-bottom: 20px;
    overflow: hidden;
    zoom: 1;
}

.tj-flash-icon {
    float: left;
    font-size: 32px;
    margin-right: 10px;
    line-height: 40px;
}

.tj-flash-hd h2 {
    float: left;
    font-size: 24px;
    color: #ff5a00;
    font-weight: 700;
    line-height: 40px;
}

.tj-countdown {
    float: right;
    background: #333;
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 24px;
}

.tj-cd-num {
    display: inline-block;
    background: #ff5a00;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 18px;
    font-weight: 700;
    margin: 0 4px;
    min-width: 28px;
    text-align: center;
}

.tj-flash-list {
    overflow: hidden;
    zoom: 1;
    margin: 0 -10px;
}

.tj-flash-item {
    float: left;
    width: 33.333%;
    padding: 0 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.tj-flash-img {
    display: block;
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.tj-flash-img img {
    width: 100%;
    height: 100%;
    -webkit-transition: -webkit-transform 0.5s;
    -moz-transition: -moz-transform 0.5s;
    -o-transition: -o-transform 0.5s;
    transition: transform 0.5s;
}

.tj-flash-item:hover .tj-flash-img img {
    -webkit-transform: scale(1.06);
    -moz-transform: scale(1.06);
    -ms-transform: scale(1.06);
    -o-transform: scale(1.06);
    transform: scale(1.06);
}

.tj-flash-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff5a00;
    color: #fff;
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 700;
}

.tj-flash-info {
    background: #fff;
    padding: 15px;
    border-radius: 0 0 8px 8px;
    border: 1px solid #eee;
    border-top: none;
}

.tj-flash-info h4 {
    font-size: 15px;
    color: #333;
    margin-bottom: 8px;
    height: 44px;
    overflow: hidden;
    line-height: 1.5;
}

.tj-flash-info h4 a {
    color: #333;
}

.tj-flash-info h4 a:hover {
    color: #ff5a00;
}

.tj-flash-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.tj-flash-price {
    margin-bottom: 12px;
}

.tj-price-cur {
    color: #ff5a00;
    font-size: 24px;
    font-weight: 700;
}

.tj-price-cur small {
    font-size: 14px;
    font-weight: normal;
}

.tj-price-old {
    color: #999;
    font-size: 14px;
    text-decoration: line-through;
    margin-left: 10px;
}

.tj-flash-btn a {
    display: block;
    background: #ff5a00;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    -webkit-transition: background 0.3s;
    -moz-transition: background 0.3s;
    -o-transition: background 0.3s;
    transition: background 0.3s;
}

.tj-flash-btn a:hover {
    background: #e54d00;
    text-decoration: none;
}

/* ====== Category Tabs ====== */
.tj-cat-wrap {
    padding: 30px 0;
    background: #fff;
}

.tj-cat-tabs {
    text-align: center;
    margin-bottom: 25px;
    border-bottom: 2px solid #eee;
    padding-bottom: 0;
}

.tj-cat-tabs a {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    color: #666;
    margin: 0 5px;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.tj-cat-tabs a:hover {
    color: #ff5a00;
    text-decoration: none;
}

.tj-cat-tabs a.active {
    color: #ff5a00;
    border-bottom-color: #ff5a00;
    font-weight: 600;
}

/* ====== Product Grid ====== */
.tj-product-grid {
    overflow: hidden;
    zoom: 1;
    margin: 0 -10px;
}

.tj-product-item {
    float: left;
    width: 25%;
    padding: 0 10px;
    margin-bottom: 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.tj-product-img {
    display: block;
    position: relative;
    height: 180px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.tj-product-img img {
    width: 100%;
    height: 100%;
    -webkit-transition: -webkit-transform 0.5s;
    -moz-transition: -moz-transform 0.5s;
    -o-transition: -o-transform 0.5s;
    transition: transform 0.5s;
}

.tj-product-item:hover .tj-product-img img {
    -webkit-transform: scale(1.06);
    -moz-transform: scale(1.06);
    -ms-transform: scale(1.06);
    -o-transform: scale(1.06);
    transform: scale(1.06);
}

.tj-discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff5a00;
    color: #fff;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
}

.tj-promo-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #667eea;
    color: #fff;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
}

.tj-tail-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e74c3c;
    color: #fff;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
}

.tj-product-info {
    background: #fff;
    padding: 12px;
    border-radius: 0 0 8px 8px;
    border: 1px solid #eee;
    border-top: none;
}

.tj-product-info h4 {
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
    height: 40px;
    overflow: hidden;
    line-height: 1.4;
}

.tj-product-info h4 a {
    color: #333;
}

.tj-product-info h4 a:hover {
    color: #ff5a00;
}

.tj-product-feature {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
    height: 36px;
    overflow: hidden;
    line-height: 1.5;
}

.tj-product-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.tj-product-meta span {
    margin-right: 10px;
}

.tj-limit {
    color: #e74c3c;
    font-weight: 600;
}

.tj-product-bottom {
    overflow: hidden;
    zoom: 1;
}

.tj-product-price {
    float: left;
}

.tj-cur {
    color: #ff5a00;
    font-size: 20px;
    font-weight: 700;
}

.tj-cur small {
    font-size: 12px;
    font-weight: normal;
}

.tj-old {
    color: #999;
    font-size: 12px;
    text-decoration: line-through;
    margin-left: 6px;
}

.tj-product-btn {
    float: right;
    background: #ff5a00;
    color: #fff;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    -webkit-transition: background 0.3s, -webkit-transform 0.3s;
    -moz-transition: background 0.3s, -moz-transform 0.3s;
    -o-transition: background 0.3s, -o-transform 0.3s;
    transition: background 0.3s, transform 0.3s;
}

.tj-product-btn:hover {
    background: #e54d00;
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
    text-decoration: none;
}

/* ====== Trust Bar ====== */
.tj-trust-wrap {
    background: #f8f9fa;
    padding: 40px 0;
    border-top: 1px solid #eee;
}

.tj-trust-list {
    overflow: hidden;
    zoom: 1;
}

.tj-trust-item {
    float: left;
    width: 25%;
    text-align: center;
    padding: 0 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.tj-trust-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.tj-trust-tit {
    font-size: 16px;
    color: #333;
    font-weight: 600;
    margin-bottom: 6px;
}

.tj-trust-desc {
    font-size: 13px;
    color: #999;
}

/* ====== Tab Pane ====== */
.tj-cat-pane {
    display: none;
}

.tj-cat-pane.active {
    display: block;
}

/* ====== IE8兼容 ====== */
.tj-flash-item,
.tj-product-item {
    *display: inline;
    *zoom: 1;
}
