/* Business pages and their edit form (2026). Shared by all templates. */
.bizpage, .bizedit {
	--bp-accent: #1f3a8a;
	--bp-accent2: #f7811e;
	--bp-line: #e2e6ec;
	--bp-soft: #f6f8fb;
	--bp-text: #23272f;
	--bp-muted: #5f6b7a;
	color: var(--bp-text);
	font-size: 15px;
	line-height: 1.6;
	box-sizing: border-box;
}
.bizpage *, .bizedit * { box-sizing: border-box; }
.bizpage a, .bizedit a { color: var(--bp-accent); border-bottom: 0; text-decoration: underline; text-underline-offset: 2px; }
.bizpage h1, .bizpage h2, .bizpage h3 { line-height: 1.25; color: var(--bp-text); }

.bp-preview { background: #fff8e1; border: 1px solid #f0d78c; border-radius: 6px; padding: 10px 14px; margin-bottom: 16px; }
.bp-hero { display: flex; gap: 18px; align-items: center; margin: 4px 0 14px; }
.bp-logo { width: 96px; height: 96px; object-fit: contain; border: 1px solid var(--bp-line); border-radius: 12px; background: #fff; padding: 6px; flex: none; }
.bp-title h1 { font-size: 30px; margin: 0 0 4px; }
.bp-tagline { font-size: 17px; color: var(--bp-muted); margin: 0 0 4px; }
.bp-meta { margin: 0; font-size: 14px; color: var(--bp-muted); }

.bp-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.bizpage .bp-btn { display: inline-block; padding: 9px 16px; border: 1px solid var(--bp-line); border-radius: 999px; background: #fff; color: var(--bp-text); font: inherit; font-size: 14px; font-weight: bold; text-decoration: none; cursor: pointer; }
.bizpage .bp-btn:hover { border-color: var(--bp-accent); }
.bizpage .bp-primary { background: var(--bp-accent2); border-color: var(--bp-accent2); color: #fff; }

.bp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.bp-card { background: #fff; border: 1px solid var(--bp-line); border-radius: 10px; padding: 16px 18px; margin-bottom: 18px; }
.bizpage .bp-h { font-size: 18px; margin: 0 0 10px; }
.bp-summary { font-size: 17px; margin: 0 0 18px; }
.bp-about h2 { font-size: 20px; margin: 22px 0 8px; }
.bp-about h3 { font-size: 17px; margin: 18px 0 6px; }
.bp-about p, .bp-about ul, .bp-about ol { margin: 0 0 12px; }
.bp-about ul, .bp-about ol, .bp-faq ul, .bp-faq ol { padding-left: 22px; }

.bp-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.bp-photos figure { margin: 0; }
.bp-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; display: block; }
.bp-photos figcaption { font-size: 13px; color: var(--bp-muted); margin-top: 4px; }
.bp-video { position: relative; aspect-ratio: 16 / 9; }
.bp-video iframe, .bp-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 8px; }
.bp-map { position: relative; aspect-ratio: 4 / 3; margin: 10px 0 6px; background: var(--bp-soft); border-radius: 8px; }
.bp-maplinks { font-size: 13px; margin: 0; }

.bp-services { list-style: none; margin: 0; padding: 0; }
.bp-services li { padding: 10px 0; border-top: 1px solid var(--bp-line); }
.bp-services li:first-child { border-top: 0; padding-top: 0; }
.bp-sv-head { display: flex; justify-content: space-between; gap: 12px; }
.bp-price { white-space: nowrap; font-weight: bold; color: var(--bp-accent); }
.bp-sv-text { color: var(--bp-muted); font-size: 14px; }
.bp-faq { border-top: 1px solid var(--bp-line); padding: 8px 0; }
.bp-faq:first-of-type { border-top: 0; }
.bp-faq summary { cursor: pointer; font-weight: bold; }
.bp-faq p { margin: 8px 0 0; }

.bp-side p { margin: 0 0 8px; }
.bp-address { line-height: 1.5; }
.bp-hours { width: 100%; border-collapse: collapse; font-size: 14px; }
.bp-hours td { padding: 3px 0; }
.bp-hours td + td { text-align: right; }
.bp-today td { font-weight: bold; color: var(--bp-accent); }
.bp-note { font-size: 13px; color: var(--bp-muted); margin-top: 8px; }
.bp-links { list-style: none; margin: 0; padding: 0; }
.bp-links li { margin: 0 0 6px; }
.bp-foot { font-size: 13px; color: var(--bp-muted); border-top: 1px solid var(--bp-line); padding-top: 10px; }

@media (max-width: 760px) {
	.bp-grid { grid-template-columns: 1fr; }
	.bp-title h1 { font-size: 24px; }
	.bp-logo { width: 72px; height: 72px; }
}

/* ---- edit form ---- */
.bizedit h1 { font-size: 26px; margin: 0 0 6px; }
.be-status { border-radius: 8px; padding: 12px 14px; margin: 0 0 16px; border: 1px solid var(--bp-line); background: var(--bp-soft); }
.be-status.be-ok { background: #e8f5e9; border-color: #a5d6a7; }
.be-status.be-warn { background: #fff8e1; border-color: #f0d78c; }
.be-status.be-bad { background: #fdecea; border-color: #f5b5ae; }
.be-status ul { margin: 6px 0 0 18px; padding: 0; }
.bizedit fieldset { border: 1px solid var(--bp-line); border-radius: 10px; padding: 14px 16px 6px; margin: 0 0 18px; background: #fff; }
.bizedit legend { font-weight: bold; font-size: 16px; padding: 0 6px; }
.be-row { margin: 0 0 12px; }
.be-row > label, .be-label { display: block; font-weight: bold; font-size: 14px; margin-bottom: 4px; }
.be-help { font-size: 13px; color: var(--bp-muted); margin: 2px 0 0; }
.bizedit input[type=text], .bizedit input[type=url], .bizedit input[type=email], .bizedit input[type=tel], .bizedit input[type=number], .bizedit input[type=time], .bizedit select, .bizedit textarea {
	width: 100%; max-width: 100%; padding: 8px 10px; border: 1px solid #c9d1db; border-radius: 6px; font: inherit; font-size: 14px; background: #fff; color: var(--bp-text);
}
.bizedit textarea { min-height: 90px; resize: vertical; }
.bizedit textarea.be-about { min-height: 360px; font-family: inherit; }
.be-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 14px; }
.be-hours { width: auto; border-collapse: collapse; }
.be-hours td { padding: 4px 12px 4px 0; vertical-align: middle; font-size: 14px; }
.be-hours input[type=time] { width: 120px; }
.be-repeat { border-top: 1px dashed var(--bp-line); padding-top: 10px; margin-top: 4px; }
.be-repeat.be-hidden { display: none; }
.be-more { margin: 0 0 12px; }
.be-checks label { display: inline-block; margin: 0 14px 6px 0; font-weight: normal; }
.be-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 12px; }
.be-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; display: block; margin-bottom: 4px; }
.be-logo { width: 96px; height: 96px; object-fit: contain; border: 1px solid var(--bp-line); border-radius: 10px; padding: 4px; background: #fff; }
.be-count { font-size: 13px; font-weight: bold; }
.be-count.be-low { color: #b3261e; }
.be-buttons { position: sticky; bottom: 0; background: rgba(255,255,255,.96); border-top: 1px solid var(--bp-line); padding: 12px 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; z-index: 2; }
.bizedit .be-btn { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--bp-accent); background: #fff; color: var(--bp-accent); font: inherit; font-weight: bold; cursor: pointer; }
.bizedit .be-btn.be-main { background: var(--bp-accent2); border-color: var(--bp-accent2); color: #fff; }
.be-format { font-size: 13px; background: var(--bp-soft); border-radius: 6px; padding: 8px 10px; margin-top: 6px; }
.be-format code { background: #fff; border: 1px solid var(--bp-line); border-radius: 4px; padding: 0 4px; }
