/* Therapist list */
.therapist-loc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2px;
}

.therapist-loc-row .location-action {
  padding-right: 0;
}

.location-action {
  color: var(--brass-deep);
  font-size: 10px;
  letter-spacing: 0.04em;
  padding: 8px 0 8px 10px;
}

.sort-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0 12px;
  border-bottom: 1px solid var(--line);
}

.sort-item {
  position: relative;
  flex: none;
  color: var(--faint);
  font-size: 10.5px;
  padding-bottom: 7px;
}

.sort-item span {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: transparent;
}

.sort-item.active {
  color: var(--pine);
  font-weight: 500;
}

.sort-item.active span {
  background: var(--brass);
}

.sort-bar em {
  margin-left: auto;
  font-style: normal;
  color: var(--faint);
  font-size: 9px;
  white-space: nowrap;
}

.therapist-list {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.therapist-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid rgba(32, 45, 36, 0.05);
  box-shadow: 0 10px 24px rgba(35, 48, 39, 0.05);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.therapist-row:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(35, 48, 39, 0.08);
}

.therapist-row-avatar {
  position: relative;
  width: 76px;
  height: 88px;
  flex: none;
  border-radius: 12px;
  overflow: visible;
  background: #e7e0d2;
}

.therapist-row-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.therapist-row-online {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b7b0a3;
  border: 2px solid var(--surface);
}

.therapist-row-online.on {
  background: #5c8a6c;
}

.therapist-row-body {
  flex: 1;
  min-width: 0;
  padding: 2px 0;
  display: flex;
  flex-direction: column;
}

.therapist-row-name-line {
  display: flex;
  align-items: center;
  gap: 6px;
}

.therapist-row-name-line strong {
  font-size: 18px;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.therapist-row-name-line span {
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(176, 139, 87, 0.12);
  color: var(--brass-deep);
  font-size: 8px;
  line-height: 1.5;
}

.therapist-row-title {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.therapist-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 5px;
}

.therapist-row-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 5px;
  color: var(--faint);
  font-size: 9px;
  white-space: nowrap;
}

.therapist-row-meta .stars {
  font-size: 9px;
}

.therapist-row-meta b {
  color: var(--brass-deep);
  font-weight: 500;
}

.therapist-row-meta .sep {
  color: #c3bba9;
}

.therapist-row-side {
  flex: none;
  width: 75px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  padding: 3px 0;
}

.therapist-row-side span {
  color: var(--brass-deep);
  font-size: 9px;
  text-align: right;
  line-height: 1.5;
}

.therapist-row-side i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(34, 55, 46, 0.18);
  color: var(--pine);
}

.therapist-row-side i .icon {
  width: 11px;
  height: 11px;
}

/* Store list page */
.location-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid rgba(32, 45, 36, 0.06);
}

.location-bar-main {
  display: flex;
  align-items: center;
  gap: 9px;
}

.location-bar-main .icon {
  width: 15px;
  height: 15px;
  color: var(--brass-deep);
}

.location-bar-main small {
  display: block;
  color: var(--faint);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.location-bar-main b {
  display: block;
  margin-top: 1px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 400;
}

.store-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.store-card {
  overflow: hidden;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid rgba(32, 45, 36, 0.05);
  box-shadow: 0 16px 36px rgba(35, 48, 39, 0.07);
}

.store-card-media {
  position: relative;
  height: 168px;
  overflow: hidden;
}

.store-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.store-card:hover .store-card-media img {
  transform: scale(1.025);
}

.store-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 22, 17, 0.12), rgba(14, 22, 17, 0.68));
}

.store-card-distance,
.store-card-selected {
  position: absolute;
  top: 12px;
  z-index: 1;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 8.5px;
  letter-spacing: 0.04em;
}

.store-card-distance {
  right: 12px;
  background: rgba(20, 32, 25, 0.48);
  color: #f4ecdd;
}

.store-card-selected {
  left: 12px;
  background: rgba(234, 220, 196, 0.92);
  color: #51412b;
}

.store-card-title {
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 13px;
  z-index: 1;
}

.store-card-title small {
  display: block;
  color: rgba(253, 249, 240, 0.6);
  font-size: 8px;
  letter-spacing: 0.2em;
}

.store-card-title strong {
  display: block;
  margin-top: 3px;
  color: #fdf9f0;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.store-card-body {
  padding: 14px 15px 16px;
}

.store-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--brass-deep);
  font-size: 10px;
}

.store-card-rating span {
  color: var(--faint);
  font-size: 9px;
}

.store-card-rating em {
  margin-left: auto;
  font-style: normal;
  color: var(--muted);
  font-size: 9px;
}

.store-card-address {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 12px;
}

.store-card-arrival {
  margin-top: 2px;
  color: var(--faint);
  font-size: 9px;
}

.store-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.store-card-facilities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.store-card-facilities span {
  position: relative;
  padding-left: 7px;
  color: var(--muted);
  font-size: 9px;
}

.store-card-facilities span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #c3bba9;
}

.store-card-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid rgba(34, 55, 46, 0.07);
}

.store-card-actions .btn {
  flex: 1;
  gap: 5px;
}

.store-card-actions .btn .icon {
  width: 12px;
  height: 12px;
}

.store-card-actions .btn:last-child {
  flex: 1.4;
}

/* Service detail therapist scroller inside padded gutter */
.service-therapist-scroll {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 2px;
}

/* Payment overlay shared */
.pay-sheet .sheet-body {
  padding-top: 0;
  padding-bottom: 8px;
}

.pay-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  padding: 4px 0 18px;
}

.pay-amount small {
  font-size: 16px;
}

.pay-amount strong {
  font-family: "Didot", var(--serif);
  font-size: 46px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.pay-summary {
  padding: 11px 14px;
  border-radius: 12px;
  background: #f7f3ea;
}

.pay-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 5px 0;
  color: var(--muted);
  font-size: 11px;
}

.pay-line b {
  color: var(--ink-soft);
  font-weight: 400;
  text-align: right;
  max-width: 70%;
}

.pay-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 13px;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid rgba(34, 55, 46, 0.1);
}

.pay-method span {
  display: flex;
  align-items: center;
  font-size: 12px;
}

.pay-method b {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--pine);
  color: #fbf8f1;
  font-size: 10px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wechat-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #3f9c58;
  margin-right: 8px;
  position: relative;
}

.wechat-dot::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.pay-note {
  margin-top: 11px;
  color: var(--faint);
  font-size: 10px;
  line-height: 1.75;
}

.later-pay {
  display: block;
  width: 100%;
  margin-top: 8px;
  color: var(--faint);
  font-size: 10px;
  text-align: center;
  padding: 4px 0;
}

.cancel-reasons {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}

.cancel-reason {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(34, 55, 46, 0.08);
  background: #fbf7ef;
  color: var(--ink-soft);
  font-size: 11px;
  text-align: left;
}

.cancel-reason.active {
  border-color: rgba(184, 107, 78, 0.4);
  background: rgba(184, 107, 78, 0.06);
  color: #9c624b;
}

.cancel-reason i {
  font-style: normal;
  color: var(--clay);
}

.danger-block {
  background: var(--clay);
  box-shadow: 0 12px 24px rgba(184, 107, 78, 0.2);
}

@media (max-width: 900px) {
  .therapist-row-avatar {
    width: 74px;
    height: 86px;
  }

  .sort-bar {
    gap: 13px;
  }
}

@media (max-width: 380px) {
  .sort-bar {
    gap: 10px;
  }

  .sort-item {
    font-size: 10px;
  }

  .therapist-row-side {
    width: 64px;
  }
}
