.navbar.sticky-top { z-index: 1050; }
.public-booking-card.sticky-top { z-index: 20; }
.profile-photo-card.sticky-lg-top { z-index: 10; }
.media-card { overflow: hidden; }
.media-cover-preview { aspect-ratio: 14 / 5; border-radius: 1rem; overflow: hidden; background: #f3f4f6; border: 1px solid rgba(0,0,0,.08); }
.media-cover-preview img, .public-establishment-cover img, .find-establishment-cover img, .service-media-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-empty-preview { height: 100%; min-height: 180px; display: grid; place-items: center; align-content: center; gap: .5rem; color: #6b7280; }
.media-empty-preview i { font-size: 2rem; }
.media-logo-preview { width: 160px; height: 160px; margin-inline: auto; border-radius: 1.5rem; overflow: hidden; background: #fff; border: 1px solid rgba(0,0,0,.08); }
.media-logo-preview img { width: 100%; height: 100%; object-fit: contain; padding: .5rem; }
.media-empty-logo, .profile-photo-preview { width: 100%; height: 100%; display: grid; place-items: center; font-size: 2rem; font-weight: 700; }
.profile-photo-preview { width: 180px; height: 180px; border-radius: 50%; overflow: hidden; background: #f3f4f6; border: 1px solid rgba(0,0,0,.08); }
.profile-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.profile-details-card { border-radius: .9rem; }
.profile-privacy-note { display: flex; align-items: flex-start; gap: .8rem; padding: 1rem; border: 1px solid #dfe4e9; border-radius: .8rem; background: #f7f8fa; color: #5b6470; font-size: .82rem; }
.profile-privacy-note > i { margin-top: .05rem; color: #343a40; }
.profile-privacy-note strong, .profile-privacy-note span { display: block; }
.profile-privacy-note strong { margin-bottom: .15rem; color: #343a40; }
.account-avatar { overflow: hidden; flex: 0 0 auto; }
.account-avatar img, .team-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-avatar { overflow: hidden; }
.service-media-box { display: grid; grid-template-columns: 112px minmax(0,1fr); gap: 1rem; align-items: center; padding: .9rem; border: 1px solid rgba(0,0,0,.08); border-radius: .9rem; background: rgba(255,255,255,.7); }
.service-media-thumb { width: 112px; aspect-ratio: 4/3; overflow: hidden; border-radius: .75rem; background: #f3f4f6; display: grid; place-items: center; color: #6b7280; }
.service-media-thumb i { font-size: 1.5rem; }
.public-establishment-cover { margin-top: 1.5rem; height: clamp(175px, 23vw, 280px); border-radius: 1.15rem; overflow: hidden; background: #eef1f4; box-shadow: 0 8px 30px rgba(15,23,42,.05); }
.public-establishment-header { padding-top: 1.35rem; padding-bottom: 2rem; }
.public-establishment-header > a { display: inline-flex; align-items: center; margin-bottom: 1.35rem; }
.public-establishment-header .row { margin-top: 0 !important; }
.public-establishment-header .col-lg-8 { display: flow-root; }
.public-establishment-logo { width: 96px; height: 96px; float: left; margin: 0 1.2rem .65rem 0; border-radius: 1.1rem; overflow: hidden; background: #fff; border: 1px solid rgba(0,0,0,.08); box-shadow: 0 .5rem 1.4rem rgba(0,0,0,.08); }
.public-establishment-logo img { width: 100%; height: 100%; object-fit: contain; padding: .4rem; display: block; }
.public-service-image { width: 116px; min-width: 116px; aspect-ratio: 4/3; border-radius: .85rem; overflow: hidden; background: #f3f4f6; }
.public-service-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.public-service-card.with-image .public-service-main { display: flex; align-items: center; gap: 1rem; }
.public-service-card.with-image .public-service-copy { display: flex; flex-direction: column; min-width: 0; }
.find-establishment-cover { height: 170px; overflow: hidden; background: #f3f4f6; position: relative; }
.find-establishment-logo { width: 58px; height: 58px; border-radius: .9rem; overflow: hidden; background: #fff; border: 3px solid #fff; box-shadow: 0 .25rem .8rem rgba(0,0,0,.1); }
.find-establishment-logo img { width: 100%; height: 100%; object-fit: contain; padding: .2rem; }
.provider-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
@media (max-width: 991.98px) {
  .profile-photo-card.sticky-lg-top { position: static !important; }
}
@media (max-width: 575.98px) {
  .service-media-box { grid-template-columns: 1fr; }
  .service-media-thumb { width: 100%; max-width: 180px; }
  .public-service-card.with-image .public-service-main { align-items: flex-start; }
  .public-service-image { width: 88px; min-width: 88px; }
  .public-establishment-cover { height: 165px; border-radius: .9rem; }
  .public-establishment-header { padding-top: 1rem; }
  .public-establishment-logo { width: 78px; height: 78px; margin-right: .9rem; border-radius: .9rem; }
  .profile-photo-preview { width: 150px; height: 150px; }
}
