/* ═══════════════════════════════════════════════════════════
   BWS 2.0 — Business Profile Page Styles
════════════════════════════════════════════════════════════ */

/* ── Breadcrumb ── */
.breadcrumb-bar {
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border);
  padding-top: var(--header-h);
}
.breadcrumb-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-family: var(--font-ui);
}
.breadcrumb-inner a { color: var(--text-dim); font-weight: 500; }
.breadcrumb-inner a:hover { color: var(--amber); }
.bc-sep { color: var(--text-muted); }
.bc-current { color: var(--amber-light); font-weight: 600; }

/* ── Business Hero ── */
.biz-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid rgba(200,137,42,.24);
}
.biz-hero-bg {
  position: absolute;
  inset: 0;
}
.biz-hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.6);
}
.biz-hero-img[hidden] { display: none; }
.biz-hero-slides {
  position: absolute;
  inset: 0;
}
.biz-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transform: scale(1.035);
  filter: brightness(0.6);
  transition: opacity .9s ease, transform 6.5s ease;
}
.biz-hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.biz-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14,6,0,0.1) 0%,
    rgba(14,6,0,0.5) 50%,
    rgba(14,6,0,0.92) 100%
  );
}
.business-hero-carousel,
.business-hero-carousel .hero-carousel-stage,
.business-hero-carousel .hero-carousel-slide,
.business-hero-carousel .hero-carousel-slide > img,
.business-hero-carousel .hero-carousel-slide > video {
  position: absolute;
  inset: 0;
}
.business-hero-carousel {
  z-index: 0;
}
.business-hero-carousel .hero-carousel-slide {
  overflow: hidden;
  animation: businessHeroFadeIn 900ms ease both;
  background: #080301;
}
.business-hero-carousel .hero-carousel-slide > img,
.business-hero-carousel .hero-carousel-slide > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.business-hero-carousel .hero-carousel-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,3,1,.84), rgba(7,3,1,.24) 48%, rgba(7,3,1,.66)),
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.78));
}
.business-hero-carousel .hero-carousel-thumbs {
  position: absolute;
  left: 50%;
  bottom: 32px;
  z-index: 6;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(76px, 112px);
  gap: 10px;
  max-width: min(640px, calc(100vw - 48px));
  overflow-x: auto;
  padding: 8px;
  border: 1px solid rgba(255,214,142,.34);
  border-radius: 10px;
  background: rgba(4,2,1,.58);
  backdrop-filter: blur(10px);
  transform: translateX(-50%);
}
.business-hero-carousel .hero-carousel-thumbs button {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255,214,142,.52);
  border-radius: 6px;
  padding: 0;
  overflow: hidden;
  background: rgba(0,0,0,.62);
  cursor: pointer;
}
.business-hero-carousel .hero-carousel-thumbs button.is-active {
  border-color: #ffc760;
  box-shadow: 0 0 0 2px rgba(255,199,96,.38), 0 10px 28px rgba(0,0,0,.52);
}
.business-hero-carousel .hero-carousel-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .82;
}
.business-hero-carousel .hero-carousel-thumbs span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.3);
  font: 900 42px/.8 var(--font-display);
  background: rgba(0,0,0,.18);
}
@keyframes businessHeroFadeIn {
  from { opacity: 0; transform: scale(1.015); }
  to { opacity: 1; transform: scale(1); }
}
.biz-hero-thumbs {
  position: absolute;
  right: max(24px, calc((100vw - var(--max-w)) / 2 + 24px));
  bottom: 26px;
  z-index: 2;
  display: flex;
  gap: 8px;
  padding: 8px;
  max-width: min(44vw, 520px);
  overflow-x: auto;
  background: rgba(8, 4, 0, .74);
  border: 1px solid rgba(200, 137, 42, .45);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
}
.biz-hero-thumb {
  position: relative;
  width: 72px;
  height: 46px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid rgba(200, 137, 42, .36);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #080400;
  cursor: pointer;
}
.biz-hero-thumb.is-active {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px rgba(200, 137, 42, .35);
}
.biz-hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
}
.biz-hero-thumb span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .3);
  color: #fff;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  text-shadow: 0 2px 8px #000;
}

.biz-hero-content {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 124px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.biz-identity-block {
  display: flex;
  align-items: flex-end;
  gap: 20px;
}
.biz-logo-wrap {
  width: 90px; height: 90px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--amber);
  box-shadow: var(--glow-amber);
  flex-shrink: 0;
  background: var(--bg-panel);
}
.biz-logo { width: 100%; height: 100%; object-fit: contain; background: rgba(8, 5, 2, .65); }

