/* 嵊泗团建站点 - 前台样式 */
:root {
  --primary: #006994;
  --primary-dark: #004e6e;
  --accent: #f4a261;
  --accent-dark: #e76f51;
  --text: #2b2d42;
  --text-light: #5a5d72;
  --bg: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(10px) saturate(1.05);
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.brand-text h1 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
}

.brand-text span {
  font-size: 12px;
  color: var(--text-light);
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--primary);
}

.nav-contact {
  display: none;
}

/* Mobile nav */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 20px;
}

/* Hero */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  position: relative;
  overflow: hidden;
  background: #1a1a2e;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-carousel .carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: opacity;
  transform: translateZ(0);
}

.hero-carousel .carousel-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.55) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23f8f9fa' fill-opacity='1' d='M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,224C672,245,768,267,864,250.7C960,235,1056,181,1152,165.3C1248,149,1344,171,1392,181.3L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
}

.hero-badge {
  position: absolute;
  top: 110px;
  right: 32px;
  z-index: 4;
  width: 240px;
  max-width: 32vw;
  height: auto;
  filter:
    drop-shadow(0 0 2px rgba(255,255,255,0.95))
    drop-shadow(0 0 6px rgba(255,255,255,0.8))
    drop-shadow(0 0 16px rgba(255,255,255,0.5))
    drop-shadow(0 8px 28px rgba(0,0,0,0.55));
  animation: heroBadgeIn 0.8s ease-out both, heroBadgeFloat 6s ease-in-out 0.8s infinite;
}

.hero h2 {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 20px;
  color: rgba(255,255,255,0.95);
  margin-bottom: 32px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 15px rgba(0,105,148,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,105,148,0.45);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.8);
}

.btn-outline:hover {
  background: #fff;
  color: var(--primary);
}

/* Sections */
.section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h3 {
  font-size: 32px;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.section-title p {
  font-size: 16px;
  color: var(--text-light);
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  padding: 28px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary), #00bcd4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
}

.feature-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-light);
}

/* Packages */
.packages-section {
  background: #fff;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.package-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: transform 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
}

.package-card:hover {
  transform: translateY(-4px);
}

.package-card.highlight {
  border-color: var(--accent);
  position: relative;
}

.package-card.highlight::before {
  content: '推荐';
  position: absolute;
  top: 14px;
  right: -32px;
  width: 110px;
  text-align: center;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 0;
  transform: rotate(45deg);
  z-index: 2;
}

.package-header {
  padding: 24px 24px 16px;
  background: #fff;
}

.package-header h4 {
  font-size: 20px;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.package-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.package-meta span {
  font-size: 13px;
  color: var(--text-light);
  background: #eef2f7;
  padding: 4px 10px;
  border-radius: 12px;
}

.package-body {
  padding: 0 24px 20px;
  flex: 1;
}

.package-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.package-price .currency {
  font-size: 18px;
  color: var(--accent-dark);
  font-weight: 700;
}

.package-price .amount {
  font-size: 42px;
  font-weight: 800;
  color: var(--accent-dark);
  line-height: 1;
}

.package-price .unit {
  font-size: 14px;
  color: var(--text-light);
}

.package-price .original {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
  margin-left: auto;
}

.package-desc {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 14px;
}

.package-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.package-tags span {
  font-size: 12px;
  color: var(--primary);
  background: rgba(0,105,148,0.08);
  padding: 4px 10px;
  border-radius: 12px;
}

.package-footer {
  padding: 0 24px 24px;
}

.btn-block {
  width: 100%;
  border-radius: 10px;
}

/* Itinerary */
.iti-routes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.iti-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-right: 2px;
}

.iti-chip {
  border: 1.5px solid var(--primary);
  background: #fff;
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s;
}

.iti-chip:hover {
  background: var(--primary);
  color: #fff;
}

.iti-chip.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(22, 101, 152, .3);
}

.iti-tip {
  background: #e8f5e9;
  border: 1px dashed #43a047;
  color: #2e7d32;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 18px;
}

/* v15：行程安排板块参考提示（说明攻略内容仅供参考） */
.iti-reference {
  background: #fff8e1;
  border-left: 4px solid #f4a261;
  color: #8a5a00;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  margin: 0 0 16px 0;
  line-height: 1.6;
}

.iti-more-tip {
  margin-top: 18px;
  padding: 12px 16px;
  background: #fff8e1;
  border: 1px dashed #f9a825;
  color: #b26a00;
  border-radius: 10px;
  font-size: 13px;
}

