/* ==========================================================================
   Global footer: newsletter band, link columns, bottom bar (desktop + mobile)
   Markup: inc/areas/global-footer.php · accordion JS: assets/js/areas/global-footer.js
   ========================================================================== */

/* ---------- Newsletter band ---------- */
.yb .yb-sec.yb-gf-band {
	margin-top: 0;
	margin-bottom: 0;
	padding: 32px 0;
	border-top: 0;
	border-bottom: 1px solid #CCC;
	background: #F2F2F2;
	color: #000;
	text-align: center;
}
.yb .yb-gf-band .yb-wrap { max-width: 1342px; padding: 0 10px; }
.yb .yb-gf-news { display: block; }
.yb .yb-gf-band .yb-gf-news__title {
	margin: 0 0 8px;
	font-size: 40px;
	font-weight: 600;
	line-height: 50px;
	letter-spacing: 0;
	text-transform: none;
	color: #000;
}
.yb .yb-gf-band .yb-gf-news__text {
	margin: 0 0 20px;
	font-size: 24px;
	font-weight: 600;
	line-height: 30px;
	color: #000;
	opacity: 1;
}

.yb .yb-gf-form { width: 100%; max-width: 490px; margin: 0 auto; text-align: left; }

.yb .yb-gf-shopfor {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px 20px;
	margin: 0 0 16px;
	padding: 0;
	border: 0;
	min-width: 0;
}
.yb .yb-gf-shopfor__legend {
	float: left;
	width: auto;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 19px;
	font-weight: 400;
	line-height: 20px;
	text-transform: none;
	letter-spacing: 0;
	color: #000;
}
.yb .yb-gf-check {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	font-size: 19px;
	font-weight: 400;
	line-height: 20px;
	color: #000;
	cursor: pointer;
}
.yb .yb-gf-check input[type="checkbox"] {
	-webkit-appearance: none;
	appearance: none;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin: 0;
	padding: 0;
	border: 1px solid #000;
	border-radius: 0;
	background: #fff center / 12px no-repeat;
	cursor: pointer;
}
.yb .yb-gf-check input[type="checkbox"]:checked {
	background-color: #000;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M2 6l3 3 5-6'/%3E%3C/svg%3E");
}
.yb .yb-gf-check input[type="checkbox"]:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
.yb .yb-gf-check span { color: #000; }

.yb .yb-gf-form .yb-gf-form__label {
	display: block;
	margin: 0;
	padding: 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 32px;
	text-transform: none;
	letter-spacing: 0;
	color: #000;
}
.yb .yb-gf-form__row { display: flex; align-items: center; gap: 13px; }
.yb .yb-gf-form .yb-gf-form__input {
	/* A6-ROUND2 row 6: shrinkable so the 992-1024px row can never force overflow. */
	flex: 1 1 313px;
	width: 313px;
	max-width: 100%;
	height: 52px;
	margin: 0;
	padding: 6px 12px;
	border: 1px solid #000;
	border-radius: 4px;
	background: #fff;
	box-shadow: none;
	font-size: 19px;
	line-height: 28px;
	color: #000;
}
.yb .yb-gf-form .yb-gf-form__input::placeholder { color: #75787B; opacity: 1; }
.yb .yb-gf-form .yb-gf-form__input:focus { border-color: #000; outline: 1px solid #000; }
.yb .yb-gf-form .yb-gf-form__btn {
	/* A6-ROUND2 row 6: see .yb-gf-form__input. */
	flex: 0 1 164px;
	width: 164px;
	height: 55px;
	min-height: 0;
	margin: 0;
	padding: 0 16px;
	border: 1px solid #000;
	border-radius: 4px;
	background: #000;
	box-shadow: none;
	font-size: 16px;
	font-weight: 600;
	line-height: 20px;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: #fff;
	cursor: pointer;
}
.yb .yb-gf-form .yb-gf-form__btn:hover,
.yb .yb-gf-form .yb-gf-form__btn:focus { background: #333; border-color: #333; color: #fff; }
.yb .yb-gf-band .yb-gf-form__note {
	width: 612px;
	max-width: calc(100vw - 32px);
	margin: 7px 0 0 50%;
	transform: translateX(-50%);
	font-size: 14px;
	font-weight: 400;
	line-height: 17.5px;
	text-align: center;
	color: #57585B;
	opacity: 1;
}
.yb .yb-gf-band .yb-gf-form__note a { color: #57585B; text-decoration: underline; }
.yb .yb-gf-band .yb-gf-form__msg { margin: 10px 0 0; font-size: 14px; text-align: center; color: #000; }

/* ---------- Footer columns ---------- */
.yb .footer-container .yb-sec.yb-gf-band + .yb-footer.yb-gf,
.yb .yb-footer.yb-gf {
	padding: 29px 0 0;
	background: #fff;
	color: #000;
	font-size: 16px;
}
.yb .yb-gf .yb-gf-wrap { max-width: 1342px; margin: 0 auto; padding: 0; }
.yb .yb-footer.yb-gf .yb-footer__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin: 0;
}
.yb .yb-gf .yb-footer__grid > :first-child { display: block; }
.yb .yb-gf .yb-gf-col { padding: 0 10px; }
.yb .yb-footer.yb-gf .yb-footer__title {
	margin: 0 0 16px;
	padding: 16px 0 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 19px;
	letter-spacing: 1.14px;
	text-transform: uppercase;
	color: #333;
}
.yb .yb-gf .yb-gf-toggle {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	font: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	text-align: left;
	color: inherit;
	cursor: default;
	pointer-events: none;
}
.yb .yb-gf .yb-gf-plus { display: none; }
.yb .yb-footer.yb-gf .yb-footer__list { margin: 0; padding: 0; list-style: none; }
.yb .yb-footer.yb-gf .yb-footer__list li { margin: 0 0 12px; padding: 0; line-height: 19px; }
.yb .yb-footer.yb-gf .yb-footer__list a,
.yb .yb-footer.yb-gf .yb-footer__list span {
	display: inline-block;
	padding: 0 0 4px;
	font-size: 16px;
	font-weight: 400;
	line-height: 19px;
	text-decoration: none;
	color: #000;
	background: linear-gradient(#000, #000) left bottom / 0 3px no-repeat;
	transition: background-size .2s ease;
}
.yb .yb-footer.yb-gf .yb-footer__list a:hover,
.yb .yb-footer.yb-gf .yb-footer__list a:focus-visible { color: #000; text-decoration: none; background-size: 100% 3px; }

/* Social icons: 20px, 24px apart, X · Pinterest · YouTube · Facebook · Instagram */
.yb .yb-footer.yb-gf .yb-footer__list--social { display: flex; flex-wrap: nowrap; gap: 24px; }
.yb .yb-footer.yb-gf .yb-footer__list--social li { margin: 0; line-height: 0; }
.yb .yb-footer.yb-gf .yb-footer__list--social .yb-social {
	display: block;
	width: 20px;
	height: 20px;
	padding: 0;
	font-size: 0 !important;
	line-height: 0;
	background: #000;
	transition: opacity .15s;
}
.yb .yb-footer.yb-gf .yb-footer__list--social .yb-social:hover { opacity: .65; background-size: auto; }
.yb .yb-footer.yb-gf .yb-social--tiktok { display: none; }

/* ---------- Bottom bar: full-width rule, legal left, copyright right ---------- */
.yb .yb-gf .yb-gf-bottom { border-top: 1px solid #CCC; }
.yb .yb-footer.yb-gf .yb-footer__bottom {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 8px 24px;
	padding: 32px 10px 16px;
	border-top: 0;
	font-size: 16px;
}
.yb .yb-footer.yb-gf .yb-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	margin: 0;
	padding: 0 8px;
	list-style: none;
}
.yb .yb-footer.yb-gf .yb-footer__legal li { margin: 0; padding: 0; line-height: 20px; }
.yb .yb-footer.yb-gf .yb-footer__legal li::before { content: none; }
.yb .yb-footer.yb-gf .yb-footer__legal li + li::before {
	content: "|";
	margin: 0 5px;
	font-size: 17px;
	font-weight: 300;
	color: #000;
}
.yb .yb-footer.yb-gf .yb-footer__legal a {
	display: inline-block;
	padding: 0 0 4px;
	font-size: 17px;
	font-weight: 300;
	line-height: 20px;
	text-decoration: none;
	color: #000;
}
.yb .yb-footer.yb-gf .yb-footer__legal a:hover { text-decoration: underline; }
.yb .yb-footer.yb-gf .yb-footer__copy {
	margin: 0;
	font-size: 16px;
	font-weight: 300;
	line-height: 19px;
	color: #000;
}

/* ---------- Tablet ---------- */
@media (max-width: 1200px) and (min-width: 992px) {
	.yb .yb-gf .yb-gf-wrap,
	.yb .yb-gf-band .yb-wrap { padding: 0 16px; }
}

/* ---------- Mobile: accordions, centred social row and bottom line ---------- */
@media (max-width: 991px) {
	.yb .yb-sec.yb-gf-band { padding: 32px 0; }
	.yb .yb-gf-band .yb-wrap { padding: 0 16px; }
	.yb .yb-gf-band .yb-gf-news__title { max-width: 360px; margin: 0 auto 12px; font-size: 30px; line-height: 37.5px; }
	.yb .yb-gf-band .yb-gf-news__text { max-width: 360px; margin: 0 auto 24px; font-size: 24px; line-height: 30px; }
	.yb .yb-gf-form { max-width: none; }
	.yb .yb-gf-shopfor { gap: 10px 40px; margin-bottom: 20px; }
	.yb .yb-gf-shopfor__legend { float: none; width: 100%; margin: 0 0 10px; text-align: center; }
	.yb .yb-gf-form__row { flex-direction: column; align-items: stretch; gap: 18px; }
	.yb .yb-gf-form .yb-gf-form__input { flex: 0 0 auto; width: 100%; }
	.yb .yb-gf-form .yb-gf-form__btn { flex: 0 0 auto; width: 100%; }
	.yb .yb-gf-band .yb-gf-form__note { width: auto; max-width: none; margin: 18px 0 0; transform: none; }

	.yb .yb-footer.yb-gf { padding: 0; }
	.yb .yb-gf .yb-gf-wrap { padding: 0 10px; }
	.yb .yb-footer.yb-gf .yb-footer__grid { grid-template-columns: 1fr; margin: 0; }
	.yb .yb-gf .yb-gf-col { padding: 0; }

	.yb .yb-footer.yb-gf .yb-gf-col--acc .yb-footer__title {
		margin: 0;
		padding: 0;
		border-bottom: 1px solid #D5D5D5;
		font-size: 18px;
		line-height: 22px;
		letter-spacing: 1.5px;
		color: #000;
	}
	.yb .yb-gf-js .yb-gf-toggle { min-height: 56px; cursor: pointer; pointer-events: auto; }
	.yb .yb-gf-js .yb-gf-plus {
		position: relative;
		display: block;
		flex: 0 0 16px;
		width: 16px;
		height: 16px;
		margin-right: 4px;
	}
	.yb .yb-gf-js .yb-gf-plus::before,
	.yb .yb-gf-js .yb-gf-plus::after {
		content: "";
		position: absolute;
		top: 50%;
		left: 0;
		width: 16px;
		height: 1.5px;
		margin-top: -.75px;
		background: #000;
		transition: transform .2s ease;
	}
	.yb .yb-gf-js .yb-gf-plus::after { transform: rotate(90deg); }
	.yb .yb-gf-js .yb-gf-col.is-open .yb-gf-plus::after { transform: rotate(0deg); }
	.yb .yb-gf-js .yb-gf-col--acc .yb-gf-panel { display: none; }
	.yb .yb-gf-js .yb-gf-col--acc.is-open .yb-gf-panel { display: block; padding: 16px 0 8px; border-bottom: 1px solid #D5D5D5; }
	.yb .yb-gf:not(.yb-gf-js) .yb-gf-panel { padding: 12px 0; }

	.yb .yb-footer.yb-gf .yb-gf-col--connect { padding: 20px 0 20px; text-align: center; }
	.yb .yb-footer.yb-gf .yb-gf-col--connect .yb-footer__title {
		margin: 0 0 20px;
		padding: 0;
		font-size: 18px;
		line-height: 22px;
		letter-spacing: 1.5px;
		text-align: center;
		color: #000;
	}
	.yb .yb-footer.yb-gf .yb-footer__list--social { justify-content: space-around; gap: 0; padding: 0 10px; }

	.yb .yb-footer.yb-gf .yb-footer__bottom {
		flex-direction: column-reverse;
		justify-content: center;
		gap: 2px;
		padding: 32px 16px 24px;
		text-align: center;
	}
	.yb .yb-footer.yb-gf .yb-footer__legal { justify-content: center; padding: 0; }
	.yb .yb-footer.yb-gf .yb-footer__copy { line-height: 26px; }
}
