/* Footer Pro
   ==========================================================================
   Styles for the footer built by the Footer Pro module. Colours and fonts are
   read from the active theme's variables when it defines them (--ink, --sun,
   --brand, --font-display), with the module's own values as fallback, so the
   footer also works on a theme that knows nothing about it.

   Layout: the main row is a wrapping flex row. Brand, link columns and the
   app block share the width, so a section that is switched off simply leaves
   its space to the others. */

footer.fp-footer {
	margin-top: 44px;
	padding: 0;
	background-color: var(--ink, #0f1e3d);
	border: 0;
	border-radius: 0;
	color: rgba(255, 255, 255, 0.74);
	font-family: var(--font-ui, inherit);
	font-size: 14.5px;
	line-height: 1.6;
	text-align: left;
}

/* :where keeps this reset weaker than the rules that lay a list out as a row */
.fp-footer :where(.fp) ul {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fp-footer .fp a {
	text-decoration: none;
}

.fp-footer .fp a:focus-visible {
	outline: 2px solid var(--sun, #ffb020);
	outline-offset: 3px;
	border-radius: 4px;
}

/* Partners strip */
.fp-footer .fp-partners {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fp-footer .fp-partners-in {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 40px;
	padding: 16px 0;
}

.fp-footer .fp-partners-title {
	flex: none;
	margin: 0;
	color: rgba(255, 255, 255, 0.62);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.fp-footer .fp-partners-list {
	display: flex;
	flex: 1 1 320px;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px 36px;
}

.fp-footer .fp-partners-list li {
	display: flex;
}

.fp-footer .fp-partners-list a,
.fp-footer .fp-partners-list span {
	display: flex;
	align-items: center;
	height: 46px;
	padding: 8px 16px;
	background: #fff;
	border-radius: 12px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.fp-footer .fp-partners-list img {
	display: block;
	width: auto;
	max-width: 150px;
	height: auto;
	max-height: 30px;
}

.fp-footer .fp-partners-list a:hover {
	transform: translateY(-2px);
}

/* Single colour: logos are shown in white, straight on the footer */
.fp-footer .fp-partners-mono .fp-partners-list a,
.fp-footer .fp-partners-mono .fp-partners-list span {
	height: 36px;
	padding: 0;
	background: none;
	border-radius: 0;
	opacity: 0.72;
}

.fp-footer .fp-partners-mono .fp-partners-list img {
	max-height: 32px;
	filter: brightness(0) invert(1);
}

.fp-footer .fp-partners-mono .fp-partners-list a:hover {
	opacity: 1;
	transform: none;
}

/* Main row */
.fp-footer .fp-main {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 28px 30px;
	padding: 36px 0 30px;
}

.fp-footer .fp-brand {
	flex: 1.6 1 240px;
	min-width: 0;
	max-width: 420px;
}

.fp-footer .fp-col {
	flex: 1 1 160px;
	min-width: 0;
}

.fp-footer .fp-app {
	flex: 1.2 1 210px;
	min-width: 0;
	max-width: 420px;
}

/* Without link columns the two blocks sit at opposite ends */
.fp-footer .fp-brand:not(:has(~ .fp-col)) + .fp-app {
	margin-left: auto;
}

/* Brand */
.fp-footer .fp-logo {
	display: inline-block;
	max-width: 100%;
	margin-bottom: 14px;
}

/* Width, height and the exact proportions are printed on the image by the
   module (height = width x the file's own ratio). height: auto keeps those
   proportions when the logo has to shrink to fit a narrow column. */
.fp-footer .fp-logo img {
	display: block;
	max-width: 100%;
	height: auto;
	object-fit: contain;
}

.fp-footer .fp-logo-plate {
	padding: 10px 14px;
	background: #fff;
	border-radius: 14px;
}

.fp-footer .fp-logo-text {
	color: #fff;
	font-family: var(--font-display, inherit);
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.fp-footer .fp-brand-text {
	max-width: 38ch;
	margin: 0 0 14px;
	color: rgba(255, 255, 255, 0.74);
	font-size: 14.5px;
	line-height: 1.65;
}

.fp-footer .fp-contacts {
	margin: 0 0 16px;
}

.fp-footer .fp-contacts li {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin: 0 0 7px;
	color: rgba(255, 255, 255, 0.86);
	overflow-wrap: anywhere;
}

.fp-footer .fp-contacts .fa {
	flex: none;
	width: 16px;
	color: var(--sun, #ffb020);
	font-size: 14px;
	text-align: center;
}

.fp-footer .fp-contacts a {
	color: rgba(255, 255, 255, 0.86);
	transition: color 0.2s ease;
}

.fp-footer .fp-contacts a:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Social buttons */
.fp-footer .fp h5.fp-social-title {
	margin: 18px 0 12px;
}

.fp-footer .fp-social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.fp-footer .fp-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.09);
	border-radius: 12px;
	color: #fff;
	font-size: 16px;
	transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.fp-footer .fp-social a:hover {
	background: var(--sun, #ffb020);
	color: var(--ink, #0f1e3d);
	transform: translateY(-3px);
}

.fp-footer .fp-social .fa {
	margin: 0;
	color: inherit;
}

/* Brand colours: each network on its own colour, with a soft glow of that
   colour under the button that grows as the button lifts */
.fp-footer .fp-social-color a {
	--fp-s: #64748b;
	position: relative;
	width: 44px;
	height: 44px;
	background: var(--fp-s);
	border-radius: 14px;
	box-shadow: 0 10px 18px -12px var(--fp-s), inset 0 1px 0 rgba(255, 255, 255, 0.28);
	font-size: 19px;
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, filter 0.3s ease;
}

.fp-footer .fp-social-color a:hover,
.fp-footer .fp-social-color a:focus-visible {
	background: var(--fp-s);
	box-shadow: 0 16px 24px -10px var(--fp-s), inset 0 1px 0 rgba(255, 255, 255, 0.28);
	color: #fff;
	filter: saturate(1.15) brightness(1.06);
	transform: translateY(-4px) rotate(-4deg);
}

.fp-footer .fp-social-color a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.fp-footer .fp-social-color .fp-s-facebook { --fp-s: #1877f2; }
.fp-footer .fp-social-color .fp-s-twitter { --fp-s: #1d9bf0; }
.fp-footer .fp-social-color .fp-s-youtube { --fp-s: #ff0000; }
.fp-footer .fp-social-color .fp-s-linkedin { --fp-s: #0a66c2; }
.fp-footer .fp-social-color .fp-s-pinterest { --fp-s: #e60023; }
.fp-footer .fp-social-color .fp-s-whatsapp { --fp-s: #25d366; }
.fp-footer .fp-social-color .fp-s-telegram { --fp-s: #26a5e4; }

.fp-footer .fp-social-color .fp-s-instagram,
.fp-footer .fp-social-color .fp-s-instagram:hover,
.fp-footer .fp-social-color .fp-s-instagram:focus-visible {
	--fp-s: #dd2a7b;
	background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

/* TikTok is black: on the dark footer it gets a light rim, and the mark
   carries the two offset colours of the logo */
.fp-footer .fp-social-color .fp-s-tiktok,
.fp-footer .fp-social-color .fp-s-tiktok:hover,
.fp-footer .fp-social-color .fp-s-tiktok:focus-visible {
	--fp-s: #25f4ee;
	background: #010101;
	box-shadow: 0 10px 18px -12px #25f4ee, inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.fp-footer .fp-social-color .fp-s-tiktok:hover,
.fp-footer .fp-social-color .fp-s-tiktok:focus-visible {
	box-shadow: 0 16px 24px -10px #fe2c55, inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.fp-footer .fp-social-color .fp-s-tiktok svg {
	width: 20px;
	height: 20px;
	filter: drop-shadow(1.4px 1.4px 0 #fe2c55) drop-shadow(-1.4px -1.4px 0 #25f4ee);
}

@media (prefers-reduced-motion: reduce) {
	.fp-footer .fp-social-color a,
	.fp-footer .fp-social-color a:hover,
	.fp-footer .fp-social-color a:focus-visible {
		transform: none;
		transition: none;
	}
}

/* Section titles */
.fp-footer .fp h5 {
	display: block;
	margin: 4px 0 14px;
	color: var(--sun, #ffb020);
	font-family: var(--font-ui, inherit);
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.14em;
	text-align: left;
	text-transform: uppercase;
}

/* Link columns */
.fp-footer .fp-col li {
	margin: 0 0 9px;
}

.fp-footer .fp-col a {
	display: inline;
	padding: 2px 0;
	color: rgba(255, 255, 255, 0.84);
	font-size: 14.5px;
	line-height: 1.45;
	opacity: 1;
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: 0 1px;
	transition: color 0.2s ease, background-size 0.35s ease;
}

.fp-footer .fp-col a:hover,
.fp-footer .fp-col a:focus {
	padding-left: 0;
	color: #fff;
	background-size: 100% 1px;
}

/* App download */
.fp-footer .fp-app-text {
	max-width: 34ch;
	margin: 0 0 14px;
	color: rgba(255, 255, 255, 0.74);
	font-size: 14.5px;
	line-height: 1.6;
}

.fp-footer .fp-app-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 16px;
}

.fp-footer .fp-app-buttons {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.fp-footer .fp-store {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 172px;
	padding: 9px 18px 9px 16px;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 14px;
	color: #fff;
	transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.fp-footer .fp-store:hover {
	background: #fff;
	border-color: #fff;
	color: var(--ink, #0f1e3d);
	transform: translateY(-2px);
}

.fp-footer .fp-store .fa {
	flex: none;
	width: 22px;
	margin: 0;
	color: inherit;
	font-size: 24px;
	text-align: center;
}

.fp-footer .fp-store svg {
	flex: none;
	width: 22px;
}

.fp-footer .fp-store span {
	display: block;
	font-family: var(--font-display, inherit);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.15;
	white-space: nowrap;
}

.fp-footer .fp-store small {
	display: block;
	font-family: var(--font-ui, inherit);
	font-size: 10.5px;
	font-weight: 400;
	letter-spacing: 0.02em;
	opacity: 0.8;
}

.fp-footer .fp-qr {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 11px;
}

.fp-footer .fp-qr img {
	display: block;
	width: 84px;
	height: 84px;
	padding: 6px;
	background: #fff;
	border-radius: 12px;
}

/* Bottom bar */
.fp-footer .fp-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 32px;
	padding: 16px 0 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.fp-footer .fp-legal {
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 24px;
}

.fp-footer .fp-copy {
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 13px;
}

.fp-footer .fp-legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
}

.fp-footer .fp-legal-links a {
	color: rgba(255, 255, 255, 0.7);
	font-size: 13px;
	transition: color 0.2s ease;
}

.fp-footer .fp-legal-links a:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Payment methods */
.fp-footer .fp-payments {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
}

.fp-footer .fp-payments-title {
	color: rgba(255, 255, 255, 0.62);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.fp-footer .fp-payments ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.fp-footer .fp-pay {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-width: 50px;
	height: 32px;
	margin: 0;
	padding: 0 9px;
	background: #fff;
	border-radius: 8px;
	color: #1f2937;
	font-size: 12px;
	line-height: 1;
	white-space: nowrap;
}

.fp-footer .fp-pay .fa {
	margin: 0;
	font-size: 24px;
	line-height: 1;
}

.fp-footer .fp-pay b {
	font-weight: 700;
}

.fp-footer .fp-pay img {
	display: block;
	width: auto;
	max-width: 56px;
	height: auto;
	max-height: 22px;
}

.fp-footer .fp-pay-visa .fa { color: #1a1f71; }
.fp-footer .fp-pay-mastercard .fa { color: #eb001b; }
.fp-footer .fp-pay-amex .fa { color: #2e77bc; }
.fp-footer .fp-pay-discover .fa { color: #e55c00; }
.fp-footer .fp-pay-jcb .fa { color: #0b4ea2; }
.fp-footer .fp-pay-diners .fa { color: #0079be; }
.fp-footer .fp-pay-paypal .fa { color: #003087; }
.fp-footer .fp-pay-stripe .fa { color: #635bff; }

.fp-footer .fp-pay-applepay .fa,
.fp-footer .fp-pay-googlepay .fa,
.fp-footer .fp-pay-bank .fa,
.fp-footer .fp-pay-cod .fa {
	font-size: 15px;
}

.fp-footer .fp-pay-googlepay .fa { color: #4285f4; }
.fp-footer .fp-pay-bank .fa { color: #1f4fd8; }
.fp-footer .fp-pay-cod .fa { color: #047857; }

/* Medium desktops: the app block moves to a row of its own, laid out sideways */
@media (max-width: 1199px) {
	.fp-footer .fp-partners-list {
		justify-content: flex-start;
		gap: 16px 44px;
	}

	.fp-footer .fp-app {
		display: grid;
		flex: 1 1 100%;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		column-gap: 32px;
		max-width: none;
		padding-top: 22px;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}

	.fp-footer .fp-app h5 {
		grid-column: 1;
		margin: 0 0 8px;
	}

	.fp-footer .fp-app-text {
		grid-column: 1;
		max-width: 60ch;
		margin: 0;
	}

	.fp-footer .fp-app-row {
		grid-column: 2;
		grid-row: 1 / span 2;
		align-items: center;
	}

	.fp-footer .fp-app-buttons {
		flex-direction: row;
		flex-wrap: wrap;
	}
}

/* Tablets: the brand takes a full row, the columns share the next */
@media (max-width: 991px) {
	.fp-footer .fp-main {
		gap: 24px 28px;
		padding: 30px 0 26px;
	}

	.fp-footer .fp-brand {
		flex: 1 1 100%;
		max-width: none;
	}

	.fp-footer .fp-brand-text {
		max-width: 60ch;
	}

	.fp-footer .fp-col {
		flex: 1 1 140px;
	}
}

/* Phones: two columns of links */
@media (max-width: 600px) {
	footer.fp-footer {
		margin-top: 32px;
	}

	.fp-footer .fp-partners-list {
		justify-content: flex-start;
		gap: 16px 26px;
	}

	.fp-footer .fp-col {
		flex: 1 1 calc(50% - 14px);
	}

	.fp-footer .fp-app {
		display: block;
	}

	.fp-footer .fp-app-text {
		margin-bottom: 14px;
	}

	.fp-footer .fp-bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.fp-footer .fp-legal {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fp-footer .fp a,
	.fp-footer .fp-partners-list span {
		transition: none;
	}
}

@media print {
	.fp-footer .fp-partners,
	.fp-footer .fp-app,
	.fp-footer .fp-social,
	.fp-footer .fp-payments {
		display: none;
	}
}
