.venue-page-body {
  margin: 0;
  min-height: 100vh;
  background: #F8FAFC;
  color: #0F172A;
  font-family: var(--font-farsi);
}

.venue-page-header {
  background: rgba(248, 250, 252, 0.9) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.venue-header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  direction: rtl;
}

.venue-header-back,
.venue-header-actions .fresha-auth-btn {
  color: #0F172A;
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
}

.venue-header-back:hover,
.venue-header-actions .fresha-auth-btn:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.venue-detail-shell {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 1.5rem 0 5rem;
}

.venue-loading-card,
.venue-error-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  background: #FFFFFF;
  color: #64748B;
  font-weight: 800;
  text-align: center;
  padding: 2rem;
}

.venue-loading-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid #E2E8F0;
  border-top-color: #4F46E5;
  animation: venueSpin 0.8s linear infinite;
}

@keyframes venueSpin {
  to { transform: rotate(360deg); }
}

.venue-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #64748B;
  font-size: 0.825rem;
  margin-bottom: 1rem;
}

.venue-breadcrumbs a {
  color: #334155;
  font-weight: 800;
  text-decoration: none;
}

.venue-hero-image-wrap {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 28px;
  background: #E2E8F0;
}

.venue-hero-image-wrap picture {
  display: block;
  width: 100%;
  height: 100%;
}

.venue-hero-image {
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 560px;
  object-fit: cover;
  display: block;
}

.venue-hero-chip {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  padding: 0.55rem 0.9rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.88);
  color: #FFFFFF;
  backdrop-filter: blur(10px);
  font-size: 0.8rem;
  font-weight: 900;
}

.venue-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 2rem;
  align-items: start;
  margin-top: 2rem;
}

.venue-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.7rem;
}

.venue-title {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.25;
  font-weight: 950;
  letter-spacing: -0.035em;
}

.venue-new-badge,
.venue-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  padding: 0.45rem 0.7rem;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  font-size: 0.8rem;
  font-weight: 900;
}

.venue-rating-badge {
  color: #92400E;
  background: #FFFBEB;
  border-color: #FDE68A;
}

.venue-meta-line {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #64748B;
  line-height: 1.8;
}

.venue-section {
  padding: 2rem 0;
  border-bottom: 1px solid #E2E8F0;
}

.venue-section:last-child {
  border-bottom: 0;
}

.venue-section-heading {
  margin: 0 0 1.1rem;
  font-size: 1.25rem;
  font-weight: 950;
}

.venue-services-list {
  display: grid;
  gap: 0.8rem;
}

.venue-service-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  background: #FFFFFF;
}

.venue-service-name {
  display: block;
  font-size: 0.975rem;
  font-weight: 900;
  margin-bottom: 0.3rem;
}

.venue-service-meta,
.venue-service-description {
  color: #64748B;
  font-size: 0.8rem;
  line-height: 1.7;
}

.venue-service-price {
  display: block;
  white-space: nowrap;
  font-weight: 950;
  margin-bottom: 0.5rem;
}

.venue-service-book {
  display: inline-flex;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  border-radius: 9999px;
  background: #0F172A;
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 900;
  text-decoration: none;
}

.venue-service-book--disabled {
  cursor: default;
  opacity: 0.58;
  pointer-events: none;
}

.venue-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
}

.venue-team-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  background: #FFFFFF;
}

.venue-team-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #EEF2FF;
  color: #4F46E5;
  font-size: 1.05rem;
  font-weight: 950;
}

.venue-team-name {
  display: block;
  font-weight: 900;
}

.venue-team-role {
  color: #64748B;
  font-size: 0.78rem;
}

.venue-empty-state {
  padding: 1.1rem;
  border: 1px dashed #CBD5E1;
  border-radius: 16px;
  color: #64748B;
  background: #FFFFFF;
  font-size: 0.85rem;
  line-height: 1.8;
}

.venue-location-map {
  overflow: hidden;
  border: 1px solid #DCE3EC;
  border-radius: 22px;
  background: #FFFFFF;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.venue-map-preview {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 190px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 1.2rem 1.3rem;
  border: 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(79, 70, 229, 0.11), transparent 28%),
    linear-gradient(145deg, #F8FAFC 0%, #F1F5F9 55%, #EEF2FF 100%);
  color: #0F172A;
  text-align: right;
  cursor: pointer;
  font-family: var(--font-farsi);
  transform-style: preserve-3d;
  transition: transform 180ms ease, background 240ms ease;
}

.venue-map-preview:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.3);
  outline-offset: -4px;
}

.venue-map-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(248, 250, 252, 0.96), transparent 68%);
}

.venue-map-streets {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}

.venue-map-road {
  fill: none;
  stroke: rgba(100, 116, 139, 0.17);
  stroke-width: 7;
}

.venue-map-road-main {
  stroke: rgba(100, 116, 139, 0.24);
  stroke-width: 11;
}

.venue-map-road-fine {
  stroke: rgba(100, 116, 139, 0.11);
  stroke-width: 3;
}

