@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 {
    background-color: #f5f5f5;
}

.theme-coupon main .title {
    margin-top: 10px;
    font-size: 16px;
}

.theme-coupon main .ad-swiper .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #ffffff;
}

.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");
}

.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 .coupon-list {
    display: flex;
    flex-direction: column;
    padding: 0 10px;
}

.theme-coupon .coupon-list li {
    margin-top: 10px;
    overflow: hidden;
    border-radius: 4px;
    background-color: #ffffff;
}

.theme-coupon .coupon-list li .media .media-left {
    padding: 8px 0 8px 8px;
}

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

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

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

.theme-coupon .coupon-list li .media .media-body:before,
.theme-coupon .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 .coupon-list li .media .media-body:before {
    top: -4px;
}

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

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

.theme-coupon .coupon-list li .media .media-body p {
    width: 110px;
    margin-bottom: 2px;
    color: #666666;
}

@media only screen and (min-device-width: 360px) {
    .theme-coupon .coupon-list li .media .media-body .store-limit,
    .theme-coupon .coupon-list li .media .media-body p {
        width: 150px;
    }
}

@media only screen and (min-device-width: 375px) {
    .theme-coupon .coupon-list li .media .media-body .store-limit,
    .theme-coupon .coupon-list li .media .media-body p {
        width: 165px;
    }
}

@media only screen and (min-device-width: 404px) {
    .theme-coupon .coupon-list li .media .media-body .store-limit,
    .theme-coupon .coupon-list li .media .media-body p {
        width: 204px;
    }
}

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

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

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

.theme-coupon .coupon-list li .media .media-body .progress-wrapper span {
    white-space: nowrap;
    transform: scale(0.8);
}

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

.theme-coupon .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 .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-position-y: -4px;
    background-repeat: repeat-y;
    background-size: 100% auto;
}

.theme-coupon .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 .coupon-list li.news .media .media-right span {
    display: block;
}

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

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

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

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

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

.theme-coupon .coupon-list li.disabled .media .media-right {
    background: #a3a3a3;
}

.theme-coupon .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 .coupon-list li.disabled .media .media-right span {
    color: #ffffff;
    background-color: #999999;
}

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

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