/* Full restaurant detail */
#detail-modal {
  inset: 76px 0 0;
  display: block;
  padding: 0;
  overflow-y: auto;
  background: #fbfaf6;
  z-index: 20;
}
#detail-modal .modal-backdrop { display: none; }
#detail-modal .detail-card {
  width: 100%;
  max-height: none;
  min-height: 100%;
  margin: 0;
  padding: 0;
  overflow: visible;
  border-radius: 0;
  background: #fbfaf6;
  box-shadow: none;
}
#detail-content {
  max-width: none;
  margin: 0;
}
.detail-close {
  position: fixed !important;
  z-index: 12 !important;
  top: 92px !important;
  right: 24px !important;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line) !important;
  border-radius: 50%;
  background: white !important;
  box-shadow: 0 8px 25px #1833231c;
  font-size: 23px !important;
}
.restaurant-page {
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
  padding: 34px 0 70px;
}
.restaurant-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 12px;
}
.restaurant-breadcrumb button {
  padding: 0;
  border: 0;
  color: inherit;
  background: none;
}
.restaurant-breadcrumb strong { color: var(--deep); }
.restaurant-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  gap: 38px;
  align-items: start;
}
.restaurant-hero-gallery {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}
.restaurant-hero-main {
  overflow: hidden;
  width: 100%;
  height: 420px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: #e9ece3;
}
.restaurant-hero-main img,
.restaurant-hero-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.restaurant-hero-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
}
.restaurant-hero-thumbs button {
  overflow: hidden;
  height: 78px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #e9ece3;
}
.restaurant-photo-count {
  position: absolute;
  right: 14px;
  top: 375px;
  padding: 7px 11px;
  border-radius: 999px;
  color: white;
  background: #173324d9;
  font-size: 11px;
  font-weight: 800;
}
.restaurant-hero-empty {
  display: grid;
  min-height: 420px;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: 18px;
  color: var(--muted);
  background: #f0f1e9;
}
.restaurant-summary { padding: 7px 0; }
.verified-line span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  color: #496341;
  background: #edf2e5;
  font-size: 11px;
  font-weight: 800;
}
.summary-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0 12px;
}
.summary-title-row h1 {
  margin: 0;
  font: 600 clamp(42px, 4vw, 65px)/.95 Georgia, serif;
  letter-spacing: -.04em;
}
.summary-title-row .entity-badge b { display: none; }
.summary-title-row .entity-badge {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.summary-title-row .entity-badge img { width: 54px; height: 54px; }
.summary-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
}
.summary-rating strong { color: #d98b22; font-size: 22px; }
.summary-rating span { color: var(--muted); font-size: 12px; }
.summary-rating i { width: 1px; height: 34px; background: var(--line); }
.summary-rating b { font-size: 13px; }
.restaurant-contact {
  display: grid;
  gap: 14px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}
.restaurant-contact li { display: flex; gap: 10px; }
.summary-actions { display: flex; justify-content: flex-end; gap: 10px; }
.restaurant-tabs {
  position: sticky;
  z-index: 8;
  top: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 34px 0 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.restaurant-tabs a {
  padding: 18px;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}
.restaurant-tabs a:hover { background: #f1f4eb; }
.restaurant-detail-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.restaurant-detail-column { display: grid; align-content: start; gap: 18px; }
.detail-panel {
  padding: 24px;
  border: 1px solid #e0e2d8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 7px 26px #18332308;
}
.detail-panel h2 {
  margin: 0 0 8px;
  font: 600 23px Georgia, serif;
}
.detail-panel > p { color: var(--muted); font-size: 12px; line-height: 1.5; }
.offer-list { display: grid; gap: 17px; margin-top: 22px; }
.offer-list > div { display: flex; gap: 12px; }
.offer-list i {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #4f743e;
  background: #edf3e5;
  font-style: normal;
}
.offer-list span { display: grid; gap: 3px; }
.offer-list small { color: var(--muted); }
.practical-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 20px 0;
  font-size: 12px;
}
#restaurant-detail-map {
  height: 280px;
  margin-top: 22px;
  overflow: hidden;
  border-radius: 14px;
  background: #e7ecdf;
}
.confidence-panel {
  background: linear-gradient(135deg, #fbfcf4, #edf2df);
}
.confidence-panel > div { display: flex; align-items: center; gap: 16px; margin: 20px 0; }
.confidence-panel > div > span {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 2px solid #75985f;
  border-radius: 50%;
  color: #52753f;
  font-size: 34px;
}
.confidence-panel strong { color: #547c3e; font: 600 28px Georgia, serif; }
.confidence-panel strong small { display: block; color: var(--deep); font: 700 14px Inter, sans-serif; }
.community-panel > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
.community-panel span { padding: 13px; border-radius: 12px; background: #f5f6ef; font-size: 11px; }
.community-panel span b { display: block; margin-bottom: 4px; font-size: 17px; }
.community-panel a { display: block; text-align: right; font-size: 12px; font-weight: 800; }
.hours-panel > div { display: flex; justify-content: space-between; padding: 8px 0; font-size: 12px; }
.hours-panel > div + div { border-top: 1px solid #eef0e9; }
.customer-photos { margin-top: 18px; }
.customer-photos > div:first-child { display: flex; justify-content: space-between; align-items: end; }
.customer-photos > div:first-child span { color: var(--muted); font-size: 12px; }
.customer-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.customer-photo-grid button {
  position: relative;
  overflow: hidden;
  height: 190px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: #eef0e8;
}
.customer-photo-grid img { width: 100%; height: 100%; object-fit: cover; }
.customer-photo-grid small {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  color: white;
  background: #183323cc;
}
.restaurant-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 18px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(110deg, #fff, #f2f5e8);
}
.restaurant-cta > div { padding: 0 30px; }
.restaurant-cta > div + div { border-left: 1px solid var(--line); }
.restaurant-cta h2 { margin: 0; font: 600 21px Georgia, serif; }
.restaurant-cta p { color: var(--muted); font-size: 12px; }
.restaurant-cta a, .restaurant-cta button { display: inline-block; width: auto; }
.restaurant-page .restaurant-reviews-section { background: #fff; }
.restaurant-page > .restaurant-report { display: block; margin: 18px auto 0; }
@media (max-width: 980px) {
  .restaurant-page { width: min(100% - 32px, 760px); }
  .restaurant-overview,
  .restaurant-detail-columns { grid-template-columns: 1fr; }
  .restaurant-hero-main { height: 360px; }
  .restaurant-photo-count { top: 315px; }
}
@media (max-width: 620px) {
  .restaurant-page { width: min(100% - 24px, 520px); padding-top: 22px; }
  .restaurant-breadcrumb { padding-right: 45px; overflow-x: auto; white-space: nowrap; }
  .restaurant-hero-main { height: 270px; }
  .restaurant-photo-count { top: 225px; }
  .restaurant-hero-thumbs { display: flex; overflow-x: auto; }
  .restaurant-hero-thumbs button { flex: 0 0 105px; }
  .summary-title-row h1 { font-size: 42px; }
  .restaurant-tabs { grid-template-columns: repeat(2, 1fr); }
  .practical-grid,
  .community-panel > div,
  .customer-photo-grid,
  .restaurant-cta { grid-template-columns: 1fr 1fr; }
  .customer-photo-grid button { height: 145px; }
  .restaurant-cta { grid-template-columns: 1fr; }
  .restaurant-cta > div { padding: 14px 0; }
  .restaurant-cta > div + div { border-top: 1px solid var(--line); border-left: 0; }
  .detail-close { top: 86px !important; right: 12px !important; }
}

