@charset "UTF-8";
/*!
 * FAMILIA · FOOTER  (familia-content assets/footer.css)
 * ==================================================================
 * The footer familia.lt's pages and the shop's share (Familia_Footer, class-footer.php; client 2026-10-11: one look
 * for both parts, familia.lt the model). familia.lt's `.footer` (its site.css) rebuilt on own classes; selectors carry
 * no theme class, so the same rules run in both themes – written to win over the shop's element rules
 * (`.familia button`, `.familia a:hover` …: this file loads after the theme's).
 *
 *   footer.f-footer                         #f5f5f5, brown #3d291d text
 *     .f-footer__in                         familia.lt's `.full-container`: max 1920, 30px sides (20 ≤1200)
 *       .f-footer__news                     title = the section title (40px, 32 ≤1024) · intro, 55px field, 51px sky
 *                                           button; 60px bands
 *       .f-footer__topics                   #4a7a9c strip (familia.lt's #6293b4 made AA), 10px corners, 14px white;
 *                                           >1024 the titles in a row (one click opens all lists), ≤1024 a list of
 *                                           titles, each its own
 *       .f-footer__links                    1px #676767 hairlines; columns 22px titles, 16px grey links; marks
 *       .f-footer__info                     20px help line · grey contacts · 24px social marks
 *     .f-footer__bar                        #e5f5ff, 14px grey
 *     .f-footer__totop                      48px white circle on the top edge
 */

.f-footer {
	--f-footer-gut: 30px;
	--f-footer-ink: #3d291d;
	--f-footer-grey: #676767;
	--f-footer-sky: #8dc9f7;
	--f-footer-sky-hover: #81c3f6;
	/* familia.lt's strip was #6293b4 (hover #5c8cad): white 14px text on it is 3.3:1. The same blue a step darker
	   gives 4.6:1 (WCAG AA) – client 2026-10-11 asked for an accessible footer */
	--f-footer-strip: #4a7a9c;
	--f-footer-strip-hover: #456f90;
	--f-footer-bar: #e5f5ff;
	position: relative;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: #f5f5f5;
	color: var(--f-footer-ink);
	font-family: inherit;   /* Geologica in both themes */
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: 0;
	text-align: left;
}
@media (max-width: 1200px) {
	.f-footer { --f-footer-gut: 20px; }
}
.f-footer *,
.f-footer *::before,
.f-footer *::after { box-sizing: border-box; }
.f-footer [hidden] { display: none !important; }
.f-footer p,
.f-footer ul,
.f-footer li,
.f-footer h2 { margin: 0; padding: 0; }
.f-footer ul { list-style: none; }
.f-footer a { color: inherit; text-decoration: none; }
.f-footer a:hover { color: var(--f-footer-ink); text-decoration: none; }
.f-footer :focus { outline: none; }
.f-footer :focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 2px; }
.f-footer .f-footer__sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.f-footer__in { width: 100%; max-width: 1920px; margin: 0 auto; padding: 0 var(--f-footer-gut); }

/* ---- 1 · newsletter: familia.lt's `.naujienlaiskis` – title | sign-up (the sign-up as its Omnisend form draws it).
   The title is the shared scale's section title (--f-title-section / --f-title-tracking, declared by both themes:
   familia-web theme.css, the shop's familia.css §02; client 2026-10-11 "reducing size of such header fonts … fit in
   single line" – was 50px, 36 up to 1024, at most 640px wide on half the row): its column 5/9 of the row, so
   "Prisijunkite prie „Familia“ bendruomenės" is one line from 1200px ---- */
.f-footer .f-footer__news { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: 20px; padding: 60px 0; scroll-margin-top: 80px; }   /* #naujienlaiskis under the fixed header */
.f-footer .f-footer__news-title {
	margin: 0;
	color: inherit;
	font-family: inherit;
	font-size: var(--f-title-section, 40px);
	font-weight: 400;
	line-height: 1;
	letter-spacing: var(--f-title-tracking, -.04em);
	text-transform: none;
	text-wrap: balance;
}
.f-footer .f-footer__news-body { min-width: 0; }
/* the intro and the consent line in the shared body text (client 2026-10-12, "4. Body text": both themes declare
   --f-copy-* – familia-web theme.css, the shop's familia.css §02): 16px light, line 1.4, grey (was brown regular, line
   1.45); the consent line the small print, 14px regular (was 13px) */
