/* BookieFinder 1.3.7 — editorial visual polish and mobile-first refinement. */
.bf-container { max-width: 1240px; }
.bf-single-shop { padding-top: 22px; }
.bf-breadcrumbs { font-size: 12px; letter-spacing: .01em; margin-bottom: 22px; }
.bf-shop-head { padding: 6px 0 24px; margin-bottom: 0; }
.bf-shop-head h1 { max-width: 900px; font-size: clamp(32px, 4.8vw, 52px); letter-spacing: -.035em; line-height: .98; }
.bf-shop-head-meta { gap: 8px 16px; margin-top: 2px; }
.bf-shop-head-meta .bf-finder-status { display:inline-flex; align-items:center; min-height:28px; padding: 4px 9px; border-radius: 999px; background: rgba(31,122,77,.08); letter-spacing:.035em; }
.bf-shop-head-meta .bf-finder-status--closed { background: rgba(179,38,30,.08); }
.bf-shop-grid { gap: 0 56px; }
.bf-shop-section { padding: 34px 0; }
.bf-shop-section-title { font-size: 25px; letter-spacing: -.02em; margin-bottom: 20px; }
.bf-hours-table { max-width: 560px; }
.bf-hours-table th, .bf-hours-table td { padding: 11px 0; }
.bf-hours-table tbody tr:last-child th, .bf-hours-table tbody tr:last-child td { border-bottom: 0; }
.bf-hours-table tr.is-today { background: linear-gradient(90deg, rgba(18,72,56,.06), transparent); }
.bf-hours-table tr.is-today th { padding-left: 10px; border-radius: 4px 0 0 4px; }
.bf-hours-table tr.is-today td { padding-right: 10px; border-radius: 0 4px 4px 0; }
.bf-info-list { gap: 22px 40px; }
.bf-info-list dd { font-size: 16px; }
.bf-shop-photo { border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(29,28,25,.08); }
.bf-shop-actions { gap: 10px; margin-top: 8px; }
.bf-shop-actions .bf-btn { min-height: 46px; padding-left: 16px; padding-right: 16px; }
.bf-single-map { border: 1px solid var(--bf-border); border-radius: 10px; overflow: hidden; background: var(--bf-white); box-shadow: 0 8px 26px rgba(29,28,25,.06); }
.bf-live-map { display:block; width:100%; height:340px; border:0; }
.bf-map-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:9px 12px; border-top:1px solid var(--bf-border-light); color:var(--bf-muted); font-size:11px; }
.bf-map-footer a { color:var(--bf-brand); font-weight:700; }
.bf-verification-section { margin-top: 2px; }
.bf-verification-section .bf-info-list--verify { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); max-width:700px; padding:18px 20px; margin:0; border:1px solid rgba(31,122,77,.20); border-radius:8px; background:rgba(31,122,77,.045); }
.bf-verification-section .bf-info-list--verify > div { gap:4px; }
.bf-verification-section .bf-info-list--verify dd { font-weight:600; }
.bf-nearby-shops { padding-top: 34px; }
.bf-nearby-list { border-top: 0; }
.bf-nearby-list li { padding:15px 0; }
.bf-nearby-list li:first-child { border-top:1px solid var(--bf-border); }
.bf-nearby-list a strong { font-size:15px; }

/* Finder: make the map/list relationship feel intentional rather than utilitarian. */
.bf-finder-layout { gap:24px; }
.bf-finder-map { border-radius:10px; box-shadow:0 8px 26px rgba(29,28,25,.06); }
.bf-finder-list-summary { font-size:20px; border-bottom:0; padding-bottom:12px; }
.bf-finder-row { padding:15px 8px; }
.bf-finder-row:hover { background:rgba(18,72,56,.035); }
.bf-finder-page-form input { border-radius:7px; min-height:48px; }
.bf-finder-page-form .bf-btn, .bf-finder-page-form .bf-finder-locate { min-height:48px; border-radius:7px; }
.bf-finder-filters { border-radius:8px; box-shadow:0 4px 18px rgba(29,28,25,.04); }

