/* Visitor text size (zk-text-size.php). Steps 115 % and 130 %; the designed size is the smallest.
   CSS zoom on the outermost text blocks only (never nested, so sizes do not multiply): their text, line
   height and spacing grow together and the text re-wraps in its column. H1, the header, language circles,
   the CNC drawing and the video player keep their size. */
html[data-zk-text="1"]{--zk-text-zoom:1.15}
html[data-zk-text="2"]{--zk-text-zoom:1.3}
html[data-zk-text] .wp-site-blocks :is(p,li,h2,h3,h4,h5,h6,dt,dd,td,th,label,figcaption,blockquote,input,textarea,select,.wp-block-button):not(:is(p,li,h2,h3,h4,h5,h6,dt,dd,td,th,label,figcaption,blockquote,input,textarea,select,.wp-block-button) *):not(:is(.zk-native-header,.zk-language-circles,.zk-text-size,.zk-cnc,.zk-video) *){zoom:var(--zk-text-zoom)}
/* Status line in narrow cards (Available · One of a kind) may wrap instead of overflowing. */
html[data-zk-text] .zk-artwork-status{flex-wrap:wrap}
html[data-zk-text] .zk-artwork-status *{white-space:normal}

/* Footer: copyright · links · A− A+ · language circle. */
.zk-native-footer:has(>.zk-footer-copyright):has(>.zk-text-size){grid-template-columns:max-content minmax(0,1fr) auto auto}
/* The copyright never breaks word by word; when the row gets tight (tablet, larger text, long Shop links) the links wrap instead. */
@media(min-width:768px){.zk-native-footer:has(>.zk-text-size)>.zk-footer-copyright{white-space:nowrap}.zk-native-footer:has(>.zk-text-size) .wp-block-navigation__container{flex-wrap:wrap!important;justify-content:flex-end}}
.zk-native-footer>.zk-text-size{grid-column:3;grid-row:1;align-self:end;justify-self:end;display:flex;gap:8px;margin:0}
.zk-native-footer:has(>.zk-text-size)>.zk-language-circles:not(.zk-cart-circle){grid-column:4}
@media(max-width:767px){
 .zk-native-footer:has(>.zk-footer-copyright):has(>.zk-text-size){grid-template-columns:minmax(0,1fr) auto auto;column-gap:12px}
 .zk-native-footer>.zk-text-size{grid-column:2}
 .zk-native-footer:has(>.zk-text-size)>.zk-language-circles:not(.zk-cart-circle){grid-column:3}
}
/* Circles like the language circle: black with light letters on a light footer, light grey on a dark one; amber under the pointer. */
.zk-text-size-btn{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:34px;height:34px;border:0;border-radius:50%;padding:0;background:#000;color:#fff;font:700 12px/1 "Google Sans",Europa,sans-serif;letter-spacing:0;cursor:pointer;transition:background-color .45s cubic-bezier(.16,1,.3,1),opacity .3s}
.zk-native-footer.zk-footer-dark .zk-text-size-btn{background:#bfbfbf;color:#000}
.zk-text-size-btn:not(:disabled):hover{background:#FFBE55;color:#000}
/* The end of the scale: the button stays visible but faded, so it is clear there is no further step. */
.zk-text-size-btn:disabled{opacity:.3;cursor:default}
.zk-text-size-btn:focus:not(:focus-visible){outline:none}
.zk-text-size-btn:focus-visible{outline:2px solid #000;outline-offset:3px}
.zk-native-footer.zk-footer-dark .zk-text-size-btn:focus-visible{outline-color:#ccc}
@media(prefers-reduced-motion:reduce){.zk-text-size-btn{transition:none}}
