/* 活动促销页面专用样式 */

/* ========== 1. promo-banner 促销横幅 ========== */

.promo-banner {
    position: relative;
    height: 350px;
    background: linear-gradient(135deg, #ff6b35, #f7931e, #ff4757);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 0;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.promo-banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.promo-banner-title {
    font-size: 42px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.promo-banner-subtitle {
    font-size: 18px;
    color: #ffffff;
    opacity: 0.85;
    margin-bottom: 30px;
    line-height: 1.6;
}

.promo-banner-btn {
    display: inline-block;
    padding: 12px 36px;
    background: transparent;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #ffffff;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.promo-banner-btn:hover {
    background: #ffffff;
    color: #ff6b35;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* ========== 2. promo-countdown 促销信息条 ========== */

.promo-countdown {
    background-color: #fff8f0;
    padding: 20px 0;
    border-bottom: 1px solid #ffe0c2;
}

.promo-info-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.promo-highlight {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.promo-highlight i {
    font-size: 16px;
}

.promo-highlight-red {
    background-color: #fff0f0;
    color: #ff4757;
}

.promo-highlight-orange {
    background-color: #fff5e6;
    color: #f7931e;
}

.promo-highlight-blue {
    background-color: #eef5ff;
    color: #1a7fd4;
}

.promo-time {
    font-size: 14px;
    color: #666666;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.promo-time i {
    color: #f7931e;
}

.promo-time strong {
    color: #333333;
}

/* ========== 3. promo-products 主产品卡片 ========== */
.promo-product-row{
    display: flex;
}

.promo-products {
    padding: 60px 0;
    margin-bottom: 0;
}

.promo-section-title {
    font-size: 36px;
    font-weight: bold;
    color: #333333;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.promo-section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 2px;
}

.promo-product-cards {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.promo-product-card {
    width: calc(25% - 18px);
    min-width: 250px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

.promo-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Product tags */
.promo-product-tag {
    position: absolute;
    top: 12px;
    right: 0;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    border-radius: 20px 0 0 20px;
    z-index: 2;
}

.promo-tag-red {
    background: linear-gradient(135deg, #ff4757, #ff6b35);
}

.promo-tag-blue {
    background: linear-gradient(135deg, #1a7fd4, #4facfe);
}

.promo-tag-green {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

/* Product header */
.promo-product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 25px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.promo-product-info {
    flex: 1;
}

.promo-product-title {
    font-size: 20px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 6px;
}

.promo-product-subtitle {
    font-size: 13px;
    color: #666666;
}

.promo-product-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    flex-shrink: 0;
    margin-left: 12px;
}

.promo-icon-blue {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.promo-icon-green {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

.promo-icon-purple {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.promo-icon-orange {
    background: linear-gradient(135deg, #f7971e, #ffd200);
}

/* Product specs */
.promo-product-specs {
    padding: 20px 25px;
}

.promo-spec-item {
    display: flex;
    align-items: center;
}

.promo-spec-item:last-child .promo-spec-value {
    border-bottom: none;
}

.promo-spec-label {
    font-size: 14px;
    color: #666666;
    width: 80px;
    margin-right: 15px;
    flex-shrink: 0;
}

.promo-spec-value {
    flex: 1;
    font-size: 14px;
    color: #333333;
    font-weight: 500;
    text-align: left;
    line-height: 3.6;
    border-bottom: 1px solid #efeff1;
}

/* Product footer / price */
.promo-product-footer {
    padding: 15px 25px 5px;
}

.promo-original-price {
    font-size: 14px;
    color: #999999;
    text-decoration: line-through;
    margin-bottom: 4px;
}

.promo-sale-price {
    font-size: 28px;
    font-weight: bold;
    color: #ff4757;
    line-height: 1.3;
}

.promo-sale-price .promo-price-unit {
    font-size: 14px;
    font-weight: normal;
    color: #999999;
}

/* Product action button */
.promo-product-action {
    padding: 10px 25px 25px;
}

.promo-buy-btn {
    display: block;
    width: 100%;
    padding: 10px 0;
    background: linear-gradient(135deg, #ff6b35, #ff4757);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.promo-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 75, 87, 0.4);
    color: #ffffff;
}

/* ========== 4. promo-more 更多产品 ========== */
.promo-more-row{
    display: flex;
}

.promo-more {
    padding: 60px 0;
    background-color: #f7f9fc;
}

.promo-more-cards {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.promo-more-card {
    width: calc(33.333% - 16px);
    min-width: 260px;
    background-color: #ffffff;
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.promo-more-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.promo-more-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #eef5ff;
    color: #1a7fd4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 20px;
}

.promo-more-title {
    font-size: 18px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 12px;
}

.promo-more-desc {
    font-size: 13px;
    color: #666666;
    margin-bottom: 16px;
    line-height: 1.6;
}

.promo-more-price {
    font-size: 22px;
    font-weight: bold;
    color: #1a7fd4;
    margin-bottom: 20px;
}

.promo-more-price .promo-price-unit {
    font-size: 13px;
    font-weight: normal;
    color: #999999;
}

.promo-more-btn {
    display: inline-block;
    padding: 8px 28px;
    background: transparent;
    color: #1a7fd4;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #1a7fd4;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.promo-more-btn:hover {
    background: #1a7fd4;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 127, 212, 0.3);
}

/* ========== 5. promo-why 为什么选择我们 ========== */
.promo-why-row{
    display: flex;
}

.promo-why {
    padding: 60px 0;
    background-color: #ffffff;
}

.promo-why-items {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.promo-why-item {
    width: calc(25% - 18px);
    min-width: 200px;
    text-align: center;
    padding: 30px 20px;
}

.promo-why-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a7fd4, #4facfe);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 18px;
}

.promo-why-title {
    font-size: 16px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 10px;
}

.promo-why-desc {
    font-size: 13px;
    color: #999999;
    line-height: 1.6;
}



.activity-grid-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .activity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.activity-grid-item {
    transition: transform 0.3s;
    position: relative;
}
.activity-card-link {
    display: block;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.3s;
    text-decoration: none;
    
}
.activity-hot-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 90px;
    height: 90px;
    background-image: url(../img/hot_03.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 12;
}
.activity-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    color: white;
    position: relative;
    height: 80px;
}
.activity-card-title {
    flex: 1;
    margin: 0;
    padding-right: 16px;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.5;
    z-index: 10;
}
.activity-card-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    right: 0;
    object-fit: contain;
    flex-shrink: 0;
}
.activity-card-body {
    padding: 20px;
}
.activity-card-description {
    margin: 0 0 16px 0;
    min-height: 60px;
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    color: #000;
}
.activity-card-button {
    display: inline-block;
    padding: 10px 36px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 9999px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid;
    background: transparent;
}

/* ========== 6. 响应式设计 ========== */

/* 中等屏幕 (平板横屏) */
@media (max-width: 1199px) {
    .promo-banner {
        height: 300px;
    }

    .promo-banner-title {
        font-size: 36px;
    }

    .promo-product-cards {
        gap: 20px;
    }

    .promo-product-card {
        width: calc(50% - 10px);
    }

    .promo-more-cards {
        gap: 20px;
    }

    .promo-more-card {
        width: calc(50% - 10px);
    }

    .promo-why-items {
        gap: 20px;
    }

    .promo-why-item {
        width: calc(50% - 10px);
    }

    .promo-section-title {
        font-size: 30px;
    }
}

/* 小屏幕 (手机) */
@media (max-width: 767px) {
    .promo-banner {
        height: 260px;
        padding: 20px;
    }

    .promo-banner-title {
        font-size: 28px;
    }

    .promo-banner-subtitle {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .promo-banner-btn {
        padding: 10px 28px;
        font-size: 14px;
    }

    .promo-info-strip {
        flex-direction: column;
        gap: 10px;
    }

    .promo-section-title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .promo-products,
    .promo-more,
    .promo-why {
        padding: 40px 0;
    }

    .promo-product-cards {
        gap: 16px;
    }

    .promo-product-card {
        width: 100%;
        min-width: auto;
    }

    .promo-product-header {
        padding: 25px 20px 15px;
    }

    .promo-product-title {
        font-size: 18px;
    }

    .promo-product-icon {
        width: 45px;
        height: 45px;
        font-size: 15px;
        border-radius: 12px;
    }

    .promo-product-specs {
        padding: 15px 20px;
    }

    .promo-product-footer {
        padding: 12px 20px 5px;
    }

    .promo-sale-price {
        font-size: 24px;
    }

    .promo-product-action {
        padding: 8px 20px 20px;
    }

    .promo-more-cards {
        gap: 16px;
    }

    .promo-more-card {
        width: 100%;
        min-width: auto;
    }

    .promo-why-items {
        gap: 16px;
    }

    .promo-why-item {
        width: 100%;
        min-width: auto;
        padding: 20px 15px;
    }

    .promo-why-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}