/*
 * Home page, per the Claude Design "Website/Home.html" (Nov 2026).
 *
 * Builds on the Homepage v8 rules in the site's global-styles custom CSS
 * (.mbh-hero, .mbh-sec, .mbh-h2 ...). Only the pieces the new design changes
 * or adds live here. Loaded on the front page only.
 */


/* ------------------------------------------------ Hero */
.mbh-hero__cta .mbh-cap-btn {
	margin: 0;
}

/* The Ask Betsy pill is styled site-wide in components.css (home hero and the AI results page). */

/* "Fresh today" card on the hero photo (the design's .usual) */
.mbh-hero__media .mbh-usual {
	position: absolute;
	bottom: 20px;
	left: 20px;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 14px;
	width: 330px;
	max-width: calc(100% - 70px);
	padding: 10px 46px 10px 10px;
	border-radius: 22px;
	background: var(--mbh-paper);
	box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.45);
	color: var(--mbh-ink);
	text-decoration: none;
	transform: rotate(-2.5deg);
	transition: transform 0.4s cubic-bezier(0.34, 1.7, 0.64, 1);
}

.mbh-hero__media .mbh-usual:hover {
	color: var(--mbh-ink);
	transform: rotate(0) translateY(-4px);
}

.mbh-usual__ph {
	flex: none;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	overflow: hidden;
	background: var(--mbh-cream);
}

.mbh-usual__ph img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mbh-usual__tx {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.mbh-usual__l {
	margin-bottom: 2px;
	font-family: var(--mbh-disp);
	font-size: 20px;
	line-height: 1;
	color: var(--mbh-jam);
	transform: rotate(-3deg);
	transform-origin: left;
}

.mbh-usual__n {
	overflow: hidden;
	font-family: var(--mbh-sub);
	font-size: 17px;
	line-height: 1.1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.mbh-usual__s {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	color: var(--mbh-mute);
}

.mbh-usual__s i {
	flex: none;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #3fa35b;
}

.mbh-usual__p {
	position: absolute;
	top: 50%;
	right: -30px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: var(--mbh-peach);
	box-shadow: 0 0 0 5px var(--mbh-paper), 0 10px 20px -8px rgba(0, 0, 0, 0.4);
	color: var(--mbh-jam);
	transform: translateY(-50%) rotate(8deg);
}

.mbh-usual__p b {
	font-family: var(--mbh-stamp);
	font-size: 26px;
	font-weight: 400;
	line-height: 0.9;
}

.mbh-usual__p i {
	margin-top: 2px;
	font-family: var(--mbh-disp);
	font-size: 14px;
	font-style: normal;
	line-height: 1;
}

@media (max-width: 640px) {
	.mbh-hero__media .mbh-usual {
		bottom: 12px;
		left: 12px;
		gap: 10px;
		padding: 8px 40px 8px 8px;
		border-radius: 18px;
	}

	.mbh-usual__ph {
		width: 46px;
		height: 46px;
	}

	.mbh-usual__p {
		right: -24px;
		width: 58px;
		height: 58px;
	}
}

/* ------------------------------------------------ A day in the bakehouse */
.mbh-sechead.wp-block-group {
	display: grid;
	grid-template-columns: auto minmax(0, 22em);
	justify-content: space-between;
	align-items: end;
	gap: 56px;
}

.mbh-cakes .mbh-sechead.wp-block-group {
	grid-template-columns: auto auto;
}

.mbh-sechead > * {
	margin: 0;
}

.mbh-day__grid.wp-block-group {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mbh-day__card {
	position: relative;
	transition: background 0.3s, color 0.3s;
}

.mbh-now {
	position: absolute;
	top: 18px;
	right: 18px;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: var(--mbh-disp);
	font-size: 22px;
	line-height: 1;
	color: var(--mbh-peach);
	transform: rotate(-4deg);
}

.mbh-now[hidden] {
	display: none;
}

.mbh-now i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--mbh-peach);
	animation: mbh-now-pulse 1.8s ease-out infinite;
}

@keyframes mbh-now-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(242, 191, 145, 0.7);
	}

	100% {
		box-shadow: 0 0 0 10px rgba(242, 191, 145, 0);
	}
}

