@charset "utf-8";

/*
 * Copyright 2009-2024 shopxx.net. All rights reserved.
 * Support: http://www.shopxx.net
 * License: http://www.shopxx.net/license
 *
 * Style - Theme
 * Version: 9.2
 */

/* ---------- theme-coupon ---------- */
.theme-coupon .coupon-modal .modal-dialog {
    width: 430px;
}

.theme-coupon .coupon-modal .modal-header {
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #f0f0f0;
}

.theme-coupon .coupon-modal .modal-body {
    padding-top: 30px;
}

.theme-coupon .coupon-modal .modal-body .iconfont {
    display: inline-block;
    line-height: 1;
    margin-bottom: 15px;
    padding: 5px;
    color: #38b038;
    font-size: 3rem;
    border-radius: 50%;
    border: 3px solid #38b038;
}

.theme-coupon .coupon-modal .modal-body h4,
.theme-coupon .coupon-modal .modal-body p {
    margin-bottom: 15px;
}

.theme-coupon .coupon-modal .modal-body .btn {
    min-width: 80px;
    margin: 0 5px;
}

.theme-coupon .coupon-modal .modal-body .btn-default {
    background-color: #f0f0f0;
}

.theme-coupon .coupon-modal .modal-body .countdown {
    margin-top: 20px;
    margin-bottom: 0;
    text-align: left;
}

.theme-coupon .main-header {
    margin-bottom: 0;
    border-bottom-width: 2px;
}

.theme-coupon main {
    min-height: 343px;
    background-color: #f5f5f5;
}

.theme-coupon main .store-image {
    display: block;
    height: 450px;
}

.theme-coupon main .title {
    margin-top: 25px;
}

.theme-coupon main .title span {
    position: relative;
    margin-top: 20px;
    padding: 0 10px;
}

.theme-coupon main .title span:before,
.theme-coupon main .title span:after {
    position: absolute;
    top: 50%;
    width: 31px;
    height: 15px;
    content: "";
    background: url("../images/coupon.png") -18px -60px;
}

.theme-coupon main .title span:before {
    left: 0;
    transform: translate(-100%, -50%);
}

.theme-coupon main .title span:after {
    right: 0;
    transform: translate(100%, -50%);
}

.theme-coupon main .coupon-list {
    display: flex;
    flex-wrap: wrap;
}

.theme-coupon main .coupon-list li {
    display: flex;
    width: calc((100% - 100px) / 3);
    margin-top: 25px;
    margin-right: 50px;
    overflow: hidden;
    border-radius: 4px;
    background-color: #ffffff;
}

.theme-coupon main .coupon-list li:nth-child(3n) {
    margin-right: 0;
}

.theme-coupon main .coupon-list li .media .media-left {
    padding: 10px;
}

.theme-coupon main .coupon-list li .media .media-left .product-image {
    width: 90px;
    height: 90px;
    border-radius: 4px;
    overflow: hidden;
}

.theme-coupon main .coupon-list li.disabled .media .media-left img {
    filter: grayscale(1);
}

.theme-coupon main .coupon-list li .media .media-body {
    position: relative;
    padding: 10px 0;
    overflow: visible;
}

.theme-coupon main .coupon-list li .media .media-body:before,
.theme-coupon main .coupon-list li .media .media-body:after {
    position: absolute;
    right: -4px;
    z-index: 100;
    width: 8px;
    height: 8px;
    content: "";
    border-radius: 50%;
    background-color: #f5f5f5;
}

.theme-coupon main .coupon-list li .media .media-body:before {
    top: -4px;
}

.theme-coupon main .coupon-list li .media .media-body:after {
    bottom: -4px;
}

.theme-coupon main .coupon-list li .media .media-body .use-image {
    position: absolute;
    right: 10px;
    bottom: 48px;
    width: 50px;
    height: 50px;
    background: url("../images/coupon.png") -18px 0;
}