/* Cards and content pages get a more editorial rhythm without changing their content. */
.bf-card, .bf-widget-card { border-radius:8px; }
.bf-section-head { margin-bottom:18px; }

@media (max-width: 760px) {
  .bf-container { padding-left:16px; padding-right:16px; }
  .bf-single-shop { padding-top:14px; padding-bottom:38px; }
  .bf-breadcrumbs { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-bottom:18px; }
  .bf-shop-head { padding-bottom:20px; }
  .bf-shop-head h1 { font-size:clamp(31px, 10vw, 42px); line-height:1.02; }
  .bf-shop-head-meta { font-size:13px; gap:8px 10px; }
  .bf-shop-grid { display:block; }
  .bf-shop-col-secondary { margin-top:0; }
  .bf-shop-section { padding:25px 0; }
  .bf-shop-section-title { font-size:22px; margin-bottom:15px; }
  .bf-hours-table { font-size:14px; }
  .bf-hours-table th, .bf-hours-table td { padding:10px 0; }
  .bf-info-list { gap:17px 20px; }
  .bf-info-list dd { font-size:15px; }
  .bf-live-map { height:250px; }
  .bf-finder-live-map { height:250px; }
  .bf-map-footer { font-size:10px; padding:8px 10px; }
  .bf-shop-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
  .bf-shop-actions .bf-btn { width:100%; justify-content:center; min-height:48px; }
  .bf-shop-actions .bf-save-shop { grid-column:1 / -1; order:-1; }
  .bf-verification-section .bf-info-list--verify { grid-template-columns:1fr; padding:15px 16px; gap:14px; }
  .bf-nearby-list li { grid-template-columns:minmax(0,1fr) auto; }
  .bf-finder-layout { gap:16px; }
  .bf-finder-map { order:-1; }
}

@media (max-width: 420px) {
  .bf-shop-head-meta .bf-finder-status { min-height:26px; }
  .bf-live-map { height:220px; }
  .bf-finder-live-map { height:220px; }
  .bf-map-footer span { max-width:70%; }
}

.bf-bm-map-link { margin-left:8px; font-size:11px; color:var(--bf-brand); font-weight:700; }

/* ==========================================================================
   v1.3.12 — mobile UX pass
   (quick actions, sticky call bar, shorter map, nearby carousel, finder chips,
   footer accordions, readable labels)
   ========================================================================== */

/* ---- Readability: labels were 11px / low contrast ---- */
.bf-info-list dt, .bf-hours-table thead th, .bf-detail-list strong { font-size: 12px; }
.bf-hours-unknown { color: var(--bf-muted); }
.bf-finder-status--unknown, .bf-shop-head-meta .bf-finder-status--unknown { color: var(--bf-muted); }
.bf-map-footer { font-size: 11px; }
.bf-info-sublink { font-size: 14px; }

/* ---- Map: shorter everywhere; the old 320px min-height on the box is gone ---- */
.bf-shop-section .bf-single-map { min-height: 0; }
.bf-map-frame { position: relative; }
.bf-live-map { height: 280px; }
.bf-map-tap { display: none; }

/* ---- Quick card + sticky bar exist on phones only ---- */
.bf-shop-quick, .bf-sticky-actions { display: none; }
.bf-sticky-actions[hidden] { display: none !important; }

/* ---- Copy buttons, info block ---- */
.bf-copy { margin-left: 8px; padding: 2px 9px; min-height: 28px; border: 1px solid var(--bf-border); border-radius: 999px; background: var(--bf-white); color: var(--bf-brand); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; vertical-align: baseline; }
.bf-copy.is-copied { background: var(--bf-brand); border-color: var(--bf-brand); color: #fff; }
.bf-info-list dd .bf-info-sublink { display: inline-block; margin-top: 2px; }

/* ---- Report form: collapsible ---- */
.bf-report-details > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; }
.bf-report-details > summary::-webkit-details-marker { display: none; }
.bf-report-title { font-family: var(--bf-font-display); font-size: 22px; font-weight: 700; line-height: 1.2; }
.bf-report-cta { display: none; font-size: 13px; font-weight: 700; color: var(--bf-brand); white-space: nowrap; }
.bf-report-details[open] > summary { margin-bottom: 10px; }