@media (max-width: 1100px) {
	.mbh-day__grid.wp-block-group {
		display: flex;
		gap: 12px;
		margin-inline: -24px;
		padding: 4px 24px 14px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.mbh-day__grid > .mbh-day__card {
		flex: 0 0 220px;
		scroll-snap-align: start;
	}
}

@media (max-width: 640px) {
	.mbh-day__grid > .mbh-day__card {
		flex-basis: 72%;
	}
}

@media (max-width: 820px) {
	.mbh-sechead.wp-block-group,
	.mbh-cakes .mbh-sechead.wp-block-group {
		grid-template-columns: 1fr;
		gap: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mbh-now i {
		animation: none;
	}
}

/* ------------------------------------------------ Cake cards */
.mbh-cakes .wb-product-card {
	padding: 18px;
	border: 0;
	border-radius: 26px;
	background: var(--mbh-cream);
	box-shadow: none;
	transition: transform 0.24s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.24s;
}

.mbh-cakes .wb-product-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 44px rgba(58, 15, 0, 0.12);
}

.mbh-cakes .wb-product-card__image-wrap {
	aspect-ratio: 1;
	border-radius: 16px;
	overflow: hidden;
	background: var(--mbh-paper);
}

.mbh-cakes .wb-product-card__image-wrap img {
	transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mbh-cakes .wb-product-card:hover .wb-product-card__image-wrap img {
	transform: scale(1.06) rotate(-2.5deg);
}

.mbh-cakes .wb-product-card__body {
	padding: 18px 6px 4px;
}

.mbh-cakes .wb-product-card__title {
	font-family: var(--mbh-sub);
	font-size: 22px;
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--mbh-ink);
}

.mbh-cakes .wb-product-card__price {
	margin-top: 6px;
	font-size: 15px;
	font-weight: 700;
	color: var(--mbh-mute);
}

/* ------------------------------------------------ Build your own */
.mbh-custom .mbh-byo {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
	gap: 56px;
	align-items: center;
	max-width: 1128px;
	margin-inline: auto;
	padding: 64px;
	border-radius: 44px;
	background: var(--mbh-jam);
	color: var(--mbh-cream);
}

.mbh-byo__tx .mbh-h2 {
	margin: 0;
	font-size: clamp(44px, 4.8vw, 68px);
	line-height: 0.95;
}

.mbh-byo__tx .mbh-lead,
.mbh-hcta .mbh-lead {
	display: table;
	margin: 0 0 0.22em 0.06em;
	font-size: 0.46em;
	transform: rotate(-4deg);
	transform-origin: left bottom;
}

.mbh-byo__tx p {
	max-width: 28em;
	margin: 20px 0 0;
	font-size: 18px;
	line-height: 1.55;
	color: #fce6d2;
}

.mbh-byo__facts {
	display: flex;
	margin-top: 28px;
	border-top: 1px solid rgba(255, 242, 225, 0.2);
	border-bottom: 1px solid rgba(255, 242, 225, 0.2);
}

.mbh-byo__facts div {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 4px;
	padding: 16px 0 16px 20px;
	border-left: 1px solid rgba(255, 242, 225, 0.2);
}

.mbh-byo__facts div:first-child {
	padding-left: 0;
	border-left: 0;
}

.mbh-byo__facts b {
	font-family: var(--mbh-stamp);
	font-size: 30px;
	font-weight: 400;
	line-height: 1;
	white-space: nowrap;
	color: var(--mbh-peach);
}

.mbh-byo__facts span {
	font-size: 14px;
	font-weight: 700;
	color: #f6d3bc;
}

.mbh-byo__ctas {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
	margin-top: 30px;
}

.mbh-byo__card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 22px;
	border-radius: 34px;
	background: var(--mbh-cream);
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45);
	color: var(--mbh-ink);
	text-decoration: none;
	transform: rotate(1.5deg);
	transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.mbh-byo__card:hover {
	color: var(--mbh-ink);
	transform: rotate(0) translateY(-4px);
}

.mbh-byo__stage {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: 24px;
	overflow: hidden;
	background: var(--mbh-paper);
}

.mbh-byo__stage img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mbh-byo__tag {
	position: absolute;
	bottom: 14px;
	left: 14px;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--mbh-jam);
	font-family: var(--mbh-disp);
	font-size: 20px;
	line-height: 1;
	color: var(--mbh-cream);
	transform: rotate(-4deg);
}

.mbh-byo__steps {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mbh-byo__steps li {
	display: grid;
	grid-template-columns: 30px 80px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	padding: 10px 4px;
	border-top: 1px solid var(--mbh-line);
	font-size: 15px;
}

.mbh-byo__steps li:first-child {
	border-top: 0;
}

.mbh-byo__steps .n {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--mbh-jam);
	font-family: var(--mbh-stamp);
	font-size: 16px;
	color: var(--mbh-cream);
}

.mbh-byo__steps .k {
	font-size: 14px;
	font-weight: 700;
	color: var(--mbh-crust);
}

