/* Final Note WhatsApp Chat — black and gold to match the Final Note theme. */
.fnwa {
	--fnwa-ink: #121110;
	--fnwa-gold: #B8893A;
	--fnwa-gold-light: #D9B66E;
	--fnwa-ivory: #FBF8F3;
	--fnwa-line: #E4DCD0;
	position: fixed;
	bottom: 24px;
	z-index: 9990;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
}

.fnwa--right { right: 24px; align-items: flex-end; }
.fnwa--left  { left: 24px;  align-items: flex-start; }

.fnwa__button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 56px;
	padding: 0 16px;
	border: 1px solid var(--fnwa-gold);
	border-radius: 999px;
	background: var(--fnwa-ink);
	color: var(--fnwa-gold-light);
	text-decoration: none;
	box-shadow: 0 12px 30px -12px rgba(18, 17, 16, 0.55);
	transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.fnwa__button:hover,
.fnwa__button:focus-visible {
	background: var(--fnwa-gold);
	color: var(--fnwa-ink);
	transform: translateY(-2px);
}

.fnwa__button:focus-visible,
.fnwa__start:focus-visible,
.fnwa__close:focus-visible,
.fnwa-product__button:focus-visible {
	outline: 2px solid var(--fnwa-gold);
	outline-offset: 3px;
}

.fnwa-icon {
	width: 26px;
	height: 26px;
	flex-shrink: 0;
}

.fnwa__label {
	padding-right: 4px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

/* Welcome bubble */
.fnwa__bubble {
	position: relative;
	width: min(300px, calc(100vw - 48px));
	padding: 20px 20px 18px;
	border: 1px solid var(--fnwa-line);
	border-top: 2px solid var(--fnwa-gold);
	background: var(--fnwa-ivory);
	color: #2A2724;
	box-shadow: 0 24px 50px -28px rgba(18, 17, 16, 0.45);
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.fnwa__bubble.is-open {
	opacity: 1;
	transform: translateY(0);
}

.fnwa__bubble[hidden] {
	display: none;
}

.fnwa__bubble p {
	margin: 0 0 8px;
}

.fnwa__title {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 22px;
	line-height: 1.2;
	color: #121110;
}

.fnwa__text {
	font-size: 14px;
	line-height: 1.55;
}

.fnwa__hours {
	font-size: 11px;
	letter-spacing: 0.06em;
	color: #7D746A;
}

.fnwa__start {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
	padding: 10px 16px;
	background: var(--fnwa-ink);
	color: var(--fnwa-gold-light);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.3s ease, color 0.3s ease;
}

.fnwa__start:hover {
	background: var(--fnwa-gold);
	color: var(--fnwa-ink);
}

.fnwa__start .fnwa-icon {
	width: 18px;
	height: 18px;
}

.fnwa__close {
	position: absolute;
	top: 6px;
	right: 8px;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #7D746A;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

/* Product page button */
.fnwa-product {
	margin: 0 0 24px;
}

.fnwa-product__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 50px;
	padding: 0 20px;
	border: 1px solid #121110;
	background: transparent;
	color: #121110;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.fnwa-product__button:hover {
	border-color: #B8893A;
	background: #B8893A;
	color: #FFFFFF;
}

.fnwa-product__button .fnwa-icon {
	width: 20px;
	height: 20px;
}

/* Phones: icon-only round button, kept clear of the screen edge. */
@media (max-width: 782px) {
	.fnwa { bottom: 16px; }
	.fnwa--right { right: 16px; }
	.fnwa--left  { left: 16px; }

	.fnwa__button {
		justify-content: center;
		width: 56px;
		padding: 0;
	}

	.fnwa__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.fnwa--hide-mobile {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fnwa__button,
	.fnwa__bubble {
		transition: none;
	}
}

/* Final Note theme: keep the hero slider arrows clear of the floating button. */
body.fnwa-right .fn-hero__controls {
	padding-right: 190px;
}

body.fnwa-left .fn-hero__controls {
	padding-left: 190px;
}

@media (max-width: 782px) {
	body.fnwa-right .fn-hero__controls {
		padding-right: 68px;
	}

	body.fnwa-left .fn-hero__controls {
		padding-left: 68px;
	}
}
