/* NearbyTables — venue detail (NearbyTables-style) */

body.nt-venue-page .nt-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: var(--nt-shadow-sm);
}

body.nt-venue-page .nt-header .nt-logo .logo-dark { display: block !important; }
body.nt-venue-page .nt-header .nt-logo .logo-light { display: none !important; }
body.nt-venue-page .nt-header .nt-nav > li > a { color: var(--nt-text); }
body.nt-venue-page .nt-header .nt-nav-toggle { color: var(--nt-dark); }

.nt-venue-main {
  background: var(--nt-bg);
}

/* Photo mosaic */
.nt-place-mosaic {
  padding-top: var(--nt-header-h);
}

.nt-photo-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  height: 420px;
  position: relative;
  background: var(--nt-bg-warm);
}

.nt-photo-grid > div { overflow: hidden; }

.nt-photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.nt-photo-grid img:hover { transform: scale(1.03); }

.nt-photo-grid-main { grid-row: 1 / -1; }

.nt-photo-grid-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: #fff;
  color: var(--nt-dark);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 2;
  border: none;
}

.nt-photo-grid-btn:hover {
  background: var(--nt-dark);
  color: #fff;
}

/* Place info header */
.nt-place-info {
  background: #fff;
  border-bottom: 1px solid var(--nt-border-light);
  padding: 1.25rem 0;
}

.nt-place-info h1 {
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.55rem, 3vw, 1.9rem);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--nt-dark);
}

.nt-breadcrumb-sm {
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
  color: var(--nt-text-muted);
}

.nt-breadcrumb-sm a {
  color: var(--nt-text-muted);
  text-decoration: none;
}

.nt-breadcrumb-sm a:hover { color: var(--nt-primary); }
.nt-breadcrumb-sm .sep { margin: 0 0.35rem; color: var(--nt-border); }

.nt-place-info-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  margin-bottom: 0.875rem;
}

.nt-place-info-rating {
  color: var(--nt-star);
  font-size: 0.9375rem;
}

.nt-place-info-rating strong { color: var(--nt-dark); }

.nt-place-info-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Tab nav */
.nt-tab-nav {
  background: #fff;
  border-bottom: 1px solid var(--nt-border);
  position: sticky;
  top: var(--nt-header-h);
  z-index: 1030;
}

.nt-tab-nav-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.nt-tab-nav-inner::-webkit-scrollbar { display: none; }

.nt-tab-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--nt-text-light);
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: 0.2s ease;
}

.nt-tab-nav-link:hover,
.nt-tab-nav-link.active {
  color: var(--nt-primary);
  border-bottom-color: var(--nt-primary);
}

/* Content sections */
.nt-venue-section {
  margin-bottom: 3rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid var(--nt-border-light);
  scroll-margin-top: calc(var(--nt-header-h) + 56px);
}

.nt-venue-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.nt-venue-section h2,
.nt-venue-heading {
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 0 1.15rem;
  letter-spacing: -0.01em;
  color: var(--nt-dark);
}

.nt-venue-section p,
.nt-venue-section li {
  color: var(--nt-text);
  line-height: 1.75;
  font-size: 0.975rem;
}

.nt-venue-section .pj-prose-content > :last-child {
  margin-bottom: 0;
}

.nt-venue-section .pj-prose-content p {
  margin: 0 0 1rem;
}

.nt-amenity-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nt-amenity-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: var(--nt-radius-pill);
  font-size: 0.8125rem;
  background: var(--nt-bg-alt);
  color: var(--nt-text);
  border: 1px solid var(--nt-border-light);
}

.nt-amenity-pill i { color: var(--nt-accent); }

/* Photo gallery grid */
.nt-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

.nt-gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--nt-radius);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.nt-gallery-grid img:hover { transform: scale(1.02); }

/* Menu */
.nt-menu-category {
  margin-bottom: 1.75rem;
}

.nt-menu-category h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--nt-primary);
  margin-bottom: 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--nt-primary-light);
}

.nt-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nt-menu-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--nt-border-light);
  font-size: 0.9375rem;
}

.nt-menu-list li span:last-child {
  color: var(--nt-text-light);
  font-weight: 600;
  white-space: nowrap;
}

/* Reviews */
.nt-review-card {
  background: #fff;
  border: 1px solid var(--nt-border-light);
  border-radius: var(--nt-radius-lg);
  padding: 1.25rem;
  height: 100%;
}

.nt-review-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.nt-review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--nt-primary-light);
  color: var(--nt-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.nt-review-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--nt-dark);
}

.nt-review-date {
  font-size: 0.75rem;
  color: var(--nt-text-muted);
}

