/* 1.4 — adjustable header/footer and native WooCommerce quantity controls. */
:root{--g8-header-background:#fff;--g8-header-text:#034986;--g8-footer-background:#034986;--g8-footer-text:#fff;--g8-footer-titles:#fff;--g8-footer-links:#fff}
.g8-header,.g8-contact-bar{background:var(--g8-header-background);color:var(--g8-header-text)}
.g8-contact-bar{border-bottom-color:currentColor;border-bottom-color:color-mix(in srgb,var(--g8-header-text) 18%,transparent)}
.g8-header .g8-contact-inner a,.g8-header .g8-contact-inner>span,.g8-header .g8-primary-nav a,.g8-header .g8-brand-name{color:var(--g8-header-text)}
.g8-footer{background:var(--g8-footer-background);color:var(--g8-footer-text)}
.g8-footer h2{color:var(--g8-footer-titles)}
.g8-footer a,.g8-footer .g8-designer-credit a{color:var(--g8-footer-links)}
.g8-footer a:hover{text-decoration:underline;color:var(--g8-footer-links)}
.g8-footer .g8-button{background:var(--g8-footer-text);color:var(--g8-footer-background)}
.g8-footer .g8-button:hover{color:var(--g8-footer-background)}
.g8-footer .g8-hours dd{color:var(--g8-footer-text)}
.g8-footer .g8-hours>div,.g8-footer-bottom{border-color:#ffffff40;border-color:color-mix(in srgb,var(--g8-footer-text) 24%,transparent)}
.g8-footer a:focus-visible{outline-color:var(--g8-footer-links)}
.g8-header a:focus-visible{outline-color:var(--g8-header-text)}
body.g8-market ul.products li.product{position:relative;container-type:inline-size}
body.g8-market ul.products li.product:has(.g8-quantity-control.has-quantity){border-color:var(--g8-blue)}
body.g8-market ul.products li.product:has(.g8-quantity-control){padding-bottom:12px}
body.g8-market ul.products li.product:has(.g8-quantity-control) .price{margin-bottom:4px;text-align:right}
.g8-quantity-control{position:absolute;z-index:3;top:12px;right:10px;display:flex;align-items:center;border:3px solid white;border-radius:999px;background:var(--g8-blue);color:#fff;box-shadow:0 2px 6px #092d4630;max-width:calc(100% - 20px)}
@supports(width:1cqw){.g8-quantity-control{top:calc(100cqw - 54px)}}
body.g8-market .g8-quantity-control>a,body.g8-market .g8-quantity-control>button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;margin:0;border:0;border-radius:50%;background:transparent;color:#fff;font-family:Arial,sans-serif;font-size:29px;font-weight:700;line-height:1;text-decoration:none;cursor:pointer;box-shadow:none}
body.g8-market .g8-quantity-control>a:hover,body.g8-market .g8-quantity-control>button:hover{background:#ffffff20}
body.g8-market .g8-quantity-control [hidden]{display:none!important}
.g8-quantity-control .g8-quantity-count{min-width:20px;padding:0 2px;text-align:center;font-size:15px;font-weight:900;line-height:1.2;white-space:nowrap}
body.g8-market .g8-quantity-control [aria-disabled=true],body.g8-market .g8-quantity-control button:disabled{opacity:.45;cursor:default}
body.g8-market .g8-quantity-control [aria-disabled=true]:hover,body.g8-market .g8-quantity-control button:disabled:hover{background:transparent}
body.g8-market .g8-quantity-control:focus-within{outline:2px solid var(--g8-blue);outline-offset:2px}
body.g8-market .g8-quantity-control a:focus-visible,body.g8-market .g8-quantity-control button:focus-visible{outline:2px solid white;outline-offset:-5px}
.g8-quantity-control[aria-busy=true]{opacity:.7}
.g8-quantity-control[aria-busy=true] a,.g8-quantity-control[aria-busy=true] button{cursor:wait}
body.g8-market ul.products li.product .g8-quantity-error{display:block;position:static!important;clip:auto!important;clip-path:none!important;width:auto!important;height:auto!important;margin:8px 12px 0;padding:8px 0;color:#a52721;font-size:12px;line-height:1.4;white-space:normal}
@media(max-width:560px){.g8-quantity-control{right:7px;max-width:calc(100% - 14px)}}
@media print{.g8-quantity-control,.g8-quantity-message{display:none}}
