/* The EZ Shots Social pages, /social, /social/book and /social/plan (since 2026-11-10; /business until 2026-11-23).
   Loaded after styles.css by those two pages only, so nothing here can move a
   real estate page. */

/* Two or three package cards, centred, one column on a phone. */
.rest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 350px)); gap: 26px; justify-content: center; align-items: stretch; }
.rest-grid .pkg { padding: 32px 26px; }
.rest-grid .pkg[hidden] { display: none !important; }
@media (max-width: 640px) { .rest-grid { grid-template-columns: minmax(0, 440px); } }

/* The ways to buy inside a card: three short rows, the price on the right. */
.rest-buy { list-style: none; padding: 0; margin: -8px 0 22px; border: 1.5px dashed var(--line-2); border-radius: var(--radius-sm); }
.rest-buy li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.rest-buy li::before { content: none; }
.rest-buy li:last-child { border-bottom: none; }
.rest-buy li b { color: var(--accent); white-space: nowrap; }
.rest-buy li small { display: block; color: var(--muted); font-size: 13px; }
.rest-buy li[hidden] { display: none !important; }

/* The gift: two items side by side, one column on a phone. */
.rest-gift { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 20px; justify-content: center; margin-top: 8px; }
.rest-gift .vcard h3 .ico { margin-right: 8px; }
@media (max-width: 720px) { .rest-gift { grid-template-columns: 1fr; } }

.rest-hero-price { color: var(--accent); white-space: nowrap; }
.rest-bonuses { margin: 10px auto 0; max-width: 520px; color: var(--muted); font-size: 14.5px; }

/* The real estate top bar never shows here. The server takes it out of the
   HTML (restaurantChrome() in server.js); this covers a page drawn without it. */
.announce { display: none !important; }

/* EZ Outreach's chat runs here since 2026-11-10: its AI knows the restaurant
   offer and never quotes a real estate one to a restaurant. The old GHL widget,
   which a server without EZ_CHAT_URL still loads, only knows real estate, so it
   stays hidden on these pages. */
chat-widget { display: none !important; }

/* ---------- The booking form, /social/book ---------- */
.rest-form .book-q { margin-top: 34px; }
.rest-form .book-q:first-child { margin-top: 0; }
.rest-picks { display: grid; gap: 12px; margin-top: 12px; }
.rest-pick { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 16px 18px 16px 48px;
  border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: var(--card); cursor: pointer; }
.rest-pick input { position: absolute; left: 18px; top: 19px; width: 18px; height: 18px; accent-color: var(--brand); }
.rest-pick b { font-size: 17px; }
.rest-pick em { font-style: normal; font-weight: 800; color: var(--accent); text-align: right; }
.rest-pick span { grid-column: 1 / -1; color: var(--muted); font-size: 14.5px; }
.rest-pick .rest-terms { grid-column: 1 / -1; display: none; margin-top: 6px; font-size: 13.5px; color: var(--ink); }
.rest-pick.on { border-color: var(--brand); box-shadow: var(--ring); }
.rest-pick.on .rest-terms { display: block; }
.rest-addr-btn { margin-top: 10px; }
.rest-day { margin: 16px 0 8px; }
.rest-summary .rest-lines { width: 100%; border-collapse: collapse; font-size: 15px; }
.rest-lines td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.rest-lines td:last-child { text-align: right; white-space: nowrap; padding-left: 12px; }
.rest-lines tr.minus td:last-child { color: var(--accent); }
.rest-lines tr.total td { font-weight: 800; border-bottom: none; padding-top: 12px; }
.rest-lines tr.today td { color: var(--muted); border-bottom: none; padding-top: 0; }
.rest-renew, .rest-gift-line { margin: 12px 0 0; font-size: 14.5px; }
.rest-book-btn { width: 100%; margin-top: 18px; }
.rest-form .form-error { margin: 14px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid #d92d20; color: var(--ink); font-weight: 600; }
.rest-form .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.rest-done h2 { margin-bottom: 8px; }
.rest-app { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--tint, rgba(37,99,235,.08)); }
.rest-app p { margin: 0 0 8px; }
.rest-app p:last-child { margin-bottom: 0; }
.rest-form .field { margin-top: 14px; }
.rest-form .row2 .field { margin-top: 14px; }