.biz-identity-info { flex: 1; }
.biz-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.badge {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: .04em;
}
.badge--verified {
  background: rgba(39,174,96,.2);
  border: 1px solid rgba(39,174,96,.5);
  color: #5ddb8a;
}
.badge--open {
  background: rgba(39,174,96,.15);
  border: 1px solid rgba(39,174,96,.3);
  color: #5ddb8a;
}
.badge--open::before { animation: pulse-green 2s infinite; }
@keyframes pulse-green { 0%,100%{opacity:1} 50%{opacity:.4} }
.badge--closed {
  background: rgba(200,60,60,.12);
  border: 1px solid rgba(200,60,60,.25);
  color: #e07070;
}
.biz-open-badge { margin-left: 8px; vertical-align: middle; font-size: 11px; }
.hours-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-left: 10px;
  vertical-align: middle;
  letter-spacing: .04em;
}
.hours-badge--open  { background: rgba(39,174,96,.15); color: #5ddb8a; border: 1px solid rgba(39,174,96,.3); }
.hours-badge--closed { background: rgba(200,60,60,.12); color: #e07070; border: 1px solid rgba(200,60,60,.25); }
.badge--cat {
  background: rgba(200,137,42,.15);
  border: 1px solid var(--border);
  color: var(--amber-light);
}

.biz-name {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 700;
  color: #fff;
  letter-spacing: .03em;
  line-height: 1.1;
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}

.biz-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
}
.biz-stars { color: var(--amber); font-size: 16px; }
.biz-rating-num { font-family: var(--font-display); font-weight: 700; color: var(--amber-light); }
.biz-review-count { color: var(--text-dim); font-size: 13px; }
.biz-location-inline { color: var(--text-light); font-size: 13px; }

/* CTA Bar */
.biz-cta-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.biz-cta-main { min-width: 160px; }
.biz-cta { font-size: 13px; padding: 9px 16px; }
.biz-cta--share { margin-left: auto; }
.biz-claim-cta {
  align-items: center;
  border-color: rgba(200,137,42,.72);
  color: var(--amber-light);
  display: inline-flex;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
}
.biz-claim-cta[hidden] { display: none; }

/* ── Page Grid ── */
.biz-page-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 24px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.biz-main,
.biz-main-col,
.biz-sidebar,
.biz-section,
.sidebar-card {
  min-width: 0;
}

/* ── Sections ── */
.biz-section {
  background:
    linear-gradient(135deg, rgba(255,255,255,.035), transparent 46%),
    var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
}
.biz-section-title {
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: .04em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.biz-building-section #business-building-scene {
  margin: 16px 0;
}

.building-fallback-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-panel-2, rgba(255,255,255,.06));
  border: 1px solid var(--border, rgba(255,255,255,.12));
  border-radius: 12px;
}
.building-fallback-img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.building-fallback-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  background: var(--amber-glow, rgba(255,176,32,.15));
  border-radius: 8px;
  flex-shrink: 0;
}
.building-fallback-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.building-fallback-info strong {
  font-size: 1rem;
  font-weight: 600;
}
.building-fallback-info span {
  font-size: .85rem;
  opacity: .7;
}

.biz-building-section .layered-scene {
  min-height: 330px;
}
.biz-media-track {
  gap: 14px;
}
.biz-media-tile {
  flex: 0 0 190px;
  margin: 0;
  overflow: hidden;
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.biz-media-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
}
.biz-media-tile figcaption {
  padding: 10px 12px;
  color: var(--text-light);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.review-count-badge {
  background: var(--amber);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.biz-about-text {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 12px;
}
.biz-section-note {
  margin-top: -10px;
  color: rgba(255,232,190,.62);
  font-size: 12px;
}
.business-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.business-page-card {
  position: relative;
  min-height: 188px;
  overflow: hidden;
  border: 1px solid rgba(200,137,42,.28);
  border-radius: var(--radius-md);
  background: #090401;
  isolation: isolate;
}
.business-page-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .68;
  transform: scale(1.03);
  transition: transform .28s ease, opacity .28s ease;
}
.business-page-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.78)),
    radial-gradient(circle at 20% 0%, rgba(255,196,82,.2), transparent 36%);
}
.business-page-card:hover img {
  opacity: .86;
  transform: scale(1);
}
.business-page-card span,
.business-page-card strong,
.business-page-card p {
  position: relative;
  z-index: 2;
}
.business-page-card span {
  display: inline-flex;
  margin: 12px;
  color: rgba(255,255,255,.3);
  font: 900 42px/.8 var(--font-display);
}
.business-page-card strong {
  display: block;
  margin: 54px 14px 6px;
  color: #fff5df;
  font: 900 22px/1 var(--font-ui);
}
.business-page-card p {
  margin: 0 14px 14px;
  color: rgba(255,239,212,.74);
  font-size: 12px;
  line-height: 1.35;
}

/* ── Profile Page Tabs ───────────────────────────────────────────────────── */

.biz-pages-actions { display: flex; align-items: center; gap: 8px; }

.biz-page-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.biz-page-tab {
  position: relative;
  flex: 0 0 auto;
  width: 130px;
  height: 78px;
  padding: 0;
  overflow: hidden;
  border: 2px solid rgba(200,137,42,.22);
  border-bottom: none;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: var(--bg-panel-2);
  cursor: pointer;
  transition: border-color .18s ease, transform .18s ease;
  isolation: isolate;
}
.biz-page-tab:hover { border-color: rgba(200,137,42,.55); transform: translateY(-2px); }
.biz-page-tab.is-active {
  border-color: var(--amber);
  z-index: 2;
}
.biz-page-tab.is-active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--bg-panel, #0d0b08);
  z-index: 3;
}

.biz-page-tab__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
  transition: opacity .2s ease;
}
.biz-page-tab:hover .biz-page-tab__thumb { opacity: .9; }
.biz-page-tab.is-active .biz-page-tab__thumb { opacity: .82; }

.biz-page-tab__no-img {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,137,42,.12), rgba(0,0,0,.4));
}

.biz-page-tab__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 4px 8px 6px;
  background: linear-gradient(to top, rgba(0,0,0,.82) 60%, transparent);
  color: #fff5df;
  font: 600 11px/1.2 var(--font-ui);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}
.biz-page-tab.is-active .biz-page-tab__label { color: var(--amber); }

/* ── Active Page Panel ───────────────────────────────────────────────────── */

.biz-page-panel {
  border: 1px solid var(--amber);
  border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md);
  overflow: hidden;
  margin-bottom: 0;
}