.venue-map-topline,
.venue-map-status,
.venue-map-copy,
.venue-map-actions,
.venue-map-open {
  display: flex;
  align-items: center;
}

.venue-map-topline {
  justify-content: space-between;
  gap: 1rem;
}

.venue-map-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(79, 70, 229, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: #4F46E5;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.1);
  backdrop-filter: blur(8px);
}

.venue-map-status {
  gap: 0.4rem;
  padding: 0.38rem 0.65rem;
  border: 1px solid rgba(203, 213, 225, 0.85);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.72);
  color: #475569;
  font-size: 0.7rem;
  font-weight: 850;
  backdrop-filter: blur(8px);
}

.venue-map-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.13);
}

.venue-map-pin {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -54%);
  filter: drop-shadow(0 8px 12px rgba(79, 70, 229, 0.26));
}

.venue-map-pin path {
  fill: #4F46E5;
}

.venue-map-pin circle {
  fill: #FFFFFF;
}

.venue-map-copy {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.28rem;
}

.venue-map-copy strong {
  max-width: min(80%, 560px);
  font-size: 0.92rem;
  line-height: 1.7;
  font-weight: 900;
}

.venue-map-copy small {
  color: #64748B;
  font-size: 0.72rem;
  font-weight: 700;
}

.venue-map-panel {
  padding: 0.8rem;
  border-top: 1px solid #E2E8F0;
  animation: venueMapReveal 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes venueMapReveal {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.venue-map-frame-wrap {
  overflow: hidden;
  height: 340px;
  border-radius: 15px;
  background: #E2E8F0;
}

.venue-map-frame {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.venue-map-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.8rem 0.25rem 0.15rem;
}

.venue-map-app-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.venue-map-open {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  border-radius: 9999px;
  background: #0F172A;
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 850;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.venue-map-open:hover {
  background: #1E293B;
  transform: translateY(-1px);
}

.venue-map-open.venue-map-neshan {
  background: #0084FF;
}

.venue-map-open.venue-map-neshan:hover {
  background: #0066CC;
}

.venue-map-open.venue-map-balad {
  background: #10B981;
}

.venue-map-open.venue-map-balad:hover {
  background: #059669;
}

.venue-map-open.venue-map-waze {
  background: #33CCFF;
  color: #0F172A;
}

.venue-map-close {
  min-height: 40px;
  padding: 0.5rem 1rem;
  border: 1px solid #CBD5E1;
  border-radius: 9999px;
  background: #FFFFFF;
  color: #334155;
  font-family: var(--font-farsi);
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
  transition: background 0.15s ease;
}

.venue-map-close:hover {
  background: #F8FAFC;
}

.venue-location-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(170px, 0.5fr);
  gap: 0.8rem;
  margin-top: 0.8rem;
}

/* ODbL attribution: legally required, visually de-emphasized to fine-print level */
.venue-data-attribution {
  margin: 0.6rem 0 0;
  color: #b6bdcf;
  font-size: 0.66rem;
  line-height: 1.5;
  opacity: 0.75;
}

.venue-data-attribution a {
  color: #9aa3b8;
  font-weight: 400;
  text-decoration: none;
}

.venue-data-attribution a:hover {
  color: #6b7590;
  text-decoration: underline;
}

.venue-location-contact > div {
  min-height: 78px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
  padding: 0.85rem 1rem;
  border: 1px solid #E2E8F0;
  border-radius: 15px;
  background: #FFFFFF;
  color: #475569;
  font-size: 0.82rem;
  line-height: 1.7;
}

.venue-location-contact strong {
  color: #0F172A;
  font-size: 0.78rem;
  font-weight: 900;
}

.venue-booking-card {
  position: sticky;
  top: 104px;
  padding: 1.35rem;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
}

.venue-booking-eyebrow {
  color: #64748B;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.venue-booking-price {
  font-size: 1.3rem;
  font-weight: 950;
  margin-bottom: 1rem;
}

.venue-primary-book {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #0F172A;
  color: #FFFFFF;
  font-weight: 900;
  text-decoration: none;
}

.venue-booking-note {
  margin: 0.8rem 0 0;
  color: #64748B;
  font-size: 0.75rem;
  line-height: 1.75;
  text-align: center;
}

.venue-contact-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid #E2E8F0;
}

.venue-contact-item {
  color: #475569;
  font-size: 0.8rem;
  line-height: 1.7;
}

.venue-mobile-book {
  display: none;
}

@media (max-width: 820px) {
  .venue-detail-shell {
    width: min(100% - 2rem, 680px);
    padding-top: 0.75rem;
  }

  .venue-header-back {
    display: none;
  }

  .venue-main-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 1.35rem;
  }

  .venue-hero-image-wrap,
  .venue-hero-image {
    min-height: 280px;
  }

  .venue-hero-image-wrap {
    border-radius: 20px;
  }

  .venue-booking-card {
    display: none;
  }

  .venue-mobile-book {
    position: fixed;
    z-index: 1100;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 1rem calc(0.8rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #E2E8F0;
    backdrop-filter: blur(12px);
  }

  .venue-mobile-book .venue-primary-book {
    width: auto;
    min-width: 150px;
    padding-inline: 1.25rem;
  }
}

@media (max-width: 520px) {
  .venue-page-header {
    padding-inline: 1rem !important;
  }

  .venue-detail-shell {
    width: calc(100% - 1.5rem);
  }

  .venue-title-row {
    align-items: center;
  }

  .venue-title {
    font-size: 1.65rem;
  }

  .venue-service-card {
    grid-template-columns: 1fr;
  }

  .venue-map-preview {
    min-height: 175px;
    padding: 1rem;
  }

  .venue-map-copy strong {
    max-width: 100%;
    font-size: 0.84rem;
  }

  .venue-map-frame-wrap {
    height: 290px;
  }

  .venue-map-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .venue-map-open,
  .venue-map-close {
    width: 100%;
  }

  .venue-location-contact {
    grid-template-columns: 1fr;
  }

  .venue-service-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }
}

