body.profile-page #main-header {
  position: relative;
  z-index: 1106;
}

body.profile-page {
  padding-top: 0;
  display: block; /* Override base.css flex-column */
  min-height: 0; /* Allow body to grow to full content height (base: min-height:100vh keeps body at 784px, breaking sticky) */
}

@media (max-width: 991.98px) {
  body.profile-page {
    padding-top: 0;
  }

  body.profile-page #main-header .navbar.fixed-top {
    position: static !important;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
  }

  body.profile-page #main-header .navbar {
    padding-top: 0;
    padding-bottom: 0;
  }

  body.profile-page #main-header .nav-v2-container {
    min-height: var(--shell-header-min-height);
  }

  body.profile-page .profile-action-menus {
    position: sticky;
    top: 0;
    z-index: 1020;
    margin-top: 0;
    margin-bottom: 0.3rem;
    padding-top: 0;
    padding-bottom: 0;
    background: var(--surface-bg);
    border-bottom: 1px solid var(--border-soft);
  }

  body.profile-page .profile-action-menus .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  body.profile-page .profile-nav-row {
    margin-bottom: 0;
    align-items: center;
    gap: 0.5rem;
    min-height: calc(var(--shell-breadcrumb-min-height) + 18px);
    padding: 0.7rem 0;
  }

  body.profile-page .page-hero {
    padding-top: 1rem;
    padding-bottom: var(--shell-page-hero-pad-bottom);
  }

  body.profile-page .profile-breadcrumbs {
    display: none;
  }

  body.profile-page .ims-back-link {
    font-size: 0.92rem;
    padding: 0.65rem 0.25rem;
    white-space: nowrap;
  }

  body.profile-page .profile-next-link {
    display: inline-flex;
    margin-left: auto;
    text-align: right;
  }

  html.theme-dark body.profile-page .profile-action-menus {
    background: var(--surface-bg);
    border-bottom-color: var(--border-soft);
  }

  /* Detail card icons on mobile — same specificity as desktop rule */
  body.profile-page .profile-detail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1e5fab;
    flex-shrink: 0;
    width: 1.2rem;
    height: 1.2rem;
  }
  body.profile-page .profile-detail-icon svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }
}

@media (min-width: 992px) {
  body.profile-page .profile-action-menus {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1025;
    margin: 0;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
    background: var(--surface-bg);
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  }

  /* Compensate for fixed action-menus leaving normal flow (76px height) */
  body.profile-page .profile-main {
    margin-top: 4.8rem; /* ~76px: clears the fixed action-menus bar */
  }

  html.theme-dark body.profile-page .profile-action-menus {
    background: var(--surface-bg);
    border-bottom-color: var(--border-soft);
  }

  body.profile-page .profile-breadcrumbs {
    display: none;
  }

  body.profile-page .ims-back-link {
    font-size: 0.95rem;
    padding: 0.65rem 0.25rem;
    white-space: nowrap;
  }

  body.profile-page .profile-next-link {
    display: inline-flex;
    margin-left: auto;
    text-align: right;
  }

  body.profile-page .profile-main {
    max-width: min(1560px, calc(100vw - 4rem));
  }

  body.profile-page .profile-top-row,
  body.profile-page .profile-bottom-row {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.78fr);
    column-gap: clamp(1rem, 2vw, 1.6rem);
    align-items: start;
  }

  body.profile-page .profile-identity-panel {
    grid-column: 1;
    grid-row: 1;
    position: sticky;
    top: 5.6rem;
    padding-left: clamp(0.75rem, 1.5vw, 1.25rem);
  }

  body.profile-page .profile-gallery-panel {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
  }

  body.profile-page .profile-suggested {
    grid-column: 1;
    padding-left: clamp(0.75rem, 1.5vw, 1.25rem);
  }

  body.profile-page #profile-often-booked-wrap {
    grid-column: 2;
    margin-top: 0;
  }

  body.profile-page .profile-info-card,
  body.profile-page .profile-quick-card,
  body.profile-page .profile-bio-wrap,
  body.profile-page .profile-rate-section {
    border-radius: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }

  body.profile-page .profile-info-card {
    min-height: 0;
    align-self: start;
  }

  /* Flat detail rows — light divider only */
  body.profile-page .profile-details-card .profile-info-row {
    display: grid;
    grid-template-columns: 1.2rem 1fr auto;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.84rem;
  }

  html.theme-dark body.profile-page .profile-details-card .profile-info-row {
    border-bottom-color: rgba(255, 255, 255, 0.07);
  }

  body.profile-page .profile-details-card .profile-info-row:last-child {
    border-bottom: none;
  }

  body.profile-page .profile-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e5fab;
    flex-shrink: 0;
  }

  body.profile-page .profile-detail-icon svg {
    width: 13px;
    height: 13px;
  }

  /* Name + heart: centered in sidebar regardless of name length */
  body.profile-page .profile-name-row {
    justify-content: center;
    text-align: center;
    margin-bottom: 0.3rem;
    align-items: center;
    gap: 0.5rem;
  }

  body.profile-page .profile-name-heading {
    font-size: clamp(1.8rem, 2.6vw, 2.6rem);
    flex: 0 1 auto;
    text-align: left;
    line-height: 1.15;
  }

  /* Profile bookmark button: inline with H1 name, sized to match line height */
  body.profile-page .profile-name-row .profile-bookmark-btn {
    flex-shrink: 0;
    position: static;
    width:  calc(clamp(2.5rem, 3.7vw, 4.25rem) * 0.95);
    height: calc(clamp(2.5rem, 3.7vw, 4.25rem) * 0.95);
  }

  body.profile-page .profile-name-row .profile-bookmark-btn .bookmark-icon {
    width:  calc(clamp(2.5rem, 3.7vw, 4.25rem) * 0.5);
    height: calc(clamp(2.5rem, 3.7vw, 4.25rem) * 0.5);
  }

  /* H2 keyword — left align */
  body.profile-page .profile-info-head {
    text-align: left;
  }

  body.profile-page .profile-info-head #profile-hero-summary {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  /* Avatar centered */
  body.profile-page .profile-avatar-shell {
    margin: 0 auto clamp(1rem, 2vw, 1.45rem);
  }

  /* Book btn full width */
  body.profile-page .profile-book-now-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 2.8rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(0, 90, 224, 0.2);
    overflow: hidden;
    position: relative;
  }

  body.profile-page .profile-book-now-btn .btn-icon svg {
    width: 1.05rem;
    height: 1.05rem;
    flex-shrink: 0;
  }

  body.profile-page .profile-book-now-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.28) 50%, transparent 100%);
    transform: skewX(-18deg) translateX(-150%);
    opacity: 0;
    transition: none;
  }

  body.profile-page .profile-book-now-btn:hover::after {
    animation: btnSweep 0.55s ease forwards;
  }

  @keyframes btnSweep {
    from { transform: skewX(-18deg) translateX(-150%); opacity: 1; }
    to   { transform: skewX(-18deg) translateX(250%); opacity: 1; }
  }

  /* Rate section — flat, centered */
  body.profile-page .profile-rate-section {
    text-align: center;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: 0.5rem;
  }

  html.theme-dark body.profile-page .profile-rate-section {
    border-top-color: rgba(255, 255, 255, 0.07);
  }

  body.profile-page .profile-info-head {
    text-align: center;
  }

  body.profile-page .profile-info-head #profile-name {
    font-size: clamp(2.5rem, 3.7vw, 4.25rem);
    margin-bottom: 0.45rem !important;
    text-wrap: balance;
  }

  body.profile-page .profile-info-head #profile-hero-summary {
    max-width: 26rem;
    margin-left: auto;
    margin-right: auto;
  }

  body.profile-page .profile-card-title {
    font-size: 1.08rem;
    line-height: 1.28;
  }

  body.profile-page .profile-gallery-desktop {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.7rem, 0.95vw, 0.95rem);
    min-height: auto;
    padding: clamp(0.7rem, 1.2vw, 1rem);
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
  }

  html.theme-dark body.profile-page .profile-gallery-desktop {
    background: rgba(15, 23, 42, 0.72);
  }

  body.profile-page .profile-gallery-item,
  body.profile-page .profile-gallery-placeholder {
    border-radius: 16px;
    box-shadow: none;
  }

  body.profile-page .profile-book-now-btn {
    width: min(100%, 18rem);
    justify-content: center;
    min-height: 3.2rem;
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(0, 90, 224, 0.22);
  }
}

