/* ===== 基础重置 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --secondary: #f59e0b;
    --accent: #10b981;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; color: var(--text); line-height: 1.6; background: var(--bg); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== 按钮 ===== */
.btn { display: inline-block; padding: 12px 28px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; cursor: pointer; transition: var(--transition); border: 2px solid transparent; text-align: center; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-block { display: block; width: 100%; }

/* ===== 顶栏 ===== */
.top-bar { background: var(--bg-dark); color: rgba(255,255,255,0.8); font-size: 13px; padding: 8px 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar-left span { margin-right: 20px; }
.top-bar-left i { margin-right: 5px; }
.top-bar-right a { margin-left: 15px; color: rgba(255,255,255,0.7); }
.top-bar-right a:hover { color: #fff; }

/* ===== 头部 ===== */
.main-header { background: #fff; box-shadow: var(--shadow); position: sticky; top: 0; z-index: 1000; }
.main-header .container { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo a { display: flex; align-items: baseline; gap: 10px; }
.logo h1 { font-size: 24px; color: var(--primary); font-weight: 800; }
.logo span { font-size: 13px; color: var(--text-light); }
.main-nav ul { display: flex; gap: 5px; }
.main-nav a { padding: 8px 16px; border-radius: 20px; font-size: 15px; font-weight: 500; transition: var(--transition); }
.main-nav a:hover, .main-nav a.active { background: var(--primary-light); color: var(--primary); }
.menu-toggle { display: none; font-size: 24px; cursor: pointer; padding: 10px; }

/* ===== 移动菜单 ===== */
.mobile-menu { position: fixed; top: 0; right: -300px; width: 280px; height: 100%; background: #fff; z-index: 2000; padding: 20px; transition: var(--transition); box-shadow: -5px 0 20px rgba(0,0,0,0.1); }
.mobile-menu.open { right: 0; }
.mobile-menu-close { text-align: right; font-size: 24px; cursor: pointer; margin-bottom: 20px; }
.mobile-menu ul li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 16px; }
.mobile-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1500; display: none; }
.mobile-overlay.show { display: block; }

/* ===== 轮播 ===== */
.hero-slider { position: relative; height: 500px; overflow: hidden; }
.slider-container { position: relative; width: 100%; height: 100%; }
.slider-wrapper { position: relative; height: 100%; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.8s ease; background-size: cover !important; background-position: center !important; }
.slide.active { opacity: 1; }
.slide-content { text-align: center; color: #fff; padding: 40px; max-width: 700px; }
.slide-content h2 { font-size: 48px; font-weight: 800; margin-bottom: 15px; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.slide-content p { font-size: 20px; margin-bottom: 30px; opacity: 0.9; }
.slider-prev, .slider-next { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.2); border: none; color: #fff; font-size: 20px; cursor: pointer; transition: var(--transition); z-index: 10; }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
.slider-prev:hover, .slider-next:hover { background: rgba(255,255,255,0.4); }
.slider-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.slider-dots span { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: var(--transition); }
.slider-dots span.active { background: #fff; transform: scale(1.2); }

/* ===== 搜索栏 ===== */
.search-section { margin-top: 0; position: relative; z-index: 10; padding-bottom: 20px; }
.search-box { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-lg); }
.search-box form { display: block; }
.search-group { flex: 1; position: relative; }
.search-group i, .search-group svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-light); z-index: 1; }
.search-group input { width: 100%; padding: 16px 16px 16px 46px; border: 2px solid var(--border); border-radius: var(--radius-sm); font-size: 16px; outline: none; transition: var(--transition); }
.search-group input:focus { border-color: var(--primary); }

/* ===== 区块通用 ===== */
.section-header { text-align: center; margin-bottom: 26px; }
.section-header h2 { font-size: 32px; font-weight: 800; margin-bottom: 10px; }
.section-header p { color: var(--text-light); font-size: 16px; }
.section-footer { text-align: center; margin-top: 40px; }

/* ===== 分类 ===== */
.categories-section { padding: 60px 0; background: var(--bg-light); }
.categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.category-card { background: #fff; border-radius: var(--radius); padding: 30px 20px; text-align: center; transition: var(--transition); border: 1px solid var(--border); }
.category-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.category-icon { font-size: 48px; margin-bottom: 15px; }
.category-card h3 { font-size: 18px; margin-bottom: 8px; }
.category-card p { font-size: 13px; color: var(--text-light); margin-bottom: 10px; }
.category-link { color: var(--primary); font-size: 14px; font-weight: 600; }

/* ===== 线路卡片 ===== */
.featured-section, .routes-section, .routes-list-section { padding: 60px 0; }
.routes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 25px; }
.route-card { background: #fff; border-radius: var(--radius); overflow: hidden; transition: var(--transition); border: 1px solid var(--border); display: block; }
.route-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.route-img { position: relative; height: 200px; background-size: cover !important; background-position: center !important; }
.route-tag { position: absolute; top: 15px; left: 15px; background: var(--secondary); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.route-days { position: absolute; bottom: 15px; right: 15px; background: rgba(0,0,0,0.6); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 12px; }
.route-info { padding: 20px; }
.route-category { display: inline-block; background: var(--primary-light); color: var(--primary); padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.route-info h3 { font-size: 18px; margin-bottom: 6px; line-height: 1.4; }
.route-info p { color: var(--text-light); font-size: 14px; margin-bottom: 12px; }
.route-meta { display: flex; align-items: center; gap: 10px; }
.route-meta-bottom { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-light); margin-bottom: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
.route-price { color: var(--primary); font-size: 22px; font-weight: 800; }
.route-price small { font-size: 13px; font-weight: 400; color: var(--text-light); }
.route-original-price { color: var(--text-light); text-decoration: line-through; font-size: 14px; }
.route-discount { background: #fef2f2; color: #ef4444; padding: 2px 8px; border-radius: 10px; font-size: 12px; font-weight: 600; position: absolute; top: 12px; right: 12px; z-index: 2; box-shadow: 0 1px 4px rgba(0,0,0,0.15); }
.route-type-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(37, 99, 235, 0.92); color: #fff; padding: 3px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,0.2); }
.route-price-row { display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid var(--border); }
.route-price-large { color: var(--primary); font-size: 36px; font-weight: 800; }

/* ===== 页面标题 ===== */
.page-hero { padding: 60px 0; text-align: center; color: #fff; }
.page-hero h1 { font-size: 36px; font-weight: 800; margin-bottom: 10px; }

/* ===== 筛选栏 ===== */
.filter-section { background: var(--bg-light); padding: 20px 0; border-bottom: 1px solid var(--border); }
.filter-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.filter-categories { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn { padding: 8px 20px; border-radius: 20px; font-size: 14px; font-weight: 500; border: 1px solid var(--border); transition: var(--transition); background: #fff; }
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.filter-search { display: flex; gap: 0; }
.filter-search input { padding: 10px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm) 0 0 var(--radius-sm); font-size: 14px; outline: none; }
.filter-search button { padding: 10px 16px; background: var(--primary); color: #fff; border: none; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; cursor: pointer; }
.routes-count { margin-bottom: 20px; font-size: 15px; color: var(--text-light); }

/* ===== 空状态 ===== */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state i { font-size: 64px; color: var(--border); margin-bottom: 20px; }
.empty-state h3 { font-size: 24px; margin-bottom: 10px; }
.empty-state p { color: var(--text-light); margin-bottom: 30px; }

/* ===== 面包屑 ===== */
.breadcrumb-section { padding: 15px 0; background: var(--bg-light); }
.breadcrumb { font-size: 14px; color: var(--text-light); }
.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 8px; }
.breadcrumb .current { color: var(--text); }

/* ===== 线路详情 ===== */
.route-detail-header { padding: 40px 0; background: var(--bg-light); }
.route-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.route-detail-info .route-subtitle { font-size: 16px; color: var(--text-light); margin: 10px 0 20px; }
.route-quick-info { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 20px 0; }
.quick-info-item { display: flex; align-items: center; gap: 12px; padding: 12px; background: #fff; border-radius: var(--radius-sm); }
.quick-info-item i { font-size: 20px; color: var(--primary); }
.quick-info-item strong { display: block; font-size: 12px; color: var(--text-light); }
.quick-info-item span { font-size: 14px; font-weight: 600; }
.route-price-box { background: #fff; border-radius: var(--radius); padding: 25px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; margin-top: 20px; }
.route-price-info { display: flex; align-items: baseline; gap: 8px; flex-wrap: nowrap; white-space: nowrap; }
.route-price-info small { white-space: nowrap; font-size: 14px; }
.route-price-large { white-space: nowrap; font-size: 30px; }
.route-original-price { white-space: nowrap; font-size: 13px; }
.route-discount-tag { white-space: nowrap; padding: 3px 10px; font-size: 12px; }
.route-discount-tag { background: #fef2f2; color: #ef4444; padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 600; }

/* ===== 行程亮点/详情 ===== */
.highlights-section, .itinerary-section, .fee-section, .notes-section { padding: 24px 0; }
.highlights-section { background: var(--bg-light); }
.highlights-content, .itinerary-content, .notes-content { background: #fff; border-radius: var(--radius); padding: 20px; line-height: 2; box-shadow: var(--shadow); }
.fee-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fee-card { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.fee-card h3 { margin-bottom: 15px; font-size: 18px; }
.fee-includes h3 i { color: var(--accent); }
.fee-excludes h3 i { color: #ef4444; }
.fee-card p { line-height: 2; }

/* ===== 预订表单 ===== */
.booking-section { padding: 60px 0; background: var(--bg-light); }
.booking-form-wrap { max-width: 650px; margin: 0 auto; }
.booking-form, .contact-form { background: #fff; border-radius: var(--radius); padding: 35px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form { grid-template-columns: 1fr; }
.form-group-full { grid-column: 1 / -1; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 14px; }
.form-group .required { color: #ef4444; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 15px; outline: none; transition: var(--transition); font-family: inherit; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; grid-column: 1 / -1; }
.booking-form .btn-block, .contact-form .btn-block { grid-column: 1 / -1; }

/* ===== 关于/联系我们 ===== */
.about-section, .contact-section { padding: 60px 0; }
.about-content { max-width: 800px; margin: 0 auto; }
.about-text h2 { font-size: 28px; margin-bottom: 20px; }
.about-text p { line-height: 2; color: var(--text-light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info-cards { display: grid; gap: 20px; }
.contact-card { background: #fff; border-radius: var(--radius); padding: 30px; text-align: center; box-shadow: var(--shadow); }
.contact-card i { font-size: 36px; color: var(--primary); margin-bottom: 15px; }
.contact-card h3 { font-size: 18px; margin-bottom: 8px; }
.contact-card p { color: var(--text-light); }

/* ===== 脚部 ===== */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-col h3 { color: #fff; font-size: 18px; margin-bottom: 20px; }
.footer-col p { line-height: 1.6; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: #fff; }
.footer-social { display: flex; gap: 15px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 18px; transition: var(--transition); }
.footer-social a:hover { background: var(--primary); }
.contact-info li i { width: 20px; margin-right: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; margin-top: 40px; text-align: center; font-size: 13px; }

/* ===== 浮动按钮 ===== */
.float-consult { position: fixed; bottom: 30px; right: 20px; z-index: 100; display: flex; flex-direction: column; gap: 10px; }
.float-item { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; cursor: pointer; box-shadow: var(--shadow-lg); transition: var(--transition); position: relative; }
.float-item:hover { transform: scale(1.1); }
.float-item span { position: absolute; right: 60px; background: #333; color: #fff; padding: 6px 12px; border-radius: 6px; font-size: 13px; white-space: nowrap; display: none; }
.float-item:hover span { display: block; }
.float-phone { background: var(--primary); }
.float-wechat { background: #07c160; }
.float-top { background: var(--text); font-size: 18px; display: none; }
.float-top.show { display: flex; }

/* 手机版：隐藏微信/电话浮动按钮，回顶保留（客服球在右下角） */
@media (max-width: 768px) {
    .float-phone, .float-wechat { display: none; }
    .float-consult { bottom: 30px; }
}

/* ===== Toast通知 ===== */
.toast { position: fixed; top: 20px; right: 20px; background: var(--accent); color: #fff; padding: 16px 24px; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); z-index: 9999; transform: translateX(120%); transition: var(--transition); }
.toast.show { transform: translateX(0); }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .category-card { padding: 18px 10px; }
    .category-card .category-icon { font-size: 24px !important; }
    .category-card h3 { font-size: 14px; margin-bottom: 4px; }
    .category-card p { display: none; }
    .category-card .category-link { font-size: 12px; }
    .top-bar-left span:not(:first-child) { display: none; }
    .main-nav { display: none; }
    .menu-toggle { display: block; }
    .hero-slider { height: 350px; }
    .slide-content h2 { font-size: 28px; }
    .slide-content p { font-size: 16px; }
    .search-box form { display: block; }
    .route-detail-grid { grid-template-columns: 1fr; }
    .route-quick-info { grid-template-columns: 1fr 1fr; gap: 10px; }  /* 手机版：目的地/天数/出发/浏览 2列自适应 */
    .fee-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-col:first-child { grid-column: 1 / -1; }  /* 手机版：关于我们占满整行，其余2列并排，避免一列拉太长 */
    .routes-grid { grid-template-columns: 1fr; }
    .booking-form { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .page-hero h1 { font-size: 28px; }
    .section-header h2 { font-size: 24px; }
    .section-header { margin-bottom: 14px; }
    .highlights-section, .itinerary-section, .fee-section, .notes-section, .schedules-section { padding: 14px 0; }
    .highlights-content, .itinerary-content, .notes-content, .fee-card { padding: 14px; }
    .filter-bar { flex-direction: column; }
    .filter-categories { justify-content: center; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .routes-grid { grid-template-columns: repeat(2, 1fr); }
}
/* ===== 出发城市筛选 ===== */
.city-filter { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.city-filter-label { font-size: 14px; color: var(--text-light); font-weight: 500; white-space: nowrap; }
.city-filter-label i { margin-right: 4px; color: var(--primary); }
.city-btn { padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 500; border: 1px solid var(--border); transition: var(--transition); background: #fff; }
.city-btn:hover, .city-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== 首页搜索 ===== */
@media (max-width: 768px) {
    .search-box .search-row { flex-direction: column; }
    .search-box .search-row select { width: 100%; min-width: auto; }
    .search-box .search-row .btn { width: 100%; }
}
.search-box .search-row { display: flex; gap: 12px; align-items: center; }
.search-box .search-row .search-group { flex: 1; }
.search-box .search-row .search-group input { height: 56px; }
.search-box .search-row select { padding: 16px; border: 2px solid #e2e8f0; border-radius: 8px; font-size: 15px; outline: none; background: #fff; min-width: 140px; cursor: pointer; height: 56px; }
.search-box .search-row select:focus { border-color: #2563eb; }
.search-box .search-row .btn { height: 56px; white-space: nowrap; padding: 16px 28px; }

/* ===== 线路类型标识 ===== */
.tour-type-badge { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 12px; font-weight: 600; margin-right: 6px; }
.tour-type-badge.type-gty { background: #2563eb; color: #fff; }
.tour-type-badge.type-half { background: #8b5cf6; color: #fff; }
.tour-type-badge.type-free { background: #10b981; color: #fff; }
.tour-type-badge.type-custom { background: #f59e0b; color: #fff; }
.route-card .route-type { display: inline-block; padding: 2px 8px; border-radius: 3px; font-size: 11px; font-weight: 600; background: #2563eb; color: #fff; margin-bottom: 6px; }
.route-card .route-type.type-half { background: #8b5cf6; }
.route-card .route-type.type-free { background: #10b981; }
.route-card .route-type.type-custom { background: #f59e0b; }

/* ===== 出团排期 ===== */
.schedules-section { padding: 24px 0; }
.schedule-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.schedule-table th { background: #f8fafc; padding: 12px 16px; text-align: left; font-size: 13px; color: #64748b; font-weight: 600; border-bottom: 2px solid #e2e8f0; }
.schedule-table td { padding: 14px 16px; border-bottom: 1px solid #e2e8f0; font-size: 14px; }
.schedule-table tr:hover td { background: #f8fafc; }
.schedule-date { font-weight: 700; color: #2563eb; font-size: 15px; }
.schedule-price { font-weight: 700; color: #ef4444; font-size: 18px; }
.schedule-original-price { text-decoration: line-through; color: #94a3b8; font-size: 13px; margin-left: 6px; }
.schedule-remaining { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.schedule-remaining.many { background: #d1fae5; color: #065f46; }
.schedule-remaining.few { background: #fef3c7; color: #92400e; }
.schedule-remaining.none { background: #fee2e2; color: #991b1b; }
.schedule-book-btn { padding: 6px 16px; border-radius: 6px; font-size: 13px; }
.schedule-book-btn.full { background: #e2e8f0; color: #94a3b8; cursor: not-allowed; }

/* ===== 行程时间线 ===== */
.timeline { position: relative; padding-left: 100px; }
.timeline::before { content: ""; position: absolute; left: 50px; top: 0; bottom: 0; width: 3px; background: linear-gradient(to bottom, #2563eb, #8b5cf6); border-radius: 2px; }
.timeline-item { position: relative; margin-bottom: 18px; }
.timeline-marker { position: absolute; left: -100px; top: 0; width: 100px; text-align: center; }
.day-badge { display: inline-block; background: linear-gradient(135deg, #2563eb, #8b5cf6); color: #fff; font-weight: 800; font-size: 14px; padding: 6px 14px; border-radius: 20px; box-shadow: 0 2px 8px rgba(37,99,235,0.3); }
.timeline-content { background: #fff; border-radius: 12px; padding: 18px 20px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); border: 1px solid #e2e8f0; transition: all 0.3s; max-width: 900px; }
.timeline-content:hover { box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
.day-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.day-header h3 { font-size: 18px; font-weight: 700; color: #1e293b; }
.day-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.day-tag { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 500; }
.hotel-tag { background: #dbeafe; color: #1d4ed8; }
.meal-tag { background: #fef3c7; color: #92400e; }
.day-desc { font-size: 14px; line-height: 1.5; color: #475569; white-space: pre-wrap; }
.day-images { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 15px; }
.day-img-wrap { border-radius: 8px; overflow: hidden; height: 160px; }
.day-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.day-img-wrap:hover img { transform: scale(1.05); }
@media (max-width: 768px) { .timeline { padding-left: 0; } .timeline::before { display: none; } .timeline-marker { position: static; width: auto; text-align: left; margin-bottom: 8px; } .day-badge { font-size: 11px; padding: 4px 12px; } .day-images { grid-template-columns: 1fr 1fr; } .timeline-content { padding: 14px 14px; max-width: 100%; } .timeline-item { margin-bottom: 14px; } }



/* Schedule table mobile optimization */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -15px;
    padding: 0 15px;
}
.schedule-section { padding: 40px 0; }
.schedule-table { min-width: 650px; }

@media (max-width: 768px) {
    .schedule-section { padding: 25px 0; }
    .schedule-table th { padding: 8px 10px; font-size: 12px; }
    .schedule-table td { padding: 10px; font-size: 13px; }
    .schedule-date { font-size: 13px; }
    .schedule-price { font-size: 15px; }
    .table-responsive { margin: 0 -12px; padding: 0 12px; }
}

/* 价格区：手机端横排（价格一行 按钮一行） */
@media (max-width: 480px) {
    .route-price-box { flex-direction: row; align-items: center; }
    .route-price-info { flex: 1 1 100%; }
    .route-price-box > div:last-child { flex: 1 1 100%; justify-content: center; }
}
