/* 服务套餐 / 订单 / 手机菜单 */
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-dark); margin: 5px 0; border-radius: 2px; }

.price { color: #ff5000; font-weight: 700; }
.price small { font-size: 0.6em; margin-right: 2px; }

.pkg-section { padding: 70px 0; background: var(--bg-light); }
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pkg-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.pkg-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.pkg-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.pkg-body h3 { font-size: 18px; margin-bottom: 6px; }
.pkg-spec { display: inline-block; font-size: 12px; color: var(--primary-color); background: rgba(44,90,160,.08); padding: 2px 8px; border-radius: 4px; margin-bottom: 8px; align-self: flex-start; }
.pkg-body p { color: var(--text-light); font-size: 14px; flex: 1; margin-bottom: 14px; }
.pkg-foot { display: flex; align-items: center; justify-content: space-between; }
.pkg-foot .price { font-size: 24px; }
.buy-btn { display: inline-block; background: #ff5000; color: #fff !important; text-decoration: none; padding: 9px 20px; border-radius: 22px; font-size: 14px; border: 0; cursor: pointer; }
.buy-btn:hover { background: #e64800; }

.price-box { margin-top: 28px; padding: 20px 24px; border-radius: 12px; background: #fff7f2; border: 1px solid #ffd9c2; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.price-box .price { font-size: 28px; }
.price-box .label { color: var(--text-light); font-size: 14px; }

.notice { max-width: 900px; margin: 0 auto; font-size: 14px; color: var(--text-light); }
.notice h3 { color: var(--text-dark); font-size: 16px; margin: 18px 0 8px; }
.notice li { margin-left: 20px; }

/* 订单页 */
.order-wrap { padding: 40px 0 70px; background: var(--bg-light); }
.order-box { background: #fff; border-radius: 12px; padding: 24px 28px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.order-box h2 { font-size: 18px; margin-bottom: 16px; }
.order-item { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--border-color); }
.order-item img { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.order-item .info { flex: 1; min-width: 0; }
.order-item .info h3 { font-size: 16px; }
.order-item .info p { font-size: 13px; color: var(--text-light); }
.qty { display: inline-flex; border: 1px solid var(--border-color); border-radius: 6px; overflow: hidden; }
.qty button { width: 32px; height: 32px; border: 0; background: #f5f5f5; cursor: pointer; font-size: 16px; }
.qty input { width: 44px; text-align: center; border: 0; font-size: 15px; }
.order-form .row { margin-bottom: 14px; }
.order-form label { display: block; font-size: 14px; margin-bottom: 6px; }
.order-form label b { color: #ff5000; }
.order-form input, .order-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border-color); border-radius: 6px; font-size: 15px; font-family: inherit; }
.pay-method { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 2px solid #1677ff; border-radius: 8px; background: #f0f6ff; font-weight: 500; }
.pay-method .ali { width: 28px; height: 28px; border-radius: 6px; background: #1677ff; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.sum-line { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15px; }
.submit-bar { display: flex; justify-content: flex-end; align-items: center; gap: 20px; flex-wrap: wrap; }
.submit-bar .total { font-size: 15px; }
.submit-bar .total .price { font-size: 28px; }
.submit-bar .buy-btn { padding: 14px 44px; font-size: 18px; border-radius: 28px; }
.agree { font-size: 13px; color: var(--text-light); margin-top: 12px; text-align: right; }
.agree a { color: var(--primary-color); }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: none; align-items: center; justify-content: center; z-index: 2000; padding: 16px; }
.modal.show { display: flex; }
.modal-box { background: #fff; border-radius: 12px; padding: 28px; max-width: 420px; width: 100%; text-align: center; }
.modal-box h3 { margin-bottom: 10px; }
.modal-box p { color: var(--text-light); font-size: 14px; margin-bottom: 18px; }

/* 手机自适应 */
@media (max-width: 968px) {
    .pkg-grid { grid-template-columns: repeat(2, 1fr); }
    .header-content { flex-direction: row !important; gap: 0 !important; padding: 12px 0 !important; flex-wrap: wrap; }
    .logo h1 { font-size: 24px; }
    .nav-toggle { display: block; }
    .main-nav { display: none; width: 100%; }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 0 !important; padding: 8px 0; }
    .main-nav li { border-top: 1px solid var(--border-color); }
    .main-nav a { display: block; padding: 12px 4px; }
    .main-nav a::before { display: none; }
    .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 16px; min-width: 0; }
    .dropdown-menu a:hover { padding-left: 24px; }
}
@media (max-width: 640px) {
    .pkg-grid { grid-template-columns: 1fr; }
    .pkg-section { padding: 44px 0; }
    .container { padding: 0 16px; }
    .order-box { padding: 18px 16px; }
    .order-item { flex-wrap: wrap; }
    .order-item img { width: 72px; height: 72px; }
    .order-item .info { flex: 1 1 calc(100% - 92px); }
    .order-item .qty { margin-left: 88px; }
    .order-item .price { flex: 1; }
    .tagline { display: none; }
    .submit-bar { justify-content: space-between; }
    .submit-bar .buy-btn { padding: 12px 28px; font-size: 16px; }
    .hero { min-height: 420px; }
    .page-hero h1 { font-size: 28px !important; }
    img { max-width: 100%; height: auto; }
}
