/**
 * Cartbasket illustrations and footer motion (2026-11-16). Loaded on every page after cb-colour-motion.css.
 *
 * Looping artwork lives in [data-cb-loop] (.cb-anim) wrappers. Its animations run only while js/cb-ui.js marks the
 * wrapper .is-playing (on screen, tab visible, not paused with the Pause animations control); otherwise they hold
 * their current frame. Without the script, or for reduced-motion visitors, every illustration shows its resting
 * state, which is drawn as a complete static picture. One-off drawings (page heroes) play once on load.
 * Motion is transforms, opacity and SVG stroke offsets only.
 */

/* ------------------------------------------------------------------ shared */
.cb-art {
	display: block;
	width: 100%;
	height: auto;
	overflow: hidden;
	font-family: var(--cb-font-body);
}

/* Parts that rotate or scale around their own centre or edge (translations need no box). */
.cb-truck__wheel,
.cb-cod__note,
.cb-cod__check,
.cb-track__ripple,
.cb-ret__flap,
.cb-can__node,
.cb-doc__line,
.cb-doc__seal {
	transform-box: fill-box;
}

.cb-anim:not(.is-playing) *,
html.cb-motion-paused .cb-anim * {
	animation-play-state: paused !important;
}

/* ------------------------------------------------------------------ Pause / Resume control */
/* html body: WoodMart's body-printed button styles would otherwise fill it grey. */
html body .cb-motion-toggle {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 44px;
	padding: 6px 16px;
	border: 1px solid var(--cb-line-strong);
	border-radius: 999px;
	background-color: #FFFFFF;
	color: var(--cb-ink);
	font-family: var(--cb-font-body);
	font-size: var(--cb-size-small);
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
	transition: border-color var(--cb-dur-fast) var(--cb-ease-out), background-color var(--cb-dur-fast) var(--cb-ease-out);
}

.cb-motion-toggle[hidden] {
	display: none;
}

html body .cb-motion-toggle:hover,
html body .cb-motion-toggle:focus-visible {
	border-color: var(--cb-aubergine);
	background-color: var(--cb-rose-soft);
	color: var(--cb-ink);
}

.cb-motion-toggle__icon {
	position: relative;
	width: 12px;
	height: 12px;
}

.cb-motion-toggle__icon::before,
.cb-motion-toggle__icon::after {
	content: "";
	position: absolute;
	top: 0;
	width: 4px;
	height: 12px;
	border-radius: 1px;
	background-color: currentColor;
}

.cb-motion-toggle__icon::before {
	left: 1px;
}

.cb-motion-toggle__icon::after {
	right: 1px;
}

html.cb-motion-paused .cb-motion-toggle__icon::before {
	left: 2px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 6px 0 6px 10px;
	border-color: transparent transparent transparent currentColor;
	border-radius: 0;
	background: none;
}

html.cb-motion-paused .cb-motion-toggle__icon::after {
	display: none;
}

/* ------------------------------------------------------------------ homepage service cards */
.cb-services .cb-services__list {
	align-items: stretch;
}

.cb-services .cb-service {
	flex-direction: column;
	gap: 14px;
	padding: 12px 12px 18px;
}