.biz-page-panel__header {
  position: relative;
  min-height: 220px;
  background: var(--bg-panel-2);
  overflow: hidden;
  isolation: isolate;
}
.biz-page-panel__header-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
  transition: opacity .4s ease;
}
.biz-page-panel__header-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.74) 100%),
    radial-gradient(circle at 15% 0%, rgba(255,196,82,.18), transparent 40%);
}
.biz-page-panel__header-text {
  position: relative;
  z-index: 2;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
}
.biz-page-panel__title {
  margin: 0 0 6px;
  color: #fff5df;
  font: 700 22px/1.1 var(--font-ui);
}
.biz-page-panel__desc {
  margin: 0;
  color: rgba(255,239,212,.78);
  font-size: 13px;
  line-height: 1.5;
  max-width: 520px;
}

/* Change-header button (edit mode) */
.biz-page-change-header {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid rgba(255,196,82,.6);
  border-radius: var(--radius-pill);
  background: rgba(0,0,0,.65);
  color: var(--amber);
  font: 600 12px/1 var(--font-ui);
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background .15s ease, border-color .15s ease;
}
.biz-page-change-header:hover {
  background: rgba(200,137,42,.25);
  border-color: var(--amber);
}

/* ── Media Picker Overlay ────────────────────────────────────────────────── */

.biz-media-picker {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.biz-media-picker[hidden] { display: none; }
.biz-media-picker__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(4px);
}
.biz-media-picker__panel {
  position: relative;
  z-index: 1;
  width: min(680px, 94vw);
  max-height: 80vh;
  overflow-y: auto;
  background: var(--bg-panel-2, #1a1508);
  border: 1px solid rgba(200,137,42,.4);
  border-radius: var(--radius-md);
  padding: 24px;
}
.biz-media-picker__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.biz-media-picker__head h4 {
  margin: 0;
  color: #fff5df;
  font: 700 17px/1 var(--font-ui);
}
.biz-media-picker__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: transparent;
  color: rgba(255,255,255,.6);
  cursor: pointer;
  font-size: 14px;
  transition: background .15s, color .15s;
}
.biz-media-picker__close:hover { background: rgba(255,255,255,.1); color: #fff; }
.biz-media-picker__hint {
  color: rgba(255,232,190,.55);
  font-size: 12px;
  margin: 0 0 16px;
}
.biz-media-picker__hint a { color: var(--amber); }
.biz-media-picker__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}
.biz-media-picker__item {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: var(--radius-sm, 6px);
  background: rgba(0,0,0,.3);
  cursor: pointer;
  padding: 0;
  transition: border-color .15s ease, transform .15s ease;
}
.biz-media-picker__item:hover { border-color: var(--amber); transform: scale(1.03); }
.biz-media-picker__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.biz-media-picker__empty {
  grid-column: 1 / -1;
  text-align: center;
  color: rgba(255,232,190,.5);
  font-size: 13px;
  padding: 24px 0;
}
.biz-media-picker__empty a { color: var(--amber); }

/* Drawer header */
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.drawer-header .biz-section-title { margin-bottom: 0; }
.drawer-scroll-btns { display: flex; gap: 6px; }

/* ── Service Cards ── */
.service-card {
  flex-shrink: 0;
  width: 200px;
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color .2s, transform .2s;
  cursor: default;
}
.service-card:hover { border-color: var(--amber); transform: translateY(-2px); }
.service-icon { font-size: 28px; }
.service-media {
  width: calc(100% + 36px);
  height: 98px;
  margin: -18px -18px 4px;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}
.service-name {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-white);
}
.service-desc { font-size: 12px; color: var(--text-dim); line-height: 1.5; flex: 1; }
.service-price {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
}
.service-book-btn { font-size: 12px; padding: 7px 12px; margin-top: 4px; }

/* ── Product Cards ── */
.product-card {
  flex-shrink: 0;
  width: 160px;
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.product-card:hover { border-color: var(--amber); transform: translateY(-2px); }
.product-img-wrap {
  height: 110px;
  background: linear-gradient(135deg, #1a0d02, #0e0800);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img-placeholder { font-size: 42px; }
.product-img-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.product-name {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-white);
  padding: 10px 12px 4px;
  line-height: 1.3;
}
.product-price {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--amber);
  padding: 0 12px 8px;
}
.product-btn { width: calc(100% - 24px); margin: 0 12px 12px; font-size: 12px; padding: 8px; }

/* ── Reviews ── */
.review-summary-bar {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 16px;
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}
.review-big-score {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
  flex-shrink: 0;
}
.review-bars { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.rbar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-dim);
}
.rbar-row > span:first-child { width: 20px; text-align: right; flex-shrink: 0; }
.rbar-row > span:last-child  { width: 30px; flex-shrink: 0; }
.rbar-track {
  flex: 1;
  height: 6px;
  background: rgba(200,137,42,.12);
  border-radius: 3px;
  overflow: hidden;
}
.rbar-fill {
  height: 100%;
  background: var(--amber);
  border-radius: 3px;
  transition: width .6s ease;
}

.review-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.review-item {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(200,137,42,.08);
}
.review-item:last-child { border-bottom: none; }
.review-item-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.review-item-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-item-body { flex: 1; }
.review-item-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.review-item-header strong { font-family: var(--font-ui); font-size: 14px; color: var(--text-white); }
.review-item-stars { color: var(--amber); font-size: 13px; }
.review-item-date { font-size: 11px; color: var(--text-dim); margin-left: auto; }
.review-item-text { font-size: 13px; color: var(--text-light); line-height: 1.6; }

.load-more-btn {
  width: 100%;
  background: rgba(200,137,42,.08);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 12px;
  color: var(--amber-light);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.load-more-btn:hover { background: rgba(200,137,42,.18); }

.write-review-btn { font-size: 12px; padding: 8px 14px; }

/* ── Sidebar ── */
.biz-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--header-h) + 16px); }

.sidebar-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.sidebar-card-title {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}

