/* 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-subnav .nav-link.active {
  background: var(--pjb-coral);
  color: #fff !important;
}

.pj-brand-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #1a1612;
}

@media (max-width: 767.98px) {
  .pj-brand-hero { min-height: 380px; }
}

.pj-brand-hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.72;
  transition: opacity 0.4s ease;
}

.pj-brand-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.35) 55%,
    rgba(0, 0, 0, 0.08) 100%
  );
}

.pj-brand-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 2.25rem 1.75rem 2.75rem;
  max-width: 820px;
  color: #fff;
}

/* Eyebrow label */
.pj-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 0.6rem;
}

/* Title */
.pj-brand-hero-title {
  font-family: var(--pjb-font-display);
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 1.1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.45);
}

/* Meta rows (address / phone / hours) */
.pj-hero-meta-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1.5rem;
}

.pj-hero-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
}

.pj-hero-meta-row i {
  flex-shrink: 0;
  font-size: 0.82rem;
  opacity: 0.75;
}

.pj-hero-meta-link {
  color: rgba(255,255,255,0.9) !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.35);
  transition: border-color 0.2s;
}
.pj-hero-meta-link:hover {
  border-bottom-color: rgba(255,255,255,0.85);
  color: #fff !important;
}

.pj-hero-open-badge {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(52, 211, 153, 0.25);
  border: 1px solid rgba(52, 211, 153, 0.5);
  color: #6ee7b7;
  text-transform: uppercase;
  flex-shrink: 0;
}

/* CTA buttons */
.pj-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pj-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none !important;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer;
  white-space: nowrap;
}
.pj-hero-btn:hover { transform: translateY(-2px); }

.pj-hero-btn--primary {
  background: #fff;
  color: #111 !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.28);
}
.pj-hero-btn--primary:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}

.pj-hero-btn--ghost {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.38);
  color: #fff !important;
  backdrop-filter: blur(8px);
}
.pj-hero-btn--ghost:hover {
  background: rgba(255,255,255,0.25);
}

@media (max-width: 575.98px) {
  .pj-brand-hero-inner { padding: 1.5rem 1.25rem 2rem; }
  .pj-brand-hero-title { margin-bottom: 0.85rem; }
  .pj-hero-actions { gap: 8px; }
  .pj-hero-btn { padding: 9px 18px; font-size: 0.82rem; }
}

/* ── Section heading ── */
.pj-section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--pjb-ink);
}

/* ── Popular picks carousel ── */
.pj-picks-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pjb-muted);
  margin-bottom: 0.65rem;
}

.pj-picks-wrap {
  position: relative;
}

.pj-picks-track {
  display: flex;
  gap: 12px;
  overflow: hidden;
  scroll-behavior: smooth;
}

.pj-pick-card {
  flex: 0 0 calc(25% - 9px);
  min-width: 130px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #111;
  cursor: default;
}

.pj-pick-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  opacity: 0.82;
}

.pj-pick-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 8px 7px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Buttons float over the track */
.pj-picks-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(31,31,31,0.15);
  background: #fff;
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--pjb-ink);
  box-shadow: 0 2px 10px rgba(0,0,0,0.14);
  transition: background 0.15s;
}
.pj-picks-prev { left: -14px; }
.pj-picks-next { right: -14px; }
.pj-picks-nav:hover {
  background: var(--pjb-coral);
  color: #fff;
  border-color: var(--pjb-coral);
}
.pj-picks-nav:disabled,
.pj-picks-nav[data-hidden] { opacity: 0; pointer-events: none; }

@media (max-width: 575.98px) {
  .pj-pick-card { flex: 0 0 calc(50% - 6px); }
  .pj-picks-prev { left: 4px; }
  .pj-picks-next { right: 4px; }
}

/* ── Menu list card ── */
.pj-menu-list-card {
  background: #fff;
  border: 1px solid rgba(31,31,31,0.1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(31,31,31,0.06);
}

.pj-menu-list-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pjb-muted);
  padding: 0.85rem 1rem 0.3rem;
  margin: 0;
}

.pj-menu-list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1rem;
  border-top: 1px solid rgba(31,31,31,0.07);
  gap: 12px;
}

.pj-menu-list-row:first-child { border-top: none; }

.pj-menu-list-name {
  font-size: 0.92rem;
  color: var(--pjb-ink);
  font-weight: 500;
}

.pj-menu-list-price {
  font-size: 0.88rem;
  color: var(--pjb-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.pj-menu-list-more {
  padding: 0.5rem 1rem 0.75rem;
  border-top: 1px solid rgba(31,31,31,0.07);
}
.pj-menu-list-more .btn-link {
  color: var(--pjb-coral);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
}

/* ── View full menu button ── */
.pj-full-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pjb-coral);
  color: #fff !important;
  text-decoration: none !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: background 0.18s, transform 0.18s;
  box-shadow: 0 4px 14px rgba(199,91,69,0.3);
}
.pj-full-menu-btn:hover {
  background: #b34f3c;
  transform: translateY(-1px);
}

/* Menu highlights (shown inline on brand page) */
.pj-menu-highlights-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pjb-coral);
  margin-bottom: 1rem;
}

.pj-menu-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

.pj-menu-highlight-card {
  background: #fff;
  border-radius: var(--pjb-radius, 16px);
  overflow: hidden;
  border: 1px solid rgba(31,31,31,0.08);
  box-shadow: 0 4px 16px rgba(31,31,31,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pj-menu-highlight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(199,91,69,0.15);
}
.pj-menu-highlight-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.pj-menu-highlight-card h3 {
  font-family: var(--pjb-font-body);
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0;
  padding: 0.65rem 0.85rem;
  text-align: center;
  line-height: 1.35;
  color: var(--pjb-ink);
}

/* Legacy compat */
.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;
}
