.bbqtips-meat-banner {
	--bbqtips-meat-accent: #f09233;
	display: flex;
	align-items: center;
	gap: 1em;
	background: #fdf1e6;
	border-radius: 10px;
	padding: 1em 1.25em;
	margin: 1.5em 0;
}

/* Wraps the emoji+text together so they only ever break onto a new line as
   a unit (see the mobile media query below) - the button is the only thing
   that should ever drop to its own row on narrow screens. */
.bbqtips-meat-banner__main {
	display: flex;
	align-items: center;
	gap: 1em;
	flex: 1 1 auto;
	min-width: 0;
}

.bbqtips-meat-banner__emoji {
	flex: 0 0 auto;
	font-size: 1.8em;
	line-height: 1;
}

.bbqtips-meat-banner__text {
	flex: 1 1 auto;
	min-width: 0;
}

.bbqtips-meat-banner__heading {
	font-weight: 700;
	color: #1a1a1a;
	font-size: 1em;
	line-height: 1.25;
}

.bbqtips-meat-banner__description {
	color: #636e72;
	font-size: 0.85em;
	margin-top: 0.15em;
}

.bbqtips-meat-button {
	display: inline-block;
	flex: 0 0 auto;
	background: var(--bbqtips-meat-accent);
	color: #fff !important;
	font-weight: 700;
	font-size: 0.85em;
	letter-spacing: 0.02em;
	text-decoration: none !important;
	padding: 0.7em 1.4em;
	border: none;
	border-radius: 4px;
	white-space: nowrap;
	cursor: pointer;
}

.bbqtips-meat-button:hover {
	background: #f56b19;
	color: #fff !important;
}

.bbqtips-meat-button--small {
	padding: 0.55em 1.1em;
	font-size: 0.8em;
}

/* --------------------------------------------------------------------
 * Popup
 * ------------------------------------------------------------------ */

.bbqtips-meat-modal {
	--bbqtips-meat-accent: #f09233;
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1em;
}

.bbqtips-meat-modal[hidden] {
	display: none;
}

.bbqtips-meat-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(20, 20, 20, 0.55);
}

.bbqtips-meat-modal__dialog {
	/* Explicit, rather than relying on the theme's own global reset - without
	   this, max-height only caps the content box and the padding below adds
	   on top of it, letting the dialog quietly grow past the intended cap. */
	box-sizing: border-box;
	position: relative;
	background: #fff;
	border-radius: 12px;
	max-width: 480px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	padding: 2em 1.75em 1.75em;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.bbqtips-meat-modal__close {
	position: absolute;
	top: 0.75em;
	right: 0.9em;
	background: none !important;
	border: none;
	box-shadow: none;
	font-size: 1.6em;
	line-height: 1;
	color: #6b7280;
	cursor: pointer;
	padding: 0.2em;
}

/* !important because it's a real <button> - some themes style
   button:hover with their own accent background, which would otherwise
   win and show up as an orange box behind the ×. Just darkening the ×
   itself is enough to signal it's clickable. */
.bbqtips-meat-modal__close:hover,
.bbqtips-meat-modal__close:focus {
	background: none !important;
	box-shadow: none;
	color: #1a1a1a;
}

.bbqtips-meat-modal__header {
	text-align: center;
	margin-bottom: 1.25em;
	/* Keeps the title from running the full dialog width and butting up
	   against the close button in the corner. */
	padding: 0 1.75em;
}

.bbqtips-meat-modal__title {
	font-weight: 700;
	font-size: 1.15em;
	color: #1a1a1a;
	line-height: 1.3;
}

.bbqtips-meat-modal__title mark,
.bbqtips-meat-modal__title .bbqtips-meat-highlight {
	background: none;
	color: var(--bbqtips-meat-accent);
}

.bbqtips-meat-modal__subtitle {
	color: #636e72;
	font-size: 0.9em;
	line-height: 1.35;
	margin-top: 0.4em;
}

.bbqtips-meat-modal__shops {
	display: flex;
	flex-direction: column;
	gap: 0.6em;
}

.bbqtips-meat-shop {
	display: flex;
	align-items: center;
	gap: 0.75em;
	background: #f7f7f7;
	border-radius: 8px;
	padding: 0.75em 0.9em;
}

.bbqtips-meat-shop__logo {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #eee;
}

.bbqtips-meat-shop__logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bbqtips-meat-shop__info {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.1em;
}

.bbqtips-meat-shop__name {
	font-weight: 700;
	color: var(--bbqtips-meat-accent);
	text-decoration: underline;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bbqtips-meat-shop__usp {
	color: #9aa0a6;
	font-size: 0.8em;
}

@media (max-width: 480px) {
	.bbqtips-meat-banner {
		flex-wrap: wrap;
	}

	/* __main (emoji+text) stays intact as one row and takes the full width
	   for itself; the button is the only thing that drops to its own row
	   below it - not the emoji breaking away from the heading. */
	.bbqtips-meat-banner__main {
		flex: 1 1 100%;
	}

	.bbqtips-meat-banner__button,
	.bbqtips-meat-banner .bbqtips-meat-button {
		flex: 1 1 100%;
		text-align: center;
	}

	.bbqtips-meat-shop {
		flex-wrap: wrap;
	}

	.bbqtips-meat-shop__info {
		flex: 1 1 auto;
	}

	.bbqtips-meat-shop .bbqtips-meat-button--small {
		flex: 1 1 100%;
		text-align: center;
	}
}