/* Profile action menus */
.profile-action-menus {
  margin: 0.85rem 0 1rem;
}

.profile-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--shell-breadcrumb-gap);
  min-height: var(--shell-breadcrumb-min-height);
  padding: 0.5rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.profile-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  flex-wrap: wrap;
  min-width: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-wrap: pretty;
}

.profile-breadcrumbs a {
  color: var(--text-primary);
}

.profile-breadcrumbs a:hover {
  color: var(--color-blue);
}

.profile-breadcrumbs .sep {
  color: var(--text-muted);
}

.ims-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-primary);
  font-weight: 600;
  padding: 0.28rem 0.5rem;
  border-radius: 10px;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.ims-back-link:hover {
  color: var(--text-primary);
  background-color: #eaf3ff;
  text-decoration: none;
}

html.theme-dark .ims-back-link:hover {
  background-color: var(--surface-muted);
}

.profile-nav-btn {
  color: var(--text-primary);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
}

.profile-nav-btn:hover {
  background: var(--surface-muted);
}

.profile-back-btn:hover {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: #fff;
}

.profile-next-link {
  display: none;
}

.profile-contact-row {
  margin-top: 0.55rem;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: var(--surface-card);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  padding: 0.58rem 0.75rem;
  text-align: center;
}

.profile-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-weight: 600;
  color: var(--text-primary);
}

.profile-contact-link:hover {
  color: var(--color-blue);
}

.profile-contact-link .inline-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.profile-contact-link .mobile-icon {
  display: none;
}

.profile-main {
  margin-top: 0.25rem;
  contain: layout style;
}

.profile-top-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.6rem);
}

.profile-gallery-desktop {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  min-height: clamp(360px, 46vw, 560px);
}

.profile-gallery-item {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface-card);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.1);
  aspect-ratio: 3 / 4;
}

.profile-gallery-placeholder {
  border-radius: 14px;
  aspect-ratio: 3 / 4;
  width: 100%;
  height: auto;
  background: linear-gradient(
    110deg,
    rgba(148, 163, 184, 0.18) 8%,
    rgba(148, 163, 184, 0.28) 18%,
    rgba(148, 163, 184, 0.18) 33%
  );
  background-size: 200% 100%;
  animation: profileGalleryShimmer 1.5s infinite linear;
}
/* Placeholder is always the active/full-size element — do not dim or scale it */
.profile-gallery-track .profile-gallery-placeholder {
  opacity: 1 !important;
  transform: scale(1) !important;
  transition: none !important;
}

.profile-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

@keyframes profileGalleryShimmer {
  to {
    background-position-x: -200%;
  }
}

.profile-gallery-item:hover img {
  transform: scale(1.035);
}

.profile-gallery-mobile {
  position: relative;
}

.profile-gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 0.7rem;
  border-radius: 14px;
  scrollbar-width: none;
}

.profile-gallery-track::-webkit-scrollbar {
  display: none;
}

.profile-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  background: #111; /* dark placeholder — matches gradient overlay, no white flash on load */
  aspect-ratio: 3 / 4;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.1);
}

.profile-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-slider-arrow {
  position: absolute;
  top: calc(50% - 20px);
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #d4dce8;
  background: rgba(255, 255, 255, 0.9);
  color: #1f2937;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(17, 24, 39, 0.18);
}

.profile-slider-arrow.left {
  left: 0.45rem;
}

.profile-slider-arrow.right {
  right: 0.45rem;
}

.profile-info-card {
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.08);
  min-height: clamp(34rem, 92vw, 40rem);
}

.profile-info-head {
  margin-bottom: 0.9rem;
}

.profile-avatar-shell {
  position: relative;
  width: clamp(9.75rem, 15vw, 15rem);
  aspect-ratio: 1;
  margin: 0 auto clamp(1rem, 2vw, 1.45rem);
  padding: 2px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.35);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.profile-avatar-shell--online {
  background: #13b26b;
  box-shadow:
    0 0 0 2px #13b26b,
    0 0 10px 3px rgba(19, 178, 107, 0.6),
    0 0 24px 8px rgba(19, 178, 107, 0.25),
    0 12px 32px rgba(15, 23, 42, 0.12);
}

.profile-avatar-shell--offline {
  background: #e11d48;
  box-shadow:
    0 0 0 2px #e11d48,
    0 0 9px 3px rgba(225, 29, 72, 0.55),
    0 0 20px 7px rgba(225, 29, 72, 0.2),
    0 12px 32px rgba(15, 23, 42, 0.1);
}

.profile-avatar-shell[hidden] {
  display: none !important;
}

.profile-avatar-shell img {
  display: block;
  width: 100%;
  height: 100%;
  border: 2px solid var(--surface-bg);
  border-radius: inherit;
  object-fit: cover;
  object-position: center top;
  background: var(--surface-card);
}

.profile-avatar-status {
  position: absolute;
  left: 50%;
  bottom: 0.55rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  min-width: max-content;
  padding: 0.1rem 0.6rem;
  border: 1px solid rgba(5, 150, 105, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #047857;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

html.theme-dark .profile-avatar-status {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(19, 178, 107, 0.4);
  color: #34d399;
}

@keyframes statusDotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(19, 178, 107, 0.55); }
  60% { box-shadow: 0 0 0 5px rgba(19, 178, 107, 0); }
}

