/*
 * Footer (2026 redesign) - templates/site-footer.php
 * Plain CSS, every page. Mobile first; the five-column layout starts at 900px
 * (design file). Columns are accordions on mobile (assets/js/header.js).
 */

/* #footer: the old style.css sets a light background on #footer. */
#footer.bft {
	--bft-text: #EADFF0;
	--bft-link: #CDB9D8;
	--bft-muted: #A995B5;
	--bft-line: rgba(255, 255, 255, .1);
	background:
		radial-gradient(140% 70% at 85% 0%, rgba(122, 58, 160, .32) 0%, rgba(26, 13, 37, 0) 60%),
		radial-gradient(110% 60% at 10% 100%, rgba(90, 40, 120, .28) 0%, rgba(26, 13, 37, 0) 65%),
		#1A0D25;
	color: var(--bft-text);
	font-family: 'Noto Sans Hebrew', 'Arial Hebrew', Arial, sans-serif;
	font-weight: 300;
	direction: rtl;
}
.bft *,
.bft *::before,
.bft *::after { box-sizing: border-box; }
.bft a { color: var(--bft-link); text-decoration: none; transition: color .25s ease; }
.bft a:hover { color: #fff; }
.bft ul { list-style: none; margin: 0; padding: 0; }

.bft-wrap { max-width: 1760px; margin: 0 auto; padding: 0 24px; }
.bft-desktop-only { display: none; }

.bft-logo { display: flex; justify-content: center; padding: 36px 0 12px; }
.bft-logo img { width: 72px; height: 72px; object-fit: contain; display: block; }

/* Mobile link rows */
.bft .bft-row {
	height: 58px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid var(--bft-line);
	color: #fff;
	font-size: 18px;
}

/* Columns (widgets) */
.bft .widget,
.bft .footer-widget { margin: 0; padding: 0; background: none; border: 0; }
.bft .widget-title {
	margin: 0;
	font-family: inherit;
	font-size: 18px;
	font-weight: 300;
	line-height: 1.3;
	color: #fff;
	text-transform: none;
	letter-spacing: 0;
}
.bft .widget-title::before,
.bft .widget-title::after { display: none; }
.bft .menu li { margin: 0; padding: 0; line-height: 1.5; font-size: 16px; }
.bft .menu li::before { display: none; }
.bft .menu a,
.bft .menu span { font-size: 16px; font-weight: 300; color: var(--bft-link); display: inline; padding: 0; }
.bft .menu a:hover { color: #fff; }
.bft .menu b,
.bft .menu strong { font-weight: 300; }

/* Mobile: accordions (the title becomes a button; see header.js) */
.bft-col { border-bottom: 1px solid var(--bft-line); }
.bft .bft-acc-btn {
	width: 100%;
	height: 58px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: none;
	border: 0;
	padding: 0;
	color: #fff;
	font: inherit;
	font-size: 18px;
	cursor: pointer;
	text-align: right;
}
.bft .bft-acc-btn svg { transition: transform .3s ease; flex: 0 0 auto; }
.bft .bft-acc-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.bft-col .menu { display: flex; flex-direction: column; gap: 14px; padding: 0 0 18px; }
@media (max-width: 899.98px) {
	.bft-col:not(.is-open) .menu { display: none; }
}

/* Mobile order (design): shop, about, general info, contact, service */
.bft-cols { display: flex; flex-direction: column; }
.bft-col--footer-1 { order: 1; }
.bft-col--footer-2 { order: 2; }
.bft-col--footer-3 { order: 3; }
.bft-col--contact { order: 4; }
.bft-col--footer-service { order: 5; }

.bft-social-row { padding: 24px 0; display: flex; justify-content: center; }
.bft-social { display: flex; gap: 12px; }
.bft .bft-social a {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	transition: background-color .25s ease;
}
.bft .bft-social a:hover { background: rgba(255, 255, 255, .16); }
.bft-social [class^="icon-"] { font-size: 18px; }

.bft-bottom {
	padding: 20px 0 22px;
	border-top: 1px solid var(--bft-line);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
	font-size: 14px;
	color: var(--bft-muted);
}
.bft .bft-credit { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--bft-muted); }
.bft-credit img { width: 14px; height: auto; display: block; }


@media (min-width: 900px) {
	.bft-wrap { padding: 56px clamp(32px, 4vw, 80px) 0; }
	.bft-mobile-only { display: none; }
	.bft-desktop-only { display: block; }
	.bft-logo { padding: 0 0 56px; }
	.bft-logo img { width: 96px; height: 96px; }

	.bft-cols {
		display: grid;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 32px;
		padding-bottom: 44px;
		border-bottom: 1px solid var(--bft-line);
	}
	.bft-col { border: 0; order: 0 !important; }
	.bft-col--footer-service { order: -1 !important; }
	.bft .widget-title { margin-bottom: 16px; }
	.bft .bft-acc-btn { height: auto; cursor: default; pointer-events: none; }
	.bft .bft-acc-btn svg { display: none; }
	.bft-col .menu { gap: 12px; padding: 0; }

	.bft-bottom {
		border-top: 0;
		padding: 24px 0 28px;
		flex-direction: row;
		justify-content: space-between;
		flex-wrap: wrap;
		gap: 24px;
		text-align: right;
	}
}
