/* Business detail source-owned overrides.
 * Shared structural helpers + mobile polish until the authored Vite/Tailwind
 * frontend source is restored. Keep this file small; do not copy generated CSS.
 */

.biz-media-carousel-card {
  width: 100%;
  max-width: 22rem;
}

.biz-media-carousel-frame {
  position: relative;
  aspect-ratio: 16 / 10;
}

.biz-media-carousel-slide {
  position: absolute;
  inset: 0;
}

.biz-media-carousel-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: flex;
  width: 2.35rem;
  height: 2.35rem;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border-radius: 9999px;
  background: rgb(15 23 42 / 68%);
  color: #fff;
  box-shadow: 0 6px 18px rgb(15 23 42 / 18%);
}

.biz-media-carousel-nav-prev {
  inset-inline-start: .65rem;
}

.biz-media-carousel-nav-next {
  inset-inline-end: .65rem;
}

.biz-media-carousel-dots {
  position: absolute;
  inset-inline-start: .8rem;
  bottom: .7rem;
  z-index: 3;
  display: flex;
  gap: .35rem;
}

.biz-media-carousel-dot {
  width: .45rem;
  height: .45rem;
  border-radius: 9999px;
  background: #fff;
  opacity: .45;
  box-shadow: 0 1px 4px rgb(15 23 42 / 20%);
}

.biz-media-carousel-dot.is-active {
  opacity: 1;
}

.biz-media-carousel-video-btn {
  inset-inline-end: .7rem;
  bottom: .65rem;
  z-index: 4;
  width: auto;
  height: auto;
  min-height: 2.65rem;
  gap: .45rem;
  padding: .55rem .8rem;
}

.biz-media-carousel-thumbs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.biz-media-modal-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
}

.biz-media-modal-video {
  display: block;
  width: 100%;
  max-height: 75vh;
  background: #000;
  object-fit: contain;
}

.biz-media-modal-video-frame {
  aspect-ratio: 16 / 9;
}

.biz-media-modal-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}


.biz-hero-external-services {
  margin-top: .75rem;
}

.biz-hero-external-services-list {
  margin-top: 0;
}

.biz-hero-external-services-list > li {
  display: contents;
}

.biz-hero-external-link {
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.biz-hero-external-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgb(15 23 42 / 10%);
}

.biz-hero-external-link:focus-visible {
  outline: 2px solid #f59e0b;
  outline-offset: 2px;
}

.biz-sidebar-social-link {
  color: inherit;
  text-decoration: none;
}

.biz-sidebar-price-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgb(245 158 11 / 24%);
  background:
    radial-gradient(circle at top right, rgb(245 158 11 / 16%), transparent 46%),
    linear-gradient(145deg, rgb(255 255 255 / 99%), rgb(248 250 252 / 96%));
  box-shadow: 0 14px 38px rgb(15 23 42 / 7%);
}

.biz-sidebar-price-card::after {
  position: absolute;
  inset-block-start: -3rem;
  inset-inline-end: -2.5rem;
  z-index: -1;
  width: 8rem;
  height: 8rem;
  border: 1px solid rgb(245 158 11 / 18%);
  border-radius: 9999px;
  content: "";
}

.biz-price-range-head,
.biz-price-range-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.biz-price-range-kicker {
  margin: 0 0 .2rem;
  color: #b45309;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.biz-price-range-title {
  margin: 0;
}

.biz-price-range-icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 2.65rem;
  height: 2.65rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(245 158 11 / 30%);
  border-radius: .9rem;
  background: rgb(255 247 237 / 88%);
  color: #b45309;
  font-size: 1.15rem;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 75%);
}

.biz-price-range-body {
  align-items: baseline;
  margin-top: .9rem;
}

.biz-price-range-value {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-variant-numeric: tabular-nums;
  font-weight: 850;
  letter-spacing: -.045em;
  line-height: 1;
}

.biz-price-range-basis {
  flex: 0 0 auto;
  border: 1px solid rgb(148 163 184 / 28%);
  border-radius: 9999px;
  background: rgb(255 255 255 / 72%);
  color: #475569;
  font-size: .72rem;
  font-weight: 750;
  line-height: 1;
  padding: .42rem .6rem;
}

.biz-price-range-note {
  margin: .75rem 0 0;
  color: #64748b;
  font-size: .76rem;
  line-height: 1.45;
}

