/* One presentation for the public profile, private preview and sales example. */
.premium-preview-card .premium-preview-body h2 {
  font-family:var(--bf-editorial-font);
  font-size: 32px; line-height: 1.15; font-weight: 400; letter-spacing: -.6px;
  color: var(--bf-theme-text,#183d31);
}
.premium-preview-card { background: var(--bf-theme-soft,#fffdf7); border-color: var(--bf-theme-gold-line,#c9ac70); }
.premium-profile-refined {
  --premium-ink:var(--bf-theme-text,#183d31);
  --premium-gold: #c9ac70;
  --premium-muted:var(--bf-theme-muted,#666d60);
  max-width: 1120px;
  margin-inline: auto;
  color: var(--premium-ink);
}
.premium-profile-refined.wrap { max-width: 1120px; padding-block: 26px 48px; }
.premium-profile-refined .breadcrumbs { margin-bottom: 20px; }
.premium-profile-refined .premium-profile-shell {
  background: linear-gradient(135deg, var(--bf-theme-soft,#fffdf7), var(--bf-theme-soft,#f9f1df));
  border: 1px solid var(--premium-gold);
  border-radius: 20px;
  box-shadow: 0 12px 36px #6b53200c;
}
.premium-profile-refined .premium-profile-brand {
  padding: 15px 30px;
  background: var(--bf-theme-gold-surface,#f7ecd3);
  border-bottom: 1px solid var(--bf-theme-gold-line,#e2d4b3);
}
.premium-profile-refined .premium-profile-brand > span {
  font-size: 10px; line-height: 1.6; font-weight: 700; letter-spacing: 1.4px;
}
.premium-profile-refined .premium-profile-brand svg { width: 17px; height: 17px; }
.premium-profile-refined .premium-profile-masthead {
  display: grid; grid-template-columns: minmax(0, 1fr) 210px;
  align-items: start; padding: 32px 30px 28px; gap: 28px;
}
.premium-profile-refined .premium-profile-identity {
  display: flex; align-items: flex-start; gap: 24px; padding: 0;
}
.premium-profile-refined .premium-salon-mark {
  width: 86px; height: 86px; border: 1px solid var(--bf-theme-gold-line,#ddcfad); border-radius: 14px;
  background: var(--bf-theme-soft,#fffefa); box-shadow: none; flex-shrink: 0;
}
.premium-profile-refined .premium-salon-mark img { padding: 10px; }
.premium-profile-refined .premium-salon-mark > span {
  font-family:var(--bf-editorial-font); font-size: 38px; color: var(--bf-theme-gold,#8b7040);
}
.premium-profile-refined .premium-salon-mark.is-placeholder > span { font-family: Arial, sans-serif; font-size: 10px; }
.premium-profile-refined .premium-profile-heading { min-width: 0; }
.premium-profile-refined .premium-profile-heading .eyebrow {
  font-size: 11px; line-height: 1.5; letter-spacing: 1.5px; font-weight: 650;
}
.premium-profile-refined .premium-profile-heading h1,
.premium-profile-refined .premium-profile-heading h3 {
  font-family:var(--bf-font);
  font-size: clamp(34px, 4.4cqw, 49px); line-height: 1.12; font-weight: 750;
  color: var(--premium-ink); letter-spacing: -1.4px; margin: 9px 0 14px;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.premium-profile-refined .premium-profile-heading > p {
  font-size: 16px; line-height: 1.6; font-weight: 400; color: var(--premium-muted);
  margin: 0 0 13px;
}
.premium-profile-refined .premium-identity-address {
  font-size: 13px; line-height: 1.6; color: var(--premium-muted); margin: 0 0 14px;
}
.premium-profile-refined .premium-identity-address svg { width: 16px; height: 16px; }
.premium-profile-refined .premium-specialties { gap: 7px; margin: 0 0 15px; }
.premium-profile-refined .premium-specialties > span {
  font-size: 11px; line-height: 1.5; font-weight: 500; padding: 5px 10px;
  background: var(--bf-theme-soft,#fffdf8); border: 1px solid var(--bf-theme-gold-line,#e1d5b9); color: var(--bf-theme-gold,#76623c);
}
.premium-profile-refined .premium-heading-contact {
  gap: 9px 18px; margin: 0 0 12px;
}
.premium-profile-refined .premium-heading-contact a,
.premium-profile-refined .premium-heading-contact button,
.premium-profile-refined .premium-heading-contact strong {
  font-size: 13px; line-height: 1.6; font-weight: 500; color: var(--bf-theme-text,#4c614f);
}
.premium-profile-refined .premium-heading-contact a,
.premium-profile-refined .premium-heading-contact button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px;
  max-width: 100%; padding: 0; border: 0; background: transparent;
  text-align: left; font-family: inherit; overflow-wrap: anywhere;
}
.premium-profile-refined .premium-heading-contact button:hover { text-decoration: underline; }
.premium-profile-refined .premium-heading-contact svg { width: 16px; height: 16px; }
.premium-profile-refined .premium-owner-status {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  padding: 6px 10px 6px 7px; border: 1px solid var(--bf-theme-line,#c3dac9); border-radius: 8px;
  font-size: 12px; line-height: 1.5; font-weight: 600; margin: 0;
  background: var(--bf-theme-soft,#edf5ed); color: var(--bf-theme-text,#24573d);
}
.premium-profile-refined .premium-owner-emblem {
  display: inline-flex; align-items: center; justify-content: center;
  width: 23px; height: 23px; flex: 0 0 23px; border-radius: 50%;
  background: #24744c; color: #fff;
}
.premium-profile-refined .premium-owner-emblem svg {
  width: 16px; height: 16px; color: inherit; stroke-width: 3;
}
.premium-profile-refined .premium-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.premium-profile-refined .premium-hero-actions .button {
  min-height: 48px; padding: 13px 17px; border-radius: 9px;
  font-size: 14px; line-height: 1.4; font-weight: 650; gap: 9px;
}
.premium-profile-refined .premium-hero-actions .premium-gold-button { background: #826128; border-color: var(--bf-theme-gold-line,#826128); color: #fffdf7; }
.premium-profile-refined .premium-hero-actions .premium-gold-button:hover { background: #6d4f20; border-color: var(--bf-theme-gold-line,#6d4f20); }
.premium-profile-refined .premium-save-button { background: var(--bf-theme-soft,#fffdf7); border-color: var(--bf-theme-gold-line,#ded6c4); color: var(--premium-ink); font-size: 12px; }
.premium-profile-refined .premium-profile-membership { display: block; min-width: 0; padding: 0; align-self: center; }
.premium-profile-refined .premium-profile-award-central {
  width: 100%; max-width: 210px; padding: 0; margin: 0;
  align-items: center; gap: 10px;
}
.premium-profile-refined .premium-profile-award-central .member-mark { width: 100%; max-width: 210px; }
.premium-profile-refined .premium-profile-award-central .member-mark > svg,
.premium-profile-refined .premium-network-mark > svg { display: block; width: 100%; height: auto; }
.premium-profile-refined .premium-profile-award-central figcaption {
  font-size: 9px; line-height: 1.6; text-align: center; font-weight: 400;
  color: var(--bf-theme-gold,#85734e); max-width: 210px; margin: 0 auto;
}
.premium-profile-refined .premium-profile-media { padding: 0 24px 18px; }
.premium-profile-refined .premium-photo-set { margin: 0; }
.premium-profile-refined .premium-profile-gallery,
.premium-profile-refined .premium-profile-gallery.gallery-count-1 {
  --gallery-max-height: 360px;
  width: 100%;
  height: auto; max-height: 420px; aspect-ratio: var(--gallery-ratio, 2.5);
  margin: 0 auto; border: 0; border-radius: 12px; gap: 5px; background: var(--bf-theme-gold-surface,#eee5d5);
}
.premium-profile-refined .premium-photo-set figcaption {
  text-align: right; color: var(--bf-theme-muted,#8b8068); font-size: 10px; line-height: 1.5;
  letter-spacing: .15px; margin: 9px 2px 0;
}
.premium-profile-refined img[data-image-fit="contain"] { object-fit: contain; }
.premium-profile-refined .premium-profile-nav {
  display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 18px 2px;
  margin: 0 0 22px; border: 0; border-bottom: 1px solid var(--bf-theme-gold-line,#e7e2d6);
  border-radius: 0; background: transparent;
}
.premium-profile-refined .premium-profile-nav > a {
  display: inline-flex; align-items: center; min-height: var(--bf-control-height);
  font-size: 14px; line-height: 1.6; font-weight: 500; color: var(--bf-theme-muted,#586753); padding: 2px 0;
}
.premium-profile-refined .premium-profile-nav > a:hover { color: var(--bf-theme-gold,#826128); }
.premium-profile-refined .premium-visit-layout {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start;
  margin-bottom: 24px;
}
.premium-profile-refined .premium-visit-layout.is-location-only { grid-template-columns: minmax(0, 1fr); }
.premium-profile-refined .premium-visit-layout > * { min-width: 0; margin: 0; }
.premium-profile-refined .premium-visit-layout .google-places-frame[data-google-mode="map"],
.premium-profile-refined .premium-visit-layout .google-places-frame[data-google-mode="map-preview"] { height: 220px; min-height: 200px; }
.premium-profile-refined .premium-profile-content {
  min-width: 0; display: flex; flex-direction: column; gap: 22px;
}
.premium-profile-refined .premium-profile-content > * { min-width: 0; margin-block: 0; }
.premium-profile-refined .premium-profile-content .description-text { max-width: 80ch; }
.premium-profile-refined .premium-detail-card {
  border-color: var(--bf-theme-gold-line,#e5e1d6); border-radius: 15px; padding: 27px; background: var(--bf-theme-surface,#fff);
}
.premium-profile-refined .premium-detail-card h2,
.premium-profile-refined .premium-contact-card h2 {
  font-size: 23px; line-height: 1.3; font-weight: 650; margin: 9px 0 17px;
  text-wrap: balance;
}
.premium-profile-refined .premium-detail-card .eyebrow,
.premium-profile-refined .premium-contact-card .eyebrow { font-size: 10px; letter-spacing: 1.25px; line-height: 1.5; }
.premium-profile-refined .premium-about-card .description-text { margin-bottom: 0; font-size: var(--bf-text-size); line-height: 1.8; }
.premium-profile-refined .premium-contact-card {
  position: static; padding: 25px; border: 1px solid var(--bf-theme-gold-line,#dcc99e); border-radius: 15px;
  background: linear-gradient(150deg, var(--bf-theme-soft,#fffcf5), var(--bf-theme-soft,#f9f1dd));
}
.premium-profile-refined .contact-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.premium-profile-refined .contact-buttons .is-booking { grid-column: 1 / -1; }
.premium-profile-refined .contact-action-copy { min-width: 0; overflow-wrap: anywhere; }
.premium-profile-refined .premium-contact-action { min-width: 0; min-height: 56px; padding: 11px; gap: 8px; }
.premium-profile-refined .contact-action-copy strong { font-size: 14px; line-height: 1.5; font-weight: 650; }
.premium-profile-refined .contact-action-copy > span { font-size: 12px; line-height: 1.5; }
.premium-profile-refined .premium-opening h3 { font-size: 13px; line-height: 1.5; }
.premium-profile-refined .premium-opening p { font-size: 12px; line-height: 1.7; }
.premium-profile-refined .premium-contact-address p { font-size: 12px; line-height: 1.7; }
.premium-profile-refined .premium-network-note {
  display: grid; grid-template-columns: minmax(180px, 240px) minmax(0, 1fr); align-items: center;
  gap: 24px; border-radius: 12px; margin-top: 24px;
}
.premium-profile-refined .premium-network-mark { width: 100%; max-width: 240px; }
.premium-profile-refined > .premium-data-note { margin-top: 22px; }
.premium-profile-refined .google-reviews-card > p:not(.google-privacy-note) { font-size: 14px; line-height: 1.7; color: var(--bf-theme-muted,#63705c); }
.premium-profile-refined .google-privacy-note { font-size: 12px; line-height: 1.7; color: var(--bf-theme-muted,#78816e); }
.premium-profile-refined .premium-google-presentation {
  display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  align-items: center; gap: 36px; margin-top: 23px;
}
.premium-profile-refined .premium-google-widget { min-width: 0; width: 100%; max-width: 400px; }
.premium-profile-refined .premium-google-widget > .google-places-frame { height: 620px; min-height: 560px; margin: 0; background: transparent; }
/* Fictional detail content follows the same hierarchy as Google's original
   full widget. Its separate listing example deliberately stays compact. */
.premium-profile-refined .premium-google-widget > .premium-google-example.is-detail { height: 620px; margin: 0; padding: 16px; overflow: auto; }
.premium-profile-refined .is-detail .google-example-provider { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; margin-bottom: 17px; font-size: 14px; font-weight: 600; }
.premium-profile-refined .is-detail .google-example-provider .google-example-label { margin: 0; font-size: 9px; }
.premium-profile-refined .is-detail > .google-example-name { display: block; font-size: 22px; line-height: 1.3; font-weight: 600; margin: 0 0 10px; }
.premium-profile-refined .is-detail > .google-example-rating { font-size: 12px; gap: 4px 7px; }
.premium-profile-refined .is-detail .google-example-rating > strong { font-size: 17px; }
.premium-profile-refined .is-detail .google-example-stars { font-size: 15px; letter-spacing: 1px; }
.premium-profile-refined .is-detail .google-example-map-button { min-height: 44px; margin-top: 17px; padding: 10px 14px; font-size: 12px; white-space: normal; text-align: center; }
.premium-profile-refined .is-detail .google-example-photos.is-mosaic { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, 79px); gap: 5px; margin-top: 20px; }
.premium-profile-refined .is-detail .google-example-photos.is-mosaic img { display: block; width: 100%; height: 100%; border-radius: 5px; object-fit: cover; }
.premium-profile-refined .is-detail .google-example-photos.is-mosaic img:first-child { grid-row: 1 / -1; }
.premium-profile-refined .is-detail .google-example-photos.is-mosaic img:only-child { grid-column: 1 / -1; }
.premium-profile-refined .is-detail .google-example-tabs { display: flex; align-items: stretch; gap: 20px; border-bottom: 1px solid var(--bf-theme-gold-line,#e6e1d4); margin-top: 15px; }
.premium-profile-refined .is-detail .google-example-tabs > * { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; font: 600 13px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--bf-theme-muted,#63705c); padding: 10px 0; background: transparent; border: 0; border-radius: 0; }
.premium-profile-refined .is-detail .google-example-tabs > .is-current { color: var(--bf-theme-gold,#826128); border-bottom: 3px solid var(--bf-theme-gold-line,#826128); }
.premium-profile-refined .is-detail .google-example-tabs > button { cursor: pointer; }
.premium-profile-refined .is-detail .google-example-tabs > button:hover { color: var(--bf-theme-text,#183d31); }
.premium-profile-refined .is-detail .google-example-tabs > button:focus-visible { outline: 3px solid #56745e; outline-offset: 3px; }
.premium-profile-refined .is-detail .google-example-facts { display: grid; gap: 15px; margin-top: 20px; }
.premium-profile-refined .is-detail .google-example-facts > p { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.premium-profile-refined .is-detail .google-example-facts svg { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; color: var(--bf-theme-muted,#63705c); }
.premium-profile-refined .is-detail .google-example-facts .google-example-open { font-size: 13px; }
.premium-profile-refined .is-detail .google-example-values-note { margin: 20px 0 0; color: var(--bf-theme-muted,#78816e); font-size: 10px; line-height: 1.7; }
@container (max-width: 403px) {
  .premium-profile-refined .premium-google-widget > .premium-google-example.is-detail { height: 560px; padding: 14px; }
}
.premium-profile-refined .premium-google-context { min-width: 0; max-width: 390px; }
.premium-profile-refined .premium-google-context h3 { font-size: 25px; line-height: 1.3; margin: 10px 0 14px; font-weight: 650; }
.premium-profile-refined .premium-google-context p { font-size: 14px; line-height: 1.8; color: var(--bf-theme-muted,#63705c); margin: 0 0 21px; }
.premium-profile-refined .premium-google-context .button { min-height: var(--bf-control-height); font-size: 13px; white-space: normal; text-align: center; }
.premium-profile-refined .premium-google-context > small { display: block; margin-top: 16px; font-size: 11px; line-height: 1.7; color: var(--bf-theme-muted,#78816e); }
@container (max-width: 760px) {
  .premium-profile-refined .premium-google-presentation { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .premium-profile-refined .premium-google-widget, .premium-profile-refined .premium-google-context { margin-inline: auto; width: 100%; max-width: 400px; }
  .premium-profile-refined .premium-google-context h3 { font-size: 22px; }
}
@container (max-width: 360px) {
  .premium-profile-refined .premium-detail-card.google-reviews-card { padding: 14px; }
  .premium-profile-refined .premium-google-context .button { width: 100%; }
}
.premium-profile-refined [id] { scroll-margin-top: 20px; }
@container (max-width: 800px) {
  .premium-profile-refined .premium-profile-masthead { grid-template-columns: minmax(0, 1fr) 170px; padding: 26px; gap: 20px; }
  .premium-profile-refined .premium-profile-identity { gap: 17px; }
  .premium-profile-refined .premium-salon-mark { width: 72px; height: 72px; }
  .premium-profile-refined .premium-profile-heading h1,
  .premium-profile-refined .premium-profile-heading h3 { font-size: 36px; }
  .premium-profile-refined .premium-visit-layout { gap: 20px; }
  .premium-profile-refined .premium-detail-card, .premium-profile-refined .premium-contact-card { padding: 22px; }
}
@container (max-width: 680px) {
  .premium-profile-refined .premium-profile-masthead { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 20px; }
  .premium-profile-refined .premium-profile-identity { display: flex; align-items: flex-start; gap: 16px; }
  .premium-profile-refined .premium-profile-identity > .premium-salon-mark { width: 62px; height: 62px; grid-column: auto; grid-row: auto; }
  .premium-profile-refined .premium-profile-identity > .premium-profile-heading { grid-column: auto; grid-row: auto; }
  .premium-profile-refined .premium-profile-membership { grid-column: auto; grid-row: auto; padding: 0; }
  .premium-profile-refined .premium-profile-award-central { max-width: none; flex-direction: row; gap: 18px; align-items: center; justify-content: center; }
  .premium-profile-refined .premium-profile-award-central .member-mark { width: 150px; flex-shrink: 0; }
  .premium-profile-refined .premium-profile-award-central figcaption { text-align: left; font-size: 11px; margin: 0; max-width: 185px; }
  .premium-profile-refined .premium-profile-media { padding: 0 14px 14px; }
  /* The first photo leads; supporting images retain their own fit and focal point.
     Natural image proportions must not reduce a phone gallery to a thin strip. */
  .premium-profile-refined .premium-profile-gallery { width: 100%; max-height: none; aspect-ratio: auto; }
  .premium-profile-refined .premium-profile-gallery.gallery-count-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: clamp(180px, 52cqw, 320px) clamp(100px, 29cqw, 175px);
  }
  .premium-profile-refined .premium-profile-gallery.gallery-count-3 > img:first-child { grid-column: 1 / -1; grid-row: 1; }
  .premium-profile-refined .premium-profile-gallery.gallery-count-3 > img:nth-child(n+2) { grid-row: 2; }
  .premium-profile-refined .premium-profile-gallery.gallery-count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: clamp(180px, 42cqw, 280px);
  }
  .premium-profile-refined .premium-profile-gallery.gallery-count-1 { height: clamp(200px, 55cqw, 340px); }
  .premium-profile-refined .premium-visit-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-bottom: 18px; }
  .premium-profile-refined .premium-profile-content { gap: 18px; }
  .premium-profile-refined .premium-network-note { grid-template-columns: 1fr; gap: 14px; }
  .premium-profile-refined .premium-network-mark { max-width: 220px; }

}
@container (max-width: 460px) {
  .premium-profile-refined .premium-profile-brand { padding: 12px 18px; }
  .premium-profile-refined .premium-profile-brand > span { font-size: 8px; letter-spacing: .9px; }
  .premium-profile-refined .premium-profile-masthead { grid-template-columns: minmax(0, 1fr); padding: 22px 18px 18px; gap: 16px; }
  .premium-profile-refined .premium-profile-identity { display: grid; grid-template-columns: minmax(0, 1fr) 52px; gap: 0 12px; }
  .premium-profile-refined .premium-profile-identity > .premium-salon-mark { width: 52px; height: 52px; grid-row: 1 / 3; grid-column: 2; }
  .premium-profile-refined .premium-profile-identity > .premium-profile-heading { display: contents; }
  .premium-profile-refined .premium-profile-heading > * { grid-column: 1 / -1; }
  .premium-profile-refined .premium-profile-heading > .eyebrow { grid-column: 1; grid-row: 1; }
  .premium-profile-refined .premium-profile-heading > h1,
  .premium-profile-refined .premium-profile-heading > h3 { grid-column: 1; grid-row: 2; }
  .premium-profile-refined .premium-profile-heading h1,
  .premium-profile-refined .premium-profile-heading h3 { font-size: clamp(28px, 8.5cqw, 34px); margin-block: 9px 12px; letter-spacing: -.9px; }
  .premium-profile-refined .premium-profile-heading > p { font-size: 14px; }
  .premium-profile-refined .premium-profile-heading .eyebrow { font-size: 10px; }
  .premium-profile-refined .premium-identity-address { font-size: 12px; }
  .premium-profile-refined .premium-specialties > span { font-size: 10px; }
  .premium-profile-refined .premium-heading-contact a,
  .premium-profile-refined .premium-heading-contact button,
  .premium-profile-refined .premium-heading-contact strong { font-size: 12px; }
  .premium-profile-refined .premium-heading-contact a,
  .premium-profile-refined .premium-heading-contact button { min-height: 44px; }
  .premium-profile-refined .premium-profile-membership { padding: 0; }
  .premium-profile-refined .premium-profile-award-central { max-width: none; }
  .premium-profile-refined .premium-profile-award-central .member-mark { width: 140px; max-width: 140px; }
  .premium-profile-refined .premium-profile-award-central figcaption { display: block; font-size: 10px; }
  .premium-profile-refined .premium-heading-contact { display: flex; gap: 0 15px; margin-bottom: 10px; }
  .premium-profile-refined .premium-hero-actions { gap: 8px; margin-top: 17px; flex-direction: column; align-items: stretch; }
  .premium-profile-refined .premium-hero-actions .button { font-size: 13px; padding: 12px; width: 100%; }
  .premium-profile-refined .premium-hero-actions .premium-save-button { min-height: 44px; font-size: 12px; }
  .premium-profile-refined .premium-profile-media { padding: 0 10px 12px; }
  .premium-profile-refined .premium-profile-gallery { border-radius: 9px; gap: 3px; }
  .premium-profile-refined .premium-photo-set figcaption { font-size: 8px; }
  .premium-profile-refined .premium-profile-nav { gap: 7px 17px; padding-block: 15px; margin-bottom: 18px; }
  .premium-profile-refined .premium-profile-nav > a { font-size: 13px; }
  .premium-profile-refined .premium-detail-card, .premium-profile-refined .premium-contact-card { padding: 21px; }
  .premium-profile-refined .premium-detail-card h2,
  .premium-profile-refined .premium-contact-card h2 { font-size: 22px; }
}

@container (max-width: 420px) {
  .premium-profile-refined .contact-buttons { grid-template-columns: minmax(0, 1fr); }
}

@container (max-width: 880px) {
  .premium-profile-refined .premium-visit-layout { grid-template-columns: minmax(0, 1fr); }
}

/* Detailed hours are available on demand, while the current status stays visible. */
.premium-profile-refined .salon-hours-full { margin-top: 12px; border-top: 1px solid var(--bf-theme-gold-line,#e2d8c0); }
.premium-profile-refined .salon-hours-full > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px; padding-block: 11px; cursor: pointer; list-style: none;
  font-size: 12px; font-weight: 650; line-height: 1.5; color: var(--bf-theme-text,#4c603f);
}
.premium-profile-refined .salon-hours-full > summary::-webkit-details-marker { display: none; }
.premium-profile-refined .salon-hours-full > summary svg { width: 17px; height: 17px; }
.premium-profile-refined .salon-hours-full[open] > summary svg { transform: rotate(180deg); }
.premium-profile-refined .salon-today-hours { margin-top: 8px; }

.premium-profile-refined .premium-location-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.premium-profile-refined .premium-location-actions .button { width: auto; justify-content: center; }
@container (max-width: 460px) {
  .premium-profile-refined .premium-location-actions .button { width: 100%; }
}

/* Approved compact public profile, also used for unsaved private previews. */
.premium-profile-refined.premium-head-compact .premium-profile-brand{padding-block:10px}
.premium-profile-refined.premium-head-compact .premium-profile-masthead{grid-template-columns:minmax(0,1fr) 248px;gap:20px;padding:20px 24px}
.premium-profile-refined.premium-head-compact .premium-profile-identity{display:block}
.premium-profile-refined.premium-head-compact .premium-profile-heading{display:block}
.premium-profile-refined.premium-head-compact .premium-profile-heading :is(h1,h3){font-size:40px;line-height:1.12;margin:6px 0 10px}
.premium-profile-refined.premium-head-compact .premium-profile-heading>p{margin-bottom:9px}
.premium-profile-refined.premium-head-compact .premium-identity-address{margin-bottom:9px}
.premium-profile-refined.premium-head-compact .premium-specialties{margin-bottom:9px}
.premium-profile-refined.premium-head-compact .premium-heading-contact{margin-bottom:8px}
.premium-profile-refined.premium-head-compact .premium-hero-actions{margin-top:12px;gap:8px}
.premium-profile-refined.premium-head-compact .premium-hero-actions .button{min-height:44px;padding:10px 14px}
.premium-profile-refined.premium-head-compact .minimal-head-footer{padding:0 18px 16px;margin:0;align-items:center;justify-content:flex-start;gap:8px}
.premium-profile-refined.premium-head-compact .minimal-head-footer .premium-save-button{margin-left:auto}
.premium-profile-refined.premium-head-compact .minimal-identity-marks{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:14px}
.premium-profile-refined.premium-head-compact .minimal-identity-marks>.premium-salon-mark{width:86px;height:86px;flex:none}
.premium-profile-refined.premium-head-compact .minimal-identity-marks>.premium-profile-award-central{width:140px;max-width:140px;flex:none;display:block;margin:0;padding:0}
.premium-profile-refined.premium-head-compact .minimal-identity-marks .member-mark{width:140px;max-width:140px}
.premium-profile-refined.premium-head-compact .minimal-identity-marks figcaption{display:none}
.premium-profile-refined.premium-head-compact .premium-profile-media{padding:0 18px 14px}
.premium-profile-refined.premium-head-compact .premium-profile-gallery{height:280px;max-height:280px;aspect-ratio:auto}
@container (max-width:840px){
 .premium-profile-refined.premium-head-compact .premium-profile-masthead{grid-template-columns:minmax(0,1fr) 194px;padding:18px;gap:16px}
 .premium-profile-refined.premium-head-compact .minimal-identity-marks{gap:10px}
 .premium-profile-refined.premium-head-compact .minimal-identity-marks>.premium-salon-mark{width:64px;height:64px}
 .premium-profile-refined.premium-head-compact .minimal-identity-marks>.premium-profile-award-central,.premium-profile-refined.premium-head-compact .minimal-identity-marks .member-mark{width:110px;max-width:110px}
 .premium-profile-refined.premium-head-compact .premium-profile-heading :is(h1,h3){font-size:36px}
 .premium-profile-refined.premium-head-compact .premium-profile-gallery{height:230px;max-height:230px}
}
@container (max-width:680px){
 .premium-profile-refined.premium-head-compact .premium-profile-masthead{grid-template-columns:minmax(0,1fr);gap:12px;padding:16px}
 .premium-profile-refined.premium-head-compact .premium-profile-identity,.premium-profile-refined.premium-head-compact .premium-profile-heading{display:block}
 .premium-profile-refined.premium-head-compact .minimal-identity-marks{justify-content:flex-start;gap:12px}
 .premium-profile-refined.premium-head-compact .minimal-identity-marks>.premium-salon-mark{width:64px;height:64px}
 .premium-profile-refined.premium-head-compact .minimal-identity-marks>.premium-profile-award-central,.premium-profile-refined.premium-head-compact .minimal-identity-marks .member-mark{width:90px;max-width:90px}
 .premium-profile-refined.premium-head-compact .premium-profile-heading :is(h1,h3){font-size:32px}
 .premium-profile-refined.premium-head-compact .minimal-head-footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 10px 12px;flex-direction:row}
 .premium-profile-refined.premium-head-compact .minimal-head-footer .button{width:100%;margin:0;font-size:12px;min-height:44px;padding:9px 7px;gap:6px}
 .premium-profile-refined.premium-head-compact .minimal-head-footer .button>svg{width:15px;height:15px}
 .premium-profile-refined.premium-head-compact .premium-profile-media{padding:0 10px 12px}
 .premium-profile-refined.premium-head-compact .premium-profile-gallery{height:230px;max-height:230px}
 .premium-profile-refined.premium-head-compact .premium-profile-gallery.gallery-count-3{grid-template-columns:var(--gallery-columns,1.6fr 1fr);grid-template-rows:var(--gallery-rows,1fr 1fr)}
 .premium-profile-refined.premium-head-compact .premium-profile-gallery.gallery-count-3>img:first-child{grid-column:1;grid-row:1/3}
 .premium-profile-refined.premium-head-compact .premium-profile-gallery.gallery-count-3>img:nth-child(n+2){grid-column:2;grid-row:auto}
}
@container (max-width:420px){
 .premium-profile-refined.premium-head-compact .premium-profile-brand{padding-inline:14px}
 .premium-profile-refined.premium-head-compact .premium-profile-masthead{padding:14px}
 .premium-profile-refined.premium-head-compact .premium-profile-heading :is(h1,h3){font-size:30px}
 .premium-profile-refined.premium-head-compact .premium-profile-gallery{height:200px;max-height:200px}
}
.premium-profile-refined.premium-head-compact .adaptive-profile-gallery{display:grid;width:100%;height:300px;max-height:none;aspect-ratio:auto;gap:5px;grid-auto-flow:row}
.premium-profile-refined.premium-head-compact .adaptive-profile-gallery>img{display:block;width:100%;height:100%;min-width:0;min-height:0;grid-column:auto;grid-row:auto}
.premium-profile-refined.premium-head-compact .adaptive-profile-gallery.gallery-count-1{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
.premium-profile-refined.premium-head-compact .adaptive-profile-gallery.gallery-count-2{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr)}
.premium-profile-refined.premium-head-compact .adaptive-profile-gallery.gallery-count-3{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);grid-template-rows:repeat(2,minmax(0,1fr))}
.premium-profile-refined.premium-head-compact .adaptive-profile-gallery.gallery-count-3>img:first-child{grid-column:1;grid-row:1/3}
.premium-profile-refined.premium-head-compact .adaptive-profile-gallery.gallery-count-3>img:nth-child(2){grid-column:2;grid-row:1}
.premium-profile-refined.premium-head-compact .adaptive-profile-gallery.gallery-count-3>img:nth-child(3){grid-column:2;grid-row:2}
.premium-profile-refined.premium-head-compact .adaptive-profile-gallery.gallery-count-4{height:380px;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}
.premium-profile-refined.premium-head-compact .adaptive-profile-gallery.gallery-count-5{height:360px;grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}
.premium-profile-refined.premium-head-compact .adaptive-profile-gallery.gallery-count-5>img:first-child{grid-column:1;grid-row:1/3}
.premium-profile-refined.premium-head-compact .adaptive-profile-gallery.gallery-count-5>img:nth-child(2){grid-column:2;grid-row:1}
.premium-profile-refined.premium-head-compact .adaptive-profile-gallery.gallery-count-5>img:nth-child(3){grid-column:3;grid-row:1}
.premium-profile-refined.premium-head-compact .adaptive-profile-gallery.gallery-count-5>img:nth-child(4){grid-column:2;grid-row:2}
.premium-profile-refined.premium-head-compact .adaptive-profile-gallery.gallery-count-5>img:nth-child(5){grid-column:3;grid-row:2}
.premium-profile-refined.premium-head-compact .adaptive-profile-gallery.gallery-count-6{height:360px;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}
@container (max-width:840px){
 .premium-profile-refined.premium-head-compact .adaptive-profile-gallery{height:260px}
 .premium-profile-refined.premium-head-compact .adaptive-profile-gallery.gallery-count-4{height:340px}
 .premium-profile-refined.premium-head-compact .adaptive-profile-gallery.gallery-count-5,.premium-profile-refined.premium-head-compact .adaptive-profile-gallery.gallery-count-6{height:320px}
}
@container (max-width:520px){
 .premium-profile-refined.premium-head-compact .adaptive-profile-gallery{height:220px}
 .premium-profile-refined.premium-head-compact .adaptive-profile-gallery.gallery-count-4{height:300px}
 .premium-profile-refined.premium-head-compact .adaptive-profile-gallery.gallery-count-5{height:400px;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:170px repeat(2,minmax(0,1fr))}
 .premium-profile-refined.premium-head-compact .adaptive-profile-gallery.gallery-count-5>img:first-child{grid-column:1/3;grid-row:1}
 .premium-profile-refined.premium-head-compact .adaptive-profile-gallery.gallery-count-5>img:nth-child(2){grid-column:1;grid-row:2}
 .premium-profile-refined.premium-head-compact .adaptive-profile-gallery.gallery-count-5>img:nth-child(3){grid-column:2;grid-row:2}
 .premium-profile-refined.premium-head-compact .adaptive-profile-gallery.gallery-count-5>img:nth-child(4){grid-column:1;grid-row:3}
 .premium-profile-refined.premium-head-compact .adaptive-profile-gallery.gallery-count-5>img:nth-child(5){grid-column:2;grid-row:3}
 .premium-profile-refined.premium-head-compact .adaptive-profile-gallery.gallery-count-6{height:400px;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}
}
.premium-profile-refined.premium-head-compact .minimal-head-footer .minimal-head-phone{background:#173f33;border-color:#173f33;color:#fffdf6}
.premium-profile-refined.premium-head-compact .minimal-head-footer .minimal-head-website{background:var(--bf-theme-soft,#edf1e8);border-color:var(--bf-theme-line,#dce4d5);color:var(--bf-theme-text,#173f33)}
.premium-profile-refined.premium-head-compact .premium-hero-actions .premium-gold-button,
.premium-profile-refined.premium-head-compact .premium-hero-actions .premium-gold-button:hover,
.premium-profile-refined.premium-head-compact .premium-contact-card .premium-contact-action.is-booking,
.premium-profile-refined.premium-head-compact .premium-contact-card .premium-contact-action.is-booking:hover{background:var(--bf-membership-gold-fill);border-color:var(--bf-membership-gold-line);color:var(--bf-heading,var(--bf-forest))}
/* The exact search badge shape, icon, size and text; existing contrast on the light surface. */
.premium-profile-refined.premium-head-compact .premium-profile-heading>.directory-owner-status{display:inline-flex;gap:6px;align-items:center;min-height:0;margin-top:7px;padding:0;border:0;background:transparent;border-radius:0;font:400 12px/1.5 var(--bf-font);color:var(--bf-muted)}
.premium-profile-refined.premium-head-compact .premium-profile-heading>.directory-owner-status>svg{width:18px;height:18px;flex:none;padding:0;border-radius:0;background:none;color:inherit;stroke-width:2.2}

.premium-profile-refined.premium-head-compact .minimal-head-footer .premium-hero-actions{display:flex;flex-wrap:wrap;margin:0;gap:8px;align-items:center}
@container(max-width:680px){.premium-profile-refined.premium-head-compact .minimal-head-footer{display:block}.premium-profile-refined.premium-head-compact .minimal-head-footer .premium-hero-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.premium-profile-refined.premium-head-compact .minimal-head-footer .premium-save-button{margin:0}.premium-profile-refined.premium-head-compact .minimal-head-footer .premium-hero-contact:last-child:nth-child(odd){grid-column:1/-1}}
.profile-page .modal-tags>.directory-owner-status{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:400;background:none;padding:0;color:var(--bf-muted)}
.profile-page .modal-tags>.directory-owner-status>svg{width:18px;height:18px;stroke-width:2.2}
.premium-profile-refined.premium-head-compact .minimal-head-footer .minimal-head-phone:hover{background:#173f33;border-color:#173f33;color:#fffdf6}
.premium-profile-refined.premium-head-compact .minimal-head-footer .minimal-head-website:hover{background:var(--bf-theme-soft,#edf1e8);border-color:var(--bf-theme-line,#dce4d5);color:var(--bf-theme-text,#173f33)}
@container(max-width:420px){.premium-profile-refined.premium-head-compact .minimal-head-footer .premium-hero-contact,.premium-profile-refined.premium-head-compact .minimal-head-footer .premium-save-button{grid-column:1/-1}.premium-profile-refined.premium-head-compact .minimal-head-footer .button{white-space:normal;min-width:0}}
/* Shared member preview for the salon's private data and the fictional example. */
.premium-profile-portal {
  container: portal-profile / inline-size;
  --portal-profile-divider:var(--bf-theme-line,#dce3d8);
  --portal-profile-gap: clamp(16px, 3.2cqw, 34px);
  font-family: var(--bf-font);
}
.premium-profile-portal .portal-profile-overview {
  display: grid;
  grid-template-columns: minmax(0, 2.25fr) minmax(245px, 1fr);
  gap: var(--portal-profile-gap);
  align-items: start;
}
.premium-profile-portal .portal-profile-overview:not(:has(.portal-profile-contact)) {
  grid-template-columns: minmax(0, 1fr);
}
.premium-profile-portal .portal-profile-main,
.premium-profile-portal .portal-profile-identity,
.premium-profile-portal .portal-profile-content { min-width: 0; }
.premium-profile-portal .portal-profile-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px clamp(10px, 2.5cqw, 26px);
  margin-bottom: 16px;
  padding: clamp(13px, 2.3cqw, 23px);
  background: var(--bf-theme-soft,#f8f5eb);
  border: 1px solid var(--bf-theme-gold-line,#ebe4d3);
  border-radius: var(--bf-radius-card);
}
.premium-profile-portal .portal-profile-identity :is(h1, h3) {
  margin: 6px 0;
  color: var(--bf-heading,var(--bf-forest));
  font: 750 clamp(29px, 4.5cqw, 50px)/1.12 var(--bf-font);
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
.premium-profile-portal .portal-profile-identity > p {
  color: var(--bf-muted);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 9px;
}
.premium-profile-portal .portal-profile-identity .premium-identity-address { margin: 7px 0 0; }
.premium-profile-portal .portal-profile-seal {
  grid-area: 1 / 2 / span 2;
  width: clamp(78px, 10cqw, 116px);
  margin: 0;
  color: var(--bf-theme-gold,#735521);
  text-align: center;
}
.premium-profile-portal .portal-profile-seal :is(.member-mark, img, svg) {
  display: block;
  width: 100%;
  height: auto;
}
.premium-profile-portal .portal-profile-seal figcaption {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.2;
}
.premium-profile-portal .portal-profile-intro .premium-specialties { grid-column: 1; margin: 0; }

.premium-profile-portal .portal-profile-main .premium-profile-media { padding: 0; }
.premium-profile-portal .portal-profile-main .adaptive-profile-gallery {
  --portal-gallery-row: clamp(91px, 14cqw, 175px);
  display: grid;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  gap: 5px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, calc(2 * var(--portal-gallery-row)));
}
.premium-profile-portal .portal-profile-main .adaptive-profile-gallery > img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  grid-area: auto;
}
.premium-profile-portal .portal-profile-main .gallery-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.premium-profile-portal .portal-profile-main .gallery-count-3 {
  grid-template-columns: minmax(0, 1.76fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, var(--portal-gallery-row)));
}
.premium-profile-portal .portal-profile-main .gallery-count-3 > img:first-child { grid-area: 1 / 1 / 3 / 2; }
.premium-profile-portal .portal-profile-main .gallery-count-3 > img:nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
.premium-profile-portal .portal-profile-main .gallery-count-3 > img:nth-child(3) { grid-area: 2 / 2 / 3 / 3; }
.premium-profile-portal .premium-photo-set:has(.portal-profile-gallery-open) figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-inline: 0;
  text-align: left;
}
.premium-profile-portal .portal-profile-gallery-open {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  max-width: 100%;
  margin-inline-start: auto;
  padding: 7px 10px;
  border: 1px solid var(--bf-theme-line,#d3dfd2);
  border-radius: var(--bf-radius-control);
  background: var(--bf-surface);
  color: var(--bf-heading,var(--bf-forest));
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.premium-profile-portal .portal-profile-gallery-open:hover { background: var(--bf-theme-soft,#e6eee3); }
.premium-profile-portal .portal-profile-gallery-open svg { width: 16px; height: 16px; flex: none; }
.premium-profile-public .premium-photo-stage {
  position: relative;
}
.premium-profile-public .premium-photo-stage .portal-profile-gallery-open {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  box-shadow: 0 3px 12px #132e2633;
}
@media (max-width: 560px) {
  .premium-profile-public .premium-photo-stage .portal-profile-gallery-open {
    right: 7px;
    bottom: 7px;
    padding-inline: 9px;
    font-size: 12px;
  }
}
.premium-profile img[data-profile-photo] { cursor: zoom-in; }
.premium-profile img[data-profile-photo]:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid var(--bf-theme-line,#fff);
  outline-offset: -5px;
  box-shadow: inset 0 0 0 5px var(--bf-focus);
}

.premium-profile-portal .portal-profile-contact.premium-contact-card {
  grid-row: auto;
  min-width: 0;
  margin: 0;
  padding: clamp(14px, 2cqw, 20px);
  color: var(--bf-heading,var(--bf-forest));
  background: var(--bf-theme-soft,#f0f4ec);
  border: 1px solid var(--bf-theme-line,#d3dfd2);
  border-radius: var(--bf-radius-card);
}
.premium-profile-portal .portal-profile-contact h2 {
  margin: 0 0 10px;
  color: var(--bf-heading,var(--bf-forest));
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -.025em;
}
.premium-profile-portal .portal-profile-contact .contact-buttons { grid-template-columns: minmax(0, 1fr); gap: 0; }
.premium-profile-portal .portal-profile-contact .premium-contact-action {
  grid-template-columns: 22px minmax(0, 1fr) 16px;
  gap: 8px;
  min-height: 44px;
  min-width: 0;
  padding: 7px 3px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--bf-theme-line,#d8e2d5);
  border-radius: 0;
  box-shadow: none;
  color: var(--bf-heading,var(--bf-forest));
}
.premium-profile-portal .portal-profile-contact .premium-contact-action:hover { background: var(--bf-theme-soft,#e6eee3); transform: none; }
.premium-profile-portal .portal-profile-contact .contact-action-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: transparent;
  color: inherit;
}
.premium-profile-portal .portal-profile-contact.premium-contact-card .contact-buttons > .premium-contact-action:is(:first-child, .is-booking) {
  min-height: 47px;
  margin-bottom: 5px;
  padding: 8px 9px;
  border: 1px solid var(--bf-forest);
  border-radius: var(--bf-radius-control);
  background: var(--bf-forest);
  color: #fff;
}
.premium-profile-portal .portal-profile-contact.premium-contact-card .contact-buttons > .premium-contact-action:is(:first-child, .is-booking):hover {
  background: var(--bf-forest-hover);
  border-color: var(--bf-forest-hover);
  color: #fff;
  filter: none;
}
.premium-profile-portal .portal-profile-contact.premium-contact-card .premium-contact-action:focus-visible {
  outline: 3px solid var(--bf-focus);
  outline-offset: 3px;
}
.premium-profile-portal .portal-profile-contact.premium-contact-card .contact-buttons > .premium-contact-action:is(:first-child, .is-booking) .contact-action-copy > span {
  color: #e1ede4;
  opacity: 1;
}
.premium-profile-portal .portal-profile-contact .premium-contact-action.is-booking::after {
  content: none;
  animation: none;
}
.premium-profile-portal .portal-profile-contact .contact-action-copy { min-width: 0; overflow-wrap: anywhere; }
.premium-profile-portal .portal-profile-contact .premium-opening { margin-top: 11px; }

.premium-profile-portal .premium-profile-nav {
  gap: 0 22px;
  margin: 14px 0 0;
  padding: 3px 0;
  border-bottom: 1px solid var(--portal-profile-divider);
}
.premium-profile-portal .premium-profile-nav > a {
  min-height: 44px;
  color: var(--bf-heading,var(--bf-forest));
  font-size: 13px;
  font-weight: 700;
}
.premium-profile-portal .portal-profile-content > :is(.premium-detail-card, .premium-data-note) {
  margin: 0;
  padding: 21px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--portal-profile-divider);
  border-radius: 0;
}
.premium-profile-portal .portal-profile-content .premium-detail-card h2 {
  margin: 0 0 11px;
  color: var(--bf-heading,var(--bf-forest));
  font-size: clamp(22px, 2.8cqw, 28px);
  letter-spacing: -.025em;
}
.premium-profile-portal .portal-profile-content .price-list li { gap: 10px; }
.premium-profile-portal .portal-profile-content .price-list li > * { overflow-wrap: anywhere; }
.premium-services-card .price-list li { flex-wrap: wrap; align-items: baseline; }
.premium-services-card .price-list li > span { min-width: 0; flex: 1 1 12rem; overflow-wrap: anywhere; }
.premium-services-card .price-list li > strong { max-width: 100%; overflow-wrap: anywhere; }

@container portal-profile (max-width: 720px) {
  .premium-profile-portal .portal-profile-overview { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .premium-profile-portal .portal-profile-intro { margin-bottom: 12px; }
  .premium-profile-portal .premium-profile-nav { gap: 0 14px; }
}
@container portal-profile (max-width: 460px) {
  .premium-profile-portal .portal-profile-intro .premium-specialties { grid-column: 1 / -1; }
  .premium-profile-portal .portal-profile-seal { grid-row: 1; }
  .premium-profile-portal .portal-profile-identity :is(h1, h3) { font-size: clamp(26px, 8.2cqw, 34px); }
  .premium-profile-portal .portal-profile-contact h2 { font-size: 21px; }
}

dialog.premium-photo-viewer {
  box-sizing: border-box;
  width: min(940px, calc(100% - 24px));
  max-width: none;
  max-height: min(90dvh, 760px);
  padding: clamp(12px, 2.5vw, 22px);
  border: 1px solid var(--bf-border);
  border-radius: var(--bf-radius-dialog);
  background: var(--bf-canvas);
  color: var(--bf-heading,var(--bf-forest));
  overflow: auto;
}
dialog.premium-photo-viewer::backdrop { background: #102b24c7; }
.premium-photo-viewer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.premium-photo-viewer-header h2 {
  margin: 0;
  color: var(--bf-heading,var(--bf-forest));
  font: 700 clamp(18px, 3vw, 23px)/1.25 var(--bf-font);
}
.premium-photo-viewer > img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(56dvh, 540px);
  margin: 12px auto;
  border-radius: var(--bf-radius-control);
  background: var(--bf-surface-soft);
  object-fit: contain;
}
.premium-photo-viewer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 13px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.premium-photo-viewer .button { min-width: 44px; min-height: 44px; padding: 7px 10px; }
.premium-photo-viewer [data-photo-step="-1"] svg { transform: rotate(180deg); }

/* The public Premium detail uses the same identity and gallery as the editor preview. */
.premium-profile-public.premium-profile-portal{padding-bottom:34px}
.premium-profile-public .portal-profile-identity h1{font-size:clamp(32px,4.5cqw,54px)}
.premium-profile-public .portal-profile-seal{width:clamp(90px,9cqw,116px)}
.premium-profile-public .portal-profile-contact.premium-contact-card{grid-row:auto}
.premium-profile-portal .portal-profile-rating{display:flex;flex-wrap:wrap;align-items:center;gap:4px 9px;margin-top:5px}
.premium-profile-portal .portal-profile-rating>.google-places-frame[data-google-mode="summary"]{width:min(100%,260px);height:38px;min-height:32px;margin:0;border:0;border-radius:0;background:transparent}
.premium-profile-portal .portal-profile-rating>.premium-google-example.is-summary{
 display:flex;flex-wrap:wrap;align-items:center;gap:3px 8px;
 margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:var(--bf-theme-text,#344b41);font:inherit
}
.premium-profile-portal .portal-profile-rating .google-example-label{
 flex-basis:100%;margin:0;padding:0;border:0;background:none;color:var(--bf-theme-muted,#53635a);font-size:12px;line-height:1.4
}
.premium-profile-portal .portal-profile-rating .google-example-name,
.premium-profile-portal .portal-profile-rating .is-summary>small{display:none}
.premium-profile-portal .portal-profile-rating .google-example-rating,
.premium-profile-portal .portal-profile-rating .google-example-source{margin:0;color:inherit;font-size:14px}
.premium-profile-portal .portal-profile-rating .google-example-rating strong{font-size:16px;color:var(--bf-theme-text,#203e33)}
.premium-profile-portal .portal-profile-rating .google-example-stars{color:var(--bf-theme-gold,#6c531a)}
.premium-profile-mobile-contact{display:none}
@media(max-width:640px){
 .premium-profile-public.premium-profile-portal:has(.premium-profile-mobile-contact){padding-bottom:84px}
 body:has(.premium-profile-public .premium-profile-mobile-contact){padding-bottom:62px}
 .premium-profile-public .portal-profile-identity h1{font-size:clamp(25px,8.2cqw,34px)}
 .premium-profile-public .portal-profile-seal{width:clamp(68px,20cqw,86px)}
 .premium-profile-public .premium-profile-mobile-contact{
  position:fixed;display:block;z-index:12;inset:auto 0 0;padding:5px 8px max(5px,env(safe-area-inset-bottom));
  background:var(--bf-theme-soft,#f8faf5);border-top:1px solid var(--bf-theme-line,#dce3d8)
 }
 .premium-profile-public .premium-profile-mobile-contact .minimal-head-footer{padding:0;background:transparent;border:none}
 .premium-profile-public .premium-profile-mobile-contact .premium-hero-actions{display:flex;flex-direction:row;flex-wrap:nowrap;gap:6px;margin:0}
 .premium-profile-public .premium-profile-mobile-contact .button{width:auto;min-height:44px;min-width:0;overflow-wrap:anywhere;padding-inline:9px}
 .premium-profile-public .premium-profile-mobile-contact .premium-hero-contact{order:-1;flex:1 1 auto;background:#173d32;border-color:#173d32;color:#fff}
 .premium-profile-public .premium-profile-mobile-contact .premium-hero-contact::after{display:none}
 .premium-profile-public .premium-profile-mobile-contact :is(.premium-save-button,.minimal-head-website:not(.premium-hero-contact)){display:none}
}
@media(max-width:640px) and (max-height:420px){
 .premium-profile-public .premium-profile-mobile-contact{position:static}
 body:has(.premium-profile-public .premium-profile-mobile-contact){padding-bottom:0}
}
.premium-profile-tools-actions{display:flex;align-items:center;gap:7px}
.premium-profile-tools-actions>.save-button{position:static;flex:none;width:44px;height:44px;min-height:44px;margin:0}
@media(max-width:420px){
 .premium-profile-tools-actions .salon-sharing-bar button{font-size:0;gap:0;min-width:44px;min-height:44px;padding:8px}
 .premium-profile-tools-actions .salon-sharing-bar button::before{content:"Teilen";font-size:11px}
 .premium-profile-tools-actions .salon-sharing-bar button>svg{display:none}
}
