/* The funeral and memorial quote page (inc/funeral.php, assets/funeral.js).

   It sits in .pb-q, the instant quote tool's own column, and takes that
   tool's rules from assets/quotes.css (.opt, .notice, .quotebox, .bar ...).
   This file holds only what that page needs beyond them, and EVERY RULE
   STARTS WITH .pb-fq or the page's own body class. No color and no font is
   named here: all of them come from inc/look.php, like the rest of the site. */

/* The two kinds of service: side by side where there is room. */
.pb-fq .svc { grid-template-columns: 1fr 1fr; align-items: stretch }
.pb-fq .svc .optwrap { display: grid }
.pb-fq .svcopt { align-items: flex-start; height: 100% }
.pb-fq .svcopt .nm { align-items: flex-start }
.pb-fq .svcopt .tick { margin-top: 2px }
.pb-fq .svcopt b { font-size: 1.1rem }
.pb-fq .svcopt .cap { margin-top: 4px; font-size: .9rem; line-height: 1.45 }
.pb-fq .svcopt .pr { text-align: right; font-weight: 700; color: var(--pb-head); font-variant-numeric: tabular-nums lining-nums; line-height: 1.3 }
@media (max-width: 640px) { .pb-fq .svc { grid-template-columns: 1fr } }

/* The form's long answer box, to match the tool's other boxes. */
.pb-fq textarea {
	font: inherit; font-size: 1.1rem; padding: 12px 14px; margin: 0; width: 100%; resize: vertical;
	border: 1.5px solid var(--q-edge); border-radius: var(--q-r); background: var(--pb-paper); color: var(--pb-head);
}
.pb-fq textarea:focus { outline: 3px solid var(--pb-accent); outline-offset: 1px; border-color: var(--pb-head) }
.pb-fq input[type=date] { min-height: 52px }
.pb-fq .field small a { color: var(--pb-head) }

/* What happens next, and the dishes on the receipt. */
.pb-fq .next { margin: 8px 0 0; padding-left: 22px; display: grid; gap: 7px }
.pb-fq .picked { margin: 0; padding-left: 18px; display: grid; gap: 5px; font-size: .97rem }
.pb-fq .quotebox p { line-height: 1.55 }
.pb-fq .notice a[href^="tel:"], .pb-fq .hint a[href^="tel:"] { white-space: nowrap }

/* The buttons on this page jump to the order form; leave room for the site's header. */
.pb-fq #fq-order, .pb-fq #fq-price { scroll-margin-top: 6.5rem }

/* Room under the page for the price pinned to the bottom of the window. */
body.pb-funeral-quote .pb-foot { padding-bottom: 150px }
body.pb-funeral-done .pb-foot { padding-bottom: 0 }

@media print {
	body.pb-funeral-quote .pb-top, body.pb-funeral-quote .pb-subnav, body.pb-funeral-quote .pb-foot { display: none }
}
