/* v0.3.109: show the branded footer without relying on JavaScript.
   body_class() is added only while the custom footer option is ON. */
body.gcs-brand-footer-active #footer,
body.gcs-brand-footer-active #footer-bottom,
body.gcs-brand-footer-active #footer-box,
body.gcs-brand-footer-active #footer-widgets,
body.gcs-brand-footer-active #footer-outer,
body.gcs-brand-footer-active #colophon,
body.gcs-brand-footer-active footer.site-footer:not(#gcs-brand-footer),
body.gcs-brand-footer-active footer[role="contentinfo"]:not(#gcs-brand-footer),
body.gcs-brand-footer-active .footer-area:not(#gcs-brand-footer),
body.gcs-brand-footer-active .footer-wrap:not(#gcs-brand-footer),
body.gcs-brand-footer-active .footer-outer:not(#gcs-brand-footer),
body.gcs-brand-footer-active .footer-bottom:not(#gcs-brand-footer),
body.gcs-brand-footer-active > footer:not(#gcs-brand-footer),
body.gcs-brand-footer-active > .footer:not(#gcs-brand-footer) {display:none!important}
/* If the theme omits body_class, modern browsers still replace the common wrappers. */
body:has(#gcs-brand-footer) #footer,
body:has(#gcs-brand-footer) #footer-bottom,
body:has(#gcs-brand-footer) footer.site-footer:not(#gcs-brand-footer){display:none!important}
#gcs-brand-footer.gcs-brand-footer{display:block!important;visibility:visible!important}

/* The capsule footer is isolated from JIN and only appears after a safe mount. */
#gcs-brand-footer[hidden]{display:none!important}
#gcs-brand-footer.gcs-brand-footer{
  --gcs-f-ink:#173a46;--gcs-f-mint:#14a9a1;--gcs-f-deep:#114e53;
  position:relative;isolation:isolate;z-index:2;width:100%;margin:0;
  background:linear-gradient(135deg,#f2faf6 0%,#fffdfa 75%);color:var(--gcs-f-ink);
  border-top:1px solid #d9ede8;box-shadow:0 -7px 26px rgba(25,77,82,.035);
  font:inherit;line-height:1.65;text-align:left
}
#gcs-brand-footer *,#gcs-brand-footer *::before,#gcs-brand-footer *::after{box-sizing:border-box}
#gcs-brand-footer .gcs-f-colorline{height:5px;background:linear-gradient(90deg,#53cbbb 0 30%,#ffc281 30% 54%,#ff8fa6 54% 74%,#77add8 74% 100%)}
#gcs-brand-footer .gcs-f-shell{width:100%;max-width:1250px;margin:0 auto;padding:0 25px}
#gcs-brand-footer .gcs-f-main{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(150px,.9fr) minmax(150px,.9fr);align-items:start;gap:clamp(24px,4.5vw,70px);padding:36px 0 32px}
#gcs-brand-footer .gcs-f-main--two{grid-template-columns:minmax(0,1.65fr) minmax(150px,1fr)}
#gcs-brand-footer .gcs-f-identity{min-width:0}
#gcs-brand-footer .gcs-f-logo{display:inline-flex;gap:12px;align-items:center;text-decoration:none!important;box-shadow:none!important;color:#173a46!important}
#gcs-brand-footer .gcs-f-logo:hover{opacity:.85}
#gcs-brand-footer .gcs-f-capsule{position:relative;display:block;flex:0 0 39px;width:39px;height:48px;transform:rotate(-27deg);border:2.5px solid #14555a;border-radius:25px;background:linear-gradient(180deg,#65ddd0 0 48.7%,#14555a 48.7% 52.7%,#ffac88 52.7% 100%);box-shadow:3px 4px 0 #e1eee9;overflow:hidden}
#gcs-brand-footer .gcs-f-capsule::before{content:"";position:absolute;left:5px;top:5px;width:9px;height:16px;border-radius:20px;background:#fff9;transform:rotate(8deg)}
#gcs-brand-footer .gcs-f-capsule::after{content:"";position:absolute;bottom:6px;right:6px;width:6px;height:6px;border-radius:50%;background:#fff8}
#gcs-brand-footer .gcs-f-namewrap{display:flex;flex-direction:column;align-items:flex-start;gap:0;white-space:nowrap}
#gcs-brand-footer .gcs-f-name{font-size:clamp(22px,2.7vw,28px);line-height:1.26;letter-spacing:.045em;font-weight:900;color:#173a46!important}
#gcs-brand-footer .gcs-f-name span{color:#0b9c98}
#gcs-brand-footer .gcs-f-name i{color:#fa9576;font-style:normal;font-size:1.1em}
#gcs-brand-footer .gcs-f-subtitle{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:8px;letter-spacing:.11em;line-height:1.6;font-weight:800;color:#759496}
#gcs-brand-footer .gcs-f-subtitle em{color:#f3a587;font-style:normal;margin:0 3px}
#gcs-brand-footer .gcs-f-message{margin:15px 0 5px!important;color:#286b6c!important;font-size:13px!important;font-weight:800;line-height:1.7!important}
#gcs-brand-footer .gcs-f-description{margin:0!important;color:#68878a!important;font-size:12px!important;line-height:1.85!important}
#gcs-brand-footer .gcs-f-section{margin:0;padding:4px 0}
#gcs-brand-footer .gcs-f-heading{display:flex;align-items:center;gap:9px;min-height:24px;margin:0 0 15px!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;color:#173a46!important;font-size:14px!important;line-height:1.5!important;font-weight:850!important;letter-spacing:.035em}
#gcs-brand-footer .gcs-f-heading::before,#gcs-brand-footer .gcs-f-heading::after{display:none!important}
#gcs-brand-footer .gcs-f-heading-dot{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:#50beb7;box-shadow:0 0 0 5px #def3ed}
#gcs-brand-footer .gcs-f-heading-dot--peach{background:#fa987f;box-shadow:0 0 0 5px #fff0e8}
#gcs-brand-footer .gcs-f-list{margin:0!important;padding:0!important;list-style:none!important;display:flex;flex-direction:column;gap:5px}
#gcs-brand-footer .gcs-f-list li{margin:0!important;padding:0!important;border:0!important;list-style:none!important;line-height:1.6!important}
#gcs-brand-footer .gcs-f-list li::before,#gcs-brand-footer .gcs-f-list li::after{content:none!important;display:none!important}
#gcs-brand-footer .gcs-f-list a{display:inline-flex;align-items:center;gap:7px;padding:6px 0;text-decoration:none!important;box-shadow:none!important;color:#33666b!important;font-size:13px!important;font-weight:650!important;line-height:1.55!important;transition:color .18s,transform .18s}
#gcs-brand-footer .gcs-f-list a::before{content:"";width:5px;height:5px;border-radius:50%;background:#96cfc6;flex:0 0 5px}
#gcs-brand-footer .gcs-f-list a:hover{color:#087c7e!important;transform:translateX(3px)}
#gcs-brand-footer .gcs-f-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:64px;border-top:1px solid #dcece6}
#gcs-brand-footer .gcs-f-copyright{padding:0;margin:0!important;color:#789297!important;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:11px!important;line-height:1.55!important;letter-spacing:.065em}
#gcs-brand-footer .gcs-f-bullet{margin:0 6px;color:#f6a486}
#gcs-brand-footer .gcs-f-top{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;min-height:36px;padding:7px 13px;border:1px solid #d1e8e2!important;border-radius:20px;background:#fff!important;color:#187c7e!important;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:10px!important;font-weight:900!important;letter-spacing:.07em;line-height:1!important;box-shadow:none!important;cursor:pointer;transition:background .18s,transform .18s}
#gcs-brand-footer .gcs-f-top span{font-size:18px;line-height:1}
#gcs-brand-footer .gcs-f-top:hover{background:#e9f9f4!important;transform:translateY(-2px)}
#gcs-brand-footer a:focus-visible,#gcs-brand-footer button:focus-visible{outline:3px solid #ed9c80!important;outline-offset:3px}
@media(max-width:780px){
  #gcs-brand-footer .gcs-f-shell{padding:0 19px}
  #gcs-brand-footer .gcs-f-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px;padding:27px 0 23px}
  #gcs-brand-footer .gcs-f-main--two{grid-template-columns:repeat(2,minmax(0,1fr))}
  #gcs-brand-footer .gcs-f-identity{grid-column:1/-1;padding-bottom:18px;border-bottom:1px solid #deeee7}
  #gcs-brand-footer .gcs-f-section{min-width:0;padding:0}
  #gcs-brand-footer .gcs-f-heading{font-size:13px!important;margin-bottom:9px!important}
  #gcs-brand-footer .gcs-f-list{gap:3px}
  #gcs-brand-footer .gcs-f-list a{font-size:12px!important;padding:7px 0}
  #gcs-brand-footer .gcs-f-message{margin:12px 0 3px!important}
  #gcs-brand-footer .gcs-f-description br{display:none}
  #gcs-brand-footer .gcs-f-bottom{min-height:65px;gap:12px}
  #gcs-brand-footer .gcs-f-copyright{font-size:10px!important;letter-spacing:0}
}
@media(max-width:390px){
  #gcs-brand-footer .gcs-f-shell{padding:0 14px}
  #gcs-brand-footer .gcs-f-main{gap:19px 10px}
  #gcs-brand-footer .gcs-f-list a{font-size:11.5px!important}
  #gcs-brand-footer .gcs-f-top{padding:7px 10px;font-size:9px!important}
  #gcs-brand-footer .gcs-f-copyright{font-size:9px!important}
}
@media(prefers-reduced-motion:reduce){#gcs-brand-footer *{transition:none!important}}

/* v0.3.110: move required Amazon participation notice out of shop cards and into the site footer. */
#gcs-brand-footer .gcs-f-legal-row{min-width:0;padding:12px 0}
#gcs-brand-footer .gcs-f-amazon-disclosure{margin:4px 0 0!important;font-size:12px!important;line-height:1.6!important;color:#627f83!important}
@media(max-width:780px){#gcs-brand-footer .gcs-f-amazon-disclosure{font-size:11px!important}}
