/* Restaurant subdomain — Placejoys-style */
:root {
  --pjb-cream: #faf8f5;
  --pjb-ink: #1f1f1f;
  --pjb-muted: #5c5c5c;
  --pjb-coral: #c75b45;
  --pjb-radius: 16px;
  --pjb-font-body: "DM Sans", system-ui, sans-serif;
  --pjb-font-display: "Fraunces", Georgia, serif;
}

.pj-restaurant {
  font-family: var(--pjb-font-body);
  background: var(--pjb-cream);
  color: var(--pjb-ink);
}

.pj-restaurant h1,
.pj-restaurant h2,
.pj-restaurant h3,
.pj-brand-hero-title {
  font-family: var(--pjb-font-display);
}

.pj-topnav {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid rgba(31, 31, 31, 0.08);
  backdrop-filter: blur(10px);
}

.pj-topnav .nav-item a:not(.btn) {
  color: var(--pjb-ink) !important;
  font-weight: 500;
  font-size: 0.92rem;
}

.pj-subnav {
  background: #fff;
  border-bottom: 1px solid rgba(31, 31, 31, 0.08);
  position: sticky;
  top: 0;
  z-index: 1020;
}

.pj-subnav .nav-link {
  color: var(--pjb-muted);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.85rem 0.9rem;
  border-radius: 999px;
}

.pj-subnav .nav-link:hover,
.pj-subnav .nav-link:focus {
  color: var(--pjb-coral);
}

.pj-brand-hero {
  position: relative;
  min-height: 420px;
  border-radius: 0 0 24px 24px;
  overflow: hidden;
  background: #2a2420;
}

.pj-brand-hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.pj-brand-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.pj-brand-hero-inner {
  position: relative;
  z-index: 2;
  padding: 2.5rem 1.25rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.pj-brand-hero-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.pj-hero-meta {
  font-size: 0.95rem;
  opacity: 0.95;
}

.pj-hero-meta a {
  color: #fff;
}

.pj-rating-line {
  font-size: 1.05rem;
}

.pj-section {
  padding: 2.5rem 0;
}

.pj-section h2 {
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.pj-prose-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #3a3a3a;
}

.pj-prose-content p {
  margin-bottom: 1rem;
}

.pj-prose-muted {
  color: var(--pjb-muted);
}

.pj-amenity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

.pj-amenity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  font-size: 0.88rem;
  border: 1px solid rgba(31, 31, 31, 0.07);
}

.pj-amenity i {
  color: var(--pjb-coral);
  font-size: 1.1rem;
}

.pj-menu-category h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.25rem 0 0.5rem;
}

.pj-menu-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pj-menu-category li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(31, 31, 31, 0.08);
  font-size: 0.95rem;
}

.pj-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.pj-photo-grid img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
}

.pj-review-card {
  background: #fff;
  border-radius: var(--pjb-radius);
  padding: 1.15rem;
  border: 1px solid rgba(31, 31, 31, 0.07);
  height: 100%;
}

.pj-hours-wrap table {
  width: 100%;
  font-size: 0.95rem;
}
.pj-hours-wrap table td {
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(31, 31, 31, 0.08);
}

.pj-fake-form {
  background: #fff;
  border-radius: var(--pjb-radius);
  padding: 1.25rem;
  border: 1px solid rgba(31, 31, 31, 0.1);
}

.pj-related-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(31, 31, 31, 0.08);
  display: block;
  transition: box-shadow 0.2s;
}
.pj-related-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  color: inherit;
}

.pj-related-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.pj-lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}
.pj-lightbox-modal.show {
  display: flex;
}
.pj-lightbox-inner {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}
.pj-lightbox-inner img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .pj-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pj-subnav .nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }
}

/* Footer on restaurant pages — layouts/restaurant does not load pressupeats-home.css */
.pj-footer-main--restaurant {
  background: #f0ebe3;
  color: var(--pjb-ink);
  padding: 2.5rem 0 0;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(31, 31, 31, 0.08);
}

.pj-footer-main--restaurant .col-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--pjb-muted);
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.pj-footer-main--restaurant .pj-footer-linklist a {
  color: var(--pjb-ink);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.pj-footer-main--restaurant .pj-footer-linklist a:hover {
  color: var(--pjb-coral);
  border-bottom-color: rgba(199, 91, 69, 0.35);
}

.pj-footer-main--restaurant .pj-footer-restaurant-desc {
  color: var(--pjb-muted);
  line-height: 1.65;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.pj-footer-main--restaurant .pj-footer-bottom {
  border-top: 1px solid rgba(31, 31, 31, 0.1);
  margin-top: 2rem;
  padding: 1.25rem 1rem calc(1.75rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
  font-size: 0.875rem;
  color: var(--pjb-muted);
  line-height: 1.6;
  background: rgba(255, 255, 255, 0.45);
}

.pj-footer-main--restaurant .pj-footer-bottom-line {
  line-height: 1.65;
  padding: 0.15rem 0;
}