.profile-avatar-status::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #13b26b;
  animation: statusDotPulse 1.8s ease-out infinite;
}

html.theme-dark .profile-avatar-shell img {
  border-color: var(--surface-bg);
}

.profile-info-head #profile-name {
  font-family: var(--font-heading);
  color: var(--text-primary) !important;
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-transform: capitalize;
}

.profile-info-head #profile-hero-summary {
  margin-bottom: 1rem !important;
  font-weight: 600;
  line-height: 1.55;
}

.profile-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.profile-title-stack {
  min-width: 0;
  display: grid;
  gap: 0.45rem;
}

.profile-card-title-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.profile-card-title {
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--text-primary);
}

.profile-name-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.profile-name-tags--inline {
  align-items: center;
}

.profile-name-tags[hidden] {
  display: none !important;
}

.profile-name-tags .therapist-new-chip,
.profile-name-tags .therapist-spotlight-chip {
  text-shadow: none;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.12);
}

.profile-info-grid {
  display: grid;
  gap: 0.48rem;
}

.profile-info-row {
  display: grid;
  grid-template-columns: minmax(110px, 42%) 1fr;
  align-items: center;
  gap: 0.65rem;
  border-bottom: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 0.42rem 0.55rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

@media (hover: hover) {
  .profile-info-row:hover {
    background: rgba(148, 163, 184, 0.09);
    border-bottom-color: rgba(148, 163, 184, 0.24);
  }
}

html.theme-dark .profile-info-row:hover {
  background: rgba(148, 163, 184, 0.12);
  border-bottom-color: rgba(148, 163, 184, 0.3);
}

.profile-info-row .label {
  font-weight: 700;
  color: var(--text-muted);
}

.profile-info-row .value {
  color: var(--text-primary);
  text-align: right;
  word-break: break-word;
}

.profile-bio-wrap {
  margin-top: 0.9rem;
}

.profile-bio-wrap p {
  min-height: 4.8rem;
  margin-bottom: 0;
}

.profile-often-booked-wrap {
  margin-top: 1rem;
  border: 1px solid var(--border-soft, rgba(0,0,0,.09));
  border-radius: 16px;
  background: var(--surface-card, #fff);
  padding: 1rem;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

html.theme-dark .profile-often-booked-wrap {
  background: var(--surface-card, rgba(15,23,42,.7));
}

.profile-often-booked-wrap .profile-section-label {
  margin-bottom: 0.65rem;
}

.profile-often-booked-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.profile-often-booked-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0.6rem;
  border: 1px solid rgba(30, 95, 171, 0.16);
  border-radius: 12px;
  background: var(--surface-card, #fff);
  color: #1e5fab;
  font-weight: 600;
  font-size: 0.78rem;
  text-align: center;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.profile-often-booked-icon {
  width: 2.2rem;
  height: 2.2rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e5fab;
}

.profile-often-booked-icon svg {
  width: 100%;
  height: 100%;
}

.profile-often-booked-name {
  line-height: 1.3;
}

/* Keep old link class for fallback */
.profile-often-booked-link {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.82rem;
  border-radius: 999px;
  background: var(--surface-muted);
  border: 1px solid var(--border-soft);
  color: var(--color-blue);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease,
    transform 0.2s ease;
}

.profile-quick-card {
  min-height: 180px;
}

.profile-often-booked-card:hover,
.profile-often-booked-card:focus-visible {
  background: rgba(30, 95, 171, 0.05);
  border-color: rgba(30, 95, 171, 0.32);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 95, 171, 0.12);
}

html.theme-dark .profile-often-booked-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(100, 149, 237, 0.22);
  color: #7baaf7;
}

html.theme-dark .profile-often-booked-card .profile-often-booked-icon {
  color: #7baaf7;
}

html.theme-dark .profile-often-booked-card:hover {
  background: rgba(100, 149, 237, 0.1);
}

.profile-often-booked-link:hover,
.profile-often-booked-link:focus-visible {
  color: var(--color-blue-hover);
  border-color: rgba(30, 95, 171, 0.22);
  background: rgba(30, 95, 171, 0.08);
  transform: translateY(-1px);
}

html.theme-dark .profile-often-booked-link {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

/* ── Profile sticky merged bar ──────────────────────────────────────── */
.profile-sticky-merged {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  background: var(--surface-bg);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
  display: none;
}

@media (min-width: 992px) {
  .profile-sticky-merged {
    display: block;
  }
  /* Cap often-booked at 3 cards on desktop (4th+ hidden; mobile shows up to 4) */
  .profile-often-booked-card:nth-child(n+4) {
    display: none;
  }
}

body.profile-sticky-active .profile-sticky-merged {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.profile-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  min-height: 52px;
}

.profile-breadcrumbs-sticky {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  overflow: hidden;
  font-size: 0.875rem;
}

.profile-sticky-sep {
  color: var(--text-muted);
  flex-shrink: 0;
}

.profile-sticky-name {
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  text-transform: capitalize;
}

.profile-book-now-btn--sticky {
  white-space: nowrap;
  min-height: 2.4rem;
  font-size: 0.82rem;
  padding: 0.45rem 1rem;
  border-radius: 8px;
  flex-shrink: 0;
}

/* ── Tag pill placement (under name row) ── */
.profile-name-tags {
  margin-top: 0.25rem;
  margin-bottom: 0.4rem;
}

html.theme-dark .profile-often-booked-link:hover,
html.theme-dark .profile-often-booked-link:focus-visible {
  background: rgba(74, 144, 226, 0.14);
  border-color: rgba(74, 144, 226, 0.3);
}

.profile-subtitle {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.profile-quick-card {
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.08);
}

.profile-quick-card .profile-info-row {
  margin-top: 0.18rem;
}

.profile-favorite-btn {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: var(--surface-card);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.profile-favorite-btn:hover {
  transform: scale(1.08);
  background: rgba(255, 241, 243, 0.85);
}

.profile-favorite-btn:active {
  transform: scale(0.94);
}

.profile-favorite-btn .heart-icon {
  width: 1.2rem;
  height: 1.2rem;
  display: inline-flex;
}

.profile-favorite-btn .heart-icon svg {
  width: 100%;
  height: 100%;
}

.profile-favorite-btn .heart-icon path {
  fill: transparent;
  stroke: #d0192f;
  stroke-width: 1.9;
  vector-effect: non-scaling-stroke;
}

.profile-favorite-btn.is-favorited {
  background: rgba(255, 241, 243, 0.98);
  border-color: #f1c4c9;
}

.profile-favorite-btn.is-favorited .heart-icon path {
  fill: #d0192f;
  stroke: #d0192f;
}

.profile-rate-wrap {
  margin-top: 0.7rem;
}

.profile-rate-stars {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.3rem;
}

.profile-rate-star {
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  background: transparent;
  color: #f59e0b;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: transform 0.15s ease;
  overflow: visible;
}

.profile-rate-star svg {
  width: 100%;
  height: 100%;
}

.profile-rate-star-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.12s ease;
  color: var(--text-muted, #6b7280);
  user-select: none;
  pointer-events: none;
}

.profile-rate-stars:hover .profile-rate-star-num {
  opacity: 1;
}

.profile-rate-star.is-preview .profile-rate-star-num,
.profile-rate-star.is-active .profile-rate-star-num {
  color: white;
}

.profile-rate-star path {
  fill: transparent;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: fill 0.12s ease, stroke 0.12s ease;
}

.profile-rate-star:hover {
  transform: scale(1.18);
}
/* Fill preview handled by JS .is-preview class */

.profile-rate-star.is-active {
  color: #f59e0b;
}

.profile-rate-star.is-active path {
  fill: currentColor;
  stroke: currentColor;
}

.profile-rate-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.profile-rate-label-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.profile-rate-hint {
  display: block;
  text-align: left;
}

.profile-rate-wrap.is-hidden {
  display: none;
}

.profile-status-online {
  color: #0f8a43;
  font-weight: 700;
}

.profile-status-offline {
  color: var(--text-muted);
  font-weight: 700;
}

.profile-book-now-btn {
  padding: 0.62rem 1.2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}


/* PhotoSwipe tuning for profile gallery */
.pswp {
  --pswp-active-image: none;
}

/* Apple-style lightbox: single ::before at z-index:-1 handles blur + dark tint.
   z-index:-1 places it definitively BEHIND pswp__scroll-wrap (z-index:auto/1),
   guaranteeing no touch event interference — no ::after needed.
   brightness(0.22) gives enough darkness without a separate tint layer. */
.pswp::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--pswp-active-image);
  background-size: cover;
  background-position: center top;
  filter: blur(40px) brightness(0.22) saturate(1.8);
  transform: scale(1.12);
  pointer-events: none;
}

/* pswp__bg: transparent shell used by PhotoSwipe for open/close animation timing only */
.pswp__bg {
  background: transparent !important;
  pointer-events: none !important;
}

/* Lightbox dots */
.pswp-dots {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.32rem;
  align-items: center;
  z-index: 10;
  pointer-events: none;
}
.pswp-dot {
  height: 5px;
  width: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  transition: width 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.22s ease;
  flex-shrink: 0;
}
.pswp-dot.is-active {
  width: 18px;
  background: rgba(255, 255, 255, 0.95);
}

.pswp__img {
  object-fit: contain !important;
}

.pswp__button--arrow {
  top: 56px !important;
  bottom: 0 !important;
  width: 92px !important;
  height: calc(100% - 56px) !important;
  margin: 0 !important;
  border-radius: 0 !important;
  opacity: 1 !important;
  color: #ffffff !important;
  transition: background-color 0.2s ease;
}

.pswp__button--arrow--prev {
  left: 0 !important;
  background: linear-gradient(
    to right,
    rgba(10, 15, 25, 0.58) 0%,
    rgba(10, 15, 25, 0.14) 78%,
    rgba(10, 15, 25, 0) 100%
  ) !important;
}

.pswp__button--arrow--next {
  right: 0 !important;
  background: linear-gradient(
    to left,
    rgba(10, 15, 25, 0.58) 0%,
    rgba(10, 15, 25, 0.14) 78%,
    rgba(10, 15, 25, 0) 100%
  ) !important;
}

.pswp__button--arrow .pswp__icn {
  width: 56px !important;
  height: 56px !important;
  transform: scale(1.35);
}

.pswp__button--arrow--next .pswp__icn {
  transform: scale(-1.35, 1.35);
}

.profile-sticky-merged {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.profile-sticky-inner {
  margin-top: 0.45rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
  min-height: 50px;
  padding: 0.5rem 0.35rem;
  box-shadow: none;
}

.profile-contact-row-merged {
  margin-top: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  justify-self: center;
}

.profile-breadcrumbs-sticky {
  min-width: 0;
}

body.profile-sticky-active .profile-sticky-merged {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  body.profile-page .profile-main {
    padding-top: 0.85rem !important;
  }

  body.profile-page .profile-top-grid {
    gap: 0;
  }

  body.profile-page .profile-gallery-panel {
    order: 1;
  }

  body.profile-page .profile-identity-panel {
    order: 2;
    position: relative;
    z-index: 2;
    margin-top: -2px;
  }

  body.profile-page .profile-info-card {
    border-radius: 26px 26px 14px 14px;
    padding-top: 1.45rem;
  }

  body.profile-page .profile-avatar-shell {
    display: none !important;
  }

  body.profile-page .profile-info-head #profile-name {
    font-size: clamp(3rem, 15vw, 5.2rem);
    margin-bottom: 0.25rem !important;
  }

  /* Bookmark button on mobile: match the large name height, more gap from name */
  body.profile-page .profile-name-row {
    gap: 1rem;
  }
  body.profile-page .profile-name-row .profile-bookmark-btn {
    position: static;
    width:  calc(clamp(3rem, 15vw, 5.2rem) * 0.85);
    height: calc(clamp(3rem, 15vw, 5.2rem) * 0.85);
    flex-shrink: 0;
    min-width: 2.4rem;
    min-height: 2.4rem;
  }

  body.profile-page .profile-info-head #profile-hero-summary {
    font-size: 1.02rem;
  }

  body.profile-page .profile-gallery-mobile,
  body.profile-page .profile-gallery-track,
  body.profile-page .profile-slide {
    border-radius: 18px;
  }

  .profile-nav-row {
    margin-bottom: 0.45rem;
    align-items: flex-start;
  }

  .profile-contact-row {
    margin-top: 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    gap: 0.65rem;
    padding: 0.5rem 0.6rem;
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.08);
  }

  .profile-contact-link .desktop-label {
    display: none;
  }

  .profile-contact-link .inline-icon {
    display: none;
  }

  .profile-contact-link .mobile-icon {
    display: inline-flex;
    width: 28px;
    height: 28px;
  }

  .profile-contact-link .mobile-icon circle {
    fill: #f3f4f6;
    stroke: #cbd5e1;
    stroke-width: 1;
  }

  .profile-contact-link .mobile-icon text {
    font-family: var(--font-body);
    font-size: 7px;
    font-weight: 700;
    fill: #334155;
  }
}