/* ---- Nearby shops: status + distance ---- */
.bf-nearby-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.bf-nearby-meta .bf-finder-status { font-size: 11px; }

/* ---- Finder: quick chips (all sizes), view switch (phones) ---- */
.bf-finder-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.bf-chip { flex: 0 0 auto; min-height: 40px; padding: 0 16px; border: 1px solid var(--bf-border); border-radius: 999px; background: var(--bf-white); color: var(--bf-ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.bf-chip.is-active { background: var(--bf-brand); border-color: var(--bf-brand); color: #fff; }
.bf-finder-view { display: none; }
.bf-finder-call { display: none; }
.bf-finder-call svg { width: 18px; height: 18px; }

/* ---- Footer toggle looks like a plain heading on larger screens ---- */
.bf-footer-toggle { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; text-align: left; cursor: default; }
.bf-footer-list[hidden] { display: none; }

@media (max-width: 960px) {
	.bf-report-cta { display: inline; }
	.bf-report-details[open] .bf-report-cta { display: none; }
}

@media (max-width: 900px) {
	/* Finder: one view at a time, sticky chips, tappable cards */
	.bf-finder-quick { position: sticky; top: var(--bf-header-h); z-index: 20; flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 10px; padding: 8px 16px; background: var(--bf-bg); scrollbar-width: none; }
	.bf-finder-quick::-webkit-scrollbar { display: none; }
	.bf-finder-view { display: inline-flex; margin-bottom: 12px; border: 1px solid var(--bf-border); border-radius: 999px; overflow: hidden; background: var(--bf-white); }
	.bf-finder-view button { min-height: 40px; padding: 0 22px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--bf-ink); cursor: pointer; }
	.bf-finder-view button.is-active { background: var(--bf-brand); color: #fff; }
	.bf-section--finder.is-view-list .bf-finder-map { display: none; }
	.bf-section--finder.is-view-map .bf-finder-list-wrap { display: none; }
	.bf-section--finder.is-view-map .bf-finder-live-map { height: min(62vh, 440px); }

	.bf-finder-row:not(.bf-finder-row--plain) {
		grid-template-columns: 26px auto minmax(0, 1fr) 46px;
		grid-template-areas: "i d d c" ". s x c";
		align-items: center; gap: 6px 10px;
		padding: 12px; margin-bottom: 8px;
		background: var(--bf-white); border: 1px solid var(--bf-border-light); border-radius: 10px;
	}
	.bf-finder-row:not(.bf-finder-row--plain) .bf-finder-index { grid-area: i; align-self: start; }
	.bf-finder-row:not(.bf-finder-row--plain) .bf-finder-details { grid-area: d; }
	.bf-finder-row:not(.bf-finder-row--plain) .bf-finder-status { grid-area: s; }
	.bf-finder-row:not(.bf-finder-row--plain) .bf-finder-distance { grid-area: x; }
	.bf-finder-row:not(.bf-finder-row--plain) .bf-finder-call { grid-area: c; }
	.bf-finder-row:last-child { border-bottom: 1px solid var(--bf-border-light); }
	.bf-finder-call { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--bf-border); border-radius: 50%; color: var(--bf-brand); background: var(--bf-white); }
	.bf-finder-name { font-size: 16px; }
}

@media (max-width: 760px) {
	/* Quick card: today's hours + Call / Directions above the fold */
	.bf-shop-quick { display: grid; gap: 12px; padding: 16px 0 4px; }
	.bf-shop-quick-today { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0; font-size: 15px; color: var(--bf-muted); }
	.bf-shop-quick-today strong { color: var(--bf-ink); font-size: 17px; font-variant-numeric: tabular-nums; }
	.bf-shop-quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
	.bf-shop-quick-actions .bf-btn { width: 100%; min-height: 48px; justify-content: center; }
	.bf-shop-quick-actions .bf-btn:only-child { grid-column: 1 / -1; }
	.bf-action-dup { display: none !important; }

	/* Sticky bar appears once the quick card has scrolled away */
	.bf-sticky-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--bf-white); border-top: 1px solid var(--bf-border); box-shadow: 0 -6px 20px rgba(29, 28, 25, .10); }
	.bf-sticky-actions .bf-btn { width: 100%; min-height: 48px; justify-content: center; }
	.bf-sticky-actions .bf-btn:only-child { grid-column: 1 / -1; }
	body.bf-has-sticky { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }

	/* Shorter map; on touch screens it only takes gestures after a tap */
	.bf-live-map { height: 170px; }
	.bf-map-footer { padding: 8px 10px; }

	/* Breadcrumbs: one scrollable line that ends on the current page */
	.bf-breadcrumbs { display: flex; flex-wrap: nowrap; align-items: center; overflow-x: auto; overflow-y: hidden; text-overflow: clip; font-size: 13px; scrollbar-width: none; }
	.bf-breadcrumbs::-webkit-scrollbar { display: none; }
	.bf-breadcrumbs > * { flex: 0 0 auto; white-space: nowrap; }

	/* Info block */
	.bf-info-list dd .bf-copy { min-height: 36px; padding: 4px 12px; }

	/* Nearby shops: swipeable cards */
	.bf-nearby-list { display: flex; gap: 10px; margin: 0 -16px; padding: 4px 16px 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; border: 0; scrollbar-width: none; }
	.bf-nearby-list::-webkit-scrollbar { display: none; }
	.bf-nearby-list li, .bf-nearby-list li:first-child { flex: 0 0 76%; max-width: 280px; display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid var(--bf-border); border-radius: 10px; background: var(--bf-white); scroll-snap-align: start; }
	.bf-nearby-list li > a { flex: 1; }
	.bf-nearby-meta { flex-direction: row; align-items: center; justify-content: space-between; }
	.bf-nearby-distance { font-size: 13px; }

	/* Footer accordions */
	.bf-footer-inner { grid-template-columns: 1fr; gap: 0; padding: 32px 16px 20px; }
	.bf-footer-brand { margin-bottom: 20px; }
	.bf-footer-col { border-top: 1px solid var(--bf-border-light); }
	.bf-footer-col .bf-footer-heading { margin: 0; }
	.bf-footer-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 50px; cursor: pointer; }
	.bf-footer-toggle::after { content: ""; width: 8px; height: 8px; margin-right: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .15s; }
	.bf-footer-toggle[aria-expanded="true"]::after { transform: rotate(-135deg); }
	.bf-footer-col .bf-footer-list { padding-bottom: 14px; gap: 4px; }
	.bf-footer-col .bf-footer-list a { display: block; padding: 8px 0; }
}

@media (max-width: 420px) {
	.bf-live-map { height: 150px; }
}

/* Touch screens: map ignores gestures until tapped, so swiping scrolls the page */
@media (hover: none) and (pointer: coarse) {
	.bf-single-map:not(.is-active) .bf-live-map { pointer-events: none; }
	.bf-single-map:not(.is-active) .bf-map-tap { display: flex; position: absolute; inset: 0; width: 100%; align-items: flex-end; justify-content: flex-start; padding: 10px; border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 700; color: var(--bf-ink); cursor: pointer; }
}

.bf-map-tap span { padding: 6px 12px; border-radius: 999px; background: var(--bf-white); border: 1px solid var(--bf-border); box-shadow: 0 2px 8px rgba(29, 28, 25, .12); }