.nt-review-text {
  font-size: 0.9375rem;
  color: var(--nt-text);
  line-height: 1.65;
  margin: 0;
}

.nt-review-text.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: var(--nt-review-clamp, 4);
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nt-review-more {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--nt-primary);
  padding: 0;
  border: none;
  background: none;
}

.nt-review-form {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--nt-border-light);
  border-radius: var(--nt-radius-lg);
}

.nt-review-form-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--nt-dark);
  margin-bottom: 1.25rem;
}

.nt-review-form-title i {
  color: var(--nt-primary);
  font-size: 1.25rem;
}

.nt-review-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.nt-review-form-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--nt-text);
  min-width: 5.5rem;
}

.nt-review-form-stars {
  display: inline-flex;
  gap: 0.15rem;
}

.nt-review-form-stars button {
  border: none;
  background: none;
  padding: 0;
  line-height: 1;
  color: #f59e0b;
  font-size: 1.35rem;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.nt-review-form-stars button:hover {
  transform: scale(1.08);
}

.nt-review-form-stars button .bi-star-fill {
  display: none;
}

.nt-review-form-stars button.is-active .bi-star {
  display: none;
}

.nt-review-form-stars button.is-active .bi-star-fill {
  display: inline;
}

.nt-review-form .form-control {
  border-radius: 10px;
  border-color: var(--nt-border-light);
  padding: 0.7rem 0.9rem;
  font-size: 0.9375rem;
}

.nt-review-form .form-control:focus {
  border-color: var(--nt-primary);
  box-shadow: 0 0 0 0.2rem rgba(211, 84, 0, 0.12);
}

.nt-review-form-submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.85rem 1.25rem;
  border: none;
  border-radius: 10px;
  background: var(--nt-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s ease;
}

.nt-review-form-submit:hover {
  background: var(--nt-primary-hover);
}

.nt-review-form-thanks {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.9375rem;
  color: #198754;
}

.nt-rating-summary {
  background: var(--nt-bg-warm);
  border: 1px solid var(--nt-border-light);
  border-radius: var(--nt-radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.nt-rating-summary-stars {
  color: #f59e0b;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.nt-rating-summary-score {
  font-family: "DM Sans", serif;
  font-size: 2.25rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.nt-rating-summary-meta {
  font-size: 0.875rem;
  color: var(--nt-text-muted);
}

.nt-google-cta {
  background: var(--nt-accent-light);
  border: 1px solid rgba(26, 122, 92, 0.2);
  border-radius: var(--nt-radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nt-google-cta p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--nt-text-light);
  max-width: 480px;
}

/* Sidebar */
.nt-venue-sidebar {
  position: sticky;
  top: calc(var(--nt-header-h) + 56px);
}

.nt-sidebar-card {
  background: #fff;
  border: 1px solid var(--nt-border-light);
  border-radius: var(--nt-radius-lg);
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: var(--nt-shadow-sm);
}

.nt-sidebar-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--nt-text-muted);
  margin-bottom: 1rem;
}

.nt-sidebar-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  font-size: 0.9375rem;
}

.nt-sidebar-row i {
  color: var(--nt-primary);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.nt-sidebar-row:last-child { margin-bottom: 0; }

.content-hours table {
  width: 100%;
  font-size: 0.875rem;
}

.content-hours td {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--nt-border-light);
}

/* Related venues */
.nt-related-section {
  background: var(--nt-bg-alt);
  padding: 3rem 0;
  border-top: 1px solid var(--nt-border-light);
}

.nt-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nt-related-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  background: #fff;
  border: 1px solid var(--nt-border-light);
  border-radius: var(--nt-radius-lg);
  text-decoration: none;
  color: inherit;
  transition: var(--nt-transition);
}

.nt-related-card:hover {
  box-shadow: var(--nt-shadow-md);
  transform: translateY(-2px);
  color: inherit;
}

.nt-related-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--nt-dark);
  display: block;
}

.nt-related-addr {
  font-size: 0.8125rem;
  color: var(--nt-text-muted);
}

.nt-related-arrow {
  color: var(--nt-primary);
}

/* Lightbox */
.nt-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem 4rem;
}

.nt-lightbox.show { display: flex; }

.nt-lightbox-content {
  max-width: min(95vw, 1100px);
  text-align: center;
}

.nt-lightbox img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: var(--nt-radius);
  object-fit: contain;
}

.nt-lightbox-caption {
  color: #fff;
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.875rem;
}

.nt-lightbox-counter {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8125rem;
  margin-top: 0.35rem;
}

.nt-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease;
}

.nt-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.nt-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--nt-dark);
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: background 0.2s ease, transform 0.2s ease;
}

.nt-lightbox-nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}