/* ── Profile redesign: new identity panel elements ─────────────────── */

/* Name + heart row */
.profile-name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
}

.profile-name-heading {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 700;
  margin: 0;
  line-height: 1.15;
}

/* Hide detail rows with no data */
.profile-details-card .profile-info-row:has(> .value:empty) {
  display: none;
}

/* Minimal details card */
.profile-details-card {
  border: 1px solid var(--border-soft, rgba(0,0,0,.09));
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-card, #fff);
}

html.theme-dark .profile-details-card {
  background: var(--surface-card, rgba(15,23,42,.7));
}

.profile-details-card .profile-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border-soft, rgba(0,0,0,.06));
  font-size: 0.875rem;
}

.profile-details-card .profile-info-row:last-child {
  border-bottom: none;
}

/* Detail icons — base fallback */
.profile-detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1e5fab;
  flex-shrink: 0;
  width: 1.1rem;
}
.profile-detail-icon svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Status dot — pulsing green when available */
.profile-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
  display: block;
  flex-shrink: 0;
}
.profile-status-dot--online {
  background: #13b26b;
  animation: statusPulse 2s ease-out infinite;
}
@keyframes statusPulse {
  0%   { box-shadow: 0 0 0 0 rgba(19, 178, 107, 0.65); }
  70%  { box-shadow: 0 0 0 6px rgba(19, 178, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(19, 178, 107, 0); }
}
.profile-status-online { color: #13b26b; font-weight: 600; }
.profile-status-offline { color: var(--text-muted); }

/* Dot + text inline inside the value span */
#profile-status-display {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Status row: mobile only (<768px). Tablet+ has the avatar status indicator. */
@media (min-width: 768px) {
  #profile-status-row { display: none; }
  .profile-whatsapp-book-btn { display: none; }
}

/* Name + age inline — matches h1 size/weight, space separator */
.profile-name-age {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  vertical-align: baseline;
}
.profile-name-age:not(:empty)::before { content: "\00a0"; }
.profile-name-age:empty { display: none; }

/* City row under name — aligns with name */
.profile-city-row {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  justify-content: flex-start;
}
.profile-city-row svg { flex-shrink: 0; opacity: 0.7; }

/* Rating section */
.profile-rate-section {
  text-align: center;
}

.profile-rate-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}


.profile-nav-pill-arrow {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.profile-nav-pill-name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 3 circular suggested therapists */
.profile-suggested-grid {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.profile-suggested-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: inherit;
  flex: 0 0 auto;
}

.profile-suggested-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid var(--border-soft, rgba(0,0,0,.1));
  background: var(--surface-card);
  flex-shrink: 0;
}

.profile-suggested-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.profile-suggested-name {
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  max-width: 72px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: 1;
}

@media (min-width: 768px) {
  .profile-suggested-avatar {
    width: 88px;
    height: 88px;
  }
  .profile-suggested-name {
    max-width: 88px;
    font-size: 0.82rem;
  }
}

/* ── Profile redesign: typography + design overhaul ──────────────────── */

/* Font pairing for profile identity panel */
@media (min-width: 992px) {
  body.profile-page .profile-name-heading {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
  }


  body.profile-page .profile-card-title {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
  }

  body.profile-page .profile-bio-wrap p {
    font-family: 'DM Sans', 'Inter', sans-serif;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--text-muted);
  }

  /* ── Strip gallery card box ── */
  body.profile-page .profile-gallery-desktop {
    border: none;
    border-radius: 16px;
    background: transparent;
    box-shadow: none;
    padding: 0;
    gap: clamp(0.5rem, 0.7vw, 0.75rem);
    align-content: start;
  }

  body.profile-page .profile-gallery-item,
  body.profile-page .profile-gallery-placeholder {
    border-radius: 12px;
  }

  /* ── Button: square-ish, bold, generous height, shine ── */
  body.profile-page .profile-book-now-btn {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    min-height: 3.4rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 90, 224, 0.28);
  }

  body.profile-page .profile-book-now-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(0, 90, 224, 0.36);
  }

  /* ── H2 left-aligned ── */
  body.profile-page .profile-card-title {
    text-align: left;
  }

  /* ── Identity panel: padding both sides ── */
  body.profile-page .profile-identity-panel {
    padding-right: clamp(0.75rem, 1.5vw, 1.25rem);
  }

  /* ── Rating: left-aligned ── */
  body.profile-page .profile-rate-section {
    text-align: left;
  }

  body.profile-page .profile-rate-label {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0;
  }

  body.profile-page .profile-rate-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0;
  }

  body.profile-page .profile-rate-thanks {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
  }

  /* ── Suggested: grid fills panel width, names always visible ── */
  body.profile-page .profile-suggested-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  body.profile-page .profile-suggested-card {
    position: static;
    width: 100%;
    padding-bottom: 0.25rem;
  }

  body.profile-page .profile-suggested-avatar {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    max-width: none;
  }

  body.profile-page .profile-suggested-name {
    position: static;
    transform: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0;
    border-radius: 0;
    opacity: 1;
    pointer-events: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    margin-top: 0;
    max-width: calc(100% - 14px);
  }

  /* Often Booked For section label */
  body.profile-page .profile-section-label {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
  }
}