/* Automated Internal Linking Mesh */
.venue-related-mesh {
  margin-top: 2.5rem;
  padding: 1.75rem 1.5rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
}

.venue-related-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.venue-related-header h3 {
  font-size: 1.05rem;
  font-weight: 900;
  color: #0F172A;
  margin: 0;
}

.venue-related-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.825rem;
  font-weight: 800;
  color: #4F46E5;
  text-decoration: none;
  transition: color 0.15s ease;
}

.venue-related-more:hover {
  color: #3730A3;
  text-decoration: underline;
}

.venue-related-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.venue-seo-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
  transition: all 0.15s ease;
}

.venue-seo-tag:hover {
  background: #EEF2FF;
  border-color: #C7D2FE;
  color: #4F46E5;
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .venue-map-preview,
  .venue-map-panel {
    transition: none;
    animation: none;
  }
}

/* Directory-to-SaaS contact and ownership funnel */
.venue-directory-intro p {
  max-width: 680px;
  margin: 0 0 1rem;
  color: #64748B;
  line-height: 1.9;
}

.venue-directory-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.venue-directory-action,
.venue-claim-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border: 1px solid #CBD5E1;
  border-radius: 13px;
  background: #FFFFFF;
  color: #0F172A;
  font: inherit;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.venue-directory-action:hover,
.venue-directory-action:focus-visible,
.venue-claim-button:hover,
.venue-claim-button:focus-visible {
  border-color: #818CF8;
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.14);
}

.venue-directory-action.is-primary {
  border-color: #0F172A;
  background: #0F172A;
  color: #FFFFFF;
}

.venue-directory-action:disabled {
  cursor: wait;
  opacity: 0.65;
}

.venue-claim-button {
  width: 100%;
  margin-top: 0.85rem;
  border-style: dashed;
  background: #EEF2FF;
  color: #4338CA;
}

.venue-directory-unavailable {
  grid-column: 1 / -1;
  padding: 0.85rem;
  border-radius: 12px;
  background: #F8FAFC;
  color: #64748B;
  text-align: center;
}

.venue-directory-card .venue-directory-actions {
  grid-template-columns: 1fr;
  margin: 1rem 0;
}

.venue-claim-open {
  overflow: hidden;
}

.venue-claim-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.venue-claim-modal[hidden] {
  display: none;
}

.venue-claim-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(5px);
}

.venue-claim-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: 1.6rem;
  border-radius: 24px;
  background: #FFFFFF;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
}

.venue-claim-dialog h2 {
  margin: 0.3rem 0 0.5rem;
  color: #0F172A;
  font-size: 1.35rem;
}

.venue-claim-dialog > p {
  margin: 0 0 1rem;
  color: #64748B;
  line-height: 1.85;
}

.venue-claim-close {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #F1F5F9;
  color: #334155;
  font-size: 1.45rem;
  cursor: pointer;
}

.venue-claim-dialog form,
.venue-claim-dialog label {
  display: grid;
  gap: 0.45rem;
}

.venue-claim-dialog form {
  gap: 0.85rem;
}

.venue-claim-dialog label {
  color: #334155;
  font-size: 0.87rem;
  font-weight: 800;
}

.venue-claim-dialog input:not([type="checkbox"]) {
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  background: #F8FAFC;
  color: #0F172A;
  font: inherit;
}

.venue-claim-otp-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 0.65rem;
}

.venue-claim-otp-row button {
  min-height: 48px;
  padding: 0 1rem;
  border: 1px solid #C7D2FE;
  border-radius: 12px;
  background: #EEF2FF;
  color: #4338CA;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.venue-claim-terms {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.venue-claim-status {
  min-height: 1.4rem;
  margin: 0;
  color: #047857;
  font-size: 0.84rem;
  line-height: 1.7;
}

.venue-claim-status.is-error {
  color: #B91C1C;
}

@media (max-width: 640px) {
  .venue-directory-actions,
  .venue-claim-otp-row {
    grid-template-columns: 1fr;
  }

  .venue-claim-dialog {
    padding: 1.3rem 1rem;
    border-radius: 20px;
  }
}