.biz-comments-heading,
.biz-route-location {
  align-items: flex-start;
}

.biz-faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.biz-faq-chevron {
  flex: 0 0 auto;
}

.biz-route-location-icon {
  margin-top: .2rem;
}

.biz-route-address {
  margin: 0;
  font-style: normal;
}

.biz-utility-sidebar .biz-report-card {
  margin-top: 0;
}

@media (prefers-color-scheme: dark) {
  .biz-sidebar-price-card {
    border-color: rgb(245 158 11 / 24%);
    background:
      radial-gradient(circle at top right, rgb(245 158 11 / 13%), transparent 46%),
      linear-gradient(145deg, rgb(15 23 42 / 98%), rgb(30 41 59 / 96%));
    box-shadow: 0 16px 38px rgb(0 0 0 / 18%);
  }

  .biz-price-range-icon {
    background: rgb(120 53 15 / 24%);
    color: #fbbf24;
  }

  .biz-price-range-kicker {
    color: #fbbf24;
  }

  .biz-price-range-value {
    color: #f8fafc;
  }

  .biz-price-range-basis {
    border-color: rgb(148 163 184 / 24%);
    background: rgb(15 23 42 / 48%);
    color: #cbd5e1;
  }

  .biz-price-range-note {
    color: #94a3b8;
  }
}

@media (max-width: 639px) {
  .biz-shell {
    padding: 1rem .75rem 4.5rem;
  }

  .biz-breadcrumbs {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    margin-bottom: .75rem;
    padding-bottom: .125rem;
  }

  .biz-breadcrumbs::-webkit-scrollbar {
    display: none;
  }

  .biz-breadcrumbs li {
    flex: 0 0 auto;
  }

  .biz-hero {
    border-radius: 1.35rem;
    padding: .875rem;
  }

  .biz-hero-layout {
    gap: 1.15rem;
  }

  .biz-hero-eyebrow {
    gap: .45rem;
  }

  .biz-hero-category-pill {
    letter-spacing: .12em;
    padding: .4rem .7rem;
  }

  .biz-hero-location-line {
    font-size: .875rem;
    line-height: 1.25rem;
  }

  .biz-title-row {
    margin-top: .6rem;
  }

  .biz-hero-title {
    font-size: 2rem;
    line-height: 1.05;
  }

  .biz-subtitle-row {
    align-items: flex-start;
    margin-top: .65rem;
  }

  .biz-proof-pill-inline {
    font-size: .78rem;
    padding: .4rem .65rem;
  }

  .biz-hero-text {
    margin-top: .8rem;
    line-height: 1.65rem;
  }

  .biz-hero-cta-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
    margin-top: 1.2rem;
  }

  .biz-hero-cta-row .biz-hero-cta:first-child {
    grid-column: 1 / -1;
  }

  .biz-hero-cta {
    min-height: 2.85rem;
    gap: .5rem;
    padding: .65rem .8rem;
  }

  .biz-hero-amenities {
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 0;
  }

  .biz-hero-amenity-item {
    flex: 0 1 auto;
  }

  .biz-hero-media-card {
    width: 100%;
    max-width: 20rem !important;
  }

  .biz-hero-media-thumbs {
    gap: .375rem;
  }

  .biz-media-thumb-image {
    height: 3.75rem;
  }

  .biz-hero-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .biz-hero-contact-grid .biz-hero-fact-address,
  .biz-hero-contact-grid > div:last-child {
    grid-column: 1 / -1;
  }

  .biz-hero-contact-grid div {
    padding: .6rem .65rem;
  }

  .biz-hero-contact-grid dt {
    letter-spacing: .1em;
  }

  .biz-hero-decision-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row;
    overflow: visible;
    padding-bottom: 0;
  }

  .biz-hero-decision-card {
    width: 100%;
    min-width: 0;
    padding: 1rem;
  }

  .biz-middle-grid {
    gap: 1rem;
    margin-top: 1rem;
  }

  .biz-tabs-card {
    border-radius: 1.2rem;
  }

  .biz-tabs-list {
    padding: .45rem .55rem;
  }

  .biz-tab-button {
    min-height: 2.6rem;
    gap: .4rem;
    padding: .45rem .75rem;
  }

  .biz-tab-panels {
    padding: 1rem;
  }

  .biz-tab-title {
    font-size: 1.3rem;
    line-height: 1.75rem;
  }

  .biz-map-shell {
    min-height: 15rem;
    border-radius: 1.25rem;
  }

  .biz-map-canvas {
    height: 15rem;
  }

  .biz-utility-sidebar {
    gap: .75rem;
  }

  .biz-sidebar-card,
  .biz-report-card {
    border-radius: 1.2rem;
    padding: .85rem;
  }

  .biz-sidebar-title {
    margin-top: 0;
    font-size: 1rem;
    line-height: 1.4rem;
  }

  .biz-payment-compact-list {
    flex-wrap: wrap;
    overflow: visible;
    margin-top: .65rem;
    padding-bottom: 0;
  }

  .biz-payment-compact-item {
    flex: 0 1 auto;
    min-height: 2.1rem;
    padding: .35rem .65rem;
  }

  .biz-price-range-value {
    font-size: 1.75rem;
  }

  .biz-price-range-note {
    max-width: 30rem;
  }

  .biz-report-card-kicker {
    font-size: .78rem;
  }

  .biz-report-card-title {
    margin-top: .45rem;
    font-size: 1.25rem;
    line-height: 1.3;
  }

  .biz-report-card-text {
    margin-top: .5rem;
    line-height: 1.5rem;
  }

  .biz-report-card-action {
    min-height: 2.75rem;
    margin-top: .85rem;
    padding: .6rem 1rem;
  }

  .biz-sidebar-related-list,
  .biz-sidebar-region-links {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row;
    overflow: visible;
    padding-bottom: 0;
  }

  .biz-sidebar-related-link,
  .biz-sidebar-region-link {
    width: 100%;
    min-width: 0;
  }

  .biz-sidebar-link {
    width: 100%;
    margin-top: .75rem;
  }
}