/* ── Pass 3 + 4 refinements ─────────────────────────────────────────── */

@media (min-width: 992px) {
  /* Book button: fill full sidebar width */
  body.profile-page .profile-book-now-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Shine sweep — persistent auto animation */
  body.profile-page .profile-book-now-btn::after {
    animation: btnSweepAuto 3.5s ease 1s infinite;
    opacity: 1;
  }

  /* Suggested: zoom on hover, name normal weight */
  body.profile-page .profile-suggested-avatar {
    overflow: hidden;
  }

  body.profile-page .profile-suggested-avatar img {
    transition: transform 0.35s ease;
  }

  body.profile-page .profile-suggested-card:hover .profile-suggested-avatar img {
    transform: scale(1.08);
  }

  body.profile-page .profile-suggested-name {
    font-weight: 400;
  }
}

@keyframes btnSweepAuto {
  0%   { transform: skewX(-18deg) translateX(-150%); opacity: 0; }
  5%   { opacity: 1; }
  25%  { transform: skewX(-18deg) translateX(250%); opacity: 1; }
  26%  { transform: skewX(-18deg) translateX(250%); opacity: 0; }
  100% { transform: skewX(-18deg) translateX(-150%); opacity: 0; }
}

/* Remove hover-only sweep (replaced by auto) */
body.profile-page .profile-book-now-btn:hover::after {
  animation: none;
}

/* Tag pill at 2-o'clock of avatar — clearly outside circle */
.profile-avatar-shell {
  isolation: isolate;
}

/* Star rating: fill-up-to preview */
.profile-rate-star.is-preview path {
  fill: currentColor;
  stroke: currentColor;
}

.profile-rate-star.is-preview {
  transform: scale(1.08);
}

/* Often Booked For: icon left of text */
.profile-often-booked-card {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 0.9rem 0.6rem;
}

