/* [cazrom_footer] : the site footer ( footer.czf ).
 * A soft grey band. Left : logo , contact , social icons. Right : the menu and the store's pages in
 * columns. Under a line : the copyright , and the legal pages in small print.
 * Every state of a link is written out , so a theme's ( and Bootstrap's ) own rules stay out. */

footer.czf {
    --czf-ink: var(--e-global-color-text, #16181d); --czf-muted: #5d6470; --czf-line: #dfe2e7; --czf-soft: #f5f6f8;
    --czf-primary: var(--e-global-color-primary, #16181d);
    width: 100%; background: var(--czf-soft); border-top: 1px solid var(--czf-line);
    color: var(--czf-ink); font-family: inherit; font-size: 15px; line-height: 1.45; text-align: left;
}
footer.czf *, footer.czf *::before, footer.czf *::after { box-sizing: border-box; }
footer.czf ul { margin: 0; padding: 0; list-style: none; }
footer.czf li, footer.czf p, footer.czf h3 { margin: 0; padding: 0; }
footer.czf.czf a, footer.czf.czf a:hover, footer.czf.czf a:focus, footer.czf.czf a:active { text-decoration: none; box-shadow: none; }
footer.czf a, footer.czf a:focus { color: inherit; transition: color .15s ease; }
/* pointed at : the site's primary color , nothing underlined */
footer.czf a:hover { color: var(--czf-primary); }
footer.czf a:focus-visible { outline: 2px solid var(--czf-ink); outline-offset: 2px; border-radius: 3px; }
footer.czf svg { flex: none; }

/* as wide as the pages the plugin makes , with the same room at the sides */
footer.czf .czf-inner { max-width: calc(var(--czpg-width, 1450px) + 2 * var(--czpg-pad, 30px)); margin: 0 auto; padding: 56px var(--czpg-pad, 30px) 0; }
footer.czf .czf-main { display: grid; grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); gap: 56px; padding-bottom: 44px; }

/* ----- logo , contact , social ----- */
footer.czf .czf-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-width: 0; }
footer.czf .czf-logo { display: inline-flex; align-items: center; max-width: 100%; }
/* a logo saved on a white background blends into the grey band instead of sitting in a white box */
footer.czf .czf-logo img { display: block; width: auto; height: auto; max-height: 64px; max-width: min(240px, 100%); object-fit: contain; mix-blend-mode: multiply; }
footer.czf .czf-logo span { font-size: 22px; font-weight: 800; line-height: 1.2; }
footer.czf .czf-contact { display: flex; flex-direction: column; gap: 11px; }
footer.czf .czf-contact li { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; line-height: 1.45; }
footer.czf .czf-contact svg { width: 22px; height: 22px; margin-top: 0; color: var(--czf-primary); }
footer.czf .czf-contact a { font-weight: 600; overflow-wrap: anywhere; }
footer.czf .czf-hours > span { display: flex; flex-direction: column; gap: 2px; color: var(--czf-muted); }