/* ---------- The plan page, /social/plan ---------- */
.rest-plan-due { border: 2px solid var(--brand); margin-bottom: 18px; }
#plan-box .vcard { margin-bottom: 18px; }
.rest-shoots { list-style: none; padding: 0; margin: 0; }
.rest-shoots li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.rest-shoots li:last-child { border-bottom: none; }
.rest-shoots a { color: var(--accent); font-weight: 700; margin-left: 6px; }
.rest-plan-note { margin-bottom: 18px; }
#plan-rows { width: 100%; table-layout: fixed; }
#plan-rows td:first-child { width: 38%; color: var(--muted); }
#plan-rows td:last-child { white-space: normal; font-weight: 700; }

/* /social looks like the home page (since 2026-11-11): a navy hero, with a real EZ Shots photo behind it below. */
.hero.hero-biz { background: linear-gradient(120deg, #060d19 0%, #0a1729 55%, #13294a 100%); }
@media (max-width: 720px) { .hero.hero-biz { background-image: linear-gradient(120deg, #060d19 0%, #0a1729 55%, #13294a 100%); } }
.hero-points li[hidden], .hero-trust > [hidden], .offer-item[hidden] { display: none !important; }

/* EZ Shots Social for real estate (since 2026-11-23): a real EZ Shots listing photo behind the hero (the cafe and the
   pictures with prices drawn in are gone), the content kinds, and a row of real EZ Shots photos. */
.hero.hero-biz.hero-social {
  background:
    linear-gradient(100deg, rgba(6,13,25,.95) 0%, rgba(10,23,41,.88) 45%, rgba(10,23,41,.5) 100%),
    url("../img/work/brick-colonial-exterior-front-hero.webp") center/cover no-repeat;
}
@media (max-width: 720px) {
  .hero.hero-biz.hero-social {
    background:
      linear-gradient(100deg, rgba(6,13,25,.95) 0%, rgba(10,23,41,.92) 60%, rgba(10,23,41,.78) 100%),
      url("../img/work/brick-colonial-exterior-front-hero.webp") center/cover no-repeat;
  }
}
.hero-social h1 em { font-style: normal; color: #93c5fd; }
.hero-social .hero-sub b { color: #fff; white-space: nowrap; }
.social-kinds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.social-kinds .vcard { padding: 20px 18px; }
.social-kinds .vcard h3 { font-size: 16.5px; margin: 8px 0 4px; }
.social-kinds .vcard p { font-size: 14.5px; margin: 0; }
@media (max-width: 960px) { .social-kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .social-kinds { grid-template-columns: 1fr; } }
.social-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.social-shots img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-sm); }
@media (max-width: 640px) { .social-shots { grid-template-columns: 1fr 1fr; } .social-shots img:last-child { display: none; } }
.social-split img.social-side { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.rest-grid .pkg .badge[hidden] { display: none !important; }
.rest-month-pick { margin-top: 8px; width: 100%; max-width: 260px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: var(--card); color: var(--ink); }

/* The Social booking page's content kinds (since 2026-11-23): tick boxes, two to a row, one on a phone. */
.rest-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.rest-checks label { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: var(--card); cursor: pointer; font-size: 15px; }
.rest-checks input { width: 18px; height: 18px; accent-color: var(--brand); flex: 0 0 auto; }
.rest-checks label:has(input:checked) { border-color: var(--brand); box-shadow: var(--ring); }
.rest-checks[hidden] { display: none !important; }
@media (max-width: 520px) { .rest-checks { grid-template-columns: 1fr; } }
.rest-other { margin-top: 4px; justify-self: start; background: none; border: 0; padding: 4px 0; color: var(--accent); font-weight: 700; cursor: pointer; font-size: 14.5px; }
.rest-form select { width: 100%; }