.profile-often-booked-icon {
  width: 2rem;
  height: 2rem;
}

/* Profile action menu nav arrows (top bar) */
.profile-nav-arrows {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.profile-nav-arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1.5px solid var(--color-blue, #1e5fab);
  border-radius: 999px;
  color: var(--color-blue, #1e5fab);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}

.profile-nav-arrow-btn:hover {
  background: var(--color-blue, #1e5fab);
  color: #fff;
}

html.theme-dark .profile-nav-arrow-btn {
  border-color: rgba(100, 149, 237, 0.55);
  color: #7baaf7;
}

html.theme-dark .profile-nav-arrow-btn:hover {
  background: rgba(100, 149, 237, 0.18);
  color: #93c5fd;
}

/* Profile footer breadcrumb */
.profile-footer-breadcrumb {
  padding: 0.75rem 0;
  border-top: 1px solid var(--border-soft, rgba(0,0,0,.08));
  background: var(--surface-bg);
}

.profile-footer-breadcrumb .page-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.profile-footer-breadcrumb .page-breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

.profile-footer-breadcrumb .page-breadcrumbs a:hover {
  color: var(--color-blue, #1e5fab);
  text-decoration: underline;
}

.profile-footer-breadcrumb .sep {
  color: var(--text-muted);
  opacity: 0.5;
}

/* Info card + bio: no card bg on desktop */
@media (min-width: 992px) {
  body.profile-page .profile-info-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-height: 0;
  }
}

.profile-often-booked-name {
  flex: 1;
  font-size: 0.82rem;
}

/* Suggested therapists: green border default, blue on hover */
.profile-suggested-avatar {
  border: 2px solid #13b26b;
  transition: border-color 0.2s ease;
}

.profile-suggested-card:hover .profile-suggested-avatar {
  border-color: var(--color-blue, #1e5fab);
}

/* Name row: bullet-style inline alignment */
.profile-suggested-name-row {
  display: block;
  text-align: center;
  max-width: 72px;
}

@media (min-width: 768px) {
  .profile-suggested-name-row {
    max-width: 88px;
  }
}

.profile-suggested-name {
  display: inline-block;
  vertical-align: middle;
  min-width: 0;
}

.profile-suggested-online-dot {
  display: inline-block;
  vertical-align: middle;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #13b26b;
  animation: onlinePulseDot 2s ease-out infinite;
  margin-right: 3px;
}

/* Tag row in details card */
.profile-tag-row {
  align-items: flex-start !important;
}

.profile-info-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.profile-info-tags .therapist-new-chip,
.profile-info-tags .therapist-spotlight-chip {
  font-size: 0.72rem;
  padding: 0.15rem 0.55rem;
}

/* ── Booking section (from LP, shared) ──────────────────────────────── */
.outcall-booking-cta {
  position: relative;
  overflow: clip; /* clip visual bleed without blocking height auto-sizing (was: hidden) */
  height: auto;
  padding-top: clamp(3rem, 5vw, 4.4rem);
  padding-bottom: clamp(3rem, 5vw, 4.4rem);
  color: #ffffff;
  background:
    radial-gradient(900px 380px at 18% 0%, rgba(255, 255, 255, 0.22), transparent 62%),
    radial-gradient(720px 300px at 86% 100%, rgba(96, 165, 250, 0.3), transparent 58%),
    linear-gradient(135deg, #0754b5 0%, #0b63ce 50%, #06459a 100%);
}
.outcall-booking-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0.12), transparent 34%, rgba(255,255,255,0.08));
  opacity: 0.72;
}
.outcall-booking-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
}
.outcall-booking-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  padding: 0.72rem 1.2rem;
  color: #ffffff;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.outcall-booking-kicker span {
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34,197,94,0.16);
}
.outcall-booking-cta h2 {
  color: #ffffff;
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  line-height: 1;
  margin-inline: auto;
  max-width: 20ch;
}
.outcall-booking-cta p { color: rgba(255,255,255,0.84); }
.outcall-booking-heading { margin-inline: auto; max-width: 880px; }
.outcall-booking-heading p { font-size: clamp(1rem, 0.92rem + 0.3vw, 1.18rem); line-height: 1.45; }
.outcall-booking-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.6vw, 1.15rem);
  margin-top: clamp(1.35rem, 2.5vw, 2rem);
}
.outcall-booking-card {
  display: grid;
  justify-items: center;
  align-content: start;
  min-width: 0;
  min-height: 100%;
  padding: clamp(1.05rem, 1.8vw, 1.4rem);
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.2);
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.16), transparent 54%), rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 24px 58px rgba(2,8,20,0.14);
  text-align: center;
}
.outcall-booking-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.85rem;
  height: 3.85rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255,255,255,0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16);
}
.outcall-booking-card-icon svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.outcall-booking-card-icon .footer-contact-icon-file { width: 1.7rem; height: 1.7rem; background-color: #ffffff; }
.outcall-booking-card-icon--whatsapp { background: linear-gradient(180deg, rgba(37,211,102,0.95), rgba(37,211,102,0.6)); }
.outcall-booking-card h3 {
  color: #ffffff;
  font-size: clamp(1.12rem, 1rem + 0.35vw, 1.36rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}
.outcall-booking-card p { max-width: 18rem; min-height: 2.65rem; margin: 0 auto 1rem; color: rgba(255,255,255,0.88); font-size: 0.92rem; line-height: 1.45; }
.outcall-booking-btn {
  width: min(100%, 16.5rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 2.85rem;
  padding: 0.74rem 1.05rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.outcall-booking-btn .footer-contact-icon-file { width: 1.1rem; height: 1.1rem; background-color: currentColor; }
.outcall-booking-btn-primary { color: var(--color-blue); background: #ffffff; box-shadow: 0 18px 38px rgba(2,8,20,0.24); }
.outcall-booking-btn-secondary { color: #ffffff; border: 1px solid rgba(255,255,255,0.38); background: rgba(255,255,255,0.12); }
.outcall-booking-btn:hover, .outcall-booking-btn:focus-visible { transform: translateY(-2px); box-shadow: 0 22px 44px rgba(2,8,20,0.3); }
.outcall-booking-btn-primary:hover, .outcall-booking-btn-primary:focus-visible { color: var(--color-blue-hover); }
.outcall-booking-btn-secondary:hover, .outcall-booking-btn-secondary:focus-visible { color: #ffffff; background: rgba(255,255,255,0.18); }
.outcall-booking-card small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  max-width: 100%;
  margin-top: 0.75rem;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.8);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.15;
  text-transform: uppercase;
}
.outcall-booking-card small svg { width: 0.95rem; height: 0.95rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.outcall-booking-card-arrow { display: none; }
.outcall-booking-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(100%, 58rem);
  margin: clamp(1.15rem, 2vw, 1.5rem) auto 0;
  padding: 0.75rem 0.9rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.outcall-booking-trust span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.25rem 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
}
.outcall-booking-trust span:last-child { border-right: 0; }
.outcall-booking-trust svg {
  width: 1.45rem;
  height: 1.45rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Body flex layout: prevent shrinkage on out-of-main sections ─────── */
/* base.css sets body { display: flex; flex-direction: column; min-height: 100vh }
   Sections outside <main> default to flex-shrink: 1 which compresses them.
   flex-shrink: 0 lets body grow to full content height, fixing sticky + booking clip. */
body.profile-page .profile-action-menus,
body.profile-page #booking,
body.profile-page #reviews,
body.profile-page .profile-footer-breadcrumb,
body.profile-page footer {
  flex-shrink: 0;
}

/* ── Booking trust: profile overrides ─────────────────────────────────── */
/* pages-booking.css hides span:nth-child(2) globally (shows 2 on LPs).
   Profile pages want 3 on desktop → undo the hide. 4th span shows on mobile only.
   span:last-child { border-right:0 } targets DOM last (4th, hidden), so 3rd keeps border → fix here. */
body.profile-page .outcall-booking-trust span:nth-child(2) { display: inline-flex; }
body.profile-page .outcall-booking-trust span:nth-child(3) { border-right: 0; }
body.profile-page .outcall-booking-trust span:nth-child(4) { display: none; }

/* ── Booking section: tablet + mobile (≤991px) — row-layout cards ─────── */
@media (max-width: 991.98px) {
  .outcall-booking-actions {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin-top: 1.55rem;
  }
  .outcall-booking-card {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "icon title arrow"
      "icon copy arrow";
    justify-items: start;
    align-items: center;
    column-gap: 0.9rem;
    row-gap: 0.15rem;
    padding: 0.95rem 1rem;
    border-radius: 20px;
    text-align: left;
  }
  .outcall-booking-card-icon {
    grid-area: icon;
    width: 3.4rem;
    height: 3.4rem;
    margin: 0;
  }
  .outcall-booking-card-icon svg,
  .outcall-booking-card-icon .footer-contact-icon-file {
    width: 1.55rem;
    height: 1.55rem;
  }
  .outcall-booking-card h3 {
    grid-area: title;
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.15;
  }
  .outcall-booking-card p {
    grid-area: copy;
    min-height: 0;
    max-width: none;
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.3;
  }
  .outcall-booking-card small {
    display: none;
  }
  .outcall-booking-card .outcall-booking-btn {
    grid-area: 1 / 1 / -1 / -1;
    align-self: stretch;
    justify-self: stretch;
    width: 100%;
    min-height: auto;
    padding: 0;
    border-radius: 20px;
    background: transparent;
    color: transparent;
    box-shadow: none;
    font-size: 0;
    z-index: 2;
  }
  .outcall-booking-card .outcall-booking-btn .footer-contact-icon-file,
  .outcall-booking-card .outcall-booking-btn span {
    display: none;
  }
  .outcall-booking-card-arrow {
    grid-area: arrow;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color: #ffffff;
    font-size: 1.35rem;
    justify-self: end;
    z-index: 1;
  }
  .outcall-booking-card:has(.outcall-booking-btn:hover),
  .outcall-booking-card:has(.outcall-booking-btn:focus-visible) {
    border-color: rgba(255, 255, 255, 0.34);
    background:
      radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.2), transparent 54%),
      rgba(255, 255, 255, 0.12);
  }
  .outcall-booking-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    width: 100%;
    padding: 0.9rem;
  }
  .outcall-booking-trust span {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.36rem;
    min-height: 4.25rem;
    padding: 0.7rem 0.5rem;
    border-right: 0;
    border-bottom: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.86rem;
    text-align: center;
  }
  .outcall-booking-trust span:nth-child(2) { display: inline-flex; }
  .outcall-booking-trust span:nth-child(3) { order: 4; }
  body.profile-page .outcall-booking-trust span:nth-child(4) { display: inline-flex; order: 3; }
}

/* ── Mobile fixes (≤767px) ─────────────────────────────────────────────── */
@media (max-width: 767.98px) {
  /* Left-align booking heading on mobile */
  .outcall-booking-heading {
    text-align: left;
  }
  .outcall-booking-heading p {
    font-size: 0.95rem;
  }

  /* 1b. WhatsApp CTA under name — matches desktop Book Now btn style */
  .profile-whatsapp-book-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    margin-top: 0.75rem;
    min-height: 3.2rem;
    padding: 0 1.25rem;
    background: var(--bs-btn-bg, #0754b5);
    background: #0754b5;
    color: #fff;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 90, 224, 0.22);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .profile-whatsapp-book-btn:hover,
  .profile-whatsapp-book-btn:active {
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(0, 90, 224, 0.34);
    transform: translateY(-1px);
  }
  /* Shine sweep — same as desktop Book Now btn */
  .profile-whatsapp-book-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.28) 50%, transparent 100%);
    transform: skewX(-18deg) translateX(-150%);
    animation: btnSweepAuto 3.5s ease 1s infinite;
    opacity: 1;
    pointer-events: none;
  }
  .profile-whatsapp-icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
  }
  .profile-whatsapp-icon svg {
    width: 18px;
    height: 18px;
  }

  /* 2. Profile name: centered on mobile; H2 subtitle left-aligned */
  .profile-name-row {
    justify-content: center;
    text-align: center;
  }
  body.profile-page .profile-info-head {
    text-align: center;
  }
  body.profile-page .profile-name-row {
    justify-content: center;
  }
  body.profile-page .profile-card-title {
    text-align: left;
  }

  /* 3. Hide Book Now button at hero on mobile — booking section below serves this */
  #profile-book-btn.profile-book-now-btn,
  body.profile-page .profile-book-now-btn {
    display: none;
  }

  /* 4. Details table: icon-left, label-left, value-right */
  .profile-details-card .profile-info-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    justify-content: flex-start;
    text-align: left;
  }
  .profile-details-card .profile-info-row .label {
    text-align: left;
    flex-shrink: 0;
  }
  .profile-details-card .profile-info-row .value {
    margin-left: auto;
    text-align: right;
    min-width: 0;
  }
  /* Tags div isn't .value so push right manually */
  .profile-details-card .profile-info-row .profile-info-tags {
    margin-left: auto;
  }

  /* 5. Often Booked For: 2×2 grid, CSS hard-cap at 4 */
  .profile-often-booked-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .profile-often-booked-list .profile-often-booked-card:nth-child(n+5) {
    display: none;
  }
  .profile-often-booked-wrap .profile-section-label {
    text-align: left;
  }

  /* 6. Full-bleed gallery — break out of container padding, zero radius, no gap */
  body.profile-page .profile-main {
    padding-top: 0 !important;
    margin-top: 0;
  }
  body.profile-page .profile-action-menus {
    margin-bottom: 0;
  }
  body.profile-page .profile-gallery-panel {
    margin-left: calc(-1 * var(--bs-gutter-x, 1.5rem) / 2);
    margin-right: calc(-1 * var(--bs-gutter-x, 1.5rem) / 2);
  }
  body.profile-page .profile-gallery-mobile,
  body.profile-page .profile-gallery-track,
  body.profile-page .profile-slide {
    border-radius: 0;
  }
  /* Embla carousel: viewport overflow managed by Embla, slides at 84% create 8% peek each side */
  body.profile-page .profile-gallery-mobile {
    overflow: clip;
  }
  body.profile-page .profile-gallery-track {
    overflow: clip; /* clip excludes off-screen Embla loop clones from CLS; hidden does not */
    scroll-snap-type: none;
    gap: 0;
    padding: 0;
  }
  body.profile-page .embla-container {
    display: flex;
    touch-action: pan-y pinch-zoom;
    /* GPU layer prevents iOS loop-jump flash */
    will-change: transform;
  }
  body.profile-page .profile-slide {
    flex: 0 0 80%;
    margin: 0 0.25rem;
    scroll-snap-align: none;
    /* Default bright — Embla loop clones are not in slideNodes() so never get
       is-active. Dimming defaults would make clones visibly dark during the
       loop animation. Bright default means the loop jump is invisible. */
    opacity: 1;
    transform: scale(1);
  }
  /* Dim adjacent slides only when carousel is resting (not dragging/animating).
     Transitions also gated here — no easing during drag per carousel best practice. */
  body.profile-page .profile-gallery-track:not(.embla-dragging) .profile-slide {
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  body.profile-page .profile-gallery-track:not(.embla-dragging) .profile-slide:not(.is-active) {
    opacity: 0.55;
    transform: scale(0.96);
  }
  /* Suppress transitions for the very first paint so slide 0 appears at
     scale(1) immediately — no scale(0.96)→scale(1) grow on reveal. */
  body.profile-page .profile-gallery-track.embla-no-transition .profile-slide {
    transition: none !important;
  }

  /* Bottom gradient on each slide: creates room for counter, softens cut to card */
  body.profile-page .profile-slide::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 38%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.54));
    pointer-events: none;
    z-index: 1;
  }

  /* object-position: keep faces in frame on non-standard crops */
  body.profile-page .profile-slide img {
    object-position: top center;
  }

  /* Gallery reveal handled by JS visibility toggle (Embla init).
     CSS animation removed — it started at opacity:0 and blocked LCP. */

  /* Image counter: "1 / 6" — glass pill, top-left of active slide */
  .gallery-counter {
    position: absolute;
    top: 0.75rem;
    left: calc(10% + 0.75rem);
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(12px) saturate(1.4);
    -webkit-backdrop-filter: blur(12px) saturate(1.4);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-variant-numeric: tabular-nums;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    z-index: 10;
    pointer-events: none;
    user-select: none;
  }

  /* Bottom dots: iOS pill-style position indicator */
  .gallery-dots {
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.32rem;
    align-items: center;
    z-index: 10;
    pointer-events: none;
  }
  .gallery-dot {
    height: 5px;
    width: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
    transition: width 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.22s ease;
    flex-shrink: 0;
  }
  .gallery-dot.is-active {
    width: 18px;
    background: rgba(255, 255, 255, 0.95);
  }

  /* 7. Gallery arrows: hide on mobile (swipe to navigate) */
  .profile-slider-arrow {
    display: none !important;
  }

  /* 7. Gallery image hearts: bigger tap target on mobile */
  .image-like-btn {
    width: 3.5rem;
    height: 3.5rem;
  }
  .image-like-btn .heart-icon {
    width: 1.7rem;
    height: 1.7rem;
  }

  /* 8. Bookmark inline with centered name — no auto-push */
  body.profile-page .profile-name-row .profile-bookmark-btn {
    margin-left: 0;
    margin-right: 0;
  }

  /* 9. Suggested therapists: 130px, 2 shown, centered */
  .profile-suggested-card:nth-child(3) {
    display: none;
  }
  .profile-suggested-avatar {
    width: calc(50vw - 2rem);
    height: calc(50vw - 2rem);
  }
  .profile-suggested-name {
    max-width: calc(50vw - 2rem);
    font-size: 0.9rem;
    font-weight: 600;
  }
  .profile-suggested-grid {
    gap: 0.75rem;
    justify-content: center;
    margin-top: 2rem;
  }

  /* 10. Bottom row: flex column so order works; often-booked first */
  .profile-bottom-row {
    display: flex;
    flex-direction: column;
  }
  .profile-often-booked-wrap { order: -1; }
  .profile-suggested { order: 0; }

  /* 12. Rating: centered row, texts tight + right-aligned, stars pushed out */
  .profile-rate-row {
    justify-content: center;
    gap: 1.5rem;
  }
  .profile-rate-label-group {
    align-items: flex-end;
    text-align: right;
    gap: 0;
  }
  .profile-rate-label {
    margin-bottom: 0;
    line-height: 1.1;
  }
  .profile-rate-hint {
    text-align: right;
  }
}

