/* LES BOBOS /visit/ independent ad landing page enhancements (2026-11-26 v2)
 * Matches brochure editorial palette: --paper #f6f0e6, --ink #443b30, --muted #766b5c, --gold #87683c, --line #dcd0bd
 */

/* 1. Hero Shenzhen positioning subtitle (2A) & breathing room above floating bar */
.cover-copy {
  bottom: calc(96px + env(safe-area-inset-bottom));
}

.visit-cover-meta {
  font: 400 clamp(12.5px, 3.2cqw, 14px)/1.65 var(--sans);
  letter-spacing: .02em;
  color: rgba(246, 240, 230, .88);
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(237, 223, 201, .28);
  max-width: 34em;
  text-shadow: 0 1px 10px rgba(24, 17, 10, .42);
}

/* 2. Treatments price policy caption & per-card official prices */
.visit-price-policy {
  font: 400 13px/1.6 var(--sans);
  color: var(--muted);
  margin: 10px 0 0;
  letter-spacing: .01em;
}

.visit-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 12px 0 0;
  padding: 9px 12px;
  border-left: 2px solid var(--gold);
  background: rgba(135, 104, 60, .06);
  border-radius: 0 6px 6px 0;
  font: 500 13.5px/1.55 var(--sans);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.visit-price-duration {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(135, 104, 60, .13);
  color: #6f532c;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.visit-price-sep {
  display: none;
}

.visit-price-amount {
  color: var(--ink);
  font-weight: 500;
}

/* 3. Clean typographic/hairline emblems replacing 3rd-party marks (3A) */
.visit-award-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(135, 104, 60, .35);
  background: rgba(135, 104, 60, .05);
  color: var(--gold);
}

.visit-award-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* 4. Floating reservation bar (1A) — zero overlap with .series-navigation */
.visit-float-bar {
  position: fixed;
  z-index: 35;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom));
  transform: translate(-50%, 0);
  width: calc(100% - 24px);
  max-width: 512px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 18px;
  border-radius: 999px;
  background: rgba(250, 246, 238, .94);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
  border: 1px solid rgba(180, 162, 136, .55);
  box-shadow: 0 8px 24px rgba(45, 32, 18, .14), 0 1px 2px rgba(45, 32, 18, .08);
  transition: opacity .22s ease, transform .22s ease;
}

.visit-float-bar[data-hidden="true"] {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
}

.visit-float-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}

.visit-float-price {
  font: 600 14px/1.3 var(--sans);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.visit-float-sub {
  font: 400 11.5px/1.3 var(--sans);
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.visit-float-cta {
  -webkit-appearance: none;
  appearance: none;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  padding: 11px 20px;
  background: #443b30;
  color: #fff8ec;
  font: 500 14px/1 var(--sans);
  letter-spacing: .02em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .18s ease, transform .12s ease;
}

.visit-float-cta:hover,
.visit-float-cta:focus-visible {
  background: #2f2820;
  outline: none;
}

.visit-float-cta:active {
  transform: scale(.98);
}

/* Shift brochure's floating series pill cleanly above our reservation bar when bar is active */
html.visit-bar-visible .series-navigation {
  bottom: calc(82px + env(safe-area-inset-bottom));
  transition: bottom .22s ease;
}

/* Give bottom footer breathing room */
.brochure footer {
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
}

/* Subtle highlight when jumping from floating CTA to #appointment */
@keyframes visitAppointmentGlow {
  0% { box-shadow: 0 0 0 0 rgba(135, 104, 60, .42); }
  50% { box-shadow: 0 0 0 6px rgba(135, 104, 60, .18); }
  100% { box-shadow: 0 0 0 0 rgba(135, 104, 60, 0); }
}

.booking-actions.visit-highlight .booking-action:first-child {
  border-color: var(--gold);
  animation: visitAppointmentGlow 1.1s ease-out 1;
}

/* 5. WeChat booking greeting code helper (Stage 0 last-mile attribution) */
.visit-wechat-helper {
  margin: 14px 0 4px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(135, 104, 60, .28);
  background: rgba(135, 104, 60, .06);
  text-align: left;
}

.visit-wechat-helper-label {
  margin: 0 0 8px;
  font: 500 12.5px/1.45 var(--sans);
  color: var(--muted);
}

.visit-wechat-code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px 8px 12px;
  border-radius: 9px;
  border: 1px solid rgba(180, 162, 136, .6);
  background: #fffcf7;
}

.visit-wechat-code-text {
  font: 500 13px/1.45 var(--sans);
  color: var(--ink);
  user-select: all;
  word-break: break-word;
}

.visit-copy-btn,
.booking-sheet .visit-copy-btn {
  -webkit-appearance: none;
  appearance: none;
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  padding: 7px 14px;
  background: #443b30;
  color: #fff8ec !important;
  font: 500 12.5px/1.2 var(--sans);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .16s ease, transform .1s ease;
}

.visit-copy-btn:hover,
.visit-copy-btn:focus-visible,
.booking-sheet .visit-copy-btn:hover,
.booking-sheet .visit-copy-btn:focus-visible {
  background: #2f2820;
  color: #fff8ec !important;
  outline: none;
}

.visit-copy-btn:active {
  transform: scale(.98);
}

.visit-copy-btn[data-copied="true"],
.booking-sheet .visit-copy-btn[data-copied="true"] {
  background: #2e5d45;
  color: #ffffff !important;
}

/* 6. Bilingual Taxi / Didi Address Dialog (#taxi-dialog) */
.taxi-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0 14px;
}

.taxi-card {
  padding: 14px 15px;
  border-radius: 12px;
  border: 1px solid rgba(180, 162, 136, .55);
  background: rgba(255, 252, 247, .82);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.taxi-store-en {
  margin: 0;
  font: 600 14.5px/1.35 var(--sans);
  color: var(--ink);
}

.taxi-store-sub {
  margin: 0;
  font: 400 12.5px/1.45 var(--sans);
  color: var(--muted);
}

.taxi-store-cn-driver {
  margin: 2px 0;
  padding: 8px 10px;
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
  background: rgba(135, 104, 60, .07);
  font: 600 15.5px/1.55 "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #2b241c;
  user-select: all;
}

.taxi-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
}

.taxi-driver-hint {
  font: 400 12px/1.35 var(--sans);
  color: var(--muted);
}

/* Extra compact layout for narrow mobile <= 360px */
@media (max-width: 360px) {
  .visit-float-bar {
    padding: 8px 8px 8px 14px;
    gap: 8px;
  }
  .visit-float-price {
    font-size: 13px;
  }
  .visit-float-sub {
    font-size: 11px;
  }
  .visit-float-cta {
    padding: 10px 15px;
    font-size: 13px;
  }
  .visit-wechat-code-box {
    flex-direction: column;
    align-items: stretch;
  }
  .visit-copy-btn {
    width: 100%;
    text-align: center;
  }
}

@media print {
  .visit-float-bar {
    display: none !important;
  }
}
