.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}
.main-content {
    margin: 0 auto 50px;
}

/* ===== 活动介绍区域 ===== */
.activity-intro {
    background: #fff;
    padding: 30px 0;
    border-radius: 5px;
    margin-bottom: 30px;
}
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}
.activity-image {
    margin: 0;
}
.activity-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 5px;
}
.activity-info h1 {
    font-size: 26px;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #222;
}

/* 学习收益 */
.learning-benefits {
    margin: 20px 0;
}
.benefits-box {
    position: relative;
    border: 1px solid #ddd;
    padding: 20px 20px 10px;
    border-radius: 5px;
}
.benefits-label {
    position: absolute;
    top: -14px;
    left: 20px;
    background: #fff;
    padding: 0 15px;
    line-height: 28px;
    font-size: 16px;
    color: #666;
}
.benefits-text {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* 信息列表 */
.info-list {
    list-style: none;
    padding: 0;
    font-size: 16px;
    margin: 20px 0;
}
.info-list li {
    color: #666;
}
.info-list li span {
    color: #333;
    padding-right: 15px;
}
.info-list li .price {
    color: #f30;
    font-weight: bold;
    font-size: 20px;
}
.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-left: 10px;
}
address {
    display: inline;
    font-style: normal;
}
address a {
    color: #0066cc;
    text-decoration: none;
}
address a:hover {
    text-decoration: underline;
}

/* ===== 课程类型展示（静态） ===== */
.shoptype-group {
    border: none;
    padding: 0;
    margin-bottom: 15px;
}
.shoptype-group legend {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    float: left;
    width: auto;
    padding: 0;
}
.shoptype1, .shoptype2, .shoptype3 {
    list-style: none;
    padding: 0;
    overflow: hidden;
    clear: left;
}
.shoptype1 li, .shoptype2 li, .shoptype3 li {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.shoptype1 li div, .shoptype2 li div, .shoptype3 li div {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    background-color: #f9f9f9;
    color: #666;
    cursor: default;
}

/* 按钮 */
.action-buttons {
    margin-top: 20px;
    position: relative;
}
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 18px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-primary {
    background: #f30;
    color: #fff;
}
.btn-primary:hover {
    background: #e00;
}
.btn:disabled, .btn.disabled {
    background: #ddd !important;
    color: #666 !important;
    cursor: not-allowed !important;
}

/* ===== 侧边栏 + 详情两列布局 ===== */
.with-sidebar {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 30px;
    margin-top: 30px;
}
.qr-card {
    background: #fff;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
    position: sticky;
    top: 20px;
}
.qr-card h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}
.qr-code {
    margin: 0;
}
.qr-code img {
    width: 200px;
    height: 200px;
    max-width: 100%;
    height: auto;
}

/* 活动详情 */
.activity-details {
    background: #fff;
    border-radius: 5px;
    padding: 30px 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.details-header {
    margin-bottom: 20px;
    border-bottom: 3px solid #f30;
    padding-bottom: 10px;
}
.details-header h2 {
    font-size: 22px;
    color: #f30;
    font-weight: 700;
}
.details-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}
.details-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}
.details-content p {
    margin: 15px 0;
}
.details-content blockquote {
    padding: 15px;
    background: #f6f6f6;
    border-radius: 10px;
    margin: 20px 0;
}

/* 按钮旁悬浮提示 */
.tip-pop {
    position: absolute;
    background: #333;
    color: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 18px;
    white-space: nowrap;
    z-index: 999;
    display: none;
    left: 25%;
    top: 50%;
    transform: translateY(-50%);
}
.tip-pop::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -6px;
    transform: translateY(-50%);
    border-width: 6px 6px 6px 0;
    border-style: solid;
    border-color: transparent #333 transparent transparent;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .intro-grid, .with-sidebar {
        grid-template-columns: 1fr;
    }
    .activity-image img {
        max-height: 300px;
    }
    .qr-card img {
        width: 150px;
        height: 150px;
    }
    .activity-details {
        padding: 20px;
    }
    .qr-card{
        position: static;
    }
    .tip-pop {
        left: 50%;
        top: auto;
        bottom: 110%;
        transform: translateX(-50%);
    }
    .tip-pop::after {
        left: 50%;
        top: auto;
        bottom: -12px;
        transform: translateX(-50%);
        border-width: 6px 6px 0 6px;
        border-color: #f30 transparent transparent transparent;
    }
}