/* Business banner reservation is part of the initial page CSS so the slot has
 * stable geometry before the async campaign stylesheet/fragment loads. */
.biz-banner-slot {
  height: 240px;
  margin-top: 1rem;
  contain: layout paint;
}

@media (min-width: 768px) {
  .biz-banner-slot {
    height: 400px;
  }
}

/* Persian business hero: improve typography and Bidi without truncating
 * the AI summary or changing content elsewhere on the business page.
 */
.biz-hero--fa .biz-hero-title {
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  line-height: 1.35;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.biz-hero--fa .biz-hero-subtitle {
  max-width: 70ch;
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.85;
  font-weight: 600;
}

.biz-hero--fa .biz-hero-text {
  max-width: 75ch;
  font-size: 1rem;
  line-height: 1.95;
  font-weight: 400;
}

@media (max-width: 639px) {
  .biz-hero--fa .biz-hero-title {
    font-size: clamp(1.75rem, 7vw, 2.125rem);
    line-height: 1.45;
  }

  .biz-hero--fa .biz-hero-subtitle {
    font-size: .95rem;
    line-height: 1.8;
  }

  .biz-hero--fa .biz-hero-text {
    font-size: .9375rem;
    line-height: 1.9;
  }
}


/* Scoped service chips: compact inline groups and theme-aware provider tints. */
.biz-hero .biz-hero-service-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: .5rem 1rem;
  margin-top: 1rem;
}
.biz-hero .biz-hero-service-group {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  margin: 0;
}
/* Keep semantic headings available to assistive technology. */
.biz-hero .biz-hero-service-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.biz-hero .biz-hero-service-group .biz-hero-amenities {
  margin: 0;
  padding: 0;
  gap: .375rem;
  flex-wrap: wrap;
  overflow: visible;
}
.biz-hero .biz-hero-service-group .biz-hero-amenity-item {
  min-height: 2rem;
  border-radius: .5rem;
  padding: .25rem .55rem;
  gap: .375rem;
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.25rem;
  overflow-wrap: anywhere;
  box-shadow: none;
}
.biz-hero .biz-hero-service-group .biz-hero-amenity-icon {
  width: 1.125rem;
  height: 1.125rem;
}
.biz-hero .biz-hero-service-group [data-provider] {
  --service-accent: #64748b;
  --service-text-light: #475569;
  --service-text-dark: #cbd5e1;
}
.biz-hero .biz-hero-service-group [data-amenity="order_pickup"],
.biz-hero .biz-hero-service-group [data-amenity="order_delivery"] {
  --service-accent: #3b82f6;
  --service-text-light: #1d4ed8;
  --service-text-dark: #93c5fd;
}
.biz-hero .biz-hero-service-group [data-provider="lieferando"] {
  --service-accent: #ff8000;
  --service-text-light: #9a4100;
  --service-text-dark: #ffb15a;
}
.biz-hero .biz-hero-service-group [data-provider="wolt"] {
  --service-accent: #00c2e8;
  --service-text-light: #08667a;
  --service-text-dark: #67e8f9;
}
.biz-hero .biz-hero-service-group [data-provider="uber_eats"] {
  --service-accent: #06c167;
  --service-text-light: #08733d;
  --service-text-dark: #4ade80;
}
.biz-hero .biz-hero-service-group [data-provider="tripadvisor"] {
  --service-accent: #34e0a1;
  --service-text-light: #086b4b;
  --service-text-dark: #6ee7b7;
}
.biz-hero .biz-hero-service-group [data-provider="doctolib"] {
  --service-accent: #107aca;
  --service-text-light: #075985;
  --service-text-dark: #7dd3fc;
}
.biz-hero .biz-hero-service-group [data-provider="jameda"] {
  --service-accent: #8ad223;
  --service-text-light: #426b10;
  --service-text-dark: #bef264;
}
.biz-hero .biz-hero-service-group [data-provider="speisekarte"] {
  --service-accent: #f59e0b;
  --service-text-light: #92400e;
  --service-text-dark: #fcd34d;
}
.biz-hero .biz-hero-service-group [data-provider="yelp"] {
  --service-accent: #d32323;
  --service-text-light: #991b1b;
  --service-text-dark: #fca5a5;
}
.biz-hero .biz-hero-service-group [data-provider="anwalt_de"] {
  --service-accent: #385171;
  --service-text-light: #334155;
  --service-text-dark: #a5c4e6;
}
.biz-hero .biz-hero-service-group [data-provider="anwalt24"] {
  --service-accent: #e93852;
  --service-text-light: #9f1239;
  --service-text-dark: #fda4af;
}
.biz-hero .biz-hero-service-group [data-provider="justiz_dolmetscher"] {
  --service-accent: #176fc1;
  --service-text-light: #075985;
  --service-text-dark: #93c5fd;
}
.biz-hero .biz-hero-service-group [data-provider="treatwell"] {
  --service-accent: #ff5c39;
  --service-text-light: #9a3412;
  --service-text-dark: #fda68b;
}
.biz-hero .biz-hero-service-group .biz-hero-amenity-item:is(
  [data-provider], [data-amenity="order_pickup"], [data-amenity="order_delivery"]
) {
  background-color: color-mix(in srgb, var(--service-accent) 10%, transparent);
  border-color: color-mix(in srgb, var(--service-accent) 25%, transparent);
  color: var(--service-text-light);
}
.biz-hero .biz-hero-service-group .biz-hero-external-arrow {
  width: .75rem;
  height: .75rem;
  flex: none;
  opacity: .8;
}
.biz-hero .biz-hero-service-group .biz-hero-external-link {
  transition: background-color .15s ease, border-color .15s ease;
}
.biz-hero .biz-hero-service-group .biz-hero-external-link:hover {
  background-color: color-mix(in srgb, var(--service-accent) 18%, transparent);
  border-color: color-mix(in srgb, var(--service-accent) 45%, transparent);
  transform: none;
  box-shadow: none;
}
.biz-hero .biz-hero-service-group .biz-hero-external-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.biz-hero .biz-hero-service-group [data-provider="lieferando"] .biz-hero-amenity-icon {
  object-fit: cover;
  object-position: left center;
}
@media (prefers-color-scheme: dark) {
  .biz-hero .biz-hero-service-group .biz-hero-amenity-item:is(
    [data-provider], [data-amenity="order_pickup"], [data-amenity="order_delivery"]
  ) {
    color: var(--service-text-dark);
  }
  .biz-hero .biz-hero-service-group [data-provider="tripadvisor"] img,
  .biz-hero .biz-hero-service-group [data-provider="speisekarte"] img,
  .biz-hero .biz-hero-service-group [data-provider="yelp"] img {
    filter: invert(1);
  }
}
@media (max-width: 639px) {
  .biz-hero .biz-hero-service-group {
    flex-basis: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .biz-hero .biz-hero-service-group .biz-hero-external-link {
    transition: none;
  }
}
