/*
 * Footer — matches the live site www.bmagniv.co.il (measured 18.10.2026).
 * Replaces footer-main, footer-payment, footer-floating, footer-cookie, footer-bottom-nav CSS.
 */

.bmf-club,
.bmf-footer,
.bmf-arrows,
.bmf-ck,
.bmf-bn,
.bmf-wa {
	--bmf-ink: #1F1530;
	--bmf-violet: #6B21A8;
	--bmf-pink: #EC4899;
	--bmf-yellow: #FFD23F;
}

.bmf-footer a,
.bmf-club a,
.bmf-bn a {
	text-decoration: none;
}

/* ---------- Club band ---------- */
.bmf-club {
	background:
		radial-gradient(circle at 12% 20%, rgba(255, 210, 63, .16) 0 70px, transparent 71px),
		radial-gradient(circle at 88% 85%, rgba(236, 72, 153, .18) 0 90px, transparent 91px),
		linear-gradient(135deg, #3B0F6E 0%, #6B21A8 55%, #7E22CE 100%);
	color: #fff;
	padding: 48px 16px;
}

.bmf-club-in {
	max-width: 1000px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.bmf-club-txt {
	flex: 1 1 400px;
}

.bmf-club-pill {
	display: inline-block;
	background: rgba(255, 255, 255, .14);
	border-radius: 999px;
	padding: 5px 12px;
	font-size: 13.5px;
	font-weight: 700;
	margin-bottom: 12px;
}

.bmf-club h2 {
	margin: 0 0 10px;
	color: #fff;
	font-size: 30px;
	font-weight: 800;
	line-height: 1.25;
}

.bmf-club-pct {
	display: inline-block;
	background: var(--bmf-pink);
	border-radius: 10px;
	padding: 0 10px;
}

.bmf-club-txt p {
	margin: 0;
	font-size: 15.5px;
	font-weight: 600;
	color: rgba(255, 255, 255, .85);
	line-height: 1.5;
}

.bmf-club-form-w {
	flex: 0 1 420px;
}

.bmf-club-form {
	display: flex;
	gap: 10px;
	margin: 0;
}

.bmf-club-form input[type="email"] {
	flex: 1;
	min-width: 0;
	height: 52px;
	padding: 0 16px;
	border: 0;
	border-radius: 12px;
	background: #fff;
	color: var(--bmf-ink);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
	font-family: inherit;
	font-size: 16px;
}

.bmf-club-form button {
	height: 52px;
	padding: 0 20px;
	border: 0;
	border-radius: 12px;
	background: var(--bmf-yellow);
	color: var(--bmf-ink);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
	font-family: inherit;
	font-size: 16px;
	font-weight: 800;
	white-space: nowrap;
	cursor: pointer;
	min-height: 0;
}

.bmf-club-form button:hover {
	filter: brightness(1.05);
}

.bmf-club-form button[disabled] {
	opacity: .7;
	cursor: wait;
}

.bmf-club-note {
	margin: 10px 0 0;
	font-size: 13px;
	color: rgba(255, 255, 255, .8);
}

.bmf-club-note a {
	color: #fff;
	text-decoration: underline;
}

.bmf-club-msg {
	margin: 8px 0 0;
	font-size: 15px;
	font-weight: 700;
	min-height: 1em;
}

.bmf-club-msg.is-err {
	color: #FFD23F;
}

/* ---------- Main footer ---------- */
.bmf-footer {
	background: #fff;
	color: #363636;
	padding: 40px 16px 30px;
}

.bmf-in {
	max-width: 1140px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 330px 426px 1fr;
	gap: 0 20px;
	align-items: start;
}

.bmf-col-title {
	margin: 0 0 18px;
	font-size: 19px;
	font-weight: 600;
	color: #363636;
}

.bmf-col ul {
	list-style: none;
	margin: 0;
	padding: 0 8px 0 0;
}

.bmf-col li {
	margin: 0 0 9.5px;
}

.bmf-col a {
	color: #000;
	font-size: 17px;
	line-height: 20px;
}

.bmf-col a:hover {
	color: var(--bmf-violet);
}

.bmf-badge {
	margin-top: 20px;
	padding-inline-start: 8px;
}

.bmf-badge img {
	width: 130px;
	height: auto;
	display: block;
}

.bmf-brand {
	text-align: center;
}

.bmf-logo {
	display: inline-block;
	line-height: 0;
}

.bmf-logo img {
	width: 130px;
	height: auto;
}

.bmf-desc {
	margin: 14px auto 0;
	max-width: 300px;
	color: #474747;
	font-size: 16px;
	line-height: 24px;
}

.bmf-social {
	list-style: none;
	margin: 22px 0 0;
	padding: 0;
	display: flex;
	justify-content: center;
	gap: 14px;
}

.bmf-social a {
	display: block;
	color: #000;
	line-height: 0;
}

.bmf-social svg {
	width: 30px;
	height: 30px;
}

.bmf-social svg:not([fill]) {
	fill: currentColor;
}

.bmf-social a:hover {
	color: var(--bmf-violet);
}

.bmf-ssl {
	margin-top: 18px;
}

.bmf-ssl img {
	width: 170px;
	height: auto;
	display: inline-block;
}

/* ---------- Floating: back to top ---------- */
.bmf-arrows {
	position: fixed;
	right: 20px;
	bottom: 24px;
	z-index: 9990;
	display: flex;
	flex-direction: column;
	gap: 8px;
	transition: bottom .25s;
}

.bmf-arrows button {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 0;
	background: var(--bmf-violet);
	color: #fff;
	box-shadow: 0 4px 14px rgba(60, 10, 110, .35);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	min-height: 0;
	opacity: 0;
	transform: scale(.8);
	pointer-events: none;
	transition: opacity .2s, transform .2s, background .15s;
}

.bmf-arrows button.on {
	opacity: .92;
	transform: none;
	pointer-events: auto;
}

.bmf-arrows button:hover {
	background: #581C87;
	opacity: 1;
}

.bmf-arrows svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: #fff;
	stroke-width: 2.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ---------- Floating: WhatsApp ---------- */
.bmf-wa {
	position: fixed;
	left: 20px;
	bottom: 80px;
	z-index: 9990;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: #25D366;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

.bmf-wa svg {
	width: 28px;
	height: 28px;
	fill: #fff;
}

.bmf-wa:hover {
	filter: brightness(1.05);
}

/* ---------- Cookie notice ---------- */
.bmf-ck {
	position: fixed;
	z-index: 9995;
	bottom: 20px;
	left: 50%;
	transform: translate(-50%, 140%);
	width: min(560px, calc(100% - 24px));
	background: #fff;
	border: 1px solid #EEE5F6;
	border-radius: 16px;
	box-shadow: 0 10px 34px rgba(30, 10, 60, .22);
	padding: 14px 16px;
	display: flex;
	align-items: center;
	gap: 12px;
	transition: transform .35s ease;
}

.bmf-ck[hidden] {
	display: none;
}

.bmf-ck.on {
	transform: translate(-50%, 0);
}

.bmf-ck-ic {
	font-size: 26px;
	line-height: 1;
	flex: 0 0 auto;
}

.bmf-ck p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.45;
	color: var(--bmf-ink);
	flex: 1 1 auto;
}

.bmf-ck a {
	color: var(--bmf-violet);
	text-decoration: underline;
	font-weight: 700;
}

.bmf-ck button {
	flex: 0 0 auto;
	height: 40px;
	padding: 0 18px;
	border-radius: 10px;
	border: 0;
	background: var(--bmf-violet);
	color: #fff;
	font: 800 14px var(--font-main, sans-serif);
	cursor: pointer;
	min-height: 0;
	box-shadow: none;
}

body.bmf-ck-open .bmf-arrows {
	bottom: 110px;
}

/* ---------- Mobile bottom bar ---------- */
.bmf-bn {
	display: none;
}

/* ======================================================
   TABLET / MOBILE
   ====================================================== */
@media (max-width: 1024px) {
	.bmf-in {
		grid-template-columns: 1fr 1fr;
		gap: 30px 20px;
	}

	.bmf-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 767px) {
	.bmf-club {
		padding: 30px 16px;
	}

	.bmf-club-in {
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
		text-align: center;
	}

	.bmf-club-txt {
		flex: none;
	}

	.bmf-club h2 {
		font-size: 24px;
	}

	.bmf-club-form {
		flex-direction: column;
	}

	.bmf-club-form input[type="email"] {
		flex: none;
		width: 100%;
	}

	.bmf-club-form-w {
		flex: none;
	}

	.bmf-footer {
		padding: 30px 16px 100px;
	}

	/* room for the bottom bar */
	.bmf-in {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.bmf-col ul {
		padding: 0;
	}

	.bmf-arrows {
		right: 14px;
		bottom: 134px;
		gap: 6px;
	}

	.bmf-arrows button {
		width: 40px;
		height: 40px;
	}

	.bmf-ck {
		bottom: 72px;
		padding: 12px;
		gap: 10px;
	}

	.bmf-ck-ic {
		display: none;
	}

	.bmf-ck p {
		font-size: 12.5px;
	}

	.bmf-ck button {
		height: 38px;
		padding: 0 14px;
	}

	body.bmf-ck-open .bmf-arrows {
		bottom: 232px;
	}

	.bmf-bn {
		display: flex;
		position: fixed;
		right: 0;
		left: 0;
		bottom: 0;
		z-index: 9980;
		background: #fff;
		box-shadow: 0 -5px 10px rgba(0, 0, 0, .1);
		padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
	}

	.bmf-bn-i {
		flex: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 3px;
		color: #555;
		font-size: 12px;
		line-height: 1.2;
	}

	.bmf-bn-i.is-active {
		color: #000;
	}

	.bmf-bn-ic {
		position: relative;
		line-height: 0;
	}

	.bmf-bn-ic svg {
		width: 24px;
		height: 24px;
		fill: currentColor;
	}

	.bmf-bn-wa .bmf-bn-ic svg {
		fill: #26BE0E;
	}

	.bmf-bn-count,
	.bmf-bn .wishlist-badge {
		position: absolute;
		top: -6px;
		right: -10px;
		left: auto;
		min-width: 17px;
		height: 17px;
		padding: 0 4px;
		border-radius: 9px;
		border: 0;
		box-shadow: none;
		color: #fff;
		font-size: 11px;
		font-weight: 700;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.bmf-bn-count {
		background: #F00;
	}

	.bmf-bn-count[hidden] {
		display: none;
	}

	.bmf-bn .wishlist-badge {
		background: var(--bmf-pink);
	}

	.bmf-bn-total .woocommerce-Price-amount {
		font-weight: 400;
	}
}

@media (max-width: 600px) {
	.bmf-wa {
		display: none;
	}

	/* the bottom bar has WhatsApp */
}

@media (prefers-reduced-motion: reduce) {

	.bmf-ck,
	.bmf-arrows,
	.bmf-arrows button {
		transition: none;
	}
}