.rc-bf-strip {
	--wine: #361326;
	--gold: #bf995b;
	--cream: #fff2d9;
	display: flex;
	align-items: stretch;
	min-height: 50px;
	border-bottom: 2px solid var(--gold);
	color: var(--wine);
	background: #f5e8d0;
	white-space: nowrap;
}
.rc-bf-strip__label, .rc-bf-strip .rc-bf-strip__cta {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--cream);
	background: var(--wine);
}
.rc-bf-strip__label {
	padding: 6px 36px 6px clamp(18px, 3vw, 64px);
	font: bold 24px/1 Georgia, serif;
	letter-spacing: -.035em;
	clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.rc-bf-strip__label::after, .rc-bf-strip__cta::before {
	content: "";
	position: absolute;
	inset-block: -4px;
	width: 2px;
	background: var(--gold);
	transform: skewX(-14deg);
}
.rc-bf-strip__label::after { right: 9px; }
.rc-bf-strip .rc-bf-strip__cta {
	margin-left: auto;
	padding: 6px clamp(18px, 3vw, 64px) 6px 36px;
	font: bold 18px/1.1 Georgia, serif;
	text-decoration: none;
	clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%);
}
.rc-bf-strip__cta::before { left: 9px; }
.rc-bf-strip .rc-bf-strip__cta:is(:hover, :focus-visible) {
	background: #58253c;
	text-decoration: none;
}
.rc-bf-strip .rc-bf-strip__cta:focus-visible {
	outline: 2px solid var(--cream);
	outline-offset: -4px;
}
.rc-bf-strip__offer {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding-inline: 12px;
	font: italic 600 17px/1.15 Georgia, serif;
}
.rc-bf-strip__offer::before {
	content: "";
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #95702f;
}
.rc-bf-strip__offer b { color: #845619; }
/* Stack messages in one reserved column so a change never shifts the link. */
.rc-bf-strip__offer {
	display: grid;
	grid-template-columns: auto auto;
}
.rc-bf-strip__offer > span {
	grid-area: 1 / 2;
	transition: opacity 260ms ease;
}
.rc-bf-strip__offer > [aria-hidden="true"] {
	opacity: 0;
	pointer-events: none;
}


.rc-bf-strip__rail { display: flex; flex: 1; min-width: 0; }
.rc-bf-strip__swap, .rc-bf-strip__tail, .rc-bf-strip__mobile-link,
.rc-bf-strip__compact { display: none; }

@media (max-width: 680px) {
	.rc-bf-strip {
		min-height: 0;
		--panel-width: clamp(148px, 43%, 236px);
		--seam-padding: clamp(30px, 8vw, 44px);
		overflow: hidden;
	}
	.rc-bf-strip__rail { width: 100%; }
	.rc-bf-strip__label, .rc-bf-strip__tail {
		flex: 0 0 var(--panel-width);
		box-sizing: border-box;
		display: grid;
		place-items: center;
		font: bold clamp(16px, 4.5vw, 21px)/1 Georgia, serif;
	}
	.rc-bf-strip__label { padding-inline: 10px var(--seam-padding); }
	.rc-bf-strip__label > span { grid-area: 1 / 1; }
	.rc-bf-strip__label > :first-child { opacity: 0; }
	.rc-bf-strip__swap { display: inline; }
	.rc-bf-strip__offer {
		flex: 0 0 calc(100% - var(--panel-width));
		box-sizing: border-box;
		justify-content: center;
		justify-items: center;
		gap: 5px;
		padding-inline: 7px;
		font-size: clamp(14px, 3.8vw, 17px);
	}
	.rc-bf-strip__detail, .rc-bf-strip .rc-bf-strip__cta, .rc-bf-strip__tail { display: none; }
	.rc-bf-strip__compact { display: inline; }
	.rc-bf-strip__mobile-link { display: block; position: absolute; inset: 0; z-index: 1; }
	.rc-bf-strip__mobile-link:focus-visible { outline: 3px solid #ac843e; outline-offset: -4px; }
	.rc-bf-strip[data-motion="slide"] .rc-bf-strip__label > :first-child { opacity: 1; }
	.rc-bf-strip[data-motion="slide"] .rc-bf-strip__swap { display: none; }
	.rc-bf-strip[data-motion="slide"] .rc-bf-strip__rail { transform: translateX(calc(0px - var(--panel-width))); }
	.rc-bf-strip[data-motion="slide"] .rc-bf-strip__tail {
		display: grid;
		position: relative;
		padding-inline: var(--seam-padding) 10px;
		background: var(--wine);
		color: var(--cream);
		clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%);
	}
	.rc-bf-strip__tail::before {
		content: "";
		position: absolute;
		inset-block: -4px;
		left: 9px;
		width: 2px;
		background: var(--gold);
		transform: skewX(-14deg);
	}
}
@media (max-width: 680px) and (prefers-reduced-motion: no-preference) {
	.rc-bf-strip[data-motion="swap"] .rc-bf-strip__label > :first-child {
		animation: rc-bf-label-out .35s ease 2.8s both;
	}
	.rc-bf-strip[data-motion="swap"] .rc-bf-strip__swap {
		animation: rc-bf-label-in .35s ease 2.8s both;
	}
	.rc-bf-strip[data-motion="slide"] .rc-bf-strip__rail {
		animation: rc-bf-slide .6s cubic-bezier(.4,0,.2,1) 2.8s backwards;
	}
}
@keyframes rc-bf-label-out {
	from { opacity: 1; transform: translateY(0); }
	to { opacity: 0; transform: translateY(-4px); }
}
@keyframes rc-bf-label-in {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: translateY(0); }
}
@keyframes rc-bf-slide { from { transform: translateX(0); } }

body:has(.rc-bf-slot) {
	--rc-bf-height: 52px;
	--rc-bf-toolbar: 0px;
}
body.admin-bar:has(.rc-bf-slot) {
	--rc-bf-toolbar: var(--wp-admin--admin-bar--height, 32px);
}
.rc-bf-slot { height: var(--rc-bf-height); }
.rc-bf-strip {
	position: fixed;
	inset: var(--rc-bf-toolbar) 0 auto;
	z-index: 100;
	height: var(--rc-bf-height);
	box-sizing: border-box;
}
/* Elementor writes its sticky top inline on every scroll and resize. */
body:has(.rc-bf-slot) .elementor-location-header .main-rochford-header.elementor-sticky--active {
	top: calc(var(--rc-bf-toolbar) + var(--rc-bf-height)) !important;
}
@media (max-width: 680px) {
	body:has(.rc-bf-slot) { --rc-bf-height: 48px; }
}
@media (max-width: 600px) {
	body.admin-bar:has(.rc-bf-slot) #wpadminbar { position: fixed; }
}
@media (prefers-reduced-motion: no-preference) {
	.rc-bf-strip__cta > span { animation: rc-bf-nudge 6s ease-in-out infinite; }
	.rc-bf-strip__cta:is(:hover, :focus-visible) > span { animation: none; }
}
@keyframes rc-bf-nudge {
	0%, 90%, 100% { transform: translateX(0); }
	93% { transform: translateX(2px); }
	96% { transform: translateX(-1px); }
}
@media (prefers-reduced-motion: reduce) {
	.rc-bf-strip__offer > span { transition: none; }
}
