/* The Butcher Grill — styles for the plugin features (colours come from the Elementor global variables). */

html { scroll-padding-top: 150px; }

/* Distressed print texture from the logo, used on headings with the CSS class "bgc-rough" */
.bgc-rough {
	-webkit-mask-image: url(../img/rough-mask.png);
	        mask-image: url(../img/rough-mask.png);
	-webkit-mask-size: 360px;
	        mask-size: 360px;
	-webkit-mask-repeat: repeat;
	        mask-repeat: repeat;
}

/* Subtle charcoal grain on dark sections with the CSS class "bgc-grain" */
.elementor-element.bgc-grain {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .07 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Text-style buttons (underlined links) */
.bgc-text-link .elementor-button {
	text-decoration: underline;
	text-decoration-color: var(--e-global-color-primary, #be1b1b);
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}

/* Menu section tabs: active state set by front.js */
.bgc-menu-tabs .bgc-tab.is-active .elementor-button {
	background-color: var(--e-global-color-primary, #be1b1b);
	border-color: var(--e-global-color-primary, #be1b1b);
	color: var(--e-global-color-bgcpaper, #f6f2ea);
}

/* [bgc_open_status] */
.bgc-status {
	display: flex;
	align-items: center;
	gap: .6em;
	margin: 0;
	font-family: var(--e-global-typography-bgcnav-font-family, "Barlow Condensed"), sans-serif;
	font-weight: 600;
	font-size: 19px;
	color: var(--e-global-color-text, #e1d8c8);
}
.bgc-status-dot {
	flex: none;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--e-global-color-bgcsmoke, #b9ae9c);
}
.bgc-status.is-open .bgc-status-dot {
	background: var(--e-global-color-bgcopen, #4caf63);
	box-shadow: 0 0 0 4px rgba(76, 175, 99, .22);
}

/* [bgc_instagram_feed] */
.bgc-insta-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.bgc-insta-grid li { min-width: 0; margin: 0; }
.bgc-insta-item {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--e-global-color-bgcsoot, #262422);
}
.bgc-insta-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.bgc-insta-caption {
	position: absolute;
	inset: 0;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 7;
	overflow: hidden;
	padding: 14px;
	background: rgba(31, 29, 28, .86);
	color: var(--e-global-color-text, #e1d8c8);
	font-size: 15px;
	line-height: 1.45;
	opacity: 0;
	transition: opacity .2s ease;
}
.bgc-insta-item:hover .bgc-insta-caption,
.bgc-insta-item:focus-visible .bgc-insta-caption { opacity: 1; }
.bgc-insta-type {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 22px;
	height: 22px;
	color: #fff;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6));
}
@media (max-width: 1024px) {
	.bgc-insta-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.bgc-insta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}

/* Google Maps held until cookie consent */
.bgc-map-wrap { position: relative; }
.bgc-map-consent {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 24px;
	text-align: center;
	background: var(--e-global-color-bgcsoot, #262422);
	color: var(--e-global-color-bgcsmoke, #b9ae9c);
	font-size: 15px;
}
.bgc-map-consent p { margin: 0; max-width: 32em; }
.bgc-map-load {
	padding: 10px 18px;
	border: 2px solid var(--e-global-color-text, #e1d8c8);
	background: transparent;
	color: var(--e-global-color-text, #e1d8c8);
	font-family: var(--e-global-typography-accent-font-family, "Anton"), sans-serif;
	font-size: 16px;
	letter-spacing: .04em;
	text-transform: uppercase;
	cursor: pointer;
}
.bgc-map-load:hover { background: var(--e-global-color-text, #e1d8c8); color: var(--e-global-color-secondary, #302e2c); }
.bgc-map-wrap.is-loaded .bgc-map-consent { display: none; }

/* Room for the fixed mobile quick bar */
@media (max-width: 767px) {
	body:has(.bgc-quickbar) { padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}
