/* 优惠券页面样式 */
.coupon-content {
    background-color: #fff;
    padding: 16px;
}

.main-promo-section {
    border-bottom: 0 solid #dedede;
    margin-bottom: 0;
    padding-bottom: 40px;
}

.hero-wrap {
    margin-bottom: 65px;
}

.hero-img {
    background: #f6f7f8;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.hero-img img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #0a66c2;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(10, 102, 194, 0.35);
    font-size: 18px;
}

.coupon-section {
    border-bottom: 0 solid #dedede;
    margin-bottom: 30px;
    padding: 0 30px 30px;
}

.coupon-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-title {
    margin-bottom: 15px;
}

.section-title h2 {
    border-bottom: 1px solid #dedede;
    color: #333;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    padding-bottom: 10px;
    position: relative;
}

.section-title h2:before {
    background-color: #00a3e4;
    bottom: -1px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    width: 42px;
}

.section-desc {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 20px;
}

.sample-grid {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 30px;
}

.sample-card {
    border: 0 dashed #b8b8b8;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

.sample-card img {
    max-width: 100%;
    height: auto;
    display: block;
}

.rules-card {
    border: 0 dashed #b8b8b8;
    border-radius: 4px;
    margin-top: 20px;
    overflow: hidden;
    padding: 0;
}

.rules-row {
    align-items: stretch;
    display: grid;
    gap: 0;
    grid-template-columns: auto 1fr;
}

.rules-img {
    align-items: center;
    border-right: 0 dashed #b8b8b8;
    display: flex;
    justify-content: center;
    min-width: 200px;
    overflow: hidden;
    padding: 0;
}

.rules-img img {
    width: 100%;
    height: auto;
    display: block;
}

.rules-list {
    color: #333;
    font-size: 14px;
    line-height: 1.8;
    list-style-position: outside;
    margin: auto 20px;
    padding: 25px 30px;
}

.rules-list li {
    margin-bottom: 8px;
}

.rules-list li:last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .rules-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sample-grid {
        grid-template-columns: 1fr;
    }
}

/* 优惠券固定图标样式 */
.coupon-fixed-icon {
    background: transparent;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    cursor: pointer;
    display: block;
    left: 20px;
    overflow: hidden;
    position: fixed;
    text-decoration: none;
    transition: all .3s ease;
    z-index: 999;
}

.coupon-fixed-icon img {
    display: block;
    width: 48px;
    height: auto;
}

.coupon-fixed-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
}
