/* Shared customer footer (Owen, 20 Nov 2026: "the footer looks so unprofessional ... it's not darker than the rest of
   the site ... Think how you do this if it was a high-end SaaS website"; "Lots of spacing. Think about hierarchy,
   vertical spacing. Use 80% white"). A deep navy below the blue page, flat (Owen, 20 Nov 2026: "no gradients on the bgs of the footers"). In order: the site and its
   links; the family, with a tile for each sister site; the country and language choosers, centred; the small print.
   Spaced, never ruled. Text is white for headings, 80% white for reading, 60% for the small print. Telepawt's and
   My 3D Pet's footers follow the same plan in their own look. */
.site-footer{--foot-bg:#0a1646;--foot-ink:#fff;--foot-soft:rgba(255,255,255,.8);--foot-faint:rgba(255,255,255,.6);--foot-line:rgba(255,255,255,.12);--foot-surface:rgba(255,255,255,.045);
 box-sizing:border-box;display:block;width:100%;max-width:none;margin:72px 0 0;padding:0;border:0;color-scheme:dark;
 background:var(--foot-bg);color:var(--foot-ink);font:500 15px/1.5 var(--pb-font,system-ui,sans-serif)}
.site-footer *{box-sizing:border-box}
.site-footer-inner{max-width:1200px;margin:0 auto;padding:clamp(72px,8vw,112px) clamp(20px,5vw,64px) 0}
.site-footer p{margin:0;color:inherit;line-height:1.6}
.site-footer h2{margin:0;color:var(--foot-ink);font-size:15px;font-weight:700;line-height:1.4;letter-spacing:.01em}
.site-footer a{touch-action:manipulation}
.site-footer :focus-visible{outline:2px solid var(--site-accent,#FFCE55);outline-offset:4px;border-radius:8px}

/* The site and its links. */
.site-footer-main{display:grid;grid-template-columns:minmax(240px,1.5fr) repeat(3,minmax(0,1fr));gap:40px}
.site-footer-identity{min-width:0}
.site-footer .site-footer-brand{display:inline-flex;align-items:center;gap:12px;min-height:44px;padding:0;color:var(--foot-ink);font-size:28px;font-weight:800;letter-spacing:-.035em;line-height:1.1;text-decoration:none}
.site-footer-brand img{display:block;flex:none;object-fit:contain}
.site-footer .site-footer-tagline{max-width:24ch;margin-top:18px;color:var(--foot-soft);font-size:17px;line-height:1.55}
.site-footer nav.site-footer-links{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0;margin:0;padding:0}
.site-footer-links h2{margin-bottom:14px}
.site-footer-links a{display:inline-flex;align-items:center;min-height:44px;max-width:100%;padding:6px 0;color:var(--foot-soft);font-size:15px;font-weight:500;line-height:1.4;text-decoration:none;overflow-wrap:anywhere;transition:color .15s}
.site-footer-links a:hover,.site-footer-links a[aria-current=page]{color:var(--foot-ink)}

/* The family (Owen, 20 Nov 2026: "Part of the My 3D Pet family", then "you might like our other websites ... list the
   logos ... a short description underneath"): the line with My 3D Pet's logo, and a tile for each sister site with
   its own logo, what it is, its address and its picture, lit in its own colour. ui/family-footer.mjs brings the
   logos to life as the footer nears, each in a box of its final size, so nothing moves. The My 3D Pet logo is three.js
   only (Owen, 25 Nov 2026: "NO LOGO SHOULD EVER BE AN IMAGE"): logo-3d.mjs draws the paw, the "3D" and, flat and still,
   "My" and "Pet" from its own Lilita One outlines, so the page loads no web fonts; nothing shows until every part has
   drawn (.is-drawn), and nothing at all without WebGL: never a fallback (Owen, 28 Nov 2026: "NO FALLBACKS ... ONLY three.js animated logos"). */
.site-footer-family{--family-ink:#12226e;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:center;gap:36px 64px;margin-top:clamp(80px,9vw,120px)}
.site-footer-family-intro{display:grid;gap:14px;min-width:0}
.site-footer .site-footer-family-title{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;color:var(--foot-ink);font-size:22px;font-weight:700;line-height:1.3;letter-spacing:-.01em}
.site-footer .site-footer-family-label{max-width:30ch;color:var(--foot-soft);font-size:17px;line-height:1.55}
.site-footer-family .logo{display:inline-flex;align-items:center;gap:6px;min-height:52px;text-decoration:none}
.site-footer-family .logo .logo-paw,.site-footer-family .logo .logo-word{opacity:0;transition:opacity .25s ease}
.site-footer-family .logo.is-drawn .logo-paw,.site-footer-family .logo.is-drawn .logo-word{opacity:1}
.site-footer-family .logo-paw{position:relative;display:block;flex:none;width:46px;aspect-ratio:890/676;rotate:-8deg;transition:rotate .3s cubic-bezier(.2,.8,.2,1),opacity .25s ease}
.site-footer-family .logo:hover .logo-paw{rotate:6deg}
.site-footer-family .logo-word{display:inline-flex;align-items:center;font:400 31px/1 var(--pb-font,system-ui,sans-serif);color:#fff;white-space:nowrap}
.site-footer-family .logo-word b{position:relative;display:inline-block;width:1.15em;height:1em;margin:0 .03em;font-weight:400;font-size:1.12em;color:transparent;-webkit-text-stroke-color:transparent;text-shadow:none;overflow:visible}
/* "My" and "Pet" in their Lilita One widths (logo-3d.mjs OUTLINES: 1444 and 1424 of 1000), above the turning "3D". */
.site-footer-family .logo-word b.logo-flat{z-index:1;font-size:1em;margin:0}
.site-footer-family .logo-word b.logo-flat:first-child{width:1.45em}.site-footer-family .logo-word b.logo-flat:last-child{width:1.43em}
.site-footer-family .logo-3d{position:absolute;left:50%;top:50%;translate:-50% -50%;pointer-events:none}
.site-footer-family .logo-word>span{position:relative;z-index:1;display:inline-flex;align-items:center}.site-footer-family .logo-3d{z-index:0}
.site-footer-family-sites{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:20px;min-width:0}
.site-footer .site-footer-family-site{--glow:82 196 255;position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:12px;min-height:216px;padding:30px 0 30px 32px;overflow:hidden;border-radius:24px;
 background:radial-gradient(70% 90% at 100% 100%,rgb(var(--glow)/.3),transparent 70%),var(--foot-surface);color:var(--foot-ink);text-decoration:none;transition:background-color .3s ease}
.site-footer .site-footer-family-site[data-brand=buildmypet]{--glow:255 200 70}
.site-footer .site-footer-family-site:is(:hover,:focus-visible){background-color:rgba(255,255,255,.08)}
.site-footer-family-text{display:grid;align-content:space-between;justify-items:start;gap:16px;min-width:0}
.site-footer-family-live{display:block;height:56px;aspect-ratio:10/3;margin-left:-18px;opacity:0;transition:opacity .45s ease}
.site-footer-family-site.is-drawn .site-footer-family-live{opacity:1}
.site-footer-family-name{display:inline-flex;align-items:center;min-height:56px;font:800 25px/1 var(--pb-font,system-ui,sans-serif);letter-spacing:-.035em}
.site-footer .site-footer-family-about{max-width:24ch;color:var(--foot-soft);font-size:16px;line-height:1.5;font-weight:500}
.site-footer-family-visit{display:inline-flex;align-items:center;gap:8px;color:var(--foot-ink);font-size:15px;font-weight:700}
.site-footer-family-arrow{flex:none;transition:translate .25s cubic-bezier(.2,.8,.2,1)}
.site-footer-family-site:is(:hover,:focus-visible) .site-footer-family-arrow{translate:4px 0}
.site-footer-family-picture{align-self:end;width:clamp(170px,17vw,220px);height:auto;margin:0 6px -30px 0;object-fit:cover;object-position:50% 0;filter:drop-shadow(0 18px 22px rgba(0,0,0,.4));transition:translate .45s cubic-bezier(.2,.8,.2,1)}
.site-footer-family-site:is(:hover,:focus-visible) .site-footer-family-picture{translate:0 -6px}

/* The choosers, centred (Owen, 20 Nov 2026), in the footer's own dark fields. */
.site-footer-preferences{margin-top:clamp(80px,9vw,112px);text-align:center}
.site-footer-selectors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:520px;margin:0 auto;text-align:left}
.site-footer-selectors:has(> :only-child),.site-footer-selectors:has(> [hidden]){grid-template-columns:minmax(0,260px);justify-content:center}
.site-footer-field{display:grid;gap:8px;min-width:0;color:var(--foot-soft);font-size:14px;font-weight:600}
.site-footer .site-footer-field select{width:100%;min-width:0;min-height:48px;padding:0 44px 0 16px;border:0;border-radius:12px;background:rgba(255,255,255,.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='white' stroke-opacity='.8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;box-shadow:inset 0 0 0 1px var(--foot-line);color:var(--foot-ink);font:600 15px/1.2 var(--pb-font,system-ui,sans-serif);cursor:pointer;transition:background-color .15s,box-shadow .15s}
.site-footer .site-footer-field select:hover:not(:disabled){background-color:rgba(255,255,255,.1);box-shadow:inset 0 0 0 1px rgba(255,255,255,.26)}
.site-footer .site-footer-field select:focus{box-shadow:inset 0 0 0 1px rgba(255,255,255,.4)}
.site-footer .site-footer-field select:disabled{opacity:.6}
.site-footer .site-footer-preferences-note{margin-top:14px;color:var(--foot-faint);font-size:13px}

/* The small print: small, 60% of the width, close together (Owen, 20 Nov 2026). */
.site-footer-bottom{display:grid;gap:4px;max-width:60%;margin:40px auto 0;padding:0 0 calc(48px + env(safe-area-inset-bottom));color:var(--foot-faint);text-align:center}
.site-footer .site-footer-company,.site-footer .site-footer-trademark{font-size:12px;line-height:1.6;font-weight:500}
/* Each part of the company line keeps together; space, not dots, between them, so a wrapped line never ends in one. */
.site-footer .site-footer-company{display:flex;flex-wrap:wrap;justify-content:center;gap:0 18px}
.site-footer-company span{white-space:nowrap}

.site-account-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:6px 2px;color:inherit;font-size:14px;font-weight:650;text-decoration:underline;text-underline-offset:4px}
.site-footer[data-reader-footer]{max-width:none;margin-top:40px;padding:0}
@media(max-width:960px){
 .site-footer-main{grid-template-columns:repeat(3,minmax(0,1fr));gap:48px 24px}.site-footer-identity{grid-column:1/-1}.site-footer .site-footer-tagline{max-width:40ch;margin-top:12px}
 .site-footer-family{grid-template-columns:1fr;gap:28px}
}
@media(max-width:560px){
 .site-footer{margin-top:48px}
 .site-footer-inner{padding-top:64px}
 .site-footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 20px}.site-footer-links:last-child{grid-column:1/-1}.site-footer .site-footer-brand{font-size:26px}
 .site-footer-family{margin-top:72px}.site-footer .site-footer-family-title{font-size:19px;gap:2px 10px}.site-footer-family .logo-word{font-size:26px;-webkit-text-stroke-width:4px}.site-footer-family .logo-paw{width:38px}
 .site-footer .site-footer-family-label{font-size:16px}
 .site-footer .site-footer-family-site{min-height:0;padding:24px 0 24px 22px;border-radius:20px}
 .site-footer-family-live{height:46px}
 .site-footer-family-picture{width:132px;margin-right:0;margin-bottom:-24px}
 .site-footer .site-footer-family-about{font-size:15px}
 .site-footer-preferences{margin-top:72px}.site-footer-selectors{grid-template-columns:1fr}
 .site-footer-bottom{max-width:none;margin-top:36px}
}
@media(prefers-reduced-motion:reduce){.site-footer-family .logo .logo-paw,.site-footer-family .logo .logo-word{transition:none}}
@media print{.site-footer{display:none!important}}

/* Gift entry space is reserved before capabilities arrive. */
[data-gift-entry][hidden]{display:block!important;visibility:hidden;pointer-events:none}
/* In the footer it is a link like its neighbours: the same 44px row, shown or not. */
.site-footer-links a[data-gift-entry]{min-height:44px}
.site-footer-links a[data-gift-entry][hidden]{display:inline-flex!important}
.site-footer .site-footer-family-site[hidden]{display:none}
