/* PressUp Eats — venue detail (Wherevi-style) */

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

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

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

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

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

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

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

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

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

.wv-photo-grid-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: #fff;
  color: var(--wv-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;
}

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

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

.wv-place-info h1 {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

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

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

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

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

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

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

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

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

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

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

.wv-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(--wv-text-light);
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: 0.2s ease;
}

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

/* Content sections */
.wv-venue-section {
  margin-bottom: 2.5rem;
  scroll-margin-top: calc(var(--wv-header-h) + 56px);
}

.wv-venue-section h2 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.wv-rating-summary-score {
  font-family: 'DM Serif Display', serif;
  font-size: 2.25rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

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

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

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

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

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

.wv-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(--wv-text-muted);
  margin-bottom: 1rem;
}

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

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

.wv-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(--wv-border-light);
}

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

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

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

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

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

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

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

/* Lightbox */
.wv-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;
}

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

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

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

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

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

.wv-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;
}

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

.wv-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(--wv-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;
}

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

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

/* Venue footer strip */
.wv-venue-footer {
  background: var(--wv-dark);
  color: rgba(255, 255, 255, 0.65);
  padding: 2rem 0;
  font-size: 0.875rem;
  text-align: center;
}

.wv-venue-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1rem;
  margin: 0;
  padding: 0;
}

.wv-venue-footer-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.wv-venue-footer-links a:hover {
  color: #fff;
}

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

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