.theme-coupon main .coupon-list li .media .media-body .store-limit {
    display: block;
    margin-bottom: 5px;
    color: #333333;
}

.theme-coupon main .coupon-list li .media .media-body p {
    max-width: 180px;
    margin-bottom: 5px;
    color: #666666;
}

.theme-coupon main .coupon-list li .media-body .progress-wrapper {
    display: flex;
    align-items: center;
}

.theme-coupon main .coupon-list li.disabled .media-body .progress-wrapper {
    display: none;
}

.theme-coupon main .coupon-list li .media .media-body .progress-wrapper .progress {
    width: 50%;
    height: 8px;
    margin-right: 5px;
    margin-bottom: 0;
    border-radius: 20px;
}

.theme-coupon main .coupon-list li .media .media-right {
    position: relative;
    width: 110px;
    min-width: 110px;
    max-width: 110px;
    padding: 0 10px;
    color: #ffffff;
    text-align: center;
    background-color: #f1313e;
    background: -webkit-linear-gradient(135deg, #f68808, #f54f03);
    background: -moz-linear-gradient(135deg, #f68808, #f54f03);
    background: linear-gradient(135deg, #f68808, #f54f03);
}

.theme-coupon main .coupon-list li.news .media .media-right {
    background-color: #e1aa5f;
    background: -webkit-linear-gradient(135deg, #f5d185, #e1aa5f);
    background: -moz-linear-gradient(135deg, #f5d185, #e1aa5f);
    background: linear-gradient(135deg, #f5d185, #e1aa5f);
}

.theme-coupon main .coupon-list li .media .media-right:before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -2px;
    width: 4px;
    content: "";
    background-image: url("../../common/images/sawtooth.png");
    background-repeat: repeat-y;
    background-size: 100% auto;
}

.theme-coupon main .coupon-list li .media .media-right span {
    display: none;
    position: absolute;
    top: 4px;
    right: -15px;
    width: 55px;
    color: #ffffff;
    background-color: #f68c17;
    transform: scale(0.9) rotate(45deg);
}

.theme-coupon main .coupon-list li.news .media .media-right span {
    display: block;
}

.theme-coupon main .coupon-list li .media .media-right strong {
    display: block;
    margin-bottom: 3px;
    font-weight: normal;
}

.theme-coupon main .coupon-list li .media .media-right p {
    margin-bottom: 6px;
}

.theme-coupon main .coupon-list li .media .media-right a {
    display: none;
    width: 70px;
    line-height: 20px;
    margin: auto;
    padding: 0 5px;
    color: #f67336;
    border-radius: 20px;
    background-color: #ffffff;
}

.theme-coupon main .coupon-list li.news .media .media-right a {
    color: #e1aa5f;
}

.theme-coupon main .coupon-list li .media .media-right a.active {
    display: block;
}

.theme-coupon main .coupon-list li.disabled .media .media-right {
    background-color: #a1a1a1;
    background: -webkit-linear-gradient(135deg, #bbbbbb, #a1a1a1);
    background: -moz-linear-gradient(135deg, #bbbbbb, #a1a1a1);
    background: linear-gradient(135deg, #bbbbbb, #a1a1a1);
}

.theme-coupon main .coupon-list li.disabled .media .media-right span {
    color: #ffffff;
    background-color: #999999;
}

.theme-coupon main .coupon-list li.disabled .media .media-right a {
    cursor: default;
    color: #999999;
    background-color: rgba(255, 255, 255, 0.9);
}

.theme-coupon main .scrollload-no-more-data:before,
.theme-coupon main .scrollload-no-more-data:after {
    display: none;
}

.theme-coupon main .bottom-ad-image {
    position: relative;
    margin-bottom: 15px;
}

.theme-coupon main .bottom-ad-image a {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* ---------- theme-detail ---------- */
.theme-detail .main-header {
    margin-bottom: 0;
}

.theme-detail .component-content {
    padding-bottom: 1px;
}
