/* ==========================================================================
   Chafery – site footer
   ========================================================================== */

.footer-wrapper { background: #191919; }

.cf-ft-wrap {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

/* Service bar */
.cf-ft-services {
	padding: 40px 0;
	background: #fff;
	border-top: 1px solid #f0f0f0;
}
.cf-ft-services .cf-ft-wrap {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.cf-ft-service { display: flex; align-items: center; gap: 22px; }
.cf-ft-service__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 58px;
	height: 58px;
	border: 2px solid #111;
	border-radius: 50%;
	color: #111;
}
.cf-ft-service strong { display: block; font-size: 21px; font-weight: 500; color: #111; line-height: 1.3; }
.cf-ft-service small { display: block; margin-top: 4px; font-size: 14px; color: #444; }

/* Dark footer */
.cf-ft {
	background: #191919;
	color: #fff;
	font-family: "Jost", sans-serif;
}
.cf-ft h4 {
	margin: 0 0 18px;
	color: #fff;
	font-family: "Jost", sans-serif;
	font-size: 18px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}
.cf-ft__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 60px;
	padding-top: 64px;
	padding-bottom: 48px;
}
.cf-ft__logo {
	display: inline-block;
	margin-bottom: 22px;
	color: #fff;
	font-size: 32px;
	font-weight: 500;
	letter-spacing: .02em;
	line-height: 1;
}
.cf-ft__logo:hover { color: #fff; }
.cf-ft__logo img { max-height: 48px; width: auto; }
.cf-ft__brand { max-width: 480px; }
.cf-ft__brand p { margin: 0 0 14px; font-size: 14px; line-height: 1.95; color: #f2f2f2; }
.cf-ft__brand h4 { margin-top: 30px; }

.cf-ft__social { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; }
.cf-ft__social li { margin: 0; }
.cf-ft__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #444;
	color: #fff;
	transition: transform .2s, opacity .2s;
}
.cf-ft__social a:hover { transform: translateY(-2px); opacity: .9; color: #fff; }
.cf-ft__social--facebook { background: #3b5998 !important; }
.cf-ft__social--instagram { background: radial-gradient(circle at 30% 110%, #fdc468, #df4996 55%, #8a3ab9) !important; }
.cf-ft__social--tiktok { background: #000 !important; box-shadow: inset 0 0 0 1px #444; }
.cf-ft__social--youtube { background: #e02a20 !important; }
.cf-ft__social--pinterest { background: #c8232c !important; }

.cf-ft__cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	padding-top: 14px;
}
.cf-ft__col ul { margin: 0; padding: 0; list-style: none; }
.cf-ft__col li { margin: 0 0 11px; }
.cf-ft__col a { color: #9a9a9a; font-size: 14px; transition: color .2s; }
.cf-ft__col a:hover { color: #fff; }

.cf-ft__bottom {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 60px;
	padding-bottom: 56px;
}
.cf-ft__pay { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cf-ft__pay li {
	display: inline-flex;
	align-items: center;
	height: 36px;
	margin: 0;
	padding: 0 12px;
	background: #fff;
	color: #1a1f71;
	font-family: Arial, sans-serif;
	font-size: 16px;
	font-weight: 700;
	font-style: italic;
}
.cf-ft__pay--paypal { color: #003087 !important; }
.cf-ft__pay--paypal::before {
	content: "P";
	margin-right: 6px;
	color: #009cde;
	font-size: 20px;
	font-weight: 900;
}
.cf-ft__pay--mastercard { color: #eb001b !important; }
.cf-ft__pay--amex { background: #2e77bc !important; color: #fff !important; }
.cf-ft__pay--apple-pay, .cf-ft__pay--google-pay { color: #111 !important; font-style: normal !important; }

.cf-ft__form {
	display: flex;
	margin: 0;
	padding: 3px;
	border: 1px solid #3a3a3a;
	background: #191919;
}
.cf-ft__form input[type=email] {
	flex: 1;
	height: 44px;
	margin: 0;
	padding: 0 10px;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: #fff;
	font-size: 13px;
}
.cf-ft__form input[type=email]::placeholder { color: #fff; opacity: .9; }
.cf-ft__form input[type=email]:focus { background: transparent; box-shadow: none; }
.cf-ft__form button {
	flex: 0 0 120px;
	height: 44px;
	min-height: 0;
	margin: 0;
	padding: 0 16px;
	border: 0;
	border-radius: 3px;
	background: #e01e1e;
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}
.cf-ft__form button:hover { background: #c01515; }
.cf-ft__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; }
.cf-ft__note { margin: 14px 0 0; font-size: 12px; color: #9a9a9a; }
.cf-ft__msg { margin: 10px 0 0; font-size: 13px; }
.cf-ft__msg--ok, .cf-ft__msg--exists { color: #7ed69a; }
.cf-ft__msg--invalid, .cf-ft__msg--error { color: #ff8a80; }
.cf-ft__news .wpforms-container { margin: 0 !important; }

.cf-ft__copy {
	padding: 16px 0;
	border-top: 1px solid #2c2c2c;
	color: #8a8a8a;
	font-size: 12px;
}

/* Hide Flatsome's own footer bits that may still be output by plugins */
.footer-wrapper > .footer-widgets,
.footer-wrapper > .absolute-footer { display: none; }

@media (max-width: 849px) {
	.cf-ft-services { padding: 28px 0; }
	.cf-ft-services .cf-ft-wrap { grid-template-columns: 1fr; gap: 18px; }
	.cf-ft-service { gap: 16px; }
	.cf-ft-service__icon { width: 48px; height: 48px; }
	.cf-ft-service strong { font-size: 18px; }
	.cf-ft-service small { font-size: 13px; }

	.cf-ft-wrap { padding: 0 16px; }
	.cf-ft__top, .cf-ft__bottom { grid-template-columns: 1fr; gap: 32px; }
	.cf-ft__top { padding-top: 44px; padding-bottom: 32px; }
	.cf-ft__bottom { padding-bottom: 40px; }
	.cf-ft__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 0; }
	.cf-ft h4 { margin-bottom: 14px; font-size: 17px; }
	.cf-ft__form button { flex-basis: 96px; }
}

/* Homepage & product pages: blend the service bar into the cream page background */
.chafery-skin .cf-ft-services {
	background: var(--cf-bg, #faf6f2);
	border-top: 1px solid var(--cf-line, #e9e0d7);
}
.chafery-skin .cf-ft-service__icon {
	border-width: 1.5px;
	border-color: var(--cf-accent, #a07c62);
	background: #fff;
	color: var(--cf-accent, #a07c62);
}
.chafery-skin .cf-ft-service strong { color: var(--cf-ink, #2a2420); }
.chafery-skin .cf-ft-service small { color: var(--cf-muted, #7b6f68); }