.itinerary-timeline {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.day-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.day-header {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 18px 24px;
}

.day-header h4 {
  font-size: 20px;
  margin-bottom: 4px;
}

.day-header p {
  font-size: 14px;
  opacity: 0.9;
}

.day-items {
  padding: 20px 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.day-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: var(--bg);
  border-radius: 10px;
}

.day-time {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.day-item h5 {
  font-size: 16px;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.day-item p {
  font-size: 13px;
  color: var(--text-light);
}

/* Fee & Notes */
.fee-section {
  background: #fff;
}

.notes-list {
  background: #fff8e1;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.notes-list h4 {
  font-size: 20px;
  color: #f57c00;
  margin-bottom: 16px;
}

.notes-list ol {
  padding-left: 20px;
}

.notes-list li {
  font-size: 14px;
  color: var(--text-light);
  padding: 6px 0;
}

/* Contact */
.contact-section {
  text-align: center;
}

.contact-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.qr-wrap {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  padding: 10px;
  border: 2px dashed var(--primary);
  border-radius: 16px;
}

.qr-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-card h4 {
  font-size: 20px;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-dark);
  background: #fff3e0;
  padding: 10px 24px;
  border-radius: 30px;
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.footer-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 16px;
  border: 3px solid rgba(255,255,255,0.3);
}

.footer h4 {
  font-size: 20px;
  margin-bottom: 8px;
}

.footer p {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 4px;
}

.footer a {
  color: var(--accent);
}

/* Float CTA */
.float-cta {
  position: fixed;
  right: 16px;
  bottom: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}

.float-btn:hover {
  transform: scale(1.08);
}

.float-btn.qr {
  background: var(--accent);
}

.float-btn.tel {
  background: var(--primary);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: #fff;
  border-radius: var(--radius);
  max-width: 360px;
  width: 100%;
  padding: 28px;
  text-align: center;
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroBadgeIn {
  from { opacity: 0; transform: scale(0.85) translateY(-16px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes heroBadgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.modal h4 {
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.modal .qr-wrap {
  margin-bottom: 16px;
}

.modal p {
  font-size: 14px;
  color: var(--text-light);
}

.modal-close {
  margin-top: 20px;
  padding: 10px 28px;
  background: var(--bg);
  color: var(--text);
  border-radius: 8px;
  font-weight: 600;
}

/* 一键分享：带文字介绍的正式分享卡弹窗 */
.share-modal {
  max-width: 420px;
  text-align: left;
}
.share-modal h4 {
  text-align: center;
}
.share-card {
  border: 1px solid #e3e8ee;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.share-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #eaf6fb, #f4fbfd);
  border-bottom: 1px solid #e3e8ee;
}
.share-card-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #e3e8ee;
}
.share-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-dark);
}
.share-card-sub {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
}
.share-card-text {
  margin: 0;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 300px;
  overflow-y: auto;
}
.share-tip {
  text-align: center;
  margin-top: 12px;
}
.share-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
  flex-wrap: wrap;
}
.share-actions .btn {
  padding: 10px 20px;
  font-size: 14px;
}

/* Carousel controls */
.carousel-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 10px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-dot.active {
  background: #fff;
  transform: scale(1.3);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}

.carousel-arrow:hover {
  background: rgba(255,255,255,0.35);
}

.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }

/* Combo image generator modal */
.plan-modal .modal {
  max-width: 420px;
  /* 弹窗超长时整体可滚动，避免图片过长把保存按钮挤出视口 */
  max-height: 92dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.plan-canvas-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  margin-bottom: 16px;
  background: #f4f6f8;
  /* 关键：长图独立滚动区，操作按钮永远可见 */
  flex: 1 1 auto;
  min-height: 0;
  max-height: 64dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.plan-canvas-wrap img,
.plan-canvas-wrap canvas {
  width: 100%;
  height: auto;
  display: block;
}

.plan-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.plan-actions .btn {
  padding: 10px 18px;
  font-size: 14px;
}

.combo-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* Responsive */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .packages-grid {
    grid-template-columns: 1fr;
  }
  .day-items {
    grid-template-columns: 1fr;
  }
  .combo-items {
    grid-template-columns: repeat(3, 1fr);
  }
  /* 方案面板在窄屏改为普通流式区块（置于卡片列表下方），不再 sticky */
  .diy-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .combo-panel {
    position: static;
    max-height: none;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 20px;
    gap: 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
  }
  .nav-contact {
    display: block;
    margin-top: 10px;
  }
  .menu-toggle {
    display: flex;
  }
  .hero h2 {
    font-size: 32px;
  }
  .hero p {
    font-size: 16px;
  }
  .section {
    padding: 56px 16px;
  }
  .diy-section {
    padding-bottom: 240px;
  }
  .section-title h3 {
    font-size: 24px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .package-price .amount {
    font-size: 34px;
  }
  .combo-items {
    grid-template-columns: repeat(2, 1fr);
  }
  .combo-summary {
    padding: 14px 16px;
    gap: 12px;
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }
  .panel-head { padding: 12px 14px; }
  .panel-total { font-size: 16px; }
  .panel-body { padding: 10px 12px 14px; }
  .combo-summary .people-box input,
  .combo-summary .nights-box input {
    height: 44px;
    padding: 8px 10px;
    font-size: 16px;
  }
  .combo-summary .total-box {
    margin-left: 0;
    text-align: left;
  }
  .combo-summary .total-box .t-amount {
    font-size: 26px;
  }
  .combo-summary .btn {
    width: 100%;
    padding: 14px 20px;
  }
  .carousel-arrow {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }
  .carousel-prev { left: 10px; }
  .carousel-next { right: 10px; }
  .hero-badge {
    top: 92px;
    right: 16px;
    width: 200px;
    max-width: 28vw;
  }
  .hero h2 {
    font-size: 28px;
  }
  .plan-modal .modal {
    max-width: 92vw;
    padding: 20px 14px;
    /* 手机端：长图滚动区 + 按钮区永远在视口内 */
    max-height: 92dvh;
  }
  .plan-canvas-wrap {
    max-height: 60dvh;
  }
  .plan-actions .btn {
    flex: 1 1 auto;
  }
}

@media (max-width: 640px) {
  /* 微信/手机端：2 列紧凑卡片网格，告别单列"老年版" */
  .combo-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }
  .combo-item .c-desc {
    display: none;
  }
  .combo-item {
    padding: 11px 10px 9px;
    border-width: 1.5px;
    border-radius: 12px;
  }
  .combo-item .c-icon {
    font-size: 20px;
    margin-bottom: 3px;
    display: inline-block;
  }
  .combo-item .c-name {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 2px;
    display: block;
    line-height: 1.3;
    min-height: 17px;
    word-break: break-all;
  }
  .combo-item .c-price-box {
    display: block;
    line-height: 1.35;
    margin-top: 3px;
  }
  .combo-item .c-price {
    font-size: 15px;
    display: inline;
  }
  .combo-item .c-unit {
    font-size: 10.5px;
    display: inline;
  }
  .combo-item .c-qty {
    margin-top: 6px;
    padding-top: 6px;
    gap: 5px;
  }
  .combo-item .qty-btn {
    width: 26px;
    height: 26px;
    line-height: 24px;
    font-size: 15px;
    border-width: 1.5px;
    border-radius: 7px;
  }
  .combo-item .qty-num {
    font-size: 13px;
    min-width: 14px;
  }
  .combo-item .qty-unit {
    font-size: 11px;
  }
  .combo-item.selected::after {
    width: 20px;
    height: 20px;
    font-size: 11px;
    top: -6px;
    right: -6px;
  }
  /* 分组头部在窄屏更紧凑 */
  .combo-group-header h4 {
    font-size: 16px;
  }
  .combo-group-header .g-icon {
    font-size: 18px;
  }
  .combo-group-header .g-note {
    font-size: 10.5px;
    padding: 2px 8px;
  }
  .combo-group-header .g-selcount {
    font-size: 11px;
    padding: 2px 8px;
  }
  .combo-group-header .g-required {
    font-size: 10.5px;
    padding: 2px 8px;
  }
  /* 结算栏：日期框与人数/晚数同行排布 */
  .combo-summary .date-box input {
    min-height: 44px;
    min-width: 0;
    flex: 1;
    font-size: 13px;
  }
  .hero-badge {
    top: 88px;
    right: 12px;
    width: 155px;
    max-width: 30vw;
  }
  .hero h2 {
    font-size: 24px;
  }
  .hero p {
    font-size: 15px;
  }
  .brand-text h1 {
    font-size: 15px;
  }
  .brand-text span {
    font-size: 11px;
  }
}

/* ===== DIY 自由组合 ===== */
.diy-section {
  background: linear-gradient(180deg, #e0f7fa 0%, #f8f9fa 100%);
  /* 底部留白：避免 sticky 结算栏遮挡最后一组卡片 */
  padding-bottom: 190px;
}

.diy-intro {
  max-width: 860px;
  margin: 0 auto 32px;
  padding: 16px 20px;
  background: #fff;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-light);
  box-shadow: var(--shadow);
}

/* ===== 快速选择预设方案 ===== */
.preset-panel {
  max-width: 860px;
  margin: 0 auto 32px;
  background: linear-gradient(135deg, #006994, #0a86b8);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 28px rgba(0,105,148,0.28);
  transition: box-shadow 0.3s;
}
.preset-panel.flash { box-shadow: 0 0 0 3px var(--accent), 0 8px 28px rgba(0,105,148,0.4); }
.preset-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.preset-title { color: #fff; font-weight: 800; font-size: 17px; letter-spacing: 0.5px; }
.preset-sub { color: rgba(255,255,255,0.82); font-size: 12px; margin-top: 2px; }
.preset-toggle {
  background: #fff;
  color: #006994;
  border: none;
  border-radius: 8px;
  padding: 7px 16px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s;
}
.preset-toggle:hover { transform: translateY(-1px); }
.preset-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.preset-panel.collapsed .preset-grid { display: none; }
.preset-card {
  background: #fff;
  border-radius: 12px;
  padding: 13px;
  border: 1.5px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.preset-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,0.18); }
.preset-card-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.preset-card-name { font-weight: 800; font-size: 14.5px; color: #1a1a2e; }
.preset-card-days { background: #e0f7fa; color: #006994; font-size: 11px; font-weight: 700; border-radius: 6px; padding: 2px 7px; white-space: nowrap; }
.preset-card-desc { font-size: 11.5px; color: #5c5c7a; line-height: 1.45; }
.preset-card-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.preset-card-tags span { background: #fff3e0; color: #e76f51; font-size: 10.5px; border-radius: 5px; padding: 1px 6px; font-weight: 600; }
.preset-card-items { font-size: 11px; color: #8a8aa3; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.preset-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 5px; border-top: 1px dashed #e3e6ef; }
.preset-card-price { font-size: 11.5px; color: #006994; font-weight: 700; }
.preset-price-note { font-size: 9.5px; color: #7a8a99; font-weight: 500; margin-left: 3px; }
.preset-card-cta { font-size: 11px; color: #fff; background: var(--accent); border-radius: 7px; padding: 4px 9px; font-weight: 700; white-space: nowrap; }

@media (max-width: 992px) {
  .preset-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .preset-panel { padding: 12px; }
  /* 手机端预设方案也用 2 列紧凑卡片 */
  .preset-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .preset-card { padding: 10px 10px 9px; }
  .preset-card-name { font-size: 12.5px; }
  .preset-card-desc { font-size: 10.5px; }
  .preset-card-items { font-size: 10px; -webkit-line-clamp: 2; }
  .preset-card-price { font-size: 13px; }
  .preset-card-cta { font-size: 10.5px; padding: 3px 8px; }
  .preset-card-tags span { font-size: 9.5px; padding: 1px 5px; }
  .preset-sub { font-size: 11px; }
  .preset-title { font-size: 15px; }
}

.combo-group {
  margin-bottom: 28px;
}

.combo-group-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.combo-group-header .g-icon {
  font-size: 22px;
}

.combo-group-header h4 {
  font-size: 19px;
  color: var(--primary-dark);
}

.combo-group-header .g-note {
  font-size: 12px;
  color: var(--text-light);
  background: #eef2f7;
  padding: 3px 10px;
  border-radius: 12px;
}

.combo-group-header .g-required {
  font-size: 12px;
  color: #fff;
  background: var(--accent-dark);
  padding: 3px 10px;
  border-radius: 12px;
}

/* 分组折叠：头部可点击，箭头旋转，收起时隐藏卡片 */
.combo-group-header {
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  border-radius: 10px;
  padding: 4px 6px;
  margin-left: -6px;
  transition: background 0.15s;
}

.combo-group-header:hover {
  background: rgba(0, 105, 148, 0.05);
}

.combo-group-header .g-selcount {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  padding: 3px 10px;
  border-radius: 12px;
  margin-left: auto;
  white-space: nowrap;
}

.combo-group-header .g-selcount.empty {
  background: #c9d3dd;
  font-weight: 500;
}

.combo-group-header .g-arrow {
  font-size: 14px;
  color: var(--text-light);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.combo-group.collapsed .g-arrow {
  transform: rotate(-90deg);
}

.combo-group.collapsed .combo-items {
  display: none;
}

.combo-group.collapsed .combo-group-header {
  margin-bottom: 8px;
}

.combo-item {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  cursor: pointer;
  text-align: left;
  transition: transform 0.15s, border-color 0.2s, box-shadow 0.2s;
  position: relative;
  font-family: inherit;
  width: 100%;
  display: block;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
}

.combo-item:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}

.combo-item:active {
  transform: scale(0.97);
}

.combo-item.selected {
  border-color: var(--primary);
  background: rgba(0,105,148,0.05);
  box-shadow: 0 4px 16px rgba(0,105,148,0.15);
}

.combo-item.selected::after {
  content: '✓';
  position: absolute;
  top: -8px;
  right: -8px;
  width: 26px;
  height: 26px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.combo-item .c-icon {
  font-size: 28px;
  margin-bottom: 8px;
  display: block;
}

.combo-item .c-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  display: block;
}

.combo-item .c-desc {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 8px;
  display: block;
  min-height: 34px;
}

.combo-item .c-price {
  font-size: 17px;
  font-weight: 800;
  color: var(--accent-dark);
}

.combo-item .c-price.free {
  color: var(--success, #2a9d8f);
  font-size: 15px;
  padding: 2px 8px;
  background: rgba(42,157,143,0.1);
  border-radius: 20px;
}

.combo-item .c-unit {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 400;
}

/* 结算栏 */
.combo-summary {
  position: sticky;
  bottom: 0;
  z-index: 900;
  background: #fff;
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -6px 24px rgba(0,0,0,0.1);
  padding: 18px 24px;
  padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.combo-summary .people-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.combo-summary .people-box label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.combo-summary .people-box input {
  width: 90px;
  padding: 10px 12px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  outline: none;
}

.combo-summary .people-box input:focus {
  border-color: var(--primary);
}

.combo-summary .nights-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.combo-summary .nights-box label {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.combo-summary .nights-box input {
  width: 70px;
  padding: 10px 12px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  outline: none;
}

/* 预计出行日期 */
.combo-summary .date-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.combo-summary .date-box label {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.combo-summary .date-box input {
  padding: 8px 10px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  outline: none;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  min-height: 42px;
}

.combo-summary .date-box input:focus {
  border-color: var(--primary);
}

.combo-summary .total-box {
  margin-left: auto;
  text-align: right;
}

.combo-summary .total-box .t-label {
  font-size: 13px;
  color: var(--text-light);
}

.combo-summary .total-box .t-amount {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-dark);
  line-height: 1.1;
}

.combo-summary .total-box .t-avg {
  font-size: 13px;
  color: var(--text-light);
}

.combo-summary .btn {
  white-space: nowrap;
}

/* 手机端：汇总条（参团人数/住宿晚数/预计出行）不再 sticky 弹出，
   改为页尾普通流式区块；选择完成后由 JS 直接跳转至此。
   注意：必须放在 .combo-summary 基础规则之后才能覆盖源码顺序。 */
@media (max-width: 768px) {
  .combo-summary {
    position: static;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    margin-top: 16px;
  }
}

/* 已选清单 */
.combo-selected-list {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 24px;
  margin-bottom: 16px;
}

.combo-selected-list h4 {
  font-size: 16px;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.combo-selected-list table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.combo-selected-list th {
  text-align: left;
  color: var(--text-light);
  font-weight: 600;
  padding: 8px 4px;
  border-bottom: 1px solid var(--border);
}

.combo-selected-list td {
  padding: 8px 4px;
  border-bottom: 1px dashed #eef0f3;
}

.combo-selected-list td:last-child,
.combo-selected-list th:last-child {
  text-align: right;
}

.combo-selected-list .row-total td {
  font-weight: 800;
  color: var(--accent-dark);
  border-bottom: none;
}

.combo-empty {
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
  padding: 12px 0;
}

/* v26：固定套餐激活提示条（清单下方）——组合估算固定为人均套餐价 × 实际人数，清单为原价参考 */
.combo-fixed-tip {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff7e6;
  border: 1px dashed #f0b429;
  color: #8a6100;
  font-size: 13px;
  line-height: 1.6;
}

/* ================= 精选套餐 · 自由组合：两栏布局 + 右侧方案面板 ================= */
.diy-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

/* 移动端：方案面板改为普通流式区块（置于卡片列表下方），不再 sticky。
   必须放在 .diy-layout 基础规则之后才能正确覆盖源码顺序。 */
@media (max-width: 992px) {
  .diy-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .combo-panel {
    position: static;
    max-height: none;
  }
}

@media (max-width: 640px) {
  .diy-layout {
    gap: 14px;
  }
  .preset-panel {
    padding: 12px;
  }
  .preset-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.diy-main {
  min-width: 0;
}

/* 左栏内的预设面板与引导文案不再受 860px 居中限制 */
.diy-main .preset-panel,
.diy-main .diy-intro {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

/* 右侧方案面板（sticky 跟随滚动） */
.combo-panel {
  position: sticky;
  top: 84px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
  overflow: hidden;
  max-height: calc(100vh - 110px);
  display: flex;
  flex-direction: column;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #006994, #0a86b8);
  color: #fff;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.panel-head:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.panel-title { font-weight: 800; font-size: 16px; letter-spacing: 0.5px; }

.panel-head-right { display: flex; align-items: center; gap: 10px; }

.panel-total { font-size: 18px; font-weight: 800; color: #ffd54f; white-space: nowrap; }

.panel-arrow {
  display: inline-block;
  transition: transform 0.2s;
  font-size: 12px;
  color: rgba(255,255,255,0.8);
}
.panel-head[aria-expanded="false"] .panel-arrow { transform: rotate(-90deg); }

.panel-body {
  overflow-y: auto;
  padding: 12px 14px 16px;
}
.panel-body.collapsed { display: none; }

.panel-section { margin-bottom: 14px; }
.panel-section:last-child { margin-bottom: 0; }

.panel-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 8px;
}

.panel-count {
  background: #eef2f7;
  color: var(--text-light);
  border-radius: 10px;
  padding: 1px 8px;
  font-size: 12px;
  font-weight: 600;
}
.panel-count.warn { background: #fff3e0; color: #e65100; }

/* 面板条目：已选 */
.panel-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #eef0f3;
  margin-bottom: 6px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.panel-item:hover { border-color: var(--primary); background: #f0f7fa; }
.panel-item:active { transform: scale(0.98); }

.panel-item .pi-icon { font-size: 18px; flex-shrink: 0; }

.panel-item .pi-name {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.panel-item .pi-sub {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-dark);
  white-space: nowrap;
}

.panel-item .pi-qty {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.pi-btn {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  padding: 0;
}
.pi-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.pi-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.pi-qty .pi-num {
  min-width: 18px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}

/* 面板条目：待选必选 */
.panel-item.pending {
  background: #fff8e6;
  border-color: #ffe1a8;
}
.panel-item.pending:hover { border-color: #ffb300; background: #fff4d6; }

.panel-item .pi-tag {
  font-size: 10px;
  color: #e65100;
  background: #ffe0b2;
  border-radius: 8px;
  padding: 1px 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.pi-add {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ff9800;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  padding: 0;
  flex-shrink: 0;
}
.pi-add:hover { background: #e65100; }
.pi-add:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.panel-empty {
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
  padding: 12px 8px;
  background: #fafbfc;
  border: 1px dashed #e1e4e8;
  border-radius: 10px;
}
.panel-empty.done {
  color: var(--success, #2a9d8f);
  background: #f0faf7;
  border-color: #cdeae2;
}

/* 面板条目点击跳转后的卡片高亮闪烁 */
.combo-item.flash-target { animation: comboFlash 1.4s ease; }
@keyframes comboFlash {
  0%   { box-shadow: 0 0 0 4px var(--accent); border-color: var(--accent); }
  100% { box-shadow: 0 0 0 0 rgba(255,183,0,0); border-color: var(--primary); }
}

/* WX mini-program web-view safe */
body.wx-webview .float-cta {
  bottom: 48px;
}

/* ================= 支持品牌区 ================= */
.partners-section {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 26px 24px;
}

.partners-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.partners-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 2px;
  white-space: nowrap;
  position: relative;
  padding-right: 24px;
}

.partners-label::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 22px;
  background: var(--border);
}

.partners-grid {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.partner-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 10px;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 999px;
  background: #fff;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.partner-card:hover {
  border-color: rgba(0,105,148,0.2);
  box-shadow: 0 4px 18px rgba(0,105,148,0.08);
  transform: translateY(-2px);
}

.partner-logo {
  width: auto;
  min-width: 44px;
  height: 44px;
  max-width: 120px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
}

.partner-logo img {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.partner-logo-text {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
}

.partner-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .partners-section {
    padding: 20px 16px;
  }
  .partners-inner {
    gap: 14px;
  }
  .partners-label {
    padding-right: 14px;
    letter-spacing: 1px;
  }
  .partner-card {
    gap: 9px;
    padding: 6px 14px 6px 8px;
  }
  .partner-logo {
    width: 36px;
    height: 36px;
  }
  .partner-name {
    font-size: 12.5px;
  }
}

/* ================= 组合卡片数量步进器 ================= */
.combo-item .c-qty {
  display: none;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}

.combo-item.selected .c-qty {
  display: flex;
}

.combo-item .qty-btn {
  width: 30px;
  height: 30px;
  line-height: 28px;
  text-align: center;
  border: 2px solid var(--primary);
  border-radius: 8px;
  color: var(--primary);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  background: #fff;
  transition: background 0.15s, color 0.15s;
}

.combo-item .qty-btn:hover {
  background: var(--primary);
  color: #fff;
}

.combo-item .qty-btn:active {
  transform: scale(0.92);
}

.combo-item .qty-num {
  min-width: 34px;
  text-align: center;
  font-size: 17px;
  font-weight: 800;
  color: var(--primary-dark);
}

/* v15：双击数字展开的输入框（直接输入数量） */
.qty-num-input {
  width: 56px;
  padding: 3px 6px;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  color: var(--primary-dark);
  border: 1.5px solid var(--primary);
  border-radius: 6px;
  background: #fff;
  -moz-appearance: textfield;
}
.qty-num-input::-webkit-outer-spin-button,
.qty-num-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.combo-item .qty-unit {
  font-size: 12px;
  color: var(--text-light);
  margin-left: 2px;
}

/* 已选清单数量列 */
.combo-selected-list td.qty-cell {
  font-weight: 700;
  color: var(--primary-dark);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .combo-item .c-qty {
    flex-shrink: 0;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    gap: 4px;
  }
  .combo-item .qty-btn {
    width: 26px;
    height: 26px;
    line-height: 24px;
    font-size: 16px;
  }
  .combo-item .qty-num {
    min-width: 26px;
    font-size: 15px;
  }
  .combo-item .qty-unit {
    display: none;
  }
  /* 小屏清单横向可滚动，避免数量列挤压 */
  .combo-selected-list {
    overflow-x: auto;
  }
  .combo-selected-list table {
    min-width: 420px;
  }
}

/* ================= 购物商品悬停预览 ================= */
.combo-item[data-image] {
  cursor: pointer;
}

.combo-image-preview {
  position: fixed;
  z-index: 2000;
  width: 240px;
  height: 260px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 50px rgba(0,0,0,0.28);
  border: 3px solid #fff;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.combo-image-preview.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.combo-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.combo-image-preview img.loaded {
  opacity: 1;
}

.combo-image-preview .preview-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.combo-image-preview .preview-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 13px;
  color: #666;
  display: block;
}

.combo-image-preview img.loaded + .preview-hint {
  display: none !important;
}

@media (max-width: 640px) {
  .combo-image-preview {
    width: 180px;
    height: 196px;
  }
  .combo-image-preview .preview-title {
    font-size: 12px;
    padding: 6px 10px;
  }
}

/* ================= 移动端点击预览产品大图条 ================= */
.combo-mobile-preview {
  display: none;
}
@media (max-width: 767px) {
  .combo-mobile-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding: 10px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: auto;
  }
  .combo-mobile-preview.active {
    opacity: 1;
    transform: translateY(0);
  }
  .combo-mobile-preview img {
    width: 84px;
    height: 84px;
    border-radius: 10px;
    object-fit: cover;
    flex: 0 0 auto;
  }
  .combo-mobile-preview .cmp-info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .combo-mobile-preview .cmp-name {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    line-height: 1.4;
  }
  .combo-mobile-preview .cmp-price {
    font-size: 13px;
    color: var(--accent-dark);
    font-weight: 600;
  }
  .combo-mobile-preview .cmp-close {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border: none;
    background: rgba(0,0,0,0.06);
    border-radius: 50%;
    font-size: 15px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* 尊重系统“减少动态效果”设置 */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ===== 无障碍：键盘焦点可见性 ===== */
:focus-visible {
  outline: 3px solid var(--accent, #00b4d8);
  outline-offset: 2px;
  border-radius: 6px;
}

.combo-item:focus-visible,
.preset-card:focus-visible {
  outline-color: var(--primary, #006994);
  outline-offset: 2px;
}

.combo-item .qty-btn:focus-visible {
  outline: 3px solid var(--primary, #006994);
  outline-offset: 1px;
  background: var(--primary, #006994);
  color: #fff;
}

/* 鼠标点击获得焦点时不显示焦点环，键盘 Tab 时才出现 */
.combo-item:focus:not(:focus-visible),
.preset-card:focus:not(:focus-visible),
.qty-btn:focus:not(:focus-visible) {
  outline: none;
}

/* ===================== 为什么是嵊泗 ===================== */
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--accent);
  background: rgba(244, 162, 97, 0.12);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.why-section {
  background: linear-gradient(180deg, #fff 0%, #f1f6fa 100%);
}
.why-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
  padding: 4px;
}
.why-table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
}
.why-table th,
.why-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid #eef2f7;
  line-height: 1.55;
}
.why-table thead th {
  background: #f1f6fa;
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  position: sticky;
  top: 0;
}
.why-table thead th.reco,
.why-table td.reco {
  background: rgba(0, 105, 148, 0.06);
  color: var(--primary-dark);
  font-weight: 600;
  position: relative;
}
.why-table thead th.reco {
  background: var(--primary);
  color: #fff;
}
.why-table thead th.reco .reco-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  padding: 1px 8px;
  border-radius: 999px;
  margin-left: 6px;
  font-weight: 600;
  letter-spacing: 1px;
}
.why-table tbody tr:hover td {
  background: #fafcfd;
}
.why-table tbody tr:hover td.reco {
  background: rgba(0, 105, 148, 0.09);
}
.why-table .row-label {
  font-weight: 700;
  color: var(--primary-dark);
  background: #f8f9fa;
  width: 120px;
}
.why-table .row-sub {
  font-weight: 400;
  font-size: 12px;
  color: var(--text-light);
}

/* ===================== 需求诊断 板块 ===================== */
.diagnosis-section {
  background: #fff;
}
.dx-h {
  font-size: 18px;
  color: var(--primary-dark);
  margin: 0 0 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dx-h::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 2px;
}
.dx-h--sec {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed #e1e4e8;
}
.dx-intro {
  background: linear-gradient(135deg, #f1f6fa 0%, #e8f0f7 100%);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 105, 148, 0.08);
}
.dx-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 0 18px;
  padding: 0;
  counter-reset: step;
}
.dx-steps li {
  display: flex;
  gap: 12px;
  background: #fff;
  padding: 16px 18px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.dx-step-num {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #00acc1);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dx-step-body h5 {
  font-size: 16px;
  color: var(--primary-dark);
  margin: 0 0 4px;
}
.dx-step-body p {
  font-size: 13px;
  color: var(--text-light);
  margin: 0;
  line-height: 1.55;
}
.dx-tip {
  background: rgba(0, 105, 148, 0.06);
  border-left: 3px solid var(--primary);
  padding: 10px 14px;
  font-size: 13.5px;
  color: var(--text);
  border-radius: 0 6px 6px 0;
  margin: 0 0 16px;
}
.dx-trust {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
  padding: 0;
  margin: 0;
}
.dx-trust li {
  font-size: 13px;
  color: var(--text);
  padding: 8px 12px;
  background: rgba(255,255,255,0.7);
  border-radius: 6px;
}
.dx-trust li b {
  color: var(--primary-dark);
  margin-right: 4px;
}

/* 主区 + 诊断表单双列布局 */
.diagnosis-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}
.diagnosis-main {
  min-width: 0;
}
.diagnosis-panel {
  position: sticky;
  top: 84px;
  background: linear-gradient(180deg, #fff 0%, #f8fbfd 100%);
  border: 1px solid rgba(0, 105, 148, 0.12);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
  box-shadow: 0 6px 24px rgba(0, 105, 148, 0.08);
  align-self: start;
}
.dx-panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #eef2f7;
}
.dx-panel-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #00acc1);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
}
.dx-panel-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.3;
}
.dx-panel-sub {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
}
.dx-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dx-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dx-field > label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}
.dx-req {
  color: #e63946;
  font-weight: 700;
}
.dx-hint {
  color: var(--text-light);
  font-weight: 400;
  font-size: 12px;
}
.dx-field select {
  font-family: inherit;
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid #d6dde3;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' fill='none' stroke='%235a5d72' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px;
  padding-right: 32px;
}
.dx-field select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 105, 148, 0.12);
}
.dx-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dx-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  padding: 6px 10px;
  background: #f1f6fa;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s;
  line-height: 1.4;
}
.dx-chip input {
  display: none;
}
.dx-chip:hover {
  background: #e3edf5;
}
.dx-chip:has(input:checked) {
  background: rgba(0, 105, 148, 0.1);
  border-color: var(--primary);
  color: var(--primary-dark);
  font-weight: 600;
}
.dx-submit {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 4px 14px rgba(0, 105, 148, 0.25);
}
.dx-result {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed #d6dde3;
}
.dx-result-head {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.dx-result-body {
  background: #f8fbfd;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text);
}
.dx-result-body .dx-rec-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  padding: 1px 8px;
  border-radius: 999px;
  margin-right: 6px;
  letter-spacing: 1px;
}
.dx-result-body b { color: var(--primary-dark); }
.dx-result-body .dx-rec-price {
  display: block;
  margin-top: 6px;
  font-size: 18px;
  font-weight: 800;
  color: #e63946;
}
.dx-result-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.dx-result-actions .primary {
  grid-column: 1 / -1;
}
.dx-action {
  font-family: inherit;
  font-size: 13px;
  padding: 9px 8px;
  background: #fff;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s;
}
.dx-action:hover {
  background: var(--primary);
  color: #fff;
}
.dx-action.primary {
  background: linear-gradient(135deg, var(--accent) 0%, #e76f51 100%);
  border-color: var(--accent);
  color: #fff;
}
.dx-action.primary:hover {
  filter: brightness(1.05);
}
.dx-msg {
  margin-top: 12px;
  padding: 10px 12px;
  background: #fff4e6;
  border: 1px solid #f4a261;
  border-radius: 8px;
  font-size: 13px;
  color: #8a4500;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dx-msg .dx-msg-btn {
  align-self: flex-start;
  font-family: inherit;
  font-size: 12.5px;
  padding: 5px 12px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

/* 必选配套徽标（烧烤卡上提示"需配合：六合朝阳景区门票"） */
.combo-item .c-required-tag {
  display: none;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: #fff;
  background: linear-gradient(135deg, #f4a261, #e76f51);
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 4px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 3px rgba(231, 111, 81, 0.3);
}
.combo-item.has-required .c-required-tag {
  display: inline-flex;
}
.combo-item.has-required {
  background: linear-gradient(135deg, #fff 0%, #fff8f0 100%);
}

/* 人数不足/出发地不符：项目置灰不可选（点击提示原因） */
.combo-item.c-short {
  opacity: 0.55;
  filter: grayscale(0.5);
  cursor: not-allowed;
  background: #f6f7f8;
}
.combo-item.c-short:hover {
  transform: none;
  border-color: var(--border);
  box-shadow: none;
}
.combo-item .c-short-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  color: #b3391f;
  background: #fdecea;
  border: 1px solid #f5c6c0;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 4px;
  font-weight: 600;
  white-space: nowrap;
}
/* 软门槛提示（人少可拼船/拼艇，仍可选） */
.combo-item .c-soft-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  color: #8a6d1a;
  background: #fff8e1;
  border: 1px solid #f0e0a8;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 4px;
  font-weight: 600;
  white-space: nowrap;
}

/* 交通出发点选择器（出发点决定交通方式组合） */
.dep-chips {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}
.dep-chip {
  border: 2px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}
.dep-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.dep-chip.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 3px 10px rgba(0, 105, 148, 0.25);
}
.dep-tip {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--text-light);
  background: var(--bg);
  border-left: 3px solid var(--primary);
  border-radius: 6px;
  padding: 8px 12px;
  margin-bottom: 6px;
  line-height: 1.6;
}

/* v17 交通分区：自由行 / 团队游 子区标题条（跨满整行） */
.traffic-sub {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 4px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--border);
}
.traffic-sub:first-of-type {
  margin-top: 2px;
}
.traffic-sub .ts-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.5px;
}
.traffic-sub .ts-note {
  font-size: 12px;
  color: var(--text-light);
}
/* v20/v21 车/船/接驳分区：汽车区主题色，海上区海蓝色，码头接驳区琥珀橙，一眼区分 */
.traffic-sub.ts-car .ts-label {
  color: var(--primary-dark);
}
.traffic-sub.ts-boat .ts-label {
  color: #0369a1;
}
.traffic-sub.ts-boat {
  border-bottom-color: #bfdbfe;
}
.traffic-sub.ts-shuttle .ts-label {
  color: #b45309;
}
.traffic-sub.ts-shuttle {
  border-bottom-color: #fed7aa;
}
/* v17 热门线路徽标 */
.combo-item .c-hot-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  color: #c2410c;
  background: #fff1ea;
  border: 1px solid #fcd0bb;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 4px;
  font-weight: 600;
  white-space: nowrap;
}

/* 诊断结果卡片与咨询话术 */
.dx-rec {
  background: linear-gradient(135deg, #eef7fb 0%, #e6f4f9 100%);
  border: 1px solid #cfe8f2;
  border-radius: 10px;
  padding: 10px 12px;
}
.dx-rec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.dx-rec-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
}
.dx-rec-days {
  font-size: 11.5px;
  color: var(--primary);
  background: #fff;
  border: 1px solid #bfe0ee;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.dx-rec-price {
  margin-top: 4px;
  font-size: 17px;
  font-weight: 700;
  color: var(--accent-dark);
}
.dx-rec-price .dx-rec-note {
  font-size: 11.5px;
  color: #8a93a6;
  font-weight: 400;
}
.dx-rec-desc {
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--text-light);
  line-height: 1.55;
}
.dx-rec-badge {
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ff8a3d, #ff5e62);
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.dx-rec-detail-title {
  margin-top: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--primary-dark);
}
.dx-rec-detail {
  margin-top: 3px;
  font-size: 11.5px;
  color: var(--text-light);
  line-height: 1.6;
  background: #fff;
  border: 1px dashed #cfe8f2;
  border-radius: 8px;
  padding: 6px 9px;
}
.dx-script-title {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
}
.dx-script {
  margin-top: 6px;
  padding: 9px 11px;
  background: #f5f8fb;
  border: 1px solid #e3e9f0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.7;
  color: #3a4a5a;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 220px;
  overflow: auto;
}
.dx-msg-line {
  font-weight: 600;
}
.dx-msg-sub {
  font-size: 12px;
  opacity: 0.85;
}

/* 平板：诊断面板变窄 */
@media (max-width: 1023px) {
  .diagnosis-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px;
  }
  .diagnosis-panel {
    padding: 16px 16px 14px;
  }
  .dx-trust {
    grid-template-columns: 1fr;
  }
}

/* 手机：诊断表单跑到主区上方，单列紧凑 */
@media (max-width: 767px) {
  .dx-steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .dx-trust {
    grid-template-columns: 1fr;
  }
  .dx-intro {
    padding: 18px 16px;
  }
  .diagnosis-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* 覆盖桌面 grid 的 align-items:start，避免主区按内容 min-content 收缩被撑宽 */
    align-items: stretch;
  }
  .diagnosis-panel {
    position: static;
    top: auto;
    order: -1;
    margin-bottom: 8px;
  }
  .dx-result-actions {
    grid-template-columns: 1fr;
  }
  .dx-result-actions .primary {
    grid-column: auto;
  }
  .why-table {
    min-width: 600px;
  }
  .why-table th,
  .why-table td {
    padding: 12px 10px;
    font-size: 13px;
  }
}


/* v24 退改政策清单弹窗（预订须知子链接） */
.refund-policy-btn {
  display: inline-block;
  margin: 8px 0 4px;
  padding: 8px 16px;
  background: #f0f9ff;
  color: #0e7490;
  border: 1px solid #0e7490;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.refund-policy-btn:hover {
  background: #e0f2fe;
}
.refund-modal {
  max-width: 520px;
  max-height: 80dvh;
  text-align: left;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 24px 24px 20px;
}
.refund-modal-title {
  margin-bottom: 12px;
  flex-shrink: 0;
}
.refund-body {
  max-height: 52dvh;
  overflow-y: auto;
  text-align: left;
  padding: 4px 2px 12px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text);
  -webkit-overflow-scrolling: touch;
}
.refund-body .refund-intro {
  margin-bottom: 12px;
  color: var(--text-light);
  font-size: 12.5px;
}
.refund-body h5 {
  margin: 14px 0 6px;
  color: var(--primary-dark);
  font-size: 14px;
}
.refund-body ul {
  margin: 0;
  padding-left: 18px;
}
.refund-body li {
  margin-bottom: 6px;
}
.refund-body .refund-disclaimer {
  margin-top: 14px;
  padding: 10px 12px;
  background: #fff7ed;
  border-left: 3px solid #f59e0b;
  color: #92400e;
  font-size: 12.5px;
  border-radius: 4px;
  line-height: 1.7;
}
.refund-modal .modal-close {
  flex-shrink: 0;
  margin: 8px auto 0;
}