.f-footer .f-footer__news-text { margin: 0 0 12px; color: var(--f-copy-color, #676767); font-size: var(--f-copy-size, 16px); font-weight: var(--f-copy-weight, 300); line-height: var(--f-copy-lh, 1.4); }
.f-footer .f-footer__news-text p { margin: 0; }
.f-footer .f-footer__news-text p + p { margin-top: var(--f-copy-gap, 16px); }
.f-footer .f-footer__form { display: grid; gap: 12px; margin: 0; }
/* the field: the shared field of both themes (client 2026-10-12, "5. Form fields": --f-field-* in familia-web theme.css and
   the shop's familia.css §02; the fallbacks are the same values) – 55px, white, 1px #8c8178 rim, 8px corners; was
   familia.lt's 2px brown rim on the grey */
.f-footer input.f-footer__input {
	display: block;
	width: 100%;
	height: var(--f-field-h, 55px);
	min-height: 0;
	margin: 0;
	padding: 0 var(--f-field-pad, 16px);
	border: var(--f-field-rim, 1px) solid var(--f-field-border, #8c8178);
	border-radius: var(--f-field-radius, 8px);
	background: var(--f-field-bg, #fff);
	box-shadow: none;
	color: var(--f-field-ink, #3d291d);
	font-family: inherit;
	font-size: var(--f-field-size, 16px);
	line-height: normal;
	-webkit-appearance: none;
	appearance: none;
}
.f-footer input.f-footer__input:hover { border-color: var(--f-field-border-hover, #3d291d); }
.f-footer input.f-footer__input:focus { border-color: var(--f-field-focus, #3d291d); box-shadow: var(--f-field-ring, 0 0 0 1px #3d291d, 0 0 0 4px rgb(141 201 247 / .65)); outline: 2px solid transparent; }
.f-footer .f-footer__input::placeholder { color: var(--f-field-placeholder, #776a61); opacity: 1; }   /* 5.2:1 on white */
.f-footer .f-footer__submit,
.f-footer .f-footer__submit:hover,
.f-footer .f-footer__submit:active,
.f-footer a.f-footer__button,
.f-footer a.f-footer__button:hover {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	height: 51px;
	min-height: 0;
	margin: 0;
	padding: 0 16px;
	border: 0;
	border-radius: 8px;
	background: var(--f-footer-sky);
	box-shadow: none;
	color: rgb(0 0 0 / .7);
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0;
	text-decoration: none;
	text-transform: none;
	transform: none;
	cursor: pointer;
	transition: background-color .2s;
}
.f-footer .f-footer__submit:hover,
.f-footer a.f-footer__button:hover { background: var(--f-footer-sky-hover); }
.f-footer a.f-footer__button,
.f-footer a.f-footer__button:hover { display: inline-flex; width: auto; padding: 0 24px; }
.f-footer .f-footer__submit[disabled] { opacity: .6; cursor: progress; }
/* the field's own button, right under it: as tall as the field (client 2026-10-12, "5. Form fields"; was 51px) */
.f-footer .f-footer__submit { height: var(--f-field-h, 55px); }
.f-footer .f-footer__consent { color: var(--f-copy-color, #676767); font-size: var(--f-copy-sm, 14px); font-weight: var(--f-copy-sm-weight, 400); line-height: var(--f-copy-sm-lh, 1.4); }
.f-footer .f-footer__consent a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
.f-footer .f-footer__msg { font-size: 14px; line-height: 1.4; }
.f-footer .f-footer__msg:empty { display: none; }

/* Omnisend's embedded form (familia.lt's footer form) drawn as ours: its section / column paddings and grounds off,
   Geologica, the 55px field and the 51px sky button; its rules are ID + class, so !important on what we take over */
.f-footer .f-footer__embed { color: var(--f-footer-ink); }
.f-footer .f-footer__embed [class*="-section-"],
.f-footer .f-footer__embed [class*="-column-"] { padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
.f-footer .f-footer__embed [class$="-opacity-layer"] { display: none !important; }
.f-footer .f-footer__embed [class*="-content"],
.f-footer .f-footer__embed form { width: 100% !important; max-width: none !important; background: transparent !important; }
.f-footer .f-footer__embed [class*="-text-"] { padding: 0 0 12px !important; }
.f-footer .f-footer__embed [class*="-text-"],
.f-footer .f-footer__embed [class*="-text-"] * { color: var(--f-footer-ink) !important; font-family: inherit !important; }
.f-footer .f-footer__embed [class*="-text-"] p { color: var(--f-copy-color, #676767) !important; font-size: var(--f-copy-size, 16px) !important; font-weight: var(--f-copy-weight, 300) !important; line-height: var(--f-copy-lh, 1.4) !important; }   /* the body text, as the fallback's intro */
.f-footer .f-footer__embed [class*="-field-container"],
.f-footer .f-footer__embed [class*="-action-container"] { padding: 0 !important; }
.f-footer .f-footer__embed [class*="-field-container-wrapper"] { margin-bottom: 12px !important; }
.f-footer .f-footer__embed input:is([type="email"], [type="text"], [type="tel"]) {
	flex: none !important;
	width: 100% !important;
	height: var(--f-field-h, 55px) !important;
	margin: 0 !important;
	padding: 0 var(--f-field-pad, 16px) !important;
	border: var(--f-field-rim, 1px) solid var(--f-field-border, #8c8178) !important;
	border-radius: var(--f-field-radius, 8px) !important;
	background: var(--f-field-bg, #fff) !important;
	box-shadow: none !important;
	color: var(--f-field-ink, #3d291d) !important;
	font-family: inherit !important;
	font-size: 16px !important;
	line-height: normal !important;
}
.f-footer .f-footer__embed button[type="submit"] {
	width: 100% !important;
	height: var(--f-field-h, 55px) !important;   /* as tall as the field above it (client 2026-10-12) */
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 16px !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: var(--f-footer-sky) !important;
	box-shadow: none !important;
	color: rgb(0 0 0 / .7) !important;
	font-family: inherit !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	transform: none !important;
	cursor: pointer;
}
.f-footer .f-footer__embed button[type="submit"]:hover { background: var(--f-footer-sky-hover) !important; }
.f-footer .f-footer__embed button[type="submit"] * { font-family: inherit !important; }
.f-footer .f-footer__embed input:is([type="email"], [type="text"], [type="tel"]):focus { border-color: var(--f-field-focus, #3d291d) !important; box-shadow: var(--f-field-ring, 0 0 0 1px #3d291d, 0 0 0 4px rgb(141 201 247 / .65)) !important; outline: 2px solid transparent !important; }
.f-footer .f-footer__embed input::placeholder { color: var(--f-field-placeholder, #776a61) !important; opacity: 1 !important; }

@media (max-width: 1024px) {
	.f-footer .f-footer__news { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 40px 0; }
}

/* ---- 2 · topics: familia.lt's `.menu1` ---- */
.f-footer .f-footer__topics {
	display: grid;
	grid-template-columns: repeat(var(--f-footer-topics, 5), minmax(0, 1fr));
	align-items: start;
	column-gap: 40px;
	margin: 40px 0;
	padding: 0 30px;
	border-radius: 10px;
	background: var(--f-footer-strip);
	color: #fff;
	font-size: 14px;
	transition: background-color .3s;
}
.f-footer .f-footer__topics:hover { background: var(--f-footer-strip-hover); }
.f-footer .f-footer__topic { min-width: 0; }
.f-footer .f-footer__topic-btn,
.f-footer .f-footer__topic-btn:hover,
.f-footer .f-footer__topic-btn:active,
.f-footer .f-footer__topic-btn:focus {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	min-height: 0;
	margin: 0;
	padding: 26px 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: 0;
	text-align: left;
	text-transform: none;
	transform: none;
	cursor: pointer;
}
.f-footer:not(.f-footer--js) .f-footer__topic-btn { cursor: default; }
.f-footer .f-footer__chev { display: none; flex: none; width: 18px; height: 18px; fill: currentColor; transition: transform .3s; }
.f-footer--js .f-footer__topic:last-child .f-footer__chev { display: block; }   /* >1024: one chevron, on the last title */
.f-footer .f-footer__topic.is-open .f-footer__chev { transform: rotate(180deg); }
/* the lists: open without JS; footer.js closes them and opens them again (height from 0, as familia.lt's collapse) */
.f-footer .f-footer__topic-panel { display: grid; grid-template-rows: 1fr; }
.f-footer--js .f-footer__topic-panel { grid-template-rows: 0fr; visibility: hidden; }
.f-footer--js .f-footer__topic.is-open .f-footer__topic-panel { grid-template-rows: 1fr; visibility: visible; }
.f-footer--ready .f-footer__topic-panel { transition: grid-template-rows .35s cubic-bezier(.33, 1, .68, 1), visibility 0s .35s; }
.f-footer--ready .f-footer__topic.is-open .f-footer__topic-panel { transition: grid-template-rows .35s cubic-bezier(.33, 1, .68, 1), visibility 0s; }
.f-footer .f-footer__topic-inner { min-height: 0; overflow: hidden; }
.f-footer .f-footer__topic-list { padding: 0 0 26px; }
.f-footer .f-footer__topic-list li { position: relative; margin: 0 0 4px; padding-left: 20px; }
.f-footer .f-footer__topic-list li:last-child { margin-bottom: 0; }
.f-footer .f-footer__topic-list li::before { content: ""; position: absolute; top: 8px; left: 8px; width: 4px; height: 4px; border-radius: 50%; background: #fff; }
.f-footer .f-footer__topic-list a,
.f-footer .f-footer__topic-list a:hover { color: #fff; font-size: 14px; font-weight: 300; line-height: 1.4; }
.f-footer .f-footer__topic-list a:hover,
.f-footer .f-footer__topic-list a[aria-current="page"] { text-decoration: underline; text-underline-offset: .2em; }
.f-footer .f-footer__topic-list .f-footer__label { font-weight: 400; }
@media (max-width: 1024px) {
	.f-footer .f-footer__topics { grid-template-columns: minmax(0, 1fr); margin: 30px 0; padding: 10px 20px; }
	.f-footer .f-footer__topic-btn,
	.f-footer .f-footer__topic-btn:hover,
	.f-footer .f-footer__topic-btn:active,
	.f-footer .f-footer__topic-btn:focus { padding: 11px 0; }
	.f-footer--js .f-footer__chev { display: block; }
	.f-footer .f-footer__topic-list { padding-bottom: 10px; }
	.f-footer .f-footer__topic-list li { margin-bottom: 10px; }
}

/* ---- 3 · columns and marks: familia.lt's `.menu2`, the shop's payment / delivery marks under them ---- */
.f-footer .f-footer__links { padding: 40px 0 60px; border-top: 1px solid var(--f-footer-grey); border-bottom: 1px solid var(--f-footer-grey); }
.f-footer .f-footer__nav { display: grid; grid-template-columns: repeat(var(--f-footer-cols, 5), minmax(0, 1fr)); gap: 40px; }
.f-footer .f-footer__col { min-width: 0; }
/* the lists of a row start on one line also when a title takes two (subgrid: title row + list row per column) */
@supports (grid-template-rows: subgrid) {
	.f-footer .f-footer__nav { row-gap: 0; }
	.f-footer .f-footer__col { display: grid; grid-row: span 2; grid-template-rows: subgrid; align-content: start; padding-bottom: 40px; }
	.f-footer .f-footer__nav > .f-footer__col:nth-last-child(-n + 6) { padding-bottom: 0; }
}
.f-footer .f-footer__title { display: block; margin: 0 0 20px; color: inherit; font-size: 22px; font-weight: 400; line-height: 1.3; }
.f-footer .f-footer__list li { margin: 0 0 4px; }
.f-footer .f-footer__list li:last-child { margin-bottom: 0; }
.f-footer .f-footer__list a { color: var(--f-footer-grey); font-size: 16px; line-height: 1.3; transition: color .2s; }
.f-footer .f-footer__list a:hover,
.f-footer .f-footer__list a[aria-current="page"] { color: var(--f-footer-ink); }
.f-footer .f-footer__list .f-footer__label { margin-top: 12px; font-weight: 500; }

.f-footer .f-footer__marks { display: flex; flex-wrap: wrap; gap: 24px 60px; margin-top: 48px; }
.f-footer .f-footer__marks-title { margin: 0 0 12px; color: inherit; font-size: 16px; line-height: 1.3; }
.f-footer .f-footer__marks-list { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.f-footer .f-footer__mark { margin: 0; }
.f-footer .f-footer__mark img { display: block; width: auto; max-width: none; height: 32px; }
.f-footer .f-footer__mark--artea img { height: 17px; }   /* a full-bleed wordmark: optically the size of the others */
.f-footer .f-footer__mark--dpd img { height: 24px; }
.f-footer .f-footer__mark .f-footer__mark-icon { flex: none; width: 16px; height: 16px; margin-right: 8px; }
.f-footer .f-footer__mark--text {
	display: inline-flex;
	align-items: center;
	height: 32px;
	padding: 0 12px;
	border: 1px solid #d4d4d4;
	border-radius: 16px;
	background: #fff;
	font-size: 13px;
	line-height: 1;
	white-space: nowrap;
}
.f-footer .f-footer__mark--pickup {
	padding-left: 30px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d291d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21Z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") no-repeat 10px center / 15px;
}

@media (max-width: 1279px) {
	.f-footer .f-footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 30px; }
	@supports (grid-template-rows: subgrid) {
		.f-footer .f-footer__nav { row-gap: 0; }
		.f-footer .f-footer__nav > .f-footer__col:nth-last-child(-n + 6) { padding-bottom: 40px; }
		.f-footer .f-footer__nav > .f-footer__col:nth-last-child(-n + 3) { padding-bottom: 0; }
	}
}
@media (max-width: 1024px) {
	.f-footer .f-footer__links { padding: 30px 0 40px; }
	.f-footer .f-footer__title { margin-bottom: 8px; }
	.f-footer .f-footer__marks { margin-top: 36px; }
}
@media (max-width: 768px) {
	.f-footer .f-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 10px; }
	@supports (grid-template-rows: subgrid) {
		.f-footer .f-footer__nav { row-gap: 0; }
		.f-footer .f-footer__nav > .f-footer__col:nth-last-child(-n + 3) { padding-bottom: 30px; }
		.f-footer .f-footer__nav > .f-footer__col:nth-last-child(-n + 2) { padding-bottom: 0; }
	}
	.f-footer .f-footer__title { font-size: 20px; }
	.f-footer .f-footer__list li { margin-bottom: 8px; }
	.f-footer .f-footer__marks { gap: 24px; }
	.f-footer .f-footer__mark img { height: 28px; }
	.f-footer .f-footer__mark--artea img { height: 15px; }
}

/* ---- 4 · info: familia.lt's `.info` ---- */
.f-footer .f-footer__info { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; }
.f-footer .f-footer__help { max-width: 600px; font-size: 20px; line-height: 1.3; }
.f-footer .f-footer__contacts { display: flex; flex-shrink: 0; align-items: center; gap: 28px; }
.f-footer .f-footer__contact-list li { margin: 0 0 2px; }
.f-footer .f-footer__contact-list li:last-child { margin-bottom: 0; }
.f-footer .f-footer__contact-list a { color: var(--f-footer-grey); transition: color .2s; }
.f-footer .f-footer__contact-list a:hover { color: var(--f-footer-ink); }
.f-footer .f-footer__social { display: flex; gap: 14px; }
.f-footer .f-footer__social a { position: relative; display: block; width: 24px; height: 24px; color: var(--f-footer-ink); transition: opacity .2s; }
.f-footer .f-footer__social a::before { content: ""; position: absolute; inset: -8px; }   /* 40px touch target */
.f-footer .f-footer__social a:hover { color: var(--f-footer-ink); opacity: .75; }
.f-footer .f-footer__social svg { display: block; width: 24px; height: 24px; }
@media (max-width: 768px) {
	.f-footer .f-footer__info { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px 0; }
	.f-footer .f-footer__help { font-size: 18px; }
	.f-footer .f-footer__contacts { flex-wrap: wrap; gap: 16px 24px; max-width: 100%; }
	.f-footer .f-footer__contact-list li { margin-bottom: 4px; }
	.f-footer .f-footer__contact-list a { display: inline-block; padding-block: 3px; }
}

/* ---- 5 · bottom bar: familia.lt's `.bot` with the shop's legal links ---- */
.f-footer .f-footer__bar { background: var(--f-footer-bar); color: var(--f-footer-grey); font-size: 14px; line-height: 1.3; }
.f-footer .f-footer__bar-in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-top: 15px; padding-bottom: 15px; }
.f-footer .f-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
.f-footer .f-footer__credit { margin-left: auto; text-align: right; }
.f-footer .f-footer__bar a { display: inline-block; padding-block: 4px; margin-block: -4px; color: var(--f-footer-grey); font-size: 14px; transition: color .2s; }
.f-footer .f-footer__bar a:hover,
.f-footer .f-footer__bar a[aria-current="page"] { color: var(--f-footer-ink); }
.f-footer .f-footer__cookies-item:has(> [hidden]) { display: none; }
.f-footer .f-footer__cookies,
.f-footer .f-footer__cookies:hover,
.f-footer .f-footer__cookies:active,
.f-footer .f-footer__cookies:focus {
	display: inline;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: var(--f-footer-grey);
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: inherit;
	letter-spacing: 0;
	text-transform: none;
	transform: none;
	cursor: pointer;
}
.f-footer .f-footer__cookies:hover { color: var(--f-footer-ink); }
@media (max-width: 1024px) {
	.f-footer .f-footer__bar-in { flex-direction: column; align-items: flex-start; gap: 8px; }
	.f-footer .f-footer__legal { row-gap: 8px; }
	.f-footer .f-footer__credit { margin-left: 0; text-align: left; }
}

/* ---- back to top: a 48px circle on the footer's top edge, after scrolling (footer.js) ---- */
.f-footer .f-footer__totop,
.f-footer .f-footer__totop:hover,
.f-footer .f-footer__totop:active,
.f-footer .f-footer__totop:focus {
	position: absolute;
	top: -24px;
	right: var(--f-footer-gut);
	z-index: 5;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 10px rgb(102 105 107 / .15);
	color: var(--f-footer-ink);
	transform: none;
	cursor: pointer;
}
.f-footer .f-footer__totop { visibility: hidden; opacity: 0; transition: opacity .3s, visibility 0s .3s; }
.f-footer .f-footer__totop.is-visible { visibility: visible; opacity: 1; transition: opacity .3s; }
.f-footer .f-footer__totop:hover { color: #f00f00; }
.f-footer .f-footer__totop svg { display: block; width: 20px; height: 20px; }

/* ---- motion, forced colours, print ---- */
@media (prefers-reduced-motion: reduce) {
	.f-footer *,
	.f-footer *::before { transition: none !important; }
}
@media (forced-colors: active) {
	.f-footer .f-footer__topics,
	.f-footer .f-footer__mark--text { border: 1px solid CanvasText; }
}
@media print {
	.f-footer .f-footer__news,
	.f-footer .f-footer__topics,
	.f-footer .f-footer__links,
	.f-footer .f-footer__social,
	.f-footer .f-footer__totop,
	.f-footer .f-footer__cookies-item { display: none !important; }
}