/* Hours */
.hours-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.hours-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-dim);
  padding: 5px 0;
  border-bottom: 1px solid rgba(200,137,42,.06);
}
.hours-item:last-child { border-bottom: none; }
.hours-item.active-day { color: var(--text-white); font-weight: 600; }
.hours-item.hours-closed { color: var(--text-muted); }
.open-now { color: #5ddb8a; font-weight: 700; }

/* Location */
.location-map-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid var(--border);
}
.location-map-iframe {
  display: block;
  width: 100%;
  height: 180px;
  border: 0;
  filter: grayscale(30%) sepia(20%) brightness(0.85);
}
.location-map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 10px;
  background: linear-gradient(to top, rgba(10,5,0,.85) 0%, rgba(10,5,0,.2) 60%, transparent 100%);
  pointer-events: none;
}
.map-address-chip {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 8px;
}
.map-pin-icon { font-size: 16px; line-height: 1.4; flex-shrink: 0; }
.map-address-chip p { font-size: 11px; color: rgba(246,234,215,.9); line-height: 1.4; margin: 0; }
.map-link {
  pointer-events: all;
  font-size: 11px;
  color: var(--amber);
  font-weight: 600;
  border: 1px solid rgba(200,137,42,.5);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(10,5,0,.7);
  transition: background .2s;
  text-decoration: none;
}
.map-link:hover { background: rgba(200,137,42,.2); }
.service-radius { font-size: 12px; color: var(--text-dim); }
.service-radius-label { color: var(--amber-light); font-weight: 600; margin-right: 4px; }
.service-radius-val { color: var(--text-light); }

/* Lead Form */
.lead-form { display: flex; flex-direction: column; gap: 10px; }
.form-group { width: 100%; }
.form-input {
  width: 100%;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
  transition: border-color .2s;
}
.form-input:focus { border-color: var(--amber); }
.form-input::placeholder { color: var(--text-muted); }
.form-select { cursor: pointer; }
.form-select option { background: var(--bg-dark); }
.form-textarea { resize: vertical; min-height: 90px; }
.form-submit-btn { width: 100%; padding: 12px; font-size: 14px; }
.form-note { font-size: 11px; color: var(--text-dim); text-align: center; margin-top: -2px; }

/* Connect Links */
.connect-links { display: flex; flex-direction: column; gap: 8px; }
.connect-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-light);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background .2s, border-color .2s, color .2s;
}
.connect-link:hover { background: rgba(200,137,42,.08); border-color: var(--border); color: var(--amber-light); }
.connect-link span { font-size: 16px; }

/* Similar */
.similar-list { display: flex; flex-direction: column; gap: 10px; }
.similar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background .2s, border-color .2s;
  cursor: pointer;
}
.similar-item:hover { background: rgba(200,137,42,.06); border-color: var(--border); }
.similar-item img {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border);
}
.similar-name { display: block; font-size: 13px; font-weight: 600; color: var(--text-white); }
.similar-cat { display: block; font-size: 11px; color: var(--text-dim); margin-top: 2px; }

/* ── Responsive ── */
@media (max-width: 1000px) {
  .biz-page-grid { grid-template-columns: 1fr; }
  .biz-sidebar { position: static; }
  .business-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  .breadcrumb-inner,
  .biz-hero-content,
  .biz-page-grid {
    width: 100%;
    max-width: 100%;
  }

  .biz-hero { min-height: 560px; }
  .biz-hero-content { padding-bottom: 104px; }
  .business-hero-carousel .hero-carousel-thumbs {
    bottom: 14px;
    grid-auto-columns: 70px;
    max-width: calc(100vw - 32px);
  }
  .business-hero-carousel .hero-carousel-thumbs span {
    font-size: 30px;
  }
  .biz-hero-thumbs {
    right: 16px;
    left: 16px;
    bottom: 10px;
    max-width: none;
  }
  .biz-hero-thumb {
    width: 60px;
    height: 38px;
  }
  .biz-identity-block {
    align-items: flex-start;
    gap: 12px;
  }
  .biz-name {
    font-size: clamp(24px, 9vw, 38px);
    overflow-wrap: anywhere;
  }
  .biz-logo-wrap { width: 70px; height: 70px; }
  .biz-cta-bar { gap: 7px; }
  .biz-cta--share { margin-left: 0; }
  .biz-page-grid { padding: 20px 16px 48px; }
  .business-page-grid { grid-template-columns: 1fr; }

  .horizontal-scroll-track {
    max-width: 100%;
    overflow-x: auto;
  }

  .review-summary-bar,
  .review-item,
  .hours-item,
  .service-radius {
    min-width: 0;
  }

  .review-item-text,
  .biz-about-text,
  .service-desc,
  .product-name {
    overflow-wrap: anywhere;
  }
}

/* ══════════════════════════════════════════════════════════
   Hero sub-page tile row
   Positioned at the bottom of .biz-hero; replaces the old
   carousel thumb strip for profile-page navigation.
   ══════════════════════════════════════════════════════════ */

.biz-hero-page-tiles {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 7;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.biz-hero-page-tiles::-webkit-scrollbar { display: none; }
.biz-hero-page-tiles[hidden] { display: none; }

.biz-page-tile {
  position: relative;
  flex: 0 0 auto;
  width: clamp(110px, 14vw, 170px);
  height: 80px;
  overflow: hidden;
  padding: 0;
  border: none;
  border-top: 2px solid rgba(255,214,142,.22);
  border-right: 1px solid rgba(0,0,0,.35);
  cursor: pointer;
  background: rgba(4,2,1,.62);
  transition: border-top-color .18s ease;
  isolation: isolate;
}
.biz-page-tile:last-child { border-right: none; }
.biz-page-tile:hover { border-top-color: rgba(255,214,142,.65); }
.biz-page-tile.is-active {
  border-top-color: var(--amber, #d7a040);
  border-top-width: 3px;
}
.biz-page-tile.is-active::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--amber, #d7a040);
  box-shadow: 0 0 10px rgba(215,160,64,.7);
  z-index: 3;
}

.biz-page-tile__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .58;
  transition: opacity .2s ease;
  pointer-events: none;
}
.biz-page-tile:hover .biz-page-tile__bg  { opacity: .78; }
.biz-page-tile.is-active .biz-page-tile__bg { opacity: .7; }

