/* Layouts for the location and menu templates. Components (cards, badges, maps) are styled by Franchise Core. */

.bk-location,
.bk-locations,
.bk-menu,
.bk-menu-item {
	padding-block: 1.5rem 4rem;
}

.bk-location h2,
.bk-menu h2,
.bk-menu-item h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }

/* Breadcrumb */
.bk-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
	font-size: 0.875rem;
	color: rgba(43, 26, 18, 0.7);
}

/* Page heads */
.bk-page-head { max-width: 46rem; margin-bottom: 2rem; }
.bk-page-head h1 { margin: 0 0 0.75rem; font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); line-height: 1.1; }
.bk-page-head__lede { margin: 0; font-size: 1.125rem; }

.bk-eyebrow {
	margin: 0 0 0.5rem;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bk-crust);
}

/* Buttons */
.bk-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Two-class selectors so Elementor Site Settings link colors (.elementor-kit-N a) do not recolor the buttons. */
.bk-actions .bk-button {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0.6rem 1.3rem;
	border: 2px solid var(--bk-crust);
	border-radius: 999px;
	background: var(--bk-crust);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

.bk-actions .bk-button:hover,
.bk-actions .bk-button:focus { background: #723b21; border-color: #723b21; color: #fff; }

.bk-actions .bk-button--ghost { background: transparent; color: var(--bk-crust); }
.bk-actions .bk-button--ghost:hover,
.bk-actions .bk-button--ghost:focus { background: var(--bk-crust); color: #fff; }

/* Location hero */
.bk-location__hero {
	display: grid;
	gap: 2rem;
	align-items: center;
	margin-bottom: 3rem;
}

.bk-location__intro { display: grid; gap: 1rem; justify-items: start; }
.bk-location__title { margin: 0; font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem); line-height: 1.05; }
.bk-location__lede { margin: 0; max-width: 38rem; font-size: 1.125rem; }
.bk-location__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }

/* Visit + map */
.bk-location__visit {
	display: grid;
	gap: 1.5rem;
	margin-bottom: 3.5rem;
}

.bk-panel {
	padding: 1.5rem;
	border-radius: 20px;
	background: #fff;
	border: 1px solid rgba(43, 26, 18, 0.1);
}

.bk-panel h2 { margin-top: 0; }
.bk-panel h3 { margin: 1.75rem 0 0.75rem; font-size: 1.125rem; }

.bk-address { margin-bottom: 1rem; font-style: normal; font-size: 1.0625rem; }

.bk-details {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.35rem 1rem;
	margin: 0;
}

.bk-details dt { font-weight: 600; }
.bk-details dd { margin: 0; overflow-wrap: anywhere; }

.bk-location__map .fc-map { height: 100%; min-height: 360px; }

/* Sections */
.bk-section { margin-bottom: 3.5rem; }

.bk-section__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.5rem 1rem;
}

.bk-section__head a { font-weight: 600; }

.bk-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 2rem;
}

.bk-chips a {
	padding: 0.45rem 1rem;
	border: 1px solid rgba(43, 26, 18, 0.2);
	border-radius: 999px;
	background: #fff;
	color: var(--bk-cocoa);
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
}

.bk-chips a:hover,
.bk-chips a[aria-current="page"] {
	border-color: var(--bk-crust);
	background: var(--bk-crust);
	color: #fff;
}

.bk-menu-group { margin-bottom: 2.5rem; scroll-margin-top: 1.5rem; }
.bk-menu-group h3 { margin-bottom: 1rem; font-size: 1.375rem; }

.bk-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Nearby / "available at" cards */
.bk-nearby__card {
	display: grid;
	gap: 0.5rem;
	justify-items: start;
	padding: 1.1rem 1.2rem;
	border: 1px solid rgba(43, 26, 18, 0.12);
	border-radius: 14px;
	background: #fff;
}

.bk-nearby__title { font-family: var(--bk-font-heading); font-size: 1.125rem; font-weight: 600; color: var(--bk-cocoa); }
.bk-nearby__distance { font-size: 0.875rem; color: rgba(43, 26, 18, 0.75); }

/* Single menu item */
.bk-menu-item__hero {
	display: grid;
	gap: 2rem;
	align-items: center;
	margin-bottom: 3rem;
}

.bk-menu-item__intro { display: grid; gap: 0.9rem; justify-items: start; max-width: 40rem; }
.bk-menu-item__title { margin: 0; font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); line-height: 1.1; }
.bk-menu-item__price { margin: 0; font-size: 1.5rem; font-weight: 700; color: var(--bk-crust); }
.bk-menu-item__lede { margin: 0; font-size: 1.125rem; }
.bk-menu-item__meta { margin: 0; font-size: 0.875rem; color: rgba(43, 26, 18, 0.75); }
.bk-menu-item__media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; }

@media (min-width: 900px) {
	.bk-location__hero:has(.bk-location__media),
	.bk-menu-item__hero:has(.bk-menu-item__media) { grid-template-columns: 1fr 1fr; }
	.bk-location__visit { grid-template-columns: minmax(340px, 5fr) 7fr; align-items: stretch; }
	.bk-panel { padding: 2rem; }
}

/*
 * Side padding of the PHP template pages, matched to the Elementor sections (24px, 16px on mobile).
 * Hello Elementor's own rule is "body:not([class*=elementor-page-]) .site-main" with 10px padding.
 */
html body .site-main.bk-location,
html body .site-main.bk-locations,
html body .site-main.bk-menu,
html body .site-main.bk-menu-item { padding-inline: 24px; }

@media (max-width: 767px) {
	html body .site-main.bk-location,
	html body .site-main.bk-locations,
	html body .site-main.bk-menu,
	html body .site-main.bk-menu-item { padding-inline: 16px; }
}
