/* ═══════════════════════════════════════════════════════════
   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--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; }
}

/* ══════════════════════════════════════════════════════════
   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);
}