.biz-page-tile__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.12) 100%);
  pointer-events: none;
}

.biz-page-tile__label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 5px 9px 7px;
  color: rgba(255,245,223,.9);
  font: 600 11px/1.3 var(--font-ui, sans-serif);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
  pointer-events: none;
}
.biz-page-tile.is-active .biz-page-tile__label { color: var(--amber, #d7a040); }

/* Push hero content up to leave room for tiles */
.biz-hero-content { padding-bottom: 96px; }

@media (max-width: 768px) {
  .biz-page-tile { width: 110px; height: 68px; }
  .biz-hero-content { padding-bottom: 76px; }
}

/* ── Sub-pages present: center tile strip + compact slide nav ────────
   .has-profile-pages is added by JS only when profile pages exist.
   The .hero-carousel-thumbs element is moved by JS into .biz-hero-content
   (before .biz-cta-bar) so it no longer conflicts with the tile strip.
   ──────────────────────────────────────────────────────────────────── */

.biz-hero.has-profile-pages .biz-hero-page-tiles {
  justify-content: center;
}

/* Carousel thumbs in their new flow position inside .biz-hero-content */
.biz-hero.has-profile-pages .hero-carousel-thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
  /* Override the carousel's absolute positioning — now in normal flex flow */
  position: static;
  transform: none;
  left: auto;
  bottom: auto;
  z-index: auto;
  background: none;
  backdrop-filter: none;
  padding: 0;
  border-radius: 0;
  max-width: 100%;
  margin-bottom: -6px; /* tighten gap between thumbs row and CTA bar */
}

.biz-hero.has-profile-pages .hero-carousel-thumbs button {
  position: relative;
  height: 36px;
  aspect-ratio: 16 / 9;
  flex: 0 0 auto;
  border-radius: 4px;
  border: 1px solid rgba(255, 214, 142, .45);
  overflow: hidden;
  background: rgba(0, 0, 0, .62);
  cursor: pointer;
}

.biz-hero.has-profile-pages .hero-carousel-thumbs button.is-active {
  border-color: var(--amber, #d7a040);
  box-shadow: 0 0 0 2px rgba(215, 160, 64, .35);
}

.biz-hero.has-profile-pages .hero-carousel-thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .82;
  display: block;
}

.biz-hero.has-profile-pages .hero-carousel-thumbs button span {
  display: none; /* hide slide-number badge at compact size */
}

@media (max-width: 768px) {
  .biz-hero.has-profile-pages .hero-carousel-thumbs button {
    height: 30px;
  }
}

/* ══════════════════════════════════════════════════════════
   About section: title + edit button row
   ══════════════════════════════════════════════════════════ */

.biz-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.biz-section-head .biz-section-title { margin-bottom: 0; }

.biz-page-edit-toggle {
  flex-shrink: 0;
  font-size: 12px;
  padding: 4px 12px;
}

/* ══════════════════════════════════════════════════════════
   Inline content edit toolbar
   ══════════════════════════════════════════════════════════ */

.biz-page-edit-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  padding: 7px 10px;
  margin-bottom: 10px;
  background: rgba(22,12,2,.75);
  border: 1px solid rgba(200,137,42,.28);
  border-radius: 6px;
  backdrop-filter: blur(6px);
}
.biz-page-edit-bar[hidden] { display: none; }

.biz-edit-tool {
  padding: 4px 9px;
  border: 1px solid rgba(200,137,42,.28);
  border-radius: 4px;
  background: rgba(0,0,0,.28);
  color: #f1e1c0;
  font-size: 13px;
  cursor: pointer;
  line-height: 1.4;
  transition: background .14s, border-color .14s;
}
.biz-edit-tool:hover {
  background: rgba(200,137,42,.18);
  border-color: rgba(200,137,42,.55);
}

.biz-edit-sep {
  display: inline-block;
  width: 1px;
  height: 20px;
  background: rgba(200,137,42,.22);
  margin: 0 4px;
  vertical-align: middle;
}