/* the social networks. Three looks : in a filled circle , on their own , each in its network's own color */
footer.czf .czf-social { display: flex; flex-wrap: wrap; gap: 10px; }
footer.czf .czf-social a, footer.czf .czf-social a:hover, footer.czf .czf-social a:focus { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease; }
footer.czf .czf-social a:hover { transform: translateY(-2px); }
footer.czf .czf-social-circle a, footer.czf .czf-social-circle a:hover, footer.czf .czf-social-circle a:focus { background: var(--czf-social); color: var(--czf-on-social, #fff); }
footer.czf .czf-social-circle a:hover { box-shadow: 0 8px 18px -8px rgba(15, 17, 22, .5); }
footer.czf .czf-social-plain, footer.czf .czf-social-brand { gap: 6px; margin-left: -8px; }
footer.czf .czf-social-plain a, footer.czf .czf-social-plain a:hover, footer.czf .czf-social-plain a:focus,
footer.czf .czf-social-brand a, footer.czf .czf-social-brand a:hover, footer.czf .czf-social-brand a:focus { color: var(--czf-social); }
footer.czf .czf-social-plain svg, footer.czf .czf-social-brand svg { width: 24px; height: 24px; }
footer.czf .czf-social-plain a:hover, footer.czf .czf-social-brand a:hover { opacity: .75; }

/* ----- the menu and the store's pages , in columns ----- */
footer.czf .czf-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 36px 28px; min-width: 0; }
footer.czf .czf-heading { margin: 0 0 14px; font-size: 14px; font-weight: 800; line-height: 1.3; letter-spacing: .01em; color: var(--czf-ink); }
footer.czf .czf-heading a, footer.czf .czf-heading span { color: inherit; font: inherit; }
footer.czf .czf-column ul { display: flex; flex-direction: column; gap: 9px; }
footer.czf .czf-column li { font-size: 14.5px; line-height: 1.4; }
footer.czf .czf-column li a, footer.czf .czf-column li span { color: var(--czf-muted); }
footer.czf .czf-column li a:hover { color: var(--czf-primary); }
footer.czf .czf-column .czf-all a { color: var(--czf-ink); font-weight: 700; }

/* ----- under the line : the copyright , and the legal pages in small print ----- */
footer.czf .czf-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 32px; padding: 20px 0 24px; border-top: 1px solid var(--czf-line); }
footer.czf .czf-small { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
footer.czf .czf-copyright { font-size: 13px; color: var(--czf-muted); }
footer.czf .czf-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
/* who built the site : quiet until pointed at , then it lifts , takes the primary color and draws its frame */
footer.czf .czf-credit, footer.czf .czf-credit:hover, footer.czf .czf-credit:focus { flex: none; display: block; width: 210px; margin-right: -11px; color: var(--czf-muted); line-height: 0; transition: color .3s ease-in-out, transform .3s ease-in-out; }
footer.czf .czf-credit:hover, footer.czf .czf-credit:focus-visible { color: var(--czf-primary); transform: translateY(-4px); }
footer.czf .czf-credit-svg { display: block; width: 100%; height: auto; overflow: visible; }
footer.czf .czf-credit-svg path { fill: currentColor; }
footer.czf .czf-credit-outline { fill: none; stroke: var(--czf-primary); stroke-width: 4px; stroke-dasharray: 1180px; stroke-dashoffset: 1180px; transition: stroke-dashoffset .8s ease-out; }
footer.czf .czf-credit:hover .czf-credit-outline, footer.czf .czf-credit:focus-visible .czf-credit-outline { stroke-dashoffset: 0; }
footer.czf .czf-legal li { font-size: 12.5px; line-height: 1.4; }
footer.czf .czf-legal a { color: var(--czf-muted); }
footer.czf .czf-legal a:hover { color: var(--czf-primary); }

@media (max-width: 1024px) {
    footer.czf .czf-inner { padding: 44px var(--czpg-pad-x, 10px) 0; }
    footer.czf .czf-main { grid-template-columns: 1fr; gap: 36px; }
    footer.czf .czf-columns { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
}
@media (max-width: 600px) {
    footer.czf .czf-inner { padding: 36px var(--czpg-pad-x, 10px) 0; }
    footer.czf .czf-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
    footer.czf .czf-bottom { flex-direction: column; align-items: flex-start; }
    footer.czf .czf-legal { gap: 8px 16px; }
    footer.czf .czf-bottom { gap: 18px; }
    footer.czf .czf-credit, footer.czf .czf-credit:hover, footer.czf .czf-credit:focus { margin: 0 0 0 -11px; }
}
@media (prefers-reduced-motion: reduce) { footer.czf a, footer.czf .czf-social a, footer.czf .czf-credit-outline { transition: none; } footer.czf .czf-social a:hover, footer.czf .czf-credit:hover { transform: none; } }