.mbh-byo__steps .v {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	overflow: hidden;
	font-weight: 800;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.mbh-byo__steps .v i {
	flex: none;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1.5px rgba(58, 15, 0, 0.15);
}

@media (min-width: 641px) and (max-width: 1020px) {
	.mbh-custom .mbh-byo {
		grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
		gap: 32px;
		padding: 40px;
	}

	.mbh-byo__tx .mbh-h2 {
		font-size: 42px;
	}

	.mbh-byo__facts b {
		font-size: 24px;
	}

	.mbh-byo__steps li {
		grid-template-columns: 26px 64px minmax(0, 1fr);
		font-size: 14px;
	}
}

@media (max-width: 640px) {
	.mbh-custom .mbh-byo {
		grid-template-columns: 1fr;
		gap: 28px;
		padding: 30px 22px 26px;
		border-radius: 32px;
	}

	.mbh-byo__tx .mbh-h2 {
		font-size: 42px;
	}

	.mbh-byo__tx p {
		font-size: 16px;
	}

	.mbh-byo__facts b {
		font-size: 24px;
	}

	.mbh-byo__facts div {
		padding-left: 14px;
	}

	.mbh-byo__card {
		padding: 16px;
		transform: rotate(1deg);
	}

	.mbh-byo__ctas .mbh-pill-btn {
		justify-content: center;
		width: 100%;
	}
}

/* ------------------------------------------------ Bread story */
.mbh-story__links {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 20px;
	margin-top: 18px;
}

/* ------------------------------------------------ Reviews / promise */
.mbh-promise.mbh-sec.wp-block-group {
	padding-top: 190px;
}

@media (max-width: 820px) {
	.mbh-promise.mbh-sec.wp-block-group {
		padding-top: 96px;
	}
}

/* ------------------------------------------------ Cookies + order ahead */
.mbh-hcta {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	gap: 20px;
	max-width: 1128px;
	margin-inline: auto;
}

.mbh-hcta__a {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 240px;
	gap: 32px;
	align-items: center;
	padding: 52px;
	border-radius: 40px;
	background: var(--mbh-jam);
	color: var(--mbh-cream);
	text-decoration: none;
	transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.mbh-hcta__b {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	padding: 44px;
	border-radius: 40px;
	background: var(--mbh-cream);
	color: var(--mbh-ink);
	text-decoration: none;
	transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.mbh-hcta__a:hover,
.mbh-hcta__b:hover {
	color: inherit;
	transform: translateY(-4px);
}

.mbh-hcta__tx {
	display: block;
}

.mbh-hcta__h {
	display: block;
	margin: 0;
	font-size: clamp(42px, 4.6vw, 64px);
	line-height: 0.95;
}

.mbh-hcta__h3 {
	display: block;
	margin: 0;
	font-size: clamp(36px, 3.4vw, 48px);
	line-height: 0.95;
}

.mbh-hcta__h3 .mbh-lead {
	font-size: 0.5em;
}

.mbh-hcta__p {
	display: block;
	max-width: 26em;
	margin: 18px 0 26px;
	font-size: 17px;
	line-height: 1.55;
	color: #fce6d2;
}

.mbh-hcta__b .mbh-hcta__p {
	margin: 0 0 auto;
	font-size: 17px;
	color: var(--mbh-crust);
}

.mbh-hcta__ph {
	position: relative;
	display: block;
	aspect-ratio: 1;
	border-radius: 50%;
	overflow: hidden;
	background: var(--mbh-cream);
	box-shadow: 0 0 0 10px rgba(255, 242, 225, 0.1);
	transform: rotate(6deg);
}

.mbh-hcta__ph img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mbh-hcta__mt {
	font-size: 14px;
	font-weight: 800;
	color: var(--mbh-mute);
}

@media (max-width: 1100px) {
	.mbh-hcta {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 820px) {
	.mbh-hcta__a {
		grid-template-columns: minmax(0, 1fr) 180px;
		gap: 24px;
		padding: 40px;
	}

	.mbh-hcta__b {
		padding: 32px;
	}
}

@media (max-width: 640px) {
	.mbh-hcta__a {
		grid-template-columns: 1fr;
		padding: 28px;
	}

	.mbh-hcta__ph {
		order: -1;
		width: 180px;
	}

	.mbh-hcta__b {
		padding: 28px;
	}
}

@media (max-width: 640px) {
	.mbh-byo__steps li {
		grid-template-columns: 26px 60px minmax(0, 1fr);
		gap: 10px;
		font-size: 14px;
	}

	.mbh-byo__steps .v {
		white-space: normal;
		text-align: right;
	}
}

/* Google reviews (workbench/google-reviews) in the promise card */
.mbh-reviews .wb-google-reviews__eyebrow {
	font-size: 15px;
	color: var(--mbh-jam);
}

.mbh-reviews .wb-google-reviews__text {
	font-family: var(--mbh-sub);
	font-size: clamp(28px, 3vw, 44px);
	line-height: 1.22;
	letter-spacing: 0.01em;
	color: var(--mbh-ink);
}

.mbh-reviews .wb-google-reviews__author {
	color: var(--mbh-jam);
	text-transform: uppercase;
}

.mbh-reviews .wb-google-reviews__stars {
	color: var(--mbh-peach);
	letter-spacing: 0.1em;
}

.mbh-reviews .wb-google-reviews__dots {
	margin-top: 38px;
	color: var(--mbh-jam);
}

.mbh-reviews .wb-google-reviews__summary {
	color: var(--mbh-mute);
	opacity: 1;
}

/* ------------------------------------------------ Visit */
/* A square photo beside the card. The global rules size the photo to the
 * column's height, which let the portrait image set the row's height. */
.mbh-visit .mbh-visit__media {
	min-height: 0;
}

.mbh-visit .mbh-visit__img {
	aspect-ratio: 1;
	height: auto;
	min-height: 0;
}

.mbh-visit .mbh-visit__card {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

@media (min-width: 1021px) {
	.mbh-visit__cols > .mbh-visit__card {
		flex: 1 1 0 !important;
	}

	.mbh-visit__cols > .mbh-visit__media {
		flex: 0 0 clamp(360px, 36%, 460px) !important;
	}
}

/* Stacked: a wide crop on tablets, 4:3 on phones. */
@media (max-width: 1020px) {
	.mbh-visit .mbh-visit__img {
		aspect-ratio: 16 / 9;
	}
}

@media (max-width: 600px) {
	.mbh-visit .mbh-visit__img {
		aspect-ratio: 4 / 3;
	}
}

/* ------------------------------------------------ Audit fixes (Nov 2026) */
/* The full-menu card: the text no longer pushes the button to the bottom. */
.mbh-hcta__b {
	justify-content: center;
}

.mbh-hcta__b .mbh-hcta__p {
	margin: 0 0 8px;
}

/* Visit card: room between the heading and the hours. */
.mbh-visit .mbh-visit__card > .mbh-h2 {
	margin-bottom: 20px;
}

.mbh-visit .mbh-visit__hours {
	margin-bottom: 12px;
}

/* Phones see four cakes, not eight; "See all 40 cakes" has the rest. */
@media (max-width: 640px) {
	.mbh-cakes__grid .wb-shop-collection__grid > .wb-product-card:nth-child(n+5) {
		display: none;
	}
}

/* ------------------------------------------------ Trust strip on phones
 * The curve's viewBox is 1440 wide, so at phone width it shrank to a
 * 38px band and the browser blew the text back up until it ran into the
 * red wave above it. On narrow screens draw the strip at 1000px and crop
 * the sides, so the wave and the text keep their desktop proportions. */
.mbh-trust {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

@media (max-width: 820px) {
	.mbh-trust .mbh-trust__svg {
		width: 1000px;
		max-width: none;
		margin-left: calc(50% - 500px);
	}

	.mbh-trust .mbh-trust__text {
		font-size: 19px;
	}
}

/* Cookies card on phones: the photo runs across the top of the card
 * instead of a small tilted circle stranded on the left. */
@media (max-width: 640px) {
	.mbh-hcta__a .mbh-hcta__ph {
		width: auto;
		aspect-ratio: 4 / 3;
		border-radius: 24px;
		box-shadow: none;
		transform: none;
	}
}
/* SEO heading (12 Nov 2026): the H1 is the "Port Melbourne bakery & café" line; the rotating special below it is a styled paragraph, so the H1 never changes with the special. Same look as before. */
.mbh-hero .mbh-hero__h1{font-family:var(--wp--preset--font-family--heading);font-weight:400;font-size:clamp(52px,6.4vw,88px);line-height:.92;letter-spacing:.01em;margin:8px 0 0;color:var(--mbh-cream)}
.mbh-hero .mbh-hero__h1 + .mbh-hero__title{margin-top:0}
/* Promise card on wide screens (13 Nov 2026): its 12% side padding is a percentage of the full-width section, not the
   card, so past ~1600px it squeezed the quote to one word per line. Cap it. */
@media (min-width:821px){.mbh-promise .mbh-promise__card{padding-inline:min(12%,140px)}}
