/* Showcase (signed out): the example business shown large. Loaded after business2.css. */
.b-show { display: none; color: #fff; scroll-margin-top: 80px; }
body[data-signed="out"][data-mode="dashboard"] .b-show { display: block; }
body[data-signed="out"][data-mode="dashboard"]:has(.b-show) { background: var(--n-night); }
body[data-signed="out"][data-mode="dashboard"]:has(.b-show) .g-shell { display: none !important; } /* the old phone card is replaced by the showcase */
body[data-signed="out"][data-mode="dashboard"]:has(.b-show) .g-footer { background: none; border-top-color: var(--n-hair); }
body[data-signed="out"][data-mode="dashboard"]:has(.b-show) .g-footer a { color: var(--n-mist); }
.b-show__in { max-width: 1240px; margin: 0 auto; padding: var(--space-6) var(--gutter-r) var(--space-12) var(--gutter-l); }
.b-show__title { margin: 0 0 var(--space-4); font: 800 28px/34px var(--font-display); letter-spacing: -0.02em; text-wrap: balance; }
.b-show__title em { font-style: normal; color: var(--flag-gold); }
.b-show__grid { display: grid; gap: var(--space-4); }

.b-hero { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 24px; background: #0c2d3d;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 30px 80px rgba(0,0,0,.55), 0 0 90px rgba(47,211,154,.16); }
.b-hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: opacity .26s ease, transform 6s ease-out; }
.b-hero__photo.is-out { opacity: 0; transform: scale(1); transition: opacity .26s ease; }
.b-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(4,16,23,.94) 0%, rgba(4,16,23,.55) 34%, rgba(4,16,23,0) 62%); }
.b-hero__badge, .b-hero__tag { position: absolute; top: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px; border-radius: var(--radius-pill); font: 700 14px/1 var(--font-body); }
.b-hero__badge { left: 14px; background: #fff; color: var(--action-text); }
.b-hero__badge svg { width: 18px; height: 18px; }
.b-hero__tag { right: 14px; background: rgba(4,16,23,.7); color: #fff; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.b-hero__info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: flex-end; gap: var(--space-4); padding: var(--space-4); }
.b-hero__logo { flex: none; display: grid; place-items: center; width: 68px; height: 68px; overflow: hidden; border-radius: 50%; background: #fff; border: 3px solid #fff; box-shadow: 0 8px 20px rgba(0,0,0,.4); color: var(--ink); font: 800 30px/1 var(--font-display); }
.b-hero__logo img { width: 100%; height: 100%; object-fit: cover; }
.b-hero__logo.is-letter { background: var(--flag-gold); border-color: var(--flag-gold); }
.b-hero__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.b-hero__name { font: 800 clamp(26px, 4.2vw, 54px)/1.05 var(--font-display); letter-spacing: -0.025em; overflow-wrap: anywhere; text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.b-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font: 600 15px/22px var(--font-body); color: #e3ecef; }
.b-hero__meta > span { display: inline-flex; align-items: center; gap: 5px; }
.b-hero__meta i { font-style: normal; color: var(--flag-gold); }
.b-hero__meta small { font-size: 14px; color: #b8c8ce; }
.b-hero__meta em { font-style: normal; padding: 1px 10px; border-radius: var(--radius-pill); background: var(--flag-gold); color: var(--ink); font-weight: 700; font-size: 13px; }
.b-hero__meta svg { width: 16px; height: 16px; color: #ff8f9a; }

.b-side { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
.b-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-2); }
.b-thumb { position: relative; padding: 0; overflow: hidden; aspect-ratio: 1; border: 0; border-radius: 14px; background: #0c2d3d; cursor: pointer; opacity: .62; transition: opacity .2s ease, box-shadow .2s ease; }
.b-thumb img { width: 100%; height: 100%; object-fit: cover; }
.b-thumb:hover { opacity: 1; }
.b-thumb[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 3px var(--flag-gold); }
.b-thumb:focus-visible { outline: 3px solid var(--n-glow); outline-offset: 2px; }
.b-side__text { margin: 0; font-size: 17px; line-height: 26px; color: #dbe6ea; }
.b-acts { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.b-act { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.07); color: #fff; font: 700 15px/1 var(--font-body); }
.b-act svg { width: 18px; height: 18px; }
.b-act--call { border-color: var(--action); background: var(--action); }

@media (min-width: 700px) { .b-hero { aspect-ratio: 16 / 10; } .b-hero__info { padding: var(--space-6); } .b-hero__logo { width: 88px; height: 88px; font-size: 38px; } }
@media (min-width: 1080px) {
  .b-show__in { padding: var(--space-4) var(--space-8) 80px; }
  .b-show__title { font-size: 40px; line-height: 46px; margin-bottom: var(--space-6); }
  .b-show__grid { grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr); gap: var(--space-8); align-items: stretch; }
  .b-hero { aspect-ratio: auto; min-height: 520px; border-radius: 28px; }
  .b-hero__info { padding: var(--space-8); gap: var(--space-6); }
  .b-hero__logo { width: 104px; height: 104px; font-size: 44px; }
  .b-hero__meta { font-size: 17px; }
  .b-thumbs { grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
  .b-thumb:first-child { grid-column: span 2; aspect-ratio: 2 / 1; }
}
@media (prefers-reduced-motion: reduce) { .b-hero__photo { transition: none; transform: none; } }

/* ---------- Signed in (computer): the right-hand column is the showcase, not the phone card ---------- */
.b-hero__photo[hidden] { display: none; }
.b-hero.is-empty { background: linear-gradient(140deg, #0f4a52, #07865e); }
.b-hero__badge.is-wait { color: #7a5a00; background: #fdf3d1; }
.b-hero__badge.is-fix { color: #b80f22; background: #fdecee; }
.b-thumbs[hidden] { display: none; }
.b-asideshow { display: none; }
@media (min-width: 1080px) {
  body.b-dash .g-shell { grid-template-columns: minmax(0, 500px) minmax(0, 560px); max-width: 1200px; gap: 56px; }
  body.b-dash .g-aside > :not(.b-asideshow) { display: none; }
  body.b-dash:not(.b-loading) .b-asideshow { display: flex; flex-direction: column; gap: var(--space-4); color: #fff; }
  .b-asideshow__title { margin: 0; font: 800 30px/36px var(--font-display); letter-spacing: -0.02em; }
  .b-asideshow__title em { font-style: normal; color: var(--flag-gold); }
  .b-asideshow .b-hero { aspect-ratio: 5 / 4; min-height: 0; }
  .b-asideshow .b-hero__name { font-size: clamp(28px, 2.6vw, 40px); }
  .b-asideshow .b-hero__info { padding: var(--space-6); gap: var(--space-4); }
  .b-asideshow .b-hero__logo { width: 84px; height: 84px; font-size: 36px; }
  .b-asideshow .b-thumbs--row { grid-template-columns: repeat(5, 1fr); gap: var(--space-2); }
  .b-asideshow .b-thumbs--row .b-thumb:first-child { grid-column: auto; aspect-ratio: 1; }
  .b-asideshow .b-side__text:empty { display: none; }
  body.b-loading .g-aside::before { height: min(560px, calc(100vh - 180px)); }
}

/* A business without reviews yet: five empty stars and "0 avis". */
.b-hero__meta i.b-stars-empty { color: rgba(255,255,255,.55); letter-spacing: 1px; }

/* Ad space for business-to-business advertisers, under the showcase (signed out only, like it). Dark version of the home page's ad. */
.b-adband { display: none; padding: 0 var(--gutter-r) var(--space-12) var(--gutter-l); }
body[data-signed="out"][data-mode="dashboard"] .b-adband { display: block; }
.b-show:has(+ .b-adband) .b-show__in { padding-bottom: var(--space-6); }
.b-ad { max-width: 1240px; min-height: 180px; margin: 0 auto; padding: 48px var(--space-6) var(--space-6); flex-wrap: wrap; color: #fff;
  border-color: rgba(255,255,255,.28); background: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 14px, rgba(255,255,255,.02) 14px 28px); }
.b-ad:hover { border-color: var(--flag-gold); box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.b-ad .n-ad__tag { background: var(--flag-gold); color: var(--n-night); }
.b-ad__for { font: 700 12px/16px var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--flag-gold); }
.b-ad .n-ad__meta { color: var(--n-mist); }
@media (min-width: 1080px) {
  .b-adband { padding: 0 var(--space-8) 80px; }
  .b-ad { min-height: 250px; padding: var(--space-8) 56px; flex-wrap: nowrap; }
  .b-ad .n-ad__title { font-size: 34px; line-height: 40px; letter-spacing: -0.02em; }
}

/* Reviews: under the showcase (example business) and in the signed-in column (the owner's published reviews). */
.b-rating-link { display: inline-flex; align-items: center; gap: 5px; color: inherit; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 4px; }
.b-rating-link:hover { text-decoration-color: var(--flag-gold); }
.b-reviews { scroll-margin-top: 90px; margin-top: var(--space-8); display: grid; gap: var(--space-4); }
.b-reviews__title { margin: 0; font: 800 22px/28px var(--font-display); }
.b-reviews__sum { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-8); }
.b-reviews__score { display: grid; justify-items: start; gap: 2px; }
.b-reviews__score b { font: 800 48px/52px var(--font-display); letter-spacing: -0.02em; }
.b-reviews__score small { font: 600 14px/20px var(--font-body); color: var(--n-mist); }
.b-stars { display: inline-flex; gap: 1px; font-size: 16px; line-height: 1; }
.b-stars i { font-style: normal; color: rgba(255,255,255,.22); }
.b-stars i.is-on { color: var(--flag-gold); }
.b-reviews__bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; flex: 1; min-width: 220px; max-width: 420px; }
.b-reviews__bars li { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; gap: 10px; font: 600 13px/18px var(--font-body); color: #dbe6ea; }
.b-reviews__bars small { color: var(--n-mist); text-align: right; font-variant-numeric: tabular-nums; }
.b-reviews__bar { height: 8px; border-radius: var(--radius-pill); background: rgba(255,255,255,.1); overflow: hidden; }
.b-reviews__bar i { display: block; height: 100%; border-radius: inherit; background: var(--flag-gold); }
.b-reviews__list { display: grid; gap: var(--space-3); }
.b-review { padding: var(--space-4); border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid var(--n-hair); }
.b-review__head { display: flex; align-items: center; gap: 10px; }
.b-review__avatar { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #16606a; color: #fff; font: 800 15px/1 var(--font-display); }
.b-review__who { display: grid; min-width: 0; flex: 1; }
.b-review__who b { font: 700 15px/20px var(--font-body); }
.b-review__who small { font: 600 12px/16px var(--font-body); color: var(--n-mist); }
.b-review__text { margin: 10px 0 0; font: 500 15px/22px var(--font-body); color: #dbe6ea; }
.b-reviews__none { margin: 0; color: var(--n-mist); font-weight: 600; }
.b-reviews__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.b-reviews__btns[hidden] { display: none; }
.b-reviews__more { min-height: 44px; padding: 0 22px; border: 1px solid var(--n-hair); border-radius: var(--radius-pill); background: rgba(255,255,255,.06); color: #fff; font: 700 15px/20px var(--font-body); cursor: pointer; transition: background .2s ease; }
.b-reviews__more:hover { background: rgba(255,255,255,.12); }
.b-reviews__more:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.b-reviews__more[hidden] { display: none; }
@media (min-width: 760px) { .b-show .b-reviews__list { grid-template-columns: repeat(3, 1fr); } }
/* In the narrow signed-in column: smaller summary, cards one under the other. */
.b-asideshow .b-reviews { margin-top: var(--space-4); gap: var(--space-3); }
.b-asideshow .b-reviews__title { font-size: 18px; line-height: 24px; }
.b-asideshow .b-reviews__score { grid-auto-flow: column; align-items: center; gap: 10px; }
.b-asideshow .b-reviews__score b { font-size: 28px; line-height: 32px; }