.nt-lightbox-prev { left: 1rem; }
.nt-lightbox-next { right: 1rem; }

/* Venue footer */
.nt-venue-footer {
  background: #0b1220;
  color: rgba(255, 255, 255, 0.62);
  padding: 2.75rem 0 1.5rem;
  font-size: 0.875rem;
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.nt-venue-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.65fr);
  gap: 2rem 2.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nt-venue-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}

.nt-venue-footer-logo--compact {
  margin: 0.85rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  gap: 0.4rem;
}

.nt-venue-footer-logo--compact img {
  width: 22px;
  height: 22px;
  opacity: 0.9;
}

.nt-venue-footer-logo img {
  width: 28px;
  height: 28px;
  background: transparent;
}

.nt-venue-footer-place {
  font-family: var(--nt-sans, "DM Sans", system-ui, sans-serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
  line-height: 1.25;
}

.nt-venue-footer-brand p,
.nt-venue-footer-desc {
  margin: 0 0 0.65rem;
  max-width: 28rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.875rem;
}

.nt-venue-footer-addr {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.45;
}

.nt-venue-footer-mail {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.875rem;
}

.nt-venue-footer-mail:hover {
  color: #fff;
}

.nt-venue-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.nt-venue-footer-cols h3 {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.nt-venue-footer-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.nt-venue-footer-cols a {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
}

.nt-venue-footer-cols a:hover {
  color: #fff;
}

.nt-venue-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  padding-top: 1.15rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.42);
}

@media (max-width: 767.98px) {
  .nt-venue-footer {
    padding: 2.25rem 0 1.25rem;
  }
  .nt-venue-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .nt-venue-footer-cols {
    grid-template-columns: 1fr 1fr;
  }
  .nt-venue-footer-cols > div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767.98px) {
  .nt-lightbox { padding: 1rem 3.25rem; }
  .nt-lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
  }
  .nt-lightbox-prev { left: 0.5rem; }
  .nt-lightbox-next { right: 0.5rem; }
  .nt-photo-grid { height: 260px; }
  .nt-place-info-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.375rem;
  }
  .nt-venue-sidebar { position: static; }
}

@media (max-width: 575.98px) {
  .nt-photo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    height: 220px;
  }
  .nt-photo-grid-side { display: none; }
}

/* Single photo: full-bleed, no empty side column */
.nt-photo-grid-single {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  height: 360px;
}
.nt-photo-grid-single .nt-photo-grid-main {
  grid-row: auto;
}

.nt-open-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
}
.nt-open-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.nt-open-dot.is-open { color: #059669; }
.nt-open-dot.is-closed { color: #dc2626; }

@media (max-width: 767.98px) {
  .nt-photo-grid-single { height: 220px; }
}

/* Editorial hero — honest when listing has no photos */
.nt-place-info-editorial {
  position: relative;
  padding: calc(var(--nt-header-h) + 2.25rem) 0 2rem;
  border-bottom: none;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(211, 84, 0, 0.14), transparent 55%),
    radial-gradient(700px 380px at 92% 18%, rgba(26, 122, 92, 0.1), transparent 50%),
    linear-gradient(180deg, #f4f1ec 0%, #fafaf9 55%, #ffffff 100%);
}
.nt-place-info-editorial::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(28, 25, 23, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 25, 23, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 88%);
  pointer-events: none;
}
.nt-place-info-editorial .nt-container {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.nt-venue-hero-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: #fff;
  color: var(--nt-primary);
  font-size: 1.25rem;
  box-shadow: var(--nt-shadow-sm);
  border: 1px solid rgba(28, 25, 23, 0.06);
}
.nt-place-info-editorial h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem) !important;
  letter-spacing: -0.03em;
  max-width: 18ch;
}
.nt-venue-tagline {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--nt-text-light);
  margin: 0 0 1rem;
  max-width: 36rem;
}
.nt-venue-city-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(28, 25, 23, 0.06);
  color: var(--nt-dark);
  font-size: 0.8125rem;
  font-weight: 600;
}
.nt-photos-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.25rem 1.35rem;
  border: 1px dashed var(--nt-border);
  border-radius: 12px;
  background: var(--nt-bg-alt);
}
.nt-photos-empty i {
  font-size: 1.35rem;
  color: var(--nt-text-muted);
}
.nt-photos-empty p {
  margin: 0;
  color: var(--nt-text-light);
  font-size: 0.95rem;
  max-width: 34rem;
}

@media (max-width: 767.98px) {
  .nt-place-info-editorial {
    padding: calc(var(--nt-header-h) + 1.35rem) 0 1.5rem;
  }
  .nt-place-info-editorial h1 {
    max-width: none;
  }
}