/* Gallery reveal entrance keyframe */
@keyframes galleryReveal {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Pull-to-refresh: style.css sets overscroll-behavior-y:contain on html,body for
   the home page. Override it on profile pages so iOS pull-to-refresh works. */
html:has(body.profile-page),
body.profile-page {
  overscroll-behavior-y: auto;
}


/* Bookmark button on gallery slides: refined glass — stronger blur, dark ring */
body.profile-page .profile-gallery-mobile .therapist-bookmark-btn,
body.profile-page .profile-gallery-mobile .profile-bookmark-btn {
  top: 1rem;
  right: 1rem;
  background: rgba(8, 12, 20, 0.45);
  backdrop-filter: blur(14px) saturate(1.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}


/* Photo request button */
.profile-photo-request-wrap {
  margin-top: 0.75rem;
}

.profile-photo-request-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border: none;
  background: none;
  color: #ef4444;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.profile-photo-request-btn:hover:not(:disabled) {
  opacity: 0.75;
}

.profile-photo-request-btn:disabled {
  cursor: default;
  text-decoration: none;
  opacity: 0.8;
}

.profile-photo-request-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}


/* Mobile tabbar: hide on initial profile page load, reveal after first scroll */
body.profile-page .mobile-tabbar {
  transform: translateY(100%);
  pointer-events: none;
}
body.profile-page.tabbar-revealed .mobile-tabbar {
  transform: translateY(0);
  pointer-events: auto;
}
/* Tabbar spacer not needed on profile until revealed */
body.profile-page:not(.tabbar-revealed) .mobile-tabbar-spacer {
  display: none;
}
