/* Per-restaurant pages (restaurants/*.html), generated by build-site.py from the
   "Kickin Crab Restaurant" design. Loads after site.css. */
a { color: var(--kc-brick); }
a:hover { color: var(--kc-brick-dark); }

/* ---------- Header band ---------- */
.rs-band { background: var(--kc-teal); padding: 26px 24px 40px; }
.rs-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--kc-cream); text-decoration: underline; text-underline-offset: 4px; }
.rs-back:hover { color: #ffffff; }
.rs-band__row { display: flex; gap: 40px; align-items: flex-end; margin-top: 10px; }
.rs-band__copy { flex: 1 1 auto; min-width: 0; }
.rs-band__lede { margin: 16px 0 0; font-size: 18px; line-height: 1.5; color: var(--kc-mist); max-width: 46ch; }
.rs-open { margin: 14px 0 0; display: inline-flex; align-items: center; gap: 9px; background: #0a323c; border-radius: 999px; padding: 9px 16px; font-size: 15px; font-weight: 700; color: var(--kc-cream); }
.rs-open::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #7fd18e; }
.side-photo {
  position: relative; flex: 0 1 300px; width: 300px; max-width: 100%; min-width: 0; margin: 0;
  background: var(--kc-cream-2); padding: 13px 13px 0; border-radius: 4px; box-shadow: 0 14px 34px rgba(0, 0, 0, .34); transform: rotate(1.2deg);
}
.side-photo__tape { position: absolute; top: -15px; left: 50%; width: 104px; height: 30px; background: rgba(244, 168, 58, .72); box-shadow: 0 2px 5px rgba(0, 0, 0, .26); transform: translateX(-50%) rotate(-2deg); }
.side-photo img { width: 100%; height: 200px; object-fit: cover; display: block; background: var(--kc-teal); }
.side-photo figcaption { font-family: var(--font-marker); font-size: 17px; color: var(--kc-ink-4); text-align: center; padding: 11px 6px 16px; }
@media (max-width: 820px) { .rs-band__row { flex-wrap: wrap; } }

/* ---------- Visit cards ---------- */
.rs-visit { background: var(--kc-cream); padding: 44px 24px 8px; }
.rs-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: 18px; }
.rs-card__h3 { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--kc-rust); }
.rs-addr { margin: 12px 0 0; font-style: normal; font-size: 18px; line-height: 1.5; color: var(--kc-ink); }
.rs-addr__1 { display: block; font-weight: 700; }
.rs-addr__2 { display: block; }
.rs-addr__cross { display: block; margin-top: 6px; font-size: 15.5px; color: var(--kc-ink-3); }
.rs-dir { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; min-height: 44px; padding: 0 20px; border: 2px solid var(--kc-teal); border-radius: 999px; color: var(--kc-teal); font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
.rs-dir:hover { background: var(--kc-teal-3); color: var(--kc-teal); }
.rs-hours { margin: 12px 0 0; display: flex; flex-direction: column; gap: 2px; }
.rs-hours__row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 9px 12px; border-radius: 10px; }
.rs-hours__row dt { margin: 0; font-size: 16px; font-weight: 800; color: var(--kc-ink); }
.rs-hours__row dd { margin: 0; font-size: 16px; font-weight: 600; color: var(--kc-ink-2); }
.rs-hours__row.is-today { background: var(--kc-teal); }
.rs-hours__row.is-today dt { color: var(--kc-amber); }
.rs-hours__row.is-today dd { color: #ffffff; font-weight: 800; }
.rs-card__note { margin: 14px 0 0; font-size: 15px; color: var(--kc-ink-3); }
.rs-card__note--tight { margin-top: 10px; }
.rs-phone { margin: 12px 0 0; }
.rs-phone + .rs-phone { margin-top: 0; }
.rs-phone a { display: inline-flex; align-items: center; min-height: 44px; font-size: 22px; font-weight: 800; color: var(--kc-teal); }

/* Order band */
.rs-order { margin-top: 18px; background: var(--kc-teal); border-radius: 22px; padding: 28px 26px 26px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.rs-order__h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.1; color: var(--kc-amber); }
.rs-order__p { margin: 8px auto 0; font-size: 16px; color: var(--kc-mist); max-width: 52ch; }
.rs-order__p a { color: #ffffff; font-weight: 700; }
.rs-order__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; width: 100%; }
.rs-order__opt {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  flex: 1 1 200px; min-width: min(200px, 100%); max-width: 260px; padding: 20px 18px 18px;
  background: var(--kc-cream-2); border: 2px solid var(--kc-line); border-radius: 18px;
  color: var(--kc-ink); text-decoration: none;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.rs-order__opt:hover, .rs-order__opt:focus-visible { transform: translateY(-2px); border-color: var(--kc-amber); box-shadow: 0 10px 24px rgba(0,0,0,.18); color: var(--kc-ink); }
.rs-order__ico { color: var(--kc-brick); margin-bottom: 4px; }
.rs-order__opt-h { font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.1; color: var(--kc-brick); }
.rs-order__opt-p { font-size: 14px; line-height: 1.4; color: var(--kc-ink-3); }
@media (max-width: 520px) { .rs-order__opt { max-width: none; } }

/* ---------- Map, photos, CTA ---------- */
.rs-section { background: var(--kc-cream); padding: 40px 24px 8px; }
.rs-h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 3.6vw, 34px); line-height: 1.05; color: var(--kc-brick); }
.rs-map { margin-top: 18px; border: 3px solid var(--kc-teal); border-radius: 22px; overflow: hidden; box-shadow: 0 18px 40px rgba(15, 68, 80, .22); background: #dfe8e6; }
.rs-map iframe { display: block; width: 100%; height: min(50vh, 400px); border: 0; }
.rs-note { margin: 14px 0 0; font-size: 15px; color: var(--kc-ink-3); }
.rs-note--italic { font-style: italic; }
.rs-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; margin-top: 20px; }
.rs-photos img { width: 100%; height: 230px; object-fit: cover; display: block; border-radius: 18px; background: #e0d3c2; }
.rs-cta { max-width: 1080px; margin: 0 auto; background: var(--kc-sand); border-radius: 22px; padding: 26px 28px; display: flex; flex-wrap: wrap; gap: 18px 30px; align-items: center; justify-content: space-between; }
.rs-cta h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.1; color: var(--kc-teal); }
.rs-cta p { margin: 8px 0 0; font-size: 16px; color: var(--kc-ink-2); }
.rs-legal { max-width: 1080px; margin: 26px auto 0; font-size: 15px; font-style: italic; color: var(--kc-ink-3); }

