/* ==========================================================================
   一堂一付 · 机构商城（静态原型 · PC / 桌面端）共享样式
   视觉参考：https://www.1t1f.com.cn/
   品牌色：蓝 #3387E9 / 紫 #777DE8 / 点缀金 #ECCD3D
   字体：微软雅黑 / Noto Sans SC
   --------------------------------------------------------------------------
   桌面端骨架：1200px 居中容器 + 白色吸顶导航 + 渐变 Hero + 网格内容区 + 页脚
   ========================================================================== */

:root {
  --brand-blue: #3387E9;
  --brand-purple: #777DE8;
  --brand-gold: #ECCD3D;
  --grad: linear-gradient(135deg, #3387E9 0%, #777DE8 100%);
  --grad-soft: linear-gradient(135deg, #5C9BEE 0%, #9298EE 100%);

  --ink: #222222;
  --text: #333333;
  --muted: #666666;
  --faint: #999999;
  --line: #EEEEEE;

  --bg: #F5F6FA;
  --page: #F5F6FA;
  --card: #FFFFFF;
  --dark: #333333;

  --orange: #FF7C01;
  --red: #F63724;
  --green: #059669;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --shadow-card: 0 2px 14px rgba(20, 40, 80, .07);
  --shadow-hover: 0 14px 34px rgba(51, 135, 233, .16);
  --shadow-float: 0 10px 30px rgba(51, 135, 233, .18);

  --container: 1200px;
  --header-h: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
input, button { font-family: inherit; }
button { border: none; background: none; cursor: pointer; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部站点导航（白色吸顶） ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(20, 40, 80, .04);
}
.site-header .inner {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  height: var(--header-h); display: flex; align-items: center; gap: 28px;
}
.site-logo { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.site-logo img { height: 46px; width: auto; max-width: 180px; object-fit: contain; }
.site-logo .bt { display: flex; flex-direction: column; line-height: 1.25; }
.site-logo .bt b { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: 2px; }
.site-logo .bt i { font-style: normal; font-size: 10px; letter-spacing: 2px; color: var(--faint); text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.site-nav a { padding: 10px 18px; font-size: 15px; color: var(--text); border-radius: 22px; transition: .2s; }
.site-nav a:hover { color: var(--brand-blue); background: #F2F7FF; }
.site-nav a.on { color: #fff; background: var(--grad); box-shadow: 0 6px 16px rgba(51, 135, 233, .28); }

.site-phone {
  flex: 0 0 auto; display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--brand-blue); font-weight: 700;
  padding: 8px 16px; border-radius: 22px; background: #F2F7FF;
}

/* ---------- 渐变 Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--grad); color: #fff; }
.hero::after {
  content: ""; position: absolute; right: -80px; top: -120px;
  width: 380px; height: 380px; border-radius: 50%; background: rgba(255, 255, 255, .10);
}
.hero::before {
  content: ""; position: absolute; left: 12%; bottom: -160px;
  width: 280px; height: 280px; border-radius: 50%; background: rgba(255, 255, 255, .08);
}
.hero .inner {
  position: relative; z-index: 2;
  max-width: var(--container); margin: 0 auto; padding: 56px 24px 60px;
  display: flex; align-items: center; gap: 48px;
}
.hero-title { font-size: 36px; font-weight: 800; letter-spacing: 2px; line-height: 1.15; }
.hero-title span { display: block; margin-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: 4px; opacity: .75; text-transform: uppercase; }
.hero-sub { margin-top: 16px; font-size: 16px; opacity: .92; letter-spacing: .5px; }

/* Hero 内的轮播 */
.hero-swiper {
  position: relative; flex: 1; min-width: 0; height: 300px;
  border-radius: var(--r-md); overflow: hidden; background: rgba(255, 255, 255, .14);
  box-shadow: 0 20px 50px rgba(0, 20, 60, .25);
}
.banner-track { display: flex; height: 100%; transition: transform .45s ease; }
.banner-slide { flex: 0 0 100%; position: relative; height: 100%; }
.banner-slide img { width: 100%; height: 100%; object-fit: fill; }
.banner-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 26px 22px;
  background: linear-gradient(to top, rgba(0, 0, 0, .6), transparent);
  color: #fff; font-weight: 700; font-size: 20px; letter-spacing: 1px;
}
.banner-caption .sub { display: block; margin-top: 6px; font-size: 13px; font-weight: 400; opacity: .95; }
.banner-dots { position: absolute; bottom: 14px; right: 20px; display: flex; gap: 6px; z-index: 3; }
.banner-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: .3s; cursor: pointer; }
.banner-dots span.on { width: 20px; border-radius: 4px; background: #fff; }

/* 面包屑 / 页面大标题 */
.crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--faint); padding: 20px 0 0; }
.crumb.light { color: rgba(255, 255, 255, .8); padding: 0; }
.crumb-back { cursor: pointer; color: var(--brand-blue); margin-right: 4px; }
.crumb.light .crumb-back { color: #fff; }

.page-h1 { display: flex; align-items: baseline; gap: 12px; font-size: 28px; font-weight: 800; color: var(--ink); margin: 4px 0 22px; letter-spacing: 1px; }
.page-h1 span { font-size: 12px; font-weight: 700; letter-spacing: 3px; color: var(--faint); text-transform: uppercase; }

.main-block { padding: 28px 0 72px; }

/* ---------- 区块标题（中文大字 + 英文小字，参考官网） ---------- */
.sec-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.sec-head .cn { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: 1px; }
.sec-head .en { font-size: 12px; font-weight: 700; letter-spacing: 3px; color: var(--faint); text-transform: uppercase; }
.sec-head .more { margin-left: auto; font-size: 13px; color: var(--brand-blue); }

/* ---------- 搜索栏 ---------- */
.search-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.search-input-box {
  flex: 1; display: flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 26px;
  box-shadow: var(--shadow-card);
}
.search-input-box i { color: var(--faint); font-style: normal; font-size: 16px; }
.search-input-box input { flex: 1; border: none; outline: none; font-size: 15px; background: transparent; }
.search-btn {
  height: 52px; padding: 0 40px; border-radius: 26px;
  background: var(--grad); color: #fff; font-size: 15px; font-weight: 700;
  box-shadow: 0 8px 20px rgba(51, 135, 233, .28);
}

/* ---------- 热门活动 ---------- */
.activity-block { background: var(--card); border-radius: var(--r-md); box-shadow: var(--shadow-card); overflow: hidden; margin-bottom: 28px; }
.activity-tags { display: flex; align-items: center; gap: 12px; padding: 16px 22px; background: var(--grad); color: #fff; }
.activity-tags .t { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; }
.activity-tags .t.pill { background: #fff; color: #FF9800; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; }
.activity-tags .more { margin-left: auto; font-size: 13px; opacity: .92; cursor: pointer; }
.activity-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; padding: 20px 22px; }
.activity-item { cursor: pointer; }
.activity-item .thumb { width: 100%; height: 104px; border-radius: var(--r-sm); overflow: hidden; background: #eef2f8; }
.activity-item .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.activity-item:hover .thumb img { transform: scale(1.06); }
.activity-item .name { margin-top: 10px; font-size: 13px; color: var(--text); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 筛选栏 ---------- */
.filter-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.filter-item {
  display: flex; align-items: center; gap: 6px;
  height: 46px; padding: 0 22px; cursor: pointer;
  background: #fff; border-radius: 24px; box-shadow: var(--shadow-card);
  font-size: 14px; color: var(--text); transition: .2s;
}
.filter-item i { font-style: normal; font-size: 10px; color: var(--faint); }
.filter-item:hover { box-shadow: var(--shadow-hover); }
.filter-item.active { color: #fff; background: var(--grad); }
.filter-item.active i { color: #fff; }

/* ---------- 机构卡片 ---------- */
.shop-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.shop-card {
  position: relative; overflow: hidden;
  background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-card);
  padding: 22px; transition: .25s;
}
.shop-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.shop-header { display: flex; gap: 16px; position: relative; cursor: pointer; }
.shop-logo { width: 86px; height: 86px; border-radius: 14px; overflow: hidden; border: 1px solid #f0f2f6; background: #fff; flex: 0 0 auto; }
.shop-logo img { width: 100%; height: 100%; object-fit: contain; }
.shop-info { flex: 1; min-width: 0; }
.shop-title-row { display: flex; align-items: flex-start; gap: 10px; }
.shop-title { font-size: 18px; font-weight: 800; color: var(--ink); line-height: 1.3; }
.shop-dist { margin-left: auto; font-size: 12px; color: var(--faint); white-space: nowrap; }
.shop-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { font-size: 12px; padding: 3px 10px; border-radius: 6px; white-space: nowrap; }
.shop-actions { display: flex; gap: 16px; margin-left: auto; }
.shop-actions .act { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: var(--muted); cursor: pointer; }
.shop-actions .act .ic { width: 34px; height: 34px; border-radius: 50%; background: #f2f5fb; display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--brand-blue); transition: .2s; }
.shop-actions .act:hover .ic { background: var(--brand-blue); color: #fff; }
.shop-attrs { margin-top: 10px; font-size: 12px; color: var(--faint); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.refund-tag {
  position: absolute; top: 0; left: 0; z-index: 3;
  display: flex; align-items: center; gap: 3px;
  background: #1c3cff; color: var(--brand-gold);
  font-size: 11px; font-weight: 700; padding: 4px 12px;
  border-radius: 0 0 12px 0;
}

/* 机构下的课程列表：左右横滑（两侧渐隐 + hover 箭头 + 滚轮映射） */
.shop-products { position: relative; }
.product-rail {
  display: flex; gap: 12px;
  overflow-x: auto; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
  padding-bottom: 4px;
}
.product-rail::-webkit-scrollbar { display: none; }

/* 边缘渐隐：JS 按可滚动方向加 can-left / can-right */
.shop-products::before, .shop-products::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 26px;
  z-index: 1; pointer-events: none; opacity: 0; transition: opacity .2s;
}
.shop-products::before { left: 0;  background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); }
.shop-products::after  { right: 0; background: linear-gradient(270deg, #fff, rgba(255,255,255,0)); }
.shop-products.can-left::before  { opacity: 1; }
.shop-products.can-right::after  { opacity: 1; }

/* 左右箭头：hover 机构卡时浮现 */
.rail-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 30px; height: 30px; border: none; border-radius: 50%;
  background: #fff; color: #555; font-size: 16px; line-height: 1;
  box-shadow: 0 2px 10px rgba(0,0,0,.16); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s, color .2s;
}
.shop-card:hover .rail-btn { opacity: 1; }
.rail-btn:hover { color: var(--brand-blue); }
.rail-btn.left { left: 6px; }
.rail-btn.right { right: 6px; }
.rail-btn.off { display: none; }

.product-card { flex: 0 0 150px; cursor: pointer; }
.product-img { width: 150px; height: 110px; border-radius: 10px; overflow: hidden; background: #eef2f8; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-title { margin-top: 8px; font-size: 12px; color: var(--text); line-height: 1.4; height: 34px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product-price { margin-top: 5px; font-size: 16px; font-weight: 800; color: var(--red); }
.product-price .unit { font-size: 11px; font-weight: 400; color: var(--muted); }
.product-badge { display: inline-block; margin-top: 5px; font-size: 10px; font-weight: 700; color: #fff; background: #FF4D4F; border-radius: 4px; padding: 2px 7px; }

.list-hint { text-align: center; color: var(--faint); font-size: 13px; padding: 26px 0 10px; }

/* 分页 */
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 6px 0 2px; }
.pager button {
  min-width: 92px; height: 38px; padding: 0 20px;
  border: 1px solid #d9e1ec; background: #fff; color: #333;
  border-radius: 19px; font-size: 14px; cursor: pointer; transition: .2s;
}
.pager button:hover:not(:disabled) {
  border-color: var(--brand-blue); color: var(--brand-blue);
  box-shadow: 0 4px 12px rgba(51, 135, 233, .15);
}
.pager button:disabled { opacity: .35; cursor: not-allowed; }
.pager .pg-info { font-size: 14px; color: #666; }
.pager .pg-info b { color: var(--brand-blue); }

/* ---------- 机构详情页 ---------- */
.campus-hero { padding-bottom: 130px; }
.campus-hero .inner { display: block; padding: 40px 24px 0; }
.campus-hero .hero-title { margin-top: 18px; }

.jgxx-card {
  position: relative; z-index: 5;
  background: #fff; border-radius: var(--r-lg);
  padding: 26px; box-shadow: 0 12px 34px rgba(20, 40, 80, .12);
  margin-top: -104px;
}
.jgxx-top { display: flex; gap: 20px; align-items: center; }
.jgxx-top .logo { width: 104px; height: 104px; border-radius: 18px; overflow: hidden; border: 1px solid #f0f2f6; flex: 0 0 auto; }
.jgxx-top .logo img { width: 100%; height: 100%; object-fit: contain; }
.jgxx-top .meta { flex: 1; min-width: 0; }
.jgxx-name-row { display: flex; align-items: flex-start; gap: 10px; }
.jgxx-name { font-size: 24px; font-weight: 800; color: var(--ink); line-height: 1.3; }
.fav-btn { width: 40px; height: 40px; border-radius: 12px; background: rgba(108, 108, 234, .08); color: var(--brand-purple); display: flex; align-items: center; justify-content: center; font-size: 18px; flex: 0 0 auto; cursor: pointer; }
.fav-btn.on { background: rgba(236, 205, 61, .22); color: #E1A800; }
.jgxx-rows { margin-top: 20px; border-top: 1px dashed var(--line); padding-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; }
.jgxx-row { display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: 8px; font-size: 13px; padding: 3px 0; cursor: pointer; }
.jgxx-row .lb { color: var(--muted); display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.jgxx-row .vl { color: var(--text); }
.jgxx-row .vl .phone { color: var(--brand-blue); margin-right: 12px; }

/* 双栏（主内容 + 侧栏） */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; margin-top: 28px; }
.col-side { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 20px; }

/* 带装饰圆的区块标题（沿用小程序 CampusView 视觉） */
.block { margin-bottom: 24px; }
.block-head {
  position: relative; padding: 16px 22px; border-radius: var(--r-md) var(--r-md) 0 0;
  overflow: hidden; font-size: 17px; font-weight: 800;
  display: flex; align-items: center; gap: 8px;
}
.block-head .circ-lg, .block-head .circ-sm { position: absolute; border-radius: 50%; filter: blur(10px); }
.block-head .circ-lg { top: -40px; left: -10px; width: 170px; height: 170px; }
.block-head .circ-sm { top: 22px; left: 168px; width: 44px; height: 44px; }
.block-head.blue { color: #074ECA; background: linear-gradient(270deg, #F5F9FF, #EFF6FF); }
.block-head.blue .circ-lg { background: #BAD3FF; }
.block-head.blue .circ-sm { background: #D3E5FF; }
.block-head.orange { color: #7F1E09; background: linear-gradient(0deg, #FCE9E3 0%, #FFFCFB 50%, #FFF0EB 100%); }
.block-head.orange .circ-lg { background: linear-gradient(180deg, #FFD8CF, #FFB7AA); }
.block-head.orange .circ-sm { background: linear-gradient(180deg, #FFD8CF, #FFB7AA); }
.block-head .tt { position: relative; z-index: 2; }

.block-body { background: #fff; border-radius: 0 0 var(--r-md) var(--r-md); padding: 22px; box-shadow: var(--shadow-card); }

/* 机构环境轮播 */
.campus-swiper { position: relative; border-radius: var(--r-sm); overflow: hidden; height: 360px; background: #eef2f8; }
.campus-swiper .track { display: flex; height: 100%; transition: transform .45s ease; }
.campus-swiper .track > div { flex: 0 0 100%; height: 100%; }
.campus-swiper img { width: 100%; height: 100%; object-fit: cover; }
.campus-swiper .dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.campus-swiper .dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .55); cursor: pointer; }
.campus-swiper .dots span.on { width: 18px; border-radius: 4px; background: #fff; }

.intro-text { margin-top: 18px; font-size: 14px; color: var(--muted); line-height: 1.9; }
.intro-text b { color: var(--text); }
.link-more { color: var(--brand-blue); font-size: 13px; cursor: pointer; }

.info-row { display: grid; grid-template-columns: 24px 76px 1fr; gap: 8px; align-items: start; margin-top: 14px; font-size: 14px; }
.info-row .ic { font-size: 15px; }
.info-row .lb { color: var(--text); }
.info-row .vl { color: var(--muted); }

/* 课程礼包 */
#packBox { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pack-item { display: flex; gap: 14px; align-items: center; padding: 14px; cursor: pointer; border: 1px solid var(--line); border-radius: var(--r-md); transition: .2s; }
.pack-item:hover { border-color: #CFE0FB; background: #F8FBFF; }
.pack-img { width: 92px; height: 92px; border-radius: 12px; overflow: hidden; flex: 0 0 auto; background: #eef2f8; }
.pack-img img { width: 100%; height: 100%; object-fit: cover; }
.pack-info { flex: 1; min-width: 0; }
.pack-name { font-size: 15px; color: var(--ink); font-weight: 700; line-height: 1.4; }
.pack-count { margin-top: 10px; font-size: 13px; color: var(--muted); }
.pack-count .num { color: var(--brand-blue); font-weight: 800; }
.pack-btn {
  display: block; width: 160px; margin: 18px auto 2px; text-align: center;
  font-size: 13px; color: #EF5C63; font-weight: 700;
  border: 1px solid #EF5C63; background: #FFF9F8;
  padding: 6px 18px; border-radius: 22px; cursor: pointer;
}

/* 特色服务 */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; text-align: center; }
.service-grid .item .ring {
  width: 62px; height: 62px; margin: 0 auto 8px;
  border-radius: 50%; border: 1px solid var(--brand-purple);
  display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--brand-purple);
  background: #fff;
}
.service-grid .item .nm { font-size: 13px; color: var(--text); }

/* 侧栏联系卡 */
.side-card { background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-card); padding: 22px; }
.side-card .ttl { font-size: 16px; font-weight: 800; color: var(--ink); margin-bottom: 14px; }
.side-card .ln { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); padding: 8px 0; border-top: 1px solid #f4f6fa; }
.side-card .ln:first-of-type { border-top: none; }
.side-card .ln .k { color: var(--faint); flex: 0 0 66px; }
.side-card .ln .v { flex: 1; color: var(--text); }
.side-actions { display: flex; gap: 12px; margin-top: 16px; }
.side-actions .b { flex: 1; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; font-weight: 700; cursor: pointer; }
.side-actions .b.primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(51, 135, 233, .26); }
.side-actions .b.ghost { background: #F2F7FF; color: var(--brand-blue); }

/* ---------- 试听课详情页 ---------- */
.course-media { position: relative; background: #0b0b0b; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-card); margin-bottom: 16px; }
.course-media .track { display: flex; height: 440px; transition: transform .4s ease; }
.course-media .track > div { flex: 0 0 100%; height: 100%; }
.course-media img { width: 100%; height: 100%; object-fit: cover; }
.course-media .counter {
  position: absolute; right: 16px; bottom: 16px;
  background: rgba(0, 0, 0, .45); color: #fff;
  font-size: 12px; padding: 4px 12px; border-radius: 20px;
}
.course-media .dots { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 6px; }
.course-media .dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .5); cursor: pointer; }
.course-media .dots span.on { width: 18px; border-radius: 4px; background: #fff; }

.card { background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-card); margin-bottom: 16px; }
.card.tight { padding: 0; overflow: hidden; }

.price-quote { padding: 18px; }
.price-quote .now { display: flex; align-items: baseline; gap: 10px; }
.price-quote .now .p { font-size: 30px; font-weight: 800; color: var(--orange); line-height: 1; }
.price-quote .now .lbl { font-size: 14px; color: var(--orange); font-weight: 700; }
.price-quote .old { margin-top: 8px; font-size: 13px; color: #bbb; text-decoration: line-through; }
.meta-line { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.meta-line .badge { height: 30px; width: 76px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #2d2d2d; flex: 0 0 auto; }
.meta-line .badge.gold { background: var(--brand-gold); box-shadow: 0 1px 5px rgba(247, 224, 138, .9); }
.meta-line .badge.blue { background: #00A0E9; box-shadow: 0 1px 5px rgba(0, 160, 233, .3); color: #fff; }
.meta-line .txt { flex: 1; display: flex; justify-content: space-between; font-size: 12px; color: #888; }

.title-block { padding: 20px; }
.title-line { display: flex; align-items: flex-start; gap: 14px; }
.title-line .main { flex: 1; font-size: 22px; font-weight: 800; color: var(--ink); line-height: 1.4; }
.title-line .acts { display: flex; gap: 10px; }
.title-line .act { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: var(--muted); background: #f7f9fc; border-radius: 10px; padding: 8px 12px; min-width: 52px; cursor: pointer; }
.title-line .act:hover { background: #F2F7FF; color: var(--brand-blue); }
.sub-line { margin-top: 12px; font-size: 14px; color: var(--text); }
.sub-line b { color: var(--brand-blue); cursor: pointer; }

.notice-block { padding: 18px 20px; }
.notice-row { display: flex; gap: 12px; font-size: 13px; padding: 5px 0; }
.notice-row .lb { color: var(--ink); font-weight: 800; min-width: 34px; flex: 0 0 auto; }
.notice-row .ct { color: var(--muted); flex: 1; }
.notice-row .ct .arw { color: var(--brand-blue); }

.detail-head { position: sticky; top: var(--header-h); z-index: 20; background: #fff; padding: 16px 20px; font-size: 17px; font-weight: 800; color: var(--ink); border-bottom: 1px solid #f0f2f6; }
.meta-grid { display: flex; padding: 20px; gap: 12px; }
.meta-grid .m { flex: 1; text-align: center; }
.meta-grid .m .ic { font-size: 24px; }
.meta-grid .m .lb { font-size: 12px; color: #888; margin-top: 6px; }
.meta-grid .m .vl { font-size: 14px; font-weight: 700; color: var(--ink); margin-top: 4px; }

.pay-table { padding: 0 20px 16px; }
.pay-row { display: flex; padding: 10px 0; border-top: 1px solid #f5f6fa; }
.pay-row:first-child { border-top: none; }
.pay-cell { flex: 1; }
.pay-cell .lb { font-size: 12px; color: #b8b8b8; }
.pay-cell .vl { font-size: 16px; font-weight: 800; color: var(--ink); margin-top: 3px; }

.rule-card { border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-card); padding: 26px; margin-bottom: 16px; }
.rule-title { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; color: #1f2937; }
.rule-title .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.steps { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.step { display: flex; gap: 14px; }
.step .n { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #10B981, #059669); color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step .t { flex: 1; font-size: 14px; color: #374151; }
.step .t .h { font-weight: 800; color: var(--green); }
.step .t .s { font-size: 12px; color: #6B7280; margin-top: 4px; }
.hl { color: var(--green); font-weight: 800; }

.example { margin-top: 22px; background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 14px; padding: 18px; }
.example .ttl { font-size: 13px; font-weight: 800; color: var(--green); margin-bottom: 12px; }
.example .r { display: flex; justify-content: space-between; font-size: 13px; color: #374151; padding: 4px 0; }
.example .r .v { flex: 1.4; }

.sec-block { padding: 6px 20px 18px; }
.sec-block .ttl { font-size: 14px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.sec-block .body { font-size: 14px; color: var(--text); line-height: 1.9; }
.sec-block + .sec-block { border-top: 1px solid #f0f2f6; padding-top: 16px; }

.ad-img { border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-card); background: #fff; }
.ad-img img { width: 100%; }

/* 侧栏下单面板 */
.buy-panel { position: sticky; top: calc(var(--header-h) + 24px); background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-card); padding: 22px; }
.buy-panel .bp-price { display: flex; align-items: baseline; gap: 10px; }
.buy-panel .bp-price .p { font-size: 32px; font-weight: 800; color: var(--orange); line-height: 1; }
.buy-panel .bp-price .lbl { font-size: 14px; color: var(--orange); font-weight: 700; }
.buy-panel .bp-old { margin-top: 8px; font-size: 13px; color: #bbb; text-decoration: line-through; }
.buy-panel .bp-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; font-size: 12px; color: #888; }
.buy-panel .bp-badges { display: flex; gap: 8px; margin-top: 14px; }
.buy-panel .bp-divider { height: 1px; background: var(--line); margin: 18px 0; }
.buy-panel .buy {
  height: 54px; border-radius: 14px; background: var(--grad); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: var(--shadow-float); cursor: pointer; width: 100%;
}
.buy-panel .buy .m { font-size: 16px; font-weight: 800; line-height: 1.15; }
.buy-panel .buy .s { font-size: 12px; font-weight: 700; color: var(--brand-gold); }
.buy-panel .bp-icons { display: flex; gap: 12px; margin-top: 14px; }
.buy-panel .icon-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; height: 42px; border-radius: 12px; background: #F7F9FC; font-size: 13px; color: var(--muted); cursor: pointer; }
.buy-panel .icon-btn:hover { background: #F2F7FF; color: var(--brand-blue); }
.buy-panel .icon-btn .ic { font-size: 16px; }

/* ---------- 底部弹层 / 弹窗 / 提示 ---------- */
.sheet-mask, .pop-mask {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden; transition: opacity .25s;
}
.sheet-mask.on, .pop-mask.on { opacity: 1; visibility: visible; }

/* 弹层（PC 端改为居中对话框） */
.sheet {
  position: fixed; left: 50%; top: 50%; z-index: 201;
  width: 380px; max-width: 92vw;
  background: #fff; border-radius: var(--r-md);
  overflow: hidden;
  transform: translate(-50%, -46%) scale(.96);
  opacity: 0; visibility: hidden;
  transition: all .25s ease;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}
.sheet.on { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.sheet .sheet-ttl { text-align: center; font-size: 15px; font-weight: 800; color: var(--ink); padding: 16px; border-bottom: 1px solid #f5f6fa; }
.sheet .sheet-item { display: flex; align-items: center; justify-content: center; height: 48px; font-size: 14px; color: var(--text); border-bottom: 1px solid #f7f8fb; cursor: pointer; }
.sheet .sheet-item:hover { background: #F8FBFF; }
.sheet .sheet-item.on { color: var(--brand-blue); font-weight: 800; }
.sheet .sheet-cancel { height: 50px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; cursor: pointer; }

.pop {
  position: fixed; z-index: 202;
  left: 50%; top: 50%; transform: translate(-50%, -46%) scale(.96);
  width: 88%; max-width: 460px; max-height: 82vh;
  background: #fff; border-radius: var(--r-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  opacity: 0; visibility: hidden; transition: all .25s ease;
  display: flex; flex-direction: column; overflow: hidden;
}
.pop.on { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.pop-center { text-align: center; padding: 22px 18px; }
.pop-center .ic { font-size: 34px; }
.pop-center .tt { font-size: 16px; font-weight: 800; color: var(--ink); margin-top: 8px; }
.pop-center .ds { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.7; }

/* 订单确认（PC 端居中弹窗） */
.order-sheet {
  position: fixed; inset: 0; z-index: 202;
  background: rgba(0, 0, 0, .45);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .25s;
}
.order-sheet.on { opacity: 1; visibility: visible; }
.order-panel {
  width: 480px; max-width: 100%; max-height: 86vh;
  background: #F8F8F8; border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .32);
  transform: translateY(18px) scale(.98); transition: transform .28s ease;
}
.order-sheet.on .order-panel { transform: none; }
.order-head { position: relative; display: flex; align-items: center; justify-content: center; height: 54px; background: #fff; border-bottom: 1px solid #f0f0f0; flex: 0 0 auto; }
.order-head .tag { position: absolute; left: 16px; font-size: 12px; color: #7F4800; }
.order-head .tt { font-size: 16px; font-weight: 700; color: var(--ink); }
.order-head .close { position: absolute; right: 16px; font-size: 18px; color: var(--ink); cursor: pointer; }
.order-body { flex: 1; overflow-y: auto; padding-bottom: 16px; }
.order-foot { flex: 0 0 auto; background: #fff; box-shadow: 0 -2px 10px rgba(0, 0, 0, .05); }
.agree { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 12px; color: var(--muted); padding: 8px 0; cursor: pointer; }
.agree .ck { width: 15px; height: 15px; border-radius: 50%; border: 1px solid #ccc; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; color: transparent; }
.agree .ck.on { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; }
.agree a { color: var(--brand-blue); }
.total-line { display: flex; align-items: baseline; padding: 0 16px 8px; font-size: 13px; color: var(--red); }
.total-line .amt { font-size: 20px; font-weight: 800; margin: 0 6px; }
.pay-btn { display: block; width: calc(100% - 32px); margin: 0 16px 14px; height: 48px; border-radius: 10px; background: #FF3F3E; color: #fff; font-size: 16px; font-weight: 800; }
.pay-btn.disabled { opacity: .5; }

.course-line { display: flex; gap: 14px; background: #fff; padding: 16px; }
.course-line .im { width: 80px; height: 80px; border-radius: 8px; overflow: hidden; flex: 0 0 auto; background: #eef2f8; }
.course-line .im img { width: 100%; height: 100%; object-fit: cover; }
.course-line .info { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.course-line .nm { font-size: 15px; font-weight: 700; color: var(--ink); }
.course-line .ss { font-size: 12px; color: var(--faint); margin-top: 4px; }
.course-line .pr { font-size: 20px; font-weight: 800; color: var(--orange); }
.course-line .pr .u { font-size: 11px; color: var(--orange); margin-left: 4px; }

.contact-line { display: flex; align-items: center; gap: 12px; background: #fff; padding: 14px 16px; margin-top: 8px; }
.contact-line .av { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: #f2f5fb; flex: 0 0 auto; }
.contact-line .nm { font-size: 14px; color: var(--text); }
.contact-line .ph { font-size: 12px; color: var(--muted); margin-left: 8px; }
.contact-line .arw { margin-left: auto; color: #ccc; }

.fee-box { background: #fff; margin-top: 8px; padding: 6px 16px 16px; }
.fee-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 14px; }
.fee-row .lb { color: var(--text); }
.fee-row .vl { font-weight: 800; color: var(--ink); }
.fee-row .vl.orange { color: var(--orange); }
.fee-row .lb.orange { color: var(--orange); font-weight: 800; }
.fee-row .vl.muted { color: var(--faint); font-weight: 400; }
.fee-divider { height: 1px; background: var(--line); margin: 6px 0; }
.fee-note { text-align: right; font-size: 12px; color: var(--muted); padding-top: 8px; }
.fee-note .hj { color: #FF6414; font-weight: 800; }
.ytyt-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ytyt-row .l { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text); }
.ytyt-row .l .rbox { width: 18px; height: 18px; border-radius: 4px; background: #fdecec; display: flex; align-items: center; justify-content: center; color: #F63320; font-size: 11px; }
.ytyt-row .r { font-size: 12px; color: #7F4800; background: #F7E9C7; padding: 4px 8px; border-radius: 4px; cursor: pointer; }
.refund-row { display: flex; justify-content: space-between; align-items: center; background: #fff; margin-top: 8px; padding: 14px 16px; font-size: 14px; }
.refund-row .l { display: flex; align-items: center; gap: 6px; color: var(--text); }
.refund-row .r { color: var(--muted); font-size: 12px; }
.refund-desc { background: #fff; padding: 0 16px 12px; font-size: 12px; color: var(--faint); }

/* Toast */
.toast {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%);
  z-index: 300; background: rgba(0, 0, 0, .78); color: #fff;
  font-size: 13px; padding: 12px 20px; border-radius: 8px;
  opacity: 0; visibility: hidden; transition: .2s; max-width: 76%; text-align: center;
}
.toast.on { opacity: 1; visibility: visible; }

/* ---------- 页脚 ---------- */
.site-footer { background: #202842; color: #C7CEDF; margin-top: 8px; }
.site-footer .inner { max-width: var(--container); margin: 0 auto; padding: 44px 24px 30px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer .f-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.site-footer .f-brand img { height: 42px; width: 42px; border-radius: 12px; object-fit: contain; background: #fff; }
.site-footer .f-brand b { font-size: 19px; font-weight: 800; color: #fff; letter-spacing: 1px; }
.site-footer .f-desc { font-size: 13px; line-height: 1.9; color: #8F98B3; }
.site-footer h4 { font-size: 15px; color: #fff; font-weight: 800; margin-bottom: 14px; }
.site-footer .f-link { display: block; font-size: 13px; color: #A9B2C9; padding: 4px 0; cursor: pointer; }
.site-footer .f-link:hover { color: #fff; }
.site-footer .f-copy { border-top: 1px solid rgba(255, 255, 255, .08); }
.site-footer .f-copy .inner2 { max-width: var(--container); margin: 0 auto; padding: 16px 24px; font-size: 12px; color: #7C86A1; display: flex; justify-content: space-between; }

/* 通用小工具 */
.mt8 { margin-top: 8px; }
.hide { display: none !important; }
.skeleton { color: var(--faint); text-align: center; padding: 20px 0; font-size: 13px; }

/* ---------- 页脚：沿用官网首页（../css/style.css）的 #contact + #copyright 视觉 ---------- */
#root-footer { background: #333; margin-top: 8px; }
#root-footer .rf-margin { position: relative; width: 1200px; max-width: 100%; margin: 0 auto; padding: 0 24px; }

#root-footer .rf-contact { padding: 54px 0 44px; }
#root-footer .rf-title { display: flex; align-items: baseline; gap: 8px; }
#root-footer .rf-title-left { font-family: "Microsoft YaHei", "微软雅黑", sans-serif; font-size: 40px; font-weight: 200; line-height: 1.45; color: #fff; letter-spacing: 0; }
#root-footer .rf-title-right { font-family: "Microsoft YaHei", "微软雅黑", sans-serif; font-size: 14px; font-weight: 700; line-height: 42px; color: #aaa; letter-spacing: 1px; }

#root-footer .rf-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 60px; margin-top: 24px; }
#root-footer .rf-left { flex: 1 1 auto; min-width: 0; }
#root-footer .rf-left h3 { font-family: "Microsoft YaHei", "微软雅黑", sans-serif; font-size: 24px; font-weight: 700; line-height: 1.6; color: #fff; margin-bottom: 8px; }
#root-footer .rf-left p { font-family: "Microsoft YaHei", "微软雅黑", sans-serif; font-size: 14px; font-weight: 200; line-height: 34px; color: #aaa; }

#root-footer .rf-right { flex: 0 0 340px; text-align: right; }
#root-footer .rf-tel { font-size: 13px; color: #aaa; letter-spacing: 4px; }
#root-footer .rf-tel-num { margin-top: 2px; font-size: 26px; font-weight: 800; color: #fff; letter-spacing: 1px; }
#root-footer .rf-back {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 30px; margin-top: 16px; border-radius: 24px;
  background: var(--grad); color: #fff; font-size: 15px; font-weight: 700;
  box-shadow: 0 8px 20px rgba(51, 135, 233, .28); transition: .2s;
}
#root-footer .rf-back:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(51, 135, 233, .36); }
#root-footer .rf-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 18px; margin-top: 16px; }
#root-footer .rf-nav a { font-size: 13px; color: #aaa; transition: color .2s; }
#root-footer .rf-nav a:hover { color: #fff; }

#root-footer .rf-copyright { background: #000; }
#root-footer .rf-copyright p { text-align: center; font-family: "Microsoft YaHei", "微软雅黑", sans-serif; font-size: 12px; font-weight: 200; line-height: 60px; color: #fff; }
#root-footer .rf-copyright p a { font-size: 12px; color: #fff; }
#root-footer .rf-copyright p a:hover { text-decoration: underline; }

/* ---------- 窄屏兜底（PC 版以桌面为主） ---------- */
@media (max-width: 960px) {
  .site-header .inner { height: 64px; gap: 14px; }
  .site-nav a { padding: 8px 12px; font-size: 14px; }
  .site-phone { display: none; }
  .hero .inner { flex-direction: column; padding: 36px 20px 40px; align-items: stretch; }
  .hero-swiper { height: 220px; }
  .two-col { grid-template-columns: 1fr; }
  .col-side, .buy-panel { position: static; }
  .shop-list { grid-template-columns: 1fr; }
  .activity-list { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .site-footer .inner { grid-template-columns: 1fr 1fr; }

  #root-footer .rf-contact { padding: 36px 0 30px; }
  #root-footer .rf-title-left { font-size: 28px; }
  #root-footer .rf-main { flex-direction: column; gap: 24px; }
  #root-footer .rf-right { flex: none; text-align: left; }
  #root-footer .rf-nav { justify-content: flex-start; }
  #root-footer .rf-copyright p { line-height: 24px; padding: 14px 0; }
}