.biz-edit-save-btn {
  padding: 4px 14px;
  border: 1px solid rgba(200,137,42,.55);
  border-radius: 4px;
  background: rgba(200,137,42,.16);
  color: var(--amber, #d7a040);
  font: 600 12px/1.4 var(--font-ui, sans-serif);
  cursor: pointer;
  transition: background .14s;
}
.biz-edit-save-btn:hover { background: rgba(200,137,42,.30); }

.biz-edit-status {
  font-size: 12px;
  color: rgba(255,245,223,.55);
  margin-left: 6px;
  min-width: 60px;
}

/* Content area focus ring in edit mode */
.biz-about-content[contenteditable="true"] {
  outline: 1px dashed rgba(200,137,42,.38);
  outline-offset: 5px;
  border-radius: 4px;
  padding: 10px 14px;
  min-height: 80px;
  caret-color: var(--amber, #d7a040);
}
.biz-about-content[contenteditable="true"]:focus {
  outline-color: rgba(200,137,42,.75);
}

/* ═══════════════════════════════════════════════════════════
   BUSINESS PAGE — mobile & tablet responsive additions
   Tablet ≤ 768px · Phone ≤ 480px · Small phone ≤ 360px
═══════════════════════════════════════════════════════════ */

/* ── CTA bar: wrap on small phones so buttons don't truncate ─ */
@media (max-width: 480px) {
  .biz-cta-bar {
    flex-wrap: wrap;
    gap: 8px;
  }
  .biz-cta--message,
  .biz-cta--follow,
  .biz-cta--share {
    flex: 1 1 auto;
    justify-content: center;
    min-height: 40px;
  }

  /* Prevent identity block from overflowing on very long names */
  .biz-identity-block { min-width: 0; overflow: hidden; }

  /* Sidebar cards: tighter padding */
  .sidebar-card { padding: 16px; }

  /* Review items: prevent avatar from squishing */
  .review-item { align-items: flex-start; }
  .review-item-avatar { flex-shrink: 0; }

  /* Hours list: let it wrap on narrow screens */
  .hours-item {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
  }

  /* Product/service cards: ensure they fill the column */
  .product-card,
  .service-card { min-width: 0; width: 100%; }

  /* Lead form inputs: meet iOS zoom threshold */
  .lead-form input,
  .lead-form select,
  .lead-form textarea { font-size: max(16px, 1em); }
}

/* ── Page tiles: larger touch area on phones ──────────────── */
@media (pointer: coarse) and (max-width: 768px) {
  .biz-page-tile { height: 72px; }
  /* CTA buttons: bigger tap targets */
  .biz-cta-bar .btn-primary,
  .biz-cta-bar .btn-ghost {
    min-height: 44px;
    padding: 10px 16px;
  }
}

/* ── Small phone ≤ 360px ─────────────────────────────────── */
@media (max-width: 360px) {
  .biz-page-grid { padding: 14px 12px 40px; }
  .biz-name { font-size: clamp(20px, 8vw, 32px); }
  .biz-logo-wrap { width: 58px; height: 58px; }
  /* Map iframe: keep aspect ratio on tiny screens */
  .location-map-iframe { min-height: 180px; }
}

/* ══════════════════════════════════════════════════════════
   EXPERIENCE SECTION — exterior / interior photo toggle
════════════════════════════════════════════════════════════ */

.biz-experience-section .biz-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.biz-experience-toggle {
  display: flex;
  gap: 4px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 3px;
}

.biz-exp-btn {
  padding: 6px 18px;
  border: none;
  border-radius: 5px;
  background: transparent;
  color: var(--text-dim, #aaa);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.biz-exp-btn.is-active {
  background: var(--amber, #c9831a);
  color: #fff;
  font-weight: 600;
}
.biz-exp-btn:hover:not(.is-active) {
  background: rgba(255,255,255,.07);
  color: var(--text, #ddd);
}

.biz-experience-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.biz-exp-photo {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: rgba(0,0,0,.3);
}
.biz-exp-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.biz-exp-photo:hover img { transform: scale(1.04); }

.biz-exp-empty {
  grid-column: 1 / -1;
  color: var(--text-dim, #888);
  font-size: 13px;
  padding: 20px 0;
}

@media (max-width: 600px) {
  .biz-experience-gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .biz-exp-btn { padding: 5px 12px; font-size: 12px; }
}

/* ══════════════════════════════════════════════════════════
   UPCOMING EVENTS RAIL — business detail page
════════════════════════════════════════════════════════════ */

.biz-upcoming-events .biz-section-title {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.biz-event-rail {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.biz-event-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: var(--bg-panel-2, rgba(255,255,255,.04));
  border: 1px solid var(--border, rgba(200,137,42,.18));
  border-radius: var(--radius-md, 10px);
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, transform .15s ease;
}
.biz-event-card:hover {
  border-color: var(--amber, #c9831a);
  background: rgba(200,137,42,.07);
  transform: translateX(3px);
}

.biz-event-date-chip {
  flex-shrink: 0;
  min-width: 72px;
  padding: 6px 10px;
  background: rgba(200,137,42,.14);
  border: 1px solid rgba(200,137,42,.3);
  border-radius: var(--radius-sm, 6px);
  color: var(--amber-light, #ffcf80);
  font-family: var(--font-ui, sans-serif);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  letter-spacing: .03em;
  white-space: nowrap;
}

.biz-event-body {
  flex: 1;
  min-width: 0;
}

.biz-event-title {
  display: block;
  font-family: var(--font-ui, sans-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-white, #fff5df);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.biz-event-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  color: var(--text-dim, #9d8a6a);
}

.biz-event-venue {
  color: var(--text-light, #d4c3a3);
  font-weight: 500;
}
.biz-event-city {
  color: var(--text-dim, #9d8a6a);
}

.biz-event-free {
  padding: 1px 7px;
  background: rgba(39,174,96,.15);
  border: 1px solid rgba(39,174,96,.3);
  border-radius: var(--radius-pill, 100px);
  color: #5ddb8a;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .04em;
}

.biz-event-rsvp-badge {
  padding: 1px 7px;
  background: rgba(200,137,42,.14);
  border: 1px solid rgba(200,137,42,.28);
  border-radius: var(--radius-pill, 100px);
  color: var(--amber, #c9831a);
  font-weight: 700;
  font-size: 10px;
}

.biz-event-arrow {
  flex-shrink: 0;
  color: var(--text-muted, #6a5f4e);
  font-size: 18px;
  line-height: 1;
  transition: color .15s ease;
}
.biz-event-card:hover .biz-event-arrow { color: var(--amber, #c9831a); }

.biz-events-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.biz-events-see-all {
  display: inline-block;
  font-family: var(--font-ui, sans-serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--amber, #c9831a);
  text-decoration: none;
  transition: color .15s ease;
}
.biz-events-see-all:hover { color: var(--amber-light, #ffcf80); text-decoration: underline; }

.biz-events-manage-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-ui, sans-serif);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim, #9d8a6a);
  text-decoration: none;
  padding: 4px 10px;
  border: 1px solid var(--border, rgba(200,137,42,.18));
  border-radius: var(--radius-pill, 100px);
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.biz-events-manage-link:hover {
  color: var(--amber-light, #ffcf80);
  border-color: rgba(200,137,42,.5);
  background: rgba(200,137,42,.07);
}

@media (max-width: 600px) {
  .biz-event-card { gap: 10px; padding: 10px 12px; }
  .biz-event-date-chip { min-width: 58px; font-size: 10px; }
  .biz-event-title { font-size: 13px; }
}

/* ── Review Interactions ─────────────────────────────────────────────────── */

.review-sort-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.review-sort-btn {
  padding: 5px 13px;
  border: 1px solid var(--border, rgba(200,137,42,.2));
  border-radius: var(--radius-pill, 100px);
  background: transparent;
  color: var(--text-dim, #9d8a6a);
  font: 600 12px/1 var(--font-ui, sans-serif);
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.review-sort-btn:hover {
  color: var(--amber-light, #ffcf80);
  border-color: rgba(200,137,42,.45);
}
.review-sort-btn.is-active {
  color: var(--amber, #c9831a);
  border-color: var(--amber, #c9831a);
  background: rgba(200,137,42,.08);
}

.review-helpful-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  margin-top: 8px;
  border: 1px solid var(--border, rgba(200,137,42,.18));
  border-radius: var(--radius-pill, 100px);
  background: transparent;
  color: var(--text-dim, #9d8a6a);
  font: 500 11px/1 var(--font-ui, sans-serif);
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.review-helpful-btn:hover {
  color: var(--amber-light, #ffcf80);
  border-color: rgba(200,137,42,.4);
}
.review-helpful-btn.is-voted {
  color: var(--amber, #c9831a);
  border-color: var(--amber, #c9831a);
  background: rgba(200,137,42,.08);
}

.review-load-more {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 10px 0;
  border: 1px solid var(--border, rgba(200,137,42,.2));
  border-radius: var(--radius-md, 10px);
  background: transparent;
  color: var(--amber, #c9831a);
  font: 600 13px/1 var(--font-ui, sans-serif);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.review-load-more:hover {
  background: rgba(200,137,42,.07);
  border-color: rgba(200,137,42,.45);
}
.review-load-more:disabled {
  opacity: .45;
  cursor: not-allowed;
}

/* ── BBBB Trust Badges ───────────────────────────────────────────────────── */

.biz-bbbb-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--radius-pill, 100px);
  font: 700 11px/1.2 var(--font-ui, sans-serif);
  letter-spacing: .04em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity .15s ease, filter .15s ease;
}
.biz-bbbb-badge:hover { opacity: .82; filter: brightness(1.12); }

.bbbb--bronze {
  background: rgba(139,95,60,.18);
  border-color: rgba(139,95,60,.45);
  color: #c8925c;
}
.bbbb--silver {
  background: rgba(160,160,175,.15);
  border-color: rgba(160,160,175,.4);
  color: #b8b8cc;
}
.bbbb--gold {
  background: rgba(200,137,42,.15);
  border-color: rgba(200,137,42,.45);
  color: var(--amber, #c9831a);
}
.bbbb--platinum {
  background: rgba(120,200,220,.12);
  border-color: rgba(120,200,220,.38);
  color: #8ad4e0;
}

/* Search/directory tile inline BBBB badge (compact variant) */
.bbbb-tile-badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: var(--radius-pill, 100px);
  font: 700 9px/1.4 var(--font-ui, sans-serif);
  letter-spacing: .03em;
  vertical-align: middle;
}
.bbbb-tile-badge--bronze  { background: rgba(139,95,60,.22);  color: #c8925c; }
.bbbb-tile-badge--silver  { background: rgba(160,160,175,.2); color: #b8b8cc; }
.bbbb-tile-badge--gold    { background: rgba(200,137,42,.18); color: #d4952a; }
.bbbb-tile-badge--platinum{ background: rgba(120,200,220,.15);color: #8ad4e0; }

/* ── Share Drawer ────────────────────────────────────────────────────────── */

.biz-share-drawer {
  position: fixed;
  inset: 0;
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(4px);
  animation: shareDrawerIn .18s ease both;
}

@keyframes shareDrawerIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.biz-share-inner {
  position: relative;
  width: min(440px, 92vw);
  background: var(--bg-panel-2, #161009);
  border: 1px solid rgba(200,137,42,.3);
  border-radius: var(--radius-lg, 14px);
  padding: 24px 26px 22px;
  box-shadow: 0 16px 48px rgba(0,0,0,.65);
  animation: shareInnerIn .2s ease both;
}

@keyframes shareInnerIn {
  from { transform: translateY(18px) scale(.97); opacity: 0; }
  to   { transform: translateY(0)    scale(1);   opacity: 1; }
}

.biz-share-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font: 700 15px/1 var(--font-ui, sans-serif);
  color: var(--text-white, #fff5df);
}

.biz-share-close {
  background: transparent;
  border: none;
  color: var(--text-dim, #9d8a6a);
  font-size: 17px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color .12s ease, background .12s ease;
}
.biz-share-close:hover { color: var(--amber-light, #ffcf80); background: rgba(200,137,42,.1); }

.biz-share-preview {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--border, rgba(200,137,42,.18));
  border-radius: var(--radius-md, 10px);
  background: rgba(0,0,0,.28);
  margin-bottom: 16px;
  overflow: hidden;
}

.biz-share-url {
  flex: 1;
  font: 400 12px/1.3 var(--font-mono, monospace);
  color: var(--text-dim, #9d8a6a);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.biz-share-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.biz-share-native {
  flex: 1;
  min-width: 110px;
}

.biz-share-feedback {
  margin: 10px 0 0;
  font: 600 13px/1 var(--font-ui, sans-serif);
  text-align: center;
}

@media (max-width: 480px) {
  .biz-share-inner { padding: 18px 16px 16px; }
  .review-sort-bar { gap: 6px; }
  .review-sort-btn { padding: 4px 10px; font-size: 11px; }
}

/* ══════════════════════════════════════════════════════════
   INLINE BOOKING DRAWER — business profile page
════════════════════════════════════════════════════════════ */

.biz-book-drawer {
  max-width: var(--max-w, 1200px);
  margin: 0 auto;
  padding: 0 24px;
}
.biz-book-drawer[hidden] { display: none; }

.biz-book-form {
  background: var(--bg-panel-2, #1a1508);
  border: 1px solid rgba(200,137,42,.28);
  border-top: 3px solid var(--amber, #c8892a);
  border-radius: 0 0 var(--radius-md, 10px) var(--radius-md, 10px);
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: biz-book-slide-in .18s ease;
}
@keyframes biz-book-slide-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.biz-book-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.biz-book-title {
  font-family: var(--font-ui, sans-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--amber-light, #ffe8be);
  margin: 0;
}
.biz-book-close {
  width: 30px; height: 30px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: transparent;
  color: rgba(255,255,255,.55);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.biz-book-close:hover { background: rgba(255,255,255,.1); color: #fff; }

.biz-book-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.biz-book-label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,232,190,.55);
  font-family: var(--font-ui, sans-serif);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.biz-book-input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(0,0,0,.32);
  border: 1px solid rgba(200,137,42,.28);
  border-radius: var(--radius-sm, 6px);
  padding: 9px 12px;
  color: var(--text-white, #fff5df);
  font-size: 14px;
  font-family: var(--font-body, sans-serif);
  outline: none;
  transition: border-color .18s;
}
.biz-book-input:focus { border-color: var(--amber, #c8892a); }
.biz-book-input::placeholder { color: rgba(255,255,255,.28); }
textarea.biz-book-input { resize: vertical; min-height: 72px; }

.biz-book-submit {
  align-self: flex-start;
  background: var(--amber, #c8892a);
  color: #1a0d00;
  border: none;
  border-radius: var(--radius-pill, 99px);
  padding: 11px 28px;
  font: 700 14px/1 var(--font-ui, sans-serif);
  cursor: pointer;
  transition: opacity .2s, transform .15s;
}
.biz-book-submit:hover  { opacity: .88; transform: translateY(-1px); }
.biz-book-submit:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.biz-book-status {
  font-size: 13px;
  margin: 0;
  min-height: 18px;
}
.biz-book-status--ok  { color: #5ddb8a; }
.biz-book-status--err { color: #e74c3c; }

.biz-book-loading {
  color: rgba(255,232,190,.45);
  font-size: 13px;
  padding: 20px 0;
  text-align: center;
}

.biz-book-inline-btn--active {
  background: rgba(200,137,42,.14) !important;
  border-color: var(--amber, #c8892a) !important;
  color: var(--amber-light, #ffe8be) !important;
}

@media (max-width: 600px) {
  .biz-book-row { grid-template-columns: 1fr; }
  .biz-book-form { padding: 16px; }
  .biz-book-drawer { padding: 0 12px; }
}

/* ── Public Metrics Card ──────────────────────────────────────────────────── */
.biz-metrics-card { padding: 18px 20px; }
.biz-metrics-row {
  display: flex;
  gap: 20px;
  margin-bottom: 14px;
}
.biz-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.biz-metric-val {
  font: 700 22px/1 var(--font-ui, sans-serif);
  color: var(--amber, #c8892a);
}
.biz-metric-label {
  font-size: 11px;
  color: rgba(255,232,190,.5);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.biz-metrics-share-btn {
  width: 100%;
  padding: 10px 0;
  font-size: 14px;
}

/* ── Connect card — locked email ─────────────────────────────────────────── */
.connect-link--locked {
  opacity: .55;
  cursor: default;
  font-style: italic;
}
.connect-link--locked:hover { opacity: .7; }

/* ── Share drawer enhancements ───────────────────────────────────────────── */
.biz-share-social {
  display: flex;
  gap: 10px;
  margin: 12px 0 4px;
}
.biz-share-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font: 700 15px/1 var(--font-ui, sans-serif);
  text-decoration: none;
  transition: opacity .18s, transform .15s;
  color: #fff;
}
.biz-share-social-btn:hover { opacity: .82; transform: translateY(-2px); }
.biz-share-x  { background: #000; }
.biz-share-fb { background: #1877f2; }
.biz-share-wa { background: #25d366; }

.biz-share-materials { margin-top: 14px; }
.biz-share-materials-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,232,190,.5);
  margin-bottom: 8px;
}
.biz-share-materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.biz-share-material-item {
  aspect-ratio: 1;
  border: 1px solid rgba(200,137,42,.3);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(0,0,0,.3);
  cursor: pointer;
  padding: 0;
  transition: border-color .18s, transform .15s;
}
.biz-share-material-item:hover {
  border-color: var(--amber, #c8892a);
  transform: scale(1.04);
}
.biz-share-material-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Owner review response ── */
.review-owner-reply {
  margin-top: .85rem;
  padding: .7rem 1rem;
  background: rgba(200, 137, 42, .08);
  border-left: 3px solid var(--color-gold, #c8892a);
  border-radius: 0 6px 6px 0;
}
.review-owner-reply-label {
  display: block;
  font-size: .72em;
  font-weight: 700;
  color: var(--color-gold, #c8892a);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .35rem;
}
.review-owner-reply-text {
  margin: 0;
  font-size: .88em;
  line-height: 1.55;
  opacity: .9;
}
