/* 酒店版 · 紫色大气主题 */
.theme-hotel {
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --primary-light: #a78bfa;
  --primary-bg: #f5f3ff;
  --primary-soft: #ede9fe;
  --text: #1e293b;
  --text-muted: #64748b;
  --bg: #faf9ff;
  --white: #ffffff;
  --border: #ddd6fe;
  --shadow: 0 4px 24px rgba(124, 58, 237, 0.1);
  --shadow-lg: 0 12px 40px rgba(124, 58, 237, 0.16);
}

.theme-hotel .hero {
  background: linear-gradient(165deg, #c4b5fd 0%, #a78bfa 25%, #8b5cf6 55%, #6d28d9 85%, #5b21b6 100%);
  padding: 44px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.theme-hotel .hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,255,255,0.18), transparent 70%);
  pointer-events: none;
}
.theme-hotel .hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.2); color: #fff;
  padding: 8px 16px; border-radius: 100px; font-size: 13px;
  border: 1px solid rgba(255,255,255,0.35); margin-bottom: 16px;
  position: relative; z-index: 1;
}
.theme-hotel .hero h1 {
  font-size: clamp(28px, 7vw, 38px); font-weight: 900; color: #fff;
  margin-bottom: 8px; text-shadow: 0 4px 20px rgba(76, 29, 149, 0.45);
  position: relative; z-index: 1; letter-spacing: 0.02em;
}
.theme-hotel .hero p {
  font-size: 15px; color: rgba(255,255,255,0.94); max-width: 320px; margin: 0 auto;
  line-height: 1.6; position: relative; z-index: 1;
}
.theme-hotel .promo-strip { margin: -28px 16px 0; position: relative; z-index: 2; }
.theme-hotel .promo-strip-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 20px;
  background: linear-gradient(135deg, #ffffff 0%, #fffef8 30%, #fef9e7 65%, #fef3c7 100%);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 14px; box-shadow: 0 8px 28px rgba(217, 119, 6, 0.12);
  position: relative; overflow: hidden;
}
.theme-hotel .promo-strip-inner::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,0.7) 0%, transparent 45%, rgba(255,255,255,0.25) 60%, transparent 100%);
  pointer-events: none;
}
.theme-hotel .promo-strip-inner::after {
  content: "";
  position: absolute; top: 0; left: 16px; right: 16px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
  pointer-events: none;
}
.theme-hotel .promo-corner {
  position: absolute; top: 10px; right: -30px;
  background: linear-gradient(135deg, #fbbf24, #d97706);
  color: #78350f;
  font-size: 12px; font-weight: 800; padding: 5px 38px; transform: rotate(45deg); letter-spacing: 0.12em;
  z-index: 1;
}
.theme-hotel .promo-content { flex: 1; min-width: 0; text-align: left; padding-right: 4px; position: relative; z-index: 1; }
.theme-hotel .promo-main {
  font-size: clamp(26px,7.5vw,34px); font-weight: 900; letter-spacing: 0.06em; line-height: 1.1;
  color: #92400e;
}
.theme-hotel .promo-sub {
  display: block; font-size: clamp(12px,3.4vw,14px); font-weight: 600;
  color: #a16207; margin-top: 6px; line-height: 1.45;
}
.theme-hotel .promo-icon {
  width: 72px; height: 72px; border-radius: 18px; flex-shrink: 0;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.3);
  display: flex; align-items: center; justify-content: center;
  color: #b45309; font-size: 36px; position: relative; z-index: 1;
}
.theme-hotel .container { padding: 24px 16px 32px; }
.theme-hotel .section-title {
  font-size: 18px; font-weight: 800; color: var(--primary-dark);
  margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.theme-hotel .section-title i { color: var(--primary); }
.theme-hotel .price-section {
  background: linear-gradient(165deg, #faf5ff 0%, #fff 50%, #f5f3ff 100%);
  border: 2px solid #c4b5fd;
  border-radius: 16px; padding: 18px 14px 14px; margin-bottom: 16px;
  box-shadow: 0 10px 36px rgba(124,58,237,0.14);
}
.theme-hotel .price-section .section-title { justify-content: center; font-size: 20px; margin-bottom: 16px; }
.theme-hotel .price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.theme-hotel .price-card {
  background: var(--white); border: 2px solid var(--border); border-radius: 14px; padding: 20px 14px;
  text-align: center; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.theme-hotel .price-card.featured {
  border-color: var(--primary); box-shadow: 0 10px 32px rgba(124,58,237,0.22);
  background: linear-gradient(180deg, #faf5ff, #fff);
}
.theme-hotel .price-card.featured::before {
  content: "专业推荐"; position: absolute; top: 10px; right: -32px;
  background: linear-gradient(135deg, #7c3aed, #6d28d9); color: #fff;
  font-size: 11px; font-weight: 700; padding: 4px 36px; transform: rotate(45deg);
}
.theme-hotel .price-card.buyout {
  border-color: #5b21b6; background: linear-gradient(180deg, #f5f3ff, #fff);
  grid-column: 1 / -1;
  padding: 12px 14px;
  text-align: left;
}
.theme-hotel .buyout-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.theme-hotel .buyout-left {
  flex: 1;
  min-width: 0;
}
.theme-hotel .buyout-right {
  flex-shrink: 0;
  text-align: right;
}
.theme-hotel .price-card.buyout .price-name {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 4px;
  line-height: 1.2;
}
.theme-hotel .price-card.buyout .price-official {
  margin-bottom: 4px;
  font-size: 12px;
}
.theme-hotel .price-card.buyout .price-note {
  margin-top: 0;
  font-size: 11px;
  line-height: 1.35;
}
.theme-hotel .price-card.buyout .price-tag {
  margin-bottom: 4px;
  font-size: 11px;
  padding: 2px 10px;
}
.theme-hotel .price-card.buyout .price-num {
  font-size: 26px;
  line-height: 1;
}
.theme-hotel .price-card.buyout .price-num span {
  font-size: 13px;
}
.theme-hotel .price-name { font-size: 17px; font-weight: 900; color: var(--text); margin-bottom: 8px; }
.theme-hotel .price-tag {
  font-size: 12px; color: #fff; background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  display: inline-block; padding: 3px 12px; border-radius: 100px; margin-bottom: 8px; font-weight: 700;
}
.theme-hotel .price-official {
  display: block; font-size: 14px; color: #94a3b8; margin-bottom: 6px; line-height: 1.3;
  text-decoration: line-through; font-weight: 700;
  text-decoration-thickness: 2.5px; text-decoration-color: #64748b;
}
.theme-hotel .price-num {
  font-size: 32px; font-weight: 900; color: var(--primary);
  line-height: 1.1; text-shadow: 0 2px 8px rgba(124,58,237,0.15);
}
.theme-hotel .price-num span { font-size: 15px; font-weight: 700; }
.theme-hotel .price-note { font-size: 12px; color: var(--text-muted); margin-top: 8px; line-height: 1.45; }
.theme-hotel .card {
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  padding: 18px; margin-bottom: 16px; box-shadow: var(--shadow);
}
.theme-hotel .card h3 {
  font-size: clamp(17px,4.8vw,21px); font-weight: 900; color: var(--primary-dark);
  margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.theme-hotel .tips-grid { display: flex; flex-direction: column; gap: 12px; }
.theme-hotel .tip-card {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 16px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--bg); position: relative; overflow: hidden;
}
.theme-hotel .tip-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.theme-hotel .tip-card.tip-1::before { background: #a78bfa; }
.theme-hotel .tip-card.tip-2::before { background: #7c3aed; }
.theme-hotel .tip-card.tip-3::before { background: #5b21b6; }
.theme-hotel .tip-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.theme-hotel .tip-card.tip-1 .tip-icon { background: #ede9fe; color: #7c3aed; }
.theme-hotel .tip-card.tip-2 .tip-icon { background: #f5f3ff; color: #6d28d9; }
.theme-hotel .tip-card.tip-3 .tip-icon { background: #faf5ff; color: #5b21b6; }
.theme-hotel .tip-body { flex: 1; min-width: 0; }
.theme-hotel .tip-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: clamp(18px,5vw,22px); font-weight: 900; color: var(--primary-dark); margin-bottom: 12px;
}
.theme-hotel .tip-label .tip-badge {
  font-size: clamp(12px,3.4vw,14px); font-weight: 900; color: #fff;
  background: var(--primary); padding: 4px 12px; border-radius: 100px; flex-shrink: 0;
}
.theme-hotel .tip-card.tip-2 .tip-badge { background: #6d28d9; }
.theme-hotel .tip-card.tip-3 .tip-badge { background: #5b21b6; }
.theme-hotel .tip-text {
  font-size: clamp(14px,3.8vw,15px); font-weight: 500; color: #475569; line-height: 1.75;
}
.theme-hotel .tip-text strong { font-weight: 800; color: var(--primary-dark); }
.theme-hotel .btn-link {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin-top: 12px; padding: 12px;
  border: 2px solid var(--primary); border-radius: 10px;
  background: var(--white); color: var(--primary-dark);
  text-decoration: none; font-size: 14px; font-weight: 700;
}
.theme-hotel .btn-link.primary {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff; border-color: transparent;
  box-shadow: 0 4px 16px rgba(124,58,237,0.3);
}
.theme-hotel .btn-case {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 16px; margin-top: 8px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff; text-decoration: none; border-radius: 12px; font-size: 17px; font-weight: 700;
  box-shadow: 0 6px 24px rgba(124,58,237,0.35);
}
.theme-hotel .tabbar-item.active { color: var(--primary); }
.theme-hotel .tabbar-item.active::before { background: var(--primary); }

/* ── 案例页 ── */
.theme-hotel .cases-hero {
  background: linear-gradient(165deg, #a78bfa, #6d28d9);
  color: #fff;
  padding: 20px 16px 24px;
  text-align: center;
}
.theme-hotel .cases-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}
.theme-hotel .cases-hero h1 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 6px;
}
.theme-hotel .cases-hero p {
  font-size: 13px;
  opacity: 0.92;
}
.theme-hotel .cases-body {
  padding: 16px 16px 24px;
}
.theme-hotel .cases-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
  padding: 14px;
  background: linear-gradient(135deg, #f5f3ff, #fff);
  border: 2px solid #a78bfa;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.12);
}
.theme-hotel .cases-notice i {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 16px;
  color: var(--primary);
}
.theme-hotel .cases-notice p {
  font-size: clamp(13px, 3.8vw, 15px);
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.55;
}
.theme-hotel .version-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 14px;
  box-shadow: var(--shadow);
}
.theme-hotel .version-section-gap {
  margin-top: 16px;
}
.theme-hotel .version-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.theme-hotel .version-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  color: var(--primary);
  font-size: 18px;
}
.theme-hotel .version-head-text {
  flex: 1;
  min-width: 0;
}
.theme-hotel .version-head-text h2 {
  font-size: clamp(18px, 5vw, 20px);
  font-weight: 900;
  color: var(--primary-dark);
  margin-bottom: 6px;
}
.theme-hotel .version-head-text p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}
.theme-hotel .case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.theme-hotel .case-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.theme-hotel .case-item:only-child {
  grid-column: 1 / -1;
  max-width: 220px;
  margin: 0 auto;
  width: 100%;
}
.theme-hotel .case-img {
  aspect-ratio: 9/16;
  background: #f5f3ff;
  position: relative;
  overflow: hidden;
}
.theme-hotel .case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.theme-hotel .case-tap {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
}
.theme-hotel .case-title {
  padding: 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.theme-hotel .version-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.theme-hotel .version-item:only-child {
  grid-column: 1 / -1;
  max-width: 200px;
  margin: 0 auto;
  width: 100%;
}
.theme-hotel .version-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.theme-hotel .version-item.has-image {
  cursor: pointer;
}
.theme-hotel .version-img {
  aspect-ratio: 9/16;
  position: relative;
  overflow: hidden;
  background: #f5f3ff;
}
.theme-hotel .version-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.theme-hotel .version-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  text-align: center;
  border: 2px dashed #c4b5fd;
  border-radius: 10px;
  margin: 8px;
  background: var(--primary-bg);
}
.theme-hotel .version-placeholder i {
  font-size: 22px;
  color: var(--primary-light);
}
.theme-hotel .version-placeholder span {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.4;
}
.theme-hotel .version-placeholder em {
  font-size: 11px;
  font-style: normal;
  color: var(--text-muted);
  font-weight: 600;
}
.theme-hotel .version-tap {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 11px;
}
.theme-hotel .version-caption {
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.4;
  text-align: center;
  background: var(--white);
}
.theme-hotel .cases-buyout {
  margin-top: 18px;
}
.theme-hotel .btn-buyout-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
}
.theme-hotel .case-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
}
.theme-hotel .case-lightbox.active {
  display: flex;
}
.theme-hotel .case-lightbox-inner {
  max-width: 360px;
  width: 100%;
  text-align: center;
}
.theme-hotel .case-lightbox img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}
.theme-hotel .case-lightbox-title {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-top: 12px;
}
.theme-hotel .case-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}
