/**
 * Open bar – form footer: floating cost widget (sticky) + CTA button.
 */

.gw-ob-ff__sans {
	--ob-ff-gold: #c9a96e;
	--ob-ff-bg: #0d0d0d;
	--ob-ff-muted: #a69e94;
	--ob-ff-ink: #f8f4ee;
	--ob-ff-sans: var(--wp--preset--font-family--dm-sans, "DM Sans", sans-serif);
	--ob-ff-serif: var(--wp--preset--font-family--cormorant-garamond, "Cormorant Garamond", serif);
}

/* ---------- Floating cost widget ---------- */

.gw-ob-ff__sidebar {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 340px;
	display: inline-flex;
	align-items: center;
	gap: 15px;
	padding: 15px;
	background: #0d0d0d;
	border: 1px solid #c9a96e;
	border-radius: 999px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
	overflow: hidden;
	box-sizing: border-box;
}

.gw-ob-ff__sidebar *,
.gw-ob-ff__sidebar *::before,
.gw-ob-ff__sidebar *::after {
	box-sizing: border-box;
}

.gw-ob-ff__sidebar-icon {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.gw-ob-ff__sidebar-icon img {
	display: block;
	width: 100%;
	height: 100%;
}

.gw-ob-ff__sidebar-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	padding-right: 10px;
}

.gw-ob-ff__sidebar-title {
	font-family: var(--wp--preset--font-family--dm-sans, "DM Sans", sans-serif);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 2.4px;
	color: #a69e94;
	line-height: 1.2;
	white-space: nowrap;
	margin: 0;
}

.gw-ob-ff__sidebar-price {
	display: inline-flex;
	align-items: baseline;
	gap: 5px;
	font-family: var(--wp--preset--font-family--cormorant-garamond, "Cormorant Garamond", serif);
	color: #c9a96e;
	line-height: 1;
	white-space: nowrap;
}

.gw-ob-ff__sidebar-value {
	font-size: 22px;
	font-weight: 600;
	font-style: normal;
	color: #c9a96e;
}

.gw-ob-ff__sidebar-currency {
	font-size: 14px;
	font-weight: 400;
	font-style: italic;
	color: #c9a96e;
}

/* ---------- CTA button ---------- */

.gw-ob-ff__footer {
	margin-top: 30px;
}

.gw-ob-ff__footer-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.gw-ob-ff__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 20px 30px;
	background: #c9a96e;
	color: #0d0d0d;
	font-family: var(--wp--preset--font-family--dm-sans, "DM Sans", sans-serif);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 5.2px;
	text-transform: none;
	line-height: 1;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: background-color 0.15s ease, transform 0.05s ease;
	overflow: hidden;
}

.gw-ob-ff__submit:hover,
.gw-ob-ff__submit:focus-visible {
	background: #b89655;
	color: #0d0d0d;
	outline: none;
}

.gw-ob-ff__submit:active {
	transform: translateY(1px);
}

form.loading .gw-ob-ff__submit {
	opacity: 0.65;
	pointer-events: none;
}

.gw-ob-ff__admin-hint {
	font-size: 0.8rem;
	color: #666;
	margin-top: 0.5rem;
	text-align: center;
}