/* ---------- Phone-only sticky action bar (Call / Directions / Order) ----------
   Hidden above 760px so the desktop layout is untouched. Sits above the iOS home indicator. */
.rs-sticky { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  .rs-sticky {
    display: grid; grid-template-columns: 1fr 1.15fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    background: var(--kc-cream-2); border-top: 2px solid var(--kc-line); box-shadow: 0 -8px 24px rgba(15, 68, 80, .18);
  }
  .rs-sticky__btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; padding: 0 10px;
    border-radius: 999px; border: 2px solid var(--kc-teal); background: var(--kc-cream-2); color: var(--kc-teal);
    font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  }
  .rs-sticky__btn svg { flex: none; width: 18px; height: 18px; }
  .rs-sticky__btn--order { background: var(--kc-brick); border-color: var(--kc-brick); color: #fff; }
  .rs-sticky__btn:focus-visible { outline: 3px solid var(--kc-amber); outline-offset: 2px; }
  /* the footer's find-a-location button would otherwise hide under the bar */
  .kc-footer { padding-bottom: 40px; }
}

/* ---------- Tablet / large-phone fixes (≤820px). The shared site.css rule stacks the polaroid above the
   text, but this file's .side-photo width won over it, leaving a 300px photo hugging the left edge. ---------- */
@media (max-width: 820px) {
  .side-photo { flex: 1 1 100%; width: 100%; max-width: 440px; margin: 0 auto 10px; }
}
/* Between 646px and 953px the visit cards fall into two columns with the third alone on the left;
   let that third card span the full width so the block stays centered. */
@media (min-width: 646px) and (max-width: 953px) {
  .rs-cards > :nth-child(3) { grid-column: 1 / -1; }
}

/* ---------- About + FAQ ---------- */
.rs-about { padding-bottom: 8px; }
.rs-about__copy { max-width: 72ch; margin-top: 16px; font-size: 17px; line-height: 1.6; color: var(--kc-ink); }
.rs-about__copy p { margin: 0 0 14px; }
.rs-h2--faq { margin-top: 30px; }
.rs-faq { margin-top: 14px; max-width: 72ch; border-top: 2px solid var(--kc-line); }
.rs-faq__item { border-bottom: 2px solid var(--kc-line); }
.rs-faq__item summary { cursor: pointer; padding: 14px 40px 14px 0; font-weight: 800; font-size: 17px; line-height: 1.35; color: var(--kc-teal); list-style: none; position: relative; }
.rs-faq__item summary::-webkit-details-marker { display: none; }
.rs-faq__item summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 3px solid var(--kc-brick); border-bottom: 3px solid var(--kc-brick); transform: translateY(-70%) rotate(45deg); transition: transform .18s ease; }
.rs-faq__item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.rs-faq__item summary:focus-visible { outline: 3px solid var(--kc-amber); outline-offset: 2px; border-radius: 6px; }
.rs-faq__item p { margin: 0 0 16px; font-size: 16px; line-height: 1.55; color: var(--kc-ink-2); }
.rs-faq__item a { font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .rs-faq__item summary::after { transition: none; } }
