/* 宁游小官网 · 产品详情页样式（私家团详情页版式）
   主色：携程蓝 #2577e3 / 价格橙 #ff7700；与主官网 CSS 共存，仅作用于 .pd-page 内部 */
.pd-page{background:#f5f7fa;padding-bottom:96px}
.pd-page *{box-sizing:border-box}
.pd-wrap{max-width:1160px;margin:0 auto;padding:0 16px}
.pd-crumb{font-size:13px;color:var(--ny-sub,#8a8a8a);padding:14px 0}
.pd-crumb a{color:var(--ny-sub,#8a8a8a);text-decoration:none}
.pd-crumb a:hover{color:#2577e3}
.pd-crumb span{margin:0 6px;opacity:.5}

/* ---------- 顶部图集墙 ---------- */
.pd-gallery{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:214px 214px;gap:6px;border-radius:12px;overflow:hidden;position:relative;background:#000}
.pd-gallery .g-main{grid-row:span 2;position:relative;cursor:pointer;overflow:hidden}
.pd-gallery img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease}
.pd-gallery .g-cell{position:relative;cursor:pointer;overflow:hidden}
.pd-gallery .g-cell:hover img{transform:scale(1.06)}
.pd-gallery .g-main:hover img{transform:scale(1.03)}
.pd-photo-count{position:absolute;right:12px;bottom:12px;background:rgba(0,0,0,.6);color:#fff;font-size:12px;padding:5px 12px;border-radius:20px;z-index:3;backdrop-filter:blur(4px)}
.pd-badge-top{position:absolute;left:12px;top:12px;background:linear-gradient(90deg,#ff7700,#ff4d00);color:#fff;font-size:12px;font-weight:600;padding:6px 12px;border-radius:4px;z-index:3}

/* ---------- 标题 + 价格卡 ---------- */
.pd-head{display:grid;grid-template-columns:1fr 320px;gap:20px;margin-top:18px}
.pd-title-box{background:#fff;border-radius:12px;padding:22px 24px;box-shadow:0 2px 12px rgba(0,0,0,.05)}
.pd-title-box h1{font-size:26px;line-height:1.4;margin:0 0 6px;font-weight:700;color:#1a1a1a}
.pd-subtitle{font-size:14px;color:#6b6b6b;margin:0 0 14px;line-height:1.7}
.pd-tagrow{display:flex;flex-wrap:wrap;gap:8px}
.pd-tag{font-size:12px;padding:4px 10px;border-radius:4px;background:#eef5ff;color:#2577e3;border:1px solid #d6e6ff}
.pd-tag.hot{background:#fff3e8;color:#ff7700;border-color:#ffd9b8}
.pd-sellrow{margin-top:14px;padding-top:14px;border-top:1px dashed #eee;display:flex;gap:18px;font-size:13px;color:#6b6b6b;flex-wrap:wrap}
.pd-sellrow b{color:#ff7700;font-weight:700}
.pd-star{color:#ff7700;font-weight:700}

.pd-price-card{background:#fff;border-radius:12px;box-shadow:0 2px 12px rgba(0,0,0,.05);overflow:hidden;align-self:start;position:sticky;top:16px}
.pd-price-top{background:linear-gradient(135deg,#fff5ec,#ffe8d2);padding:18px 20px}
.pd-price-top .lbl{font-size:12px;color:#a35a00;letter-spacing:1px}
.pd-price-top .num{font-size:34px;font-weight:800;color:#ff5000;line-height:1.1;margin-top:4px}
.pd-price-top .num small{font-size:14px;font-weight:500;color:#ff5000}
.pd-price-top .old{font-size:12px;color:#a8a8a8;text-decoration:line-through;margin-top:4px}
.pd-price-body{padding:16px 20px}
.pd-price-body .row{display:flex;justify-content:space-between;font-size:13px;color:#666;padding:6px 0}
.pd-price-body .row b{color:#333;font-weight:600}
.pd-price-body .disc{margin-top:10px;padding:10px;background:#fffaf3;border:1px solid #ffe2c4;border-radius:6px;font-size:11.5px;line-height:1.7;color:#9a6b3f}
.pd-btn{display:block;text-align:center;background:linear-gradient(90deg,#ff7700,#ff5000);color:#fff;font-size:16px;font-weight:700;padding:13px 0;border-radius:8px;text-decoration:none;margin:14px 20px 18px}
.pd-btn:hover{filter:brightness(1.05)}
.pd-btn.ghost{background:#fff;color:#2577e3;border:1px solid #2577e3;margin-top:-6px;font-size:14px;padding:11px 0}

/* ---------- 行程概览条 ---------- */
.pd-overview{background:#fff;border-radius:12px;margin-top:14px;padding:18px 10px;box-shadow:0 2px 12px rgba(0,0,0,.05);display:grid;grid-template-columns:repeat(6,1fr)}
.pd-overview .ov{text-align:center;border-right:1px solid #f0f0f0;padding:0 8px}
.pd-overview .ov:last-child{border-right:none}
.pd-overview .ov .k{font-size:12px;color:#999;margin-bottom:6px}
.pd-overview .ov .v{font-size:15px;color:#1a1a1a;font-weight:600}
.pd-overview .ov .v.blue{color:#2577e3}

/* ---------- 通用区块 ---------- */
.pd-sec{background:#fff;border-radius:12px;padding:24px;margin-top:14px;box-shadow:0 2px 12px rgba(0,0,0,.05)}
.pd-sec h2{font-size:20px;margin:0 0 6px;color:#1a1a1a;font-weight:700;display:flex;align-items:center;gap:8px}
.pd-sec h2::before{content:"";width:4px;height:18px;background:#2577e3;border-radius:2px}
.pd-sec .sec-sub{font-size:13.5px;color:#8a8a8a;margin:0 0 18px;line-height:1.7}

/* ---------- 亮点 ---------- */
.pd-hl{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.pd-hl .hl{border:1px solid #f0f0f0;border-radius:10px;padding:16px;background:#fcfdff}
.pd-hl .hl .ic{font-size:22px;line-height:1}
.pd-hl .hl b{display:block;font-size:15px;margin:8px 0 6px;color:#1a1a1a}
.pd-hl .hl p{font-size:13px;color:#6b6b6b;line-height:1.75;margin:0}

/* ---------- 每日行程 ---------- */
.pd-day{border:1px solid #eee;border-radius:12px;overflow:hidden;margin-bottom:14px}
.pd-day:last-child{margin-bottom:0}
.pd-day .dhead{display:flex;align-items:center;gap:12px;background:linear-gradient(90deg,#f4f8ff,#fff);padding:14px 18px;border-bottom:1px solid #f0f0f0;flex-wrap:wrap}
.pd-day .dno{background:#2577e3;color:#fff;font-size:13px;font-weight:700;padding:4px 12px;border-radius:20px}
.pd-day .dtitle{font-size:16px;font-weight:700;color:#1a1a1a}
.pd-day .droute{font-size:12.5px;color:#8a8a8a;margin-left:auto}
.pd-day .dbody{display:grid;grid-template-columns:200px 1fr;gap:18px;padding:18px}
.pd-day .dimg{border-radius:8px;overflow:hidden;height:132px;background:#f0f0f0}
.pd-day .dimg img{width:100%;height:100%;object-fit:cover;display:block}
.pd-day .dcap{font-size:11.5px;color:#999;text-align:center;margin-top:6px}
.pd-day .dblock{margin-bottom:14px}
.pd-day .dblock:last-child{margin-bottom:0}
.pd-day .tb{display:inline-block;font-size:12px;color:#2577e3;background:#eef5ff;border-radius:4px;padding:3px 9px;margin-bottom:6px;font-weight:600}
.pd-day .dblock p{font-size:14px;line-height:1.85;color:#444;margin:0}
.pd-day .dmeta{display:flex;gap:8px;flex-wrap:wrap;padding:0 18px 16px}
.pd-day .dmeta span{font-size:12px;color:#6b6b6b;background:#f7f8fa;border-radius:4px;padding:4px 10px}

/* ---------- 价格表 ---------- */
.pd-table{width:100%;border-collapse:collapse;font-size:14px}
.pd-table th{background:#f7f9fc;color:#555;font-weight:600;padding:12px 14px;text-align:left;border-bottom:1px solid #eee;font-size:13px}
.pd-table td{padding:13px 14px;border-bottom:1px solid #f2f2f2;color:#444}
.pd-table tr:last-child td{border-bottom:none}
.pd-table .pr{color:#ff5000;font-weight:700;font-size:16px}
.pd-table .tag{font-size:11px;background:#fff3e8;color:#ff7700;padding:2px 7px;border-radius:3px;margin-left:6px}
.pd-disc{margin-top:14px;background:#fffaf3;border:1px solid #ffe2c4;border-radius:8px;padding:12px 14px;font-size:12.5px;color:#9a6b3f;line-height:1.8}

/* ---------- 费用 ---------- */
.pd-fee{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.pd-fee .box{border-radius:10px;padding:18px}
.pd-fee .in{background:#f4fbf6;border:1px solid #d9f0e1}
.pd-fee .out{background:#fff8f8;border:1px solid #f6dede}
.pd-fee h3{margin:0 0 12px;font-size:15px;color:#1a1a1a}
.pd-fee ul{margin:0;padding-left:18px}
.pd-fee li{font-size:13.5px;color:#555;line-height:2}

/* ---------- 须知 ---------- */
.pd-notice h3{font-size:15px;color:#1a1a1a;margin:18px 0 8px}
.pd-notice h3:first-child{margin-top:0}
.pd-notice p,.pd-notice li{font-size:13.5px;color:#555;line-height:1.9}
.pd-notice ul{margin:0;padding-left:18px}

/* ---------- FAQ ---------- */
.pd-faq{border-top:1px solid #f2f2f2;padding:14px 0}
.pd-faq:first-of-type{border-top:none;padding-top:0}
.pd-faq .q{font-size:14.5px;font-weight:700;color:#1a1a1a}
.pd-faq .q::before{content:"Q";display:inline-block;width:20px;height:20px;line-height:20px;text-align:center;background:#2577e3;color:#fff;border-radius:4px;font-size:12px;margin-right:8px}
.pd-faq .a{font-size:13.5px;color:#666;line-height:1.9;margin:8px 0 0 28px}
.pd-faq .a::before{content:"A";display:inline-block;width:20px;height:20px;line-height:20px;text-align:center;background:#eef5ff;color:#2577e3;border-radius:4px;font-size:12px;margin-right:8px;font-weight:700}

/* ---------- 评价 ---------- */
.pd-review{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.pd-review .rv{border:1px solid #f0f0f0;border-radius:10px;padding:16px;background:#fcfdff}
.pd-review .rv .hd{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.pd-review .rv .av{width:32px;height:32px;border-radius:50%;background:#2577e3;color:#fff;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}
.pd-review .rv .nm{font-size:13px;color:#333;font-weight:600}
.pd-review .rv .dt{font-size:11.5px;color:#aaa;margin-left:auto}
.pd-review .rv p{font-size:13px;color:#666;line-height:1.8;margin:0}

/* ---------- 相似推荐 ---------- */
.pd-rel{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.pd-rel .card{border:1px solid #f0f0f0;border-radius:10px;overflow:hidden;text-decoration:none;color:inherit;display:block}
.pd-rel .card img{width:100%;height:130px;object-fit:cover;display:block}
.pd-rel .card .b{padding:12px 14px}
.pd-rel .card .t{font-size:14px;font-weight:600;color:#1a1a1a;margin-bottom:6px;line-height:1.5}
.pd-rel .card .p{font-size:16px;color:#ff5000;font-weight:700}

/* ---------- 底部悬浮条 ---------- */
.pd-fixbar{position:fixed;left:0;right:0;bottom:0;background:#fff;box-shadow:0 -2px 16px rgba(0,0,0,.1);z-index:60;border-top:1px solid #f0f0f0}
.pd-fixbar .in{max-width:1160px;margin:0 auto;padding:10px 16px;display:flex;align-items:center;gap:16px}
.pd-fixbar .txt{flex:1;font-size:13px;color:#6b6b6b;line-height:1.5}
.pd-fixbar .txt b{display:block;font-size:15px;color:#1a1a1a}
.pd-fixbar .pnum{font-size:24px;font-weight:800;color:#ff5000}
.pd-fixbar .pnum small{font-size:12px;font-weight:500}
.pd-fixbar .btn{background:linear-gradient(90deg,#ff7700,#ff5000);color:#fff;font-size:15px;font-weight:700;padding:11px 30px;border-radius:24px;text-decoration:none;white-space:nowrap}
.pd-fixbar .btn.wx{background:#fff;color:#2577e3;border:1px solid #2577e3}

/* ---------- 响应式 ---------- */
@media (max-width:900px){
  .pd-head{grid-template-columns:1fr}
  .pd-price-card{position:static}
  .pd-gallery{grid-template-columns:1fr 1fr;grid-template-rows:180px 180px}
  .pd-gallery .g-main{grid-column:span 2;grid-row:span 1}
  .pd-gallery .g-cell:nth-of-type(5){display:none}
  .pd-overview{grid-template-columns:repeat(3,1fr);gap:12px 0}
  .pd-hl,.pd-review,.pd-rel{grid-template-columns:1fr}
  .pd-fee{grid-template-columns:1fr}
  .pd-day .dbody{grid-template-columns:1fr}
  .pd-fixbar .txt{display:none}
}

/* ==== 头部紧凑化（2026-10-28）：标题卡不随价格卡拉升；概览条搬进标题卡 ==== */
.pd-title-box{align-self:start}
.pd-overview.in-head{background:transparent;box-shadow:none;border-radius:0;padding:16px 0 0;margin-top:16px;border-top:1px solid #eef1f5;grid-template-columns:repeat(3,1fr);gap:14px 0}

@media (max-width:600px){
  .pd-overview.in-head{grid-template-columns:repeat(2,1fr);gap:14px 0}
}