/* The SVG's 2:1 viewBox sets the height (a CSS aspect-ratio here sized the grid row unevenly). */
.cb-service__art {
	overflow: hidden;
	border-radius: 14px;
	background-image: linear-gradient(160deg, #FCF8F9 0%, #F3E6E9 100%);
}

.cb-services .cb-service {
	height: 100%;
}

.cb-services .cb-service__body {
	padding: 0 6px;
}

.cb-services__tools {
	display: flex;
	justify-content: flex-end;
	margin-top: 14px;
}

@media (max-width: 600px) {
	.cb-services .cb-services__list {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ------------------------------------------------------------------ truck */
.cb-truck__clouds rect {
	fill: #FFFFFF;
}

.cb-truck__leaf {
	fill: #D9BFC5;
}

.cb-truck__trunk {
	fill: #B9969F;
}

.cb-truck__road {
	fill: #E8D6D9;
}

.cb-truck__lane {
	stroke: #FFFFFF;
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-dasharray: 14 10;
}

.cb-truck__shadow {
	fill: rgba(41, 23, 39, 0.16);
}

.cb-truck__speed line {
	stroke: #66394F;
	stroke-width: 2.5;
	stroke-linecap: round;
	opacity: 0.45;
}

.cb-truck__cargo {
	fill: #42243A;
}

.cb-truck__label {
	fill: #FFF8FA;
	font-size: 14px;
	font-weight: 700;
}

.cb-truck__cab {
	fill: #66394F;
}

.cb-truck__window,
.cb-truck__light {
	fill: #F5D4E3;
}

.cb-truck__tyre {
	fill: #241F23;
}

.cb-truck__hub {
	fill: #E8D6D9;
}

.cb-truck__spoke {
	stroke: #E8D6D9;
	stroke-width: 2.4;
	stroke-linecap: round;
}

/* The truck crosses the card every 5.6 s (off the left edge to off the right, ~66 units/s) while the road and trees
   stream back behind it, so the wheels turn at the combined ground speed (~0.5 s a turn for r = 11). The negative
   delay starts each card with the truck already on the road. */
.cb-truck__vehicle {
	animation: cb-truck-drive 5.6s linear -2.6s infinite;
}

.cb-truck__wheel {
	transform-origin: center;
	animation: cb-truck-spin 0.5s linear infinite;
}

.cb-truck__lane {
	animation: cb-truck-lane 0.4s linear infinite;
}

.cb-truck__trees {
	animation: cb-truck-scenery 4s linear infinite;
}

.cb-truck__clouds {
	animation: cb-truck-scenery 16s linear infinite;
}

/* Paused: the truck parks mid-road rather than freezing half out of view. */
html.cb-motion-paused .cb-truck__vehicle {
	animation: none;
}

.cb-truck__body {
	animation: cb-truck-bounce 0.34s ease-in-out infinite alternate;
}

.cb-truck__speed {
	animation: cb-truck-speed 0.7s linear infinite;
}

@keyframes cb-truck-drive {
	from {
		transform: translateX(-188px);
	}

	to {
		transform: translateX(188px);
	}
}

@keyframes cb-truck-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes cb-truck-lane {
	to {
		stroke-dashoffset: 24;
	}
}

@keyframes cb-truck-scenery {
	to {
		transform: translateX(-240px);
	}
}

@keyframes cb-truck-bounce {
	to {
		transform: translateY(-1.6px);
	}
}

@keyframes cb-truck-speed {
	0% {
		transform: translateX(8px);
		opacity: 0;
	}

	35% {
		opacity: 1;
	}

	100% {
		transform: translateX(-12px);
		opacity: 0;
	}
}

/* ------------------------------------------------------------------ Cash on Delivery */
.cb-cod__halo {
	fill: rgba(232, 214, 217, 0.7);
	transform-box: fill-box;
	transform-origin: center;
	animation: cb-cod-halo 4s var(--cb-ease-emph) infinite;
}

/* The halo swells as the check mark lands (52 %), so "paid on delivery" reads as a confirmation. */
@keyframes cb-cod-halo {
	0%,
	46%,
	100% {
		transform: scale(0.92);
	}

	56% {
		transform: scale(1.08);
	}

	70% {
		transform: scale(1);
	}
}

.cb-cod__wallet-back {
	fill: #66394F;
}

.cb-cod__wallet-front {
	fill: #42243A;
}

.cb-cod__clasp {
	fill: #F5D4E3;
}

.cb-cod__paper {
	fill: #E9F3EC;
	stroke: #2F7A47;
	stroke-width: 2;
}

.cb-cod__inner {
	fill: none;
	stroke: rgba(47, 122, 71, 0.45);
	stroke-width: 1.5;
}

.cb-cod__rupee {
	fill: #1F5130;
	font-size: 22px;
	font-weight: 700;
}

.cb-cod__note {
	transform-origin: center;
	transform: translate(169px, 58px);
	animation: cb-cod-note 4s var(--cb-ease-out) infinite;
}

.cb-cod__check circle {
	fill: #2F7A47;
}

.cb-cod__check path {
	fill: none;
	stroke: #FFFFFF;
	stroke-width: 4;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 32;
	animation: cb-cod-tick 4s ease-out infinite;
}

.cb-cod__check {
	transform-origin: center;
	animation: cb-cod-check 4s var(--cb-ease-emph) infinite;
}

@keyframes cb-cod-note {
	0% {
		transform: translate(64px, 58px) rotate(-8deg);
		opacity: 0;
	}

	6% {
		transform: translate(64px, 58px) rotate(-8deg);
		opacity: 1;
	}

	32% {
		transform: translate(169px, 34px) rotate(0deg);
	}

	44%,
	86% {
		transform: translate(169px, 58px) rotate(0deg);
		opacity: 1;
	}

	94%,
	100% {
		transform: translate(169px, 58px) rotate(0deg);
		opacity: 0;
	}
}

@keyframes cb-cod-check {
	0%,
	44% {
		transform: scale(0.6);
		opacity: 0;
	}

	52%,
	86% {
		transform: scale(1);
		opacity: 1;
	}

	94%,
	100% {
		transform: scale(1);
		opacity: 0;
	}
}

@keyframes cb-cod-tick {
	0%,
	50% {
		stroke-dashoffset: 32;
	}

	62%,
	100% {
		stroke-dashoffset: 0;
	}
}

/* ------------------------------------------------------------------ size exchange */
.cb-swap__arrow,
.cb-swap__head {
	fill: none;
	stroke: #42243A;
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.cb-swap__arrow {
	stroke-dasharray: 80;
	animation: cb-swap-draw 4.8s ease-out infinite;
}

.cb-swap__head {
	animation: cb-swap-head 4.8s ease-out infinite;
}

.cb-swap__card {
	fill: #FFFFFF;
	stroke: #42243A;
	stroke-width: 2.5;
}

.cb-swap__tag--b .cb-swap__card {
	fill: #F5D4E3;
}

.cb-swap__hole {
	fill: #E8D6D9;
}

.cb-swap__size {
	fill: #42243A;
	font-size: 20px;
	font-weight: 700;
}

.cb-swap__tag--a {
	transform: translate(60px, 61px);
	animation: cb-swap-a 4.8s var(--cb-ease-out) infinite;
}

.cb-swap__tag--b {
	transform: translate(180px, 61px);
	animation: cb-swap-b 4.8s var(--cb-ease-out) infinite;
}

@keyframes cb-swap-draw {
	0% {
		stroke-dashoffset: 80;
		opacity: 1;
	}

	18%,
	72% {
		stroke-dashoffset: 0;
		opacity: 1;
	}

	82%,
	100% {
		stroke-dashoffset: 0;
		opacity: 0;
	}
}

@keyframes cb-swap-head {
	0%,
	12% {
		opacity: 0;
	}

	20%,
	72% {
		opacity: 1;
	}

	82%,
	100% {
		opacity: 0;
	}
}

@keyframes cb-swap-a {
	0%,
	22% {
		transform: translate(60px, 61px);
		opacity: 1;
	}

	35% {
		transform: translate(120px, 30px);
	}

	48%,
	68% {
		transform: translate(180px, 61px);
		opacity: 1;
	}

	75% {
		transform: translate(180px, 61px);
		opacity: 0;
	}

	76% {
		transform: translate(60px, 61px);
		opacity: 0;
	}

	86%,
	100% {
		transform: translate(60px, 61px);
		opacity: 1;
	}
}

@keyframes cb-swap-b {
	0%,
	22% {
		transform: translate(180px, 61px);
		opacity: 1;
	}

	35% {
		transform: translate(120px, 92px);
	}

	48%,
	68% {
		transform: translate(60px, 61px);
		opacity: 1;
	}

	75% {
		transform: translate(60px, 61px);
		opacity: 0;
	}

	76% {
		transform: translate(180px, 61px);
		opacity: 0;
	}

	86%,
	100% {
		transform: translate(180px, 61px);
		opacity: 1;
	}
}

/* ------------------------------------------------------------------ track your order */
/* The dotted route marches towards the pin while the parcel travels (two dash periods per cycle: seamless). */
.cb-track__route {
	animation: cb-track-march 1.4s linear infinite;
}

@keyframes cb-track-march {
	to {
		stroke-dashoffset: -18.2;
	}
}

.cb-track__route {
	fill: none;
	stroke: #66394F;
	stroke-width: 4;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 0.1 9;
}

.cb-track__origin {
	fill: #F5D4E3;
	stroke: #66394F;
	stroke-width: 2.5;
}

.cb-track__origin-dot {
	fill: #66394F;
}

.cb-track__ripple {
	fill: none;
	stroke: #42243A;
	stroke-width: 2;
	transform-origin: center;
	opacity: 0;
	animation: cb-track-ripple 4.8s ease-out infinite;
}

.cb-track__parcel rect {
	fill: #E8D6D9;
	stroke: #42243A;
	stroke-width: 2;
}

.cb-track__parcel path {
	fill: none;
	stroke: #42243A;
	stroke-width: 1.6;
}

.cb-track__parcel {
	transform: translate(162px, 62px);
	animation: cb-track-parcel 4.8s linear infinite;
}

.cb-track__pin path {
	fill: #42243A;
}

.cb-track__pin circle {
	fill: #F5D4E3;
}

.cb-track__pin {
	transform: translate(204px, 40px);
	animation: cb-track-pin 4.8s ease-out infinite;
}

@keyframes cb-track-parcel {
	0% {
		transform: translate(30px, 92px) scale(1);
		opacity: 0;
	}

	4% {
		transform: translate(30px, 92px) scale(1);
		opacity: 1;
	}

	18% {
		transform: translate(82px, 92px) scale(1);
	}

	31% {
		transform: translate(112px, 62px) scale(1);
	}

	45% {
		transform: translate(162px, 62px) scale(1);
	}

	58% {
		transform: translate(204px, 40px) scale(1);
		opacity: 1;
	}

	62%,
	100% {
		transform: translate(204px, 40px) scale(0.4);
		opacity: 0;
	}
}

@keyframes cb-track-pin {
	0%,
	58% {
		transform: translate(204px, 40px);
	}

	61% {
		transform: translate(204px, 29px);
	}

	65% {
		transform: translate(204px, 41.5px);
	}

	68% {
		transform: translate(204px, 38.5px);
	}

	71%,
	100% {
		transform: translate(204px, 40px);
	}
}

@keyframes cb-track-ripple {
	0%,
	60% {
		transform: scale(0.5);
		opacity: 0;
	}

	63% {
		transform: scale(1);
		opacity: 0.7;
	}

	86%,
	100% {
		transform: scale(2.6);
		opacity: 0;
	}
}

/* ------------------------------------------------------------------ page hero drawings (once, on load) */
.cb-art__halo {
	fill: rgba(232, 214, 217, 0.55);
}

.cb-ret__arrow,
.cb-ret__head {
	fill: none;
	stroke: #42243A;
	stroke-width: 4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.cb-ret__arrow {
	stroke-dasharray: 150;
	animation: cb-draw-150 900ms var(--cb-ease-out) 750ms both;
}

.cb-ret__head {
	animation: cb-appear 300ms ease-out 1550ms both;
}

.cb-ret__inside {
	fill: #D9BFC5;
}

.cb-ret__tag-card {
	fill: #FFFFFF;
	stroke: #42243A;
	stroke-width: 2.5;
}

.cb-ret__tag-hole {
	fill: #E8D6D9;
}

.cb-ret__tag-size {
	fill: #42243A;
	font-size: 22px;
	font-weight: 700;
}

.cb-ret__tag {
	animation: cb-tag-rise 700ms var(--cb-ease-emph) 450ms both;
}

.cb-ret__flap {
	fill: #E8D6D9;
	stroke: #42243A;
	stroke-width: 2.5;
	stroke-linejoin: round;
	transform-origin: 50% 100%;
	animation: cb-flap-open 650ms var(--cb-ease-emph) 120ms both;
}

.cb-ret__box {
	fill: #F4EAEC;
	stroke: #42243A;
	stroke-width: 2.5;
}

.cb-ret__tape {
	fill: rgba(66, 36, 58, 0.12);
}

.cb-can__card {
	fill: #FFFFFF;
	stroke: #E4DAD5;
	stroke-width: 1.5;
}

.cb-can__line {
	fill: #E8D6D9;
}

.cb-can__line--soft {
	fill: #F4EAEC;
}

.cb-can__badge circle {
	fill: #F4EAEC;
	stroke: #42243A;
	stroke-width: 2;
}

.cb-can__badge path {
	fill: none;
	stroke: #42243A;
	stroke-width: 3;
	stroke-linecap: round;
}

.cb-can__track,
.cb-can__progress {
	stroke-width: 6;
	stroke-linecap: round;
}

.cb-can__track {
	stroke: #E8D6D9;
}

.cb-can__progress {
	stroke: #42243A;
	stroke-dasharray: 60;
	animation: cb-draw-60 900ms var(--cb-ease-out) 300ms both;
}

.cb-can__node {
	fill: #FFFFFF;
	stroke: #E8D6D9;
	stroke-width: 4;
	transform-origin: center;
}

.cb-can__node--1,
.cb-can__node--2 {
	fill: #42243A;
	stroke: #42243A;
	animation: cb-pop 420ms var(--cb-ease-emph) both;
}

.cb-can__node--1 {
	animation-delay: 200ms;
}

.cb-can__node--2 {
	animation-delay: 1100ms;
}

.cb-doc__page {
	fill: #FFFFFF;
	stroke: #E4DAD5;
	stroke-width: 1.5;
}

.cb-doc__page--back {
	fill: #F4EAEC;
}

.cb-doc__line {
	fill: #E8D6D9;
	transform-origin: left center;
	animation: cb-grow-x 520ms var(--cb-ease-out) calc(200ms + var(--i, 0) * 90ms) both;
}

.cb-doc__seal circle {
	fill: #42243A;
}

.cb-doc__seal path {
	fill: none;
	stroke: #FFFFFF;
	stroke-width: 4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.cb-doc__seal {
	transform-origin: center;
	animation: cb-pop 480ms var(--cb-ease-emph) 900ms both;
}

.cb-priv__fill {
	fill: #F4EAEC;
	animation: cb-appear 500ms ease-out 900ms both;
}

.cb-priv__shield {
	fill: none;
	stroke: #42243A;
	stroke-width: 5;
	stroke-linejoin: round;
	stroke-dasharray: 480;
	animation: cb-draw-480 1100ms var(--cb-ease-out) 150ms both;
}

.cb-priv__shackle {
	fill: none;
	stroke: #42243A;
	stroke-width: 7;
	stroke-linecap: round;
	animation: cb-shackle 380ms var(--cb-ease-emph) 1500ms both;
}

.cb-priv__body {
	fill: #42243A;
}

.cb-priv__key {
	fill: #F5D4E3;
}

.cb-priv__lock {
	animation: cb-drop 520ms var(--cb-ease-emph) 1050ms both;
}

@keyframes cb-draw-150 {
	from {
		stroke-dashoffset: 150;
	}

	to {
		stroke-dashoffset: 0;
	}
}

@keyframes cb-draw-60 {
	from {
		stroke-dashoffset: 60;
	}

	to {
		stroke-dashoffset: 0;
	}
}

@keyframes cb-draw-480 {
	from {
		stroke-dashoffset: 480;
	}

	to {
		stroke-dashoffset: 0;
	}
}

@keyframes cb-appear {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes cb-tag-rise {
	from {
		transform: translateY(40px);
		opacity: 0;
	}

	to {
		transform: none;
		opacity: 1;
	}
}

@keyframes cb-flap-open {
	from {
		transform: scaleY(0.12);
	}

	to {
		transform: none;
	}
}

@keyframes cb-pop {
	0% {
		transform: scale(0.4);
		opacity: 0;
	}

	70% {
		transform: scale(1.12);
		opacity: 1;
	}

	100% {
		transform: scale(1);
		opacity: 1;
	}
}

@keyframes cb-grow-x {
	from {
		transform: scaleX(0);
	}

	to {
		transform: none;
	}
}

@keyframes cb-drop {
	from {
		transform: translateY(-16px);
		opacity: 0;
	}

	to {
		transform: none;
		opacity: 1;
	}
}

@keyframes cb-shackle {
	from {
		transform: translateY(-7px);
	}

	to {
		transform: none;
	}
}

/* ------------------------------------------------------------------ footer: moving glow and route line */
footer.wd-footer {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

footer.wd-footer::before,
footer.wd-footer::after {
	content: "";
	position: absolute;
	z-index: -1;
	pointer-events: none;
}

footer.wd-footer::before {
	inset: -30% -12%;
	background-image: radial-gradient(34% 44% at 28% 38%, rgba(245, 212, 227, 0.1), rgba(245, 212, 227, 0) 70%), radial-gradient(28% 36% at 76% 72%, rgba(245, 212, 227, 0.07), rgba(245, 212, 227, 0) 70%);
	animation: cb-footer-glow 22s ease-in-out infinite alternate;
}

footer.wd-footer::after {
	top: 14px;
	right: 0;
	left: 0;
	height: 2px;
	background-image: repeating-linear-gradient(90deg, rgba(245, 212, 227, 0.2) 0 14px, rgba(245, 212, 227, 0) 14px 26px);
	animation: cb-footer-route 7s linear infinite;
}

footer.wd-footer:not(.is-playing)::before,
footer.wd-footer:not(.is-playing)::after,
html.cb-motion-paused footer.wd-footer::before,
html.cb-motion-paused footer.wd-footer::after {
	animation-play-state: paused;
}

@keyframes cb-footer-glow {
	from {
		transform: translate3d(-6%, 2%, 0);
	}

	to {
		transform: translate3d(6%, -4%, 0);
	}
}

@keyframes cb-footer-route {
	to {
		background-position: 260px 0;
	}
}

/* ------------------------------------------------------------------ footer: entrance (js/cb-ui.js adds .cb-pre / .is-in) */
.cb-footer__statement {
	position: relative;
	border-bottom: 0 !important;
}

.cb-footer__legal {
	position: relative;
	border-top: 0 !important;
}

.cb-footer__rule {
	position: absolute;
	right: 0;
	left: 0;
	height: 1px;
	background-color: rgba(255, 248, 250, 0.2);
	transform-origin: left center;
}

.cb-footer__statement > .cb-footer__rule {
	bottom: 0;
}

.cb-footer__legal > .cb-footer__rule {
	top: 0;
}

.cb-footer__title {
	position: relative;
	padding-bottom: 10px;
}

.cb-footer__title::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 32px;
	height: 2px;
	border-radius: 2px;
	background-color: var(--cb-on-dark-accent);
	transform-origin: left center;
}

.cb-footer .cb-footer__statement,
.cb-footer .cb-footer__brand,
.cb-footer .cb-footer__col,
.cb-footer .cb-footer__legal {
	--d: 0;
}

.cb-footer .cb-footer__brand {
	--d: 1;
}

.cb-footer .cb-footer__col:nth-child(2) {
	--d: 2;
}

.cb-footer .cb-footer__col:nth-child(3) {
	--d: 3;
}

.cb-footer .cb-footer__col:nth-child(4) {
	--d: 4;
}

.cb-footer .cb-footer__legal {
	--d: 5;
}

.cb-footer.cb-pre :is(.cb-footer__statement, .cb-footer__brand, .cb-footer__col, .cb-footer__legal) {
	opacity: 0.4;
	transform: translate3d(0, 18px, 0);
}

.cb-footer.cb-pre .cb-footer__rule,
.cb-footer.cb-pre .cb-footer__title::after {
	transform: scaleX(0);
}

.cb-footer.cb-pre.is-in :is(.cb-footer__statement, .cb-footer__brand, .cb-footer__col, .cb-footer__legal) {
	opacity: 1;
	transform: none;
	transition: opacity 560ms var(--cb-ease-out), transform 680ms var(--cb-ease-emph);
	transition-delay: calc(var(--d) * 90ms);
}

.cb-footer.cb-pre.is-in .cb-footer__rule,
.cb-footer.cb-pre.is-in .cb-footer__title::after {
	transform: none;
	transition: transform 900ms var(--cb-ease-out) 300ms;
}

/* ------------------------------------------------------------------ footer: links and contact icons */
footer.wd-footer .cb-footer a,
footer.wd-footer .cb-footer .cb-footer__links li a {
	text-underline-offset: 9px;
	transition: color var(--cb-dur-fast) var(--cb-ease-out), text-decoration-color var(--cb-dur-fast) var(--cb-ease-out), text-underline-offset 220ms var(--cb-ease-out);
}

footer.wd-footer .cb-footer a:is(:hover, :focus-visible),
footer.wd-footer .cb-footer .cb-footer__links li a:is(:hover, :focus-visible),
footer.wd-footer .cb-footer .cb-footer__links li a[aria-current="page"] {
	text-underline-offset: 4px;
}

footer.wd-footer .cb-footer .cb-footer__contact a {
	gap: 10px;
}

.cb-ico {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	fill: none;
	stroke: var(--cb-on-dark-accent);
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	transform-origin: center;
}

.cb-ico__flap {
	transform-box: fill-box;
	transform-origin: center top;
}

.cb-footer__contact a:is(:hover, :focus-visible) .cb-ico--phone {
	animation: cb-ico-ring 620ms ease-in-out;
}

.cb-footer__contact a:is(:hover, :focus-visible) .cb-ico--mail .cb-ico__flap {
	animation: cb-ico-flap 520ms ease-in-out;
}

.cb-footer__contact a:is(:hover, :focus-visible) .cb-ico--pin {
	animation: cb-ico-pin 620ms var(--cb-ease-emph);
}

.cb-footer__value {
	overflow-wrap: anywhere;
}

.cb-footer__copy {
	align-items: center;
}

html body footer.wd-footer .cb-motion-toggle--footer {
	min-height: 40px;
	border-color: rgba(255, 248, 250, 0.4);
	background-color: transparent;
	color: var(--cb-on-dark);
}

html body footer.wd-footer .cb-motion-toggle--footer:hover,
html body footer.wd-footer .cb-motion-toggle--footer:focus-visible {
	border-color: var(--cb-on-dark-accent);
	background-color: rgba(245, 212, 227, 0.12);
	color: var(--cb-on-dark-accent);
}

@keyframes cb-ico-ring {
	0%,
	100% {
		transform: rotate(0);
	}

	20% {
		transform: rotate(-16deg);
	}

	40% {
		transform: rotate(13deg);
	}

	60% {
		transform: rotate(-9deg);
	}

	80% {
		transform: rotate(5deg);
	}
}

@keyframes cb-ico-flap {
	0%,
	100% {
		transform: none;
	}

	45% {
		transform: scaleY(-0.6) translateY(-2px);
	}
}

@keyframes cb-ico-pin {
	0%,
	100% {
		transform: none;
	}

	35% {
		transform: translateY(-4px);
	}

	60% {
		transform: translateY(1px);
	}

	80% {
		transform: translateY(-1px);
	}
}

@media (max-width: 767px) {
	.cb-footer__statement > .cb-footer__rule {
		top: 0;
		bottom: auto;
	}

	.cb-footer__statement {
		border-top: 0 !important;
	}

	/* Icon, then label above value: the full e-mail address fits on one line down to 360 px. */
	footer.wd-footer .cb-footer .cb-footer__contact a {
		display: grid;
		grid-template-columns: 20px minmax(0, 1fr);
		column-gap: 12px;
		align-items: center;
		padding-block: 4px;
	}

	.cb-footer__contact .cb-ico {
		grid-row: 1 / span 2;
	}

	.cb-footer__contact .cb-footer__label,
	.cb-footer__contact .cb-footer__value {
		grid-column: 2;
	}
}

/* ------------------------------------------------------------------ reduced motion: static pictures, footer in place */
@media (prefers-reduced-motion: reduce) {
	.cb-anim *,
	.cb-page-art *,
	.cb-ico,
	.cb-ico * {
		animation: none !important;
	}

	footer.wd-footer::before,
	footer.wd-footer::after {
		animation: none;
	}

	.cb-footer.cb-pre :is(.cb-footer__statement, .cb-footer__brand, .cb-footer__col, .cb-footer__legal),
	.cb-footer.cb-pre .cb-footer__rule,
	.cb-footer.cb-pre .cb-footer__title::after {
		opacity: 1;
		transform: none;
		transition: none;
	}
}
