/* CGOO Footer v1.1.0 — replaces the block theme footer on cgoo.ca.
   The theme renders its footer as <footer class="wp-block-template-part">;
   hide that template part and show the plugin's own .cgoo-footer instead,
   printed at wp_footer so it sits at the page bottom.
   The footer is dark navy in BOTH light and dark site modes by design;
   colors are pinned explicitly so html.cgoo-dark never restyles it. */

footer.wp-block-template-part {
  display: none !important;
}

.cgoo-footer {
  background: #0a1f33;
  color: #dbe7f3;
  font-size: 14px;
  line-height: 2.0;
  margin-top: 3rem;
}
.cgoo-footer * {
  box-sizing: border-box;
}
.cgoo-foot-inner {
  max-width: min(1760px, 96vw);
  margin: 0 auto;
  padding: 40px 0 0;
}

/* ---------- columns ---------- */
.cgoo-foot-cols {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding-bottom: 2.4rem;
}
.cgoo-foot-title {
  margin: 0 0 0.9rem;
  font-size: 15px;
  font-weight: 700;
  color: #14b8a6;
}
.cgoo-foot-col nav + nav {
  margin-top: 1.8rem;
}
.cgoo-foot-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cgoo-foot-list li {
  margin: 0;
}
.cgoo-footer a {
  color: #c3d4e6;
  text-decoration: none;
}
.cgoo-footer a:hover,
.cgoo-footer a:focus {
  color: #14b8a6;
  text-decoration: underline;
}
.cgoo-foot-brand {
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
  letter-spacing: 0.06em;
}
.cgoo-foot-label {
  color: #8fb0cc;
}
.cgoo-foot-note {
  color: #c3d4e6;
}
.cgoo-foot-badge {
  display: inline-block;
  font-size: 11px;
  line-height: 1.6;
  padding: 0 8px;
  margin-left: 8px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: #dbe7f3;
  white-space: nowrap;
  vertical-align: middle;
}

/* ---------- bottom bar ---------- */
.cgoo-foot-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1.05rem 0 1.35rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem 1.6rem;
}
.cgoo-foot-copy {
  color: #9db8d2;
  white-space: nowrap;
}
.cgoo-foot-pay {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
}
.cgoo-foot-pay svg {
  height: 24px;
  width: auto;
  display: block;
  flex: none;
}
.cgoo-foot-stripe-note {
  font-size: 12px;
  color: #9db8d2;
  white-space: nowrap;
  margin-left: 4px;
}
.cgoo-foot-legal {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.cgoo-foot-sep {
  color: rgba(255, 255, 255, 0.3);
}
.cgoo-foot-toggle {
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #dbe7f3;
  font-size: 1rem;
  line-height: 1;
  padding: 0.42rem 0.65rem;
  cursor: pointer;
}
.cgoo-foot-toggle:hover,
.cgoo-foot-toggle:focus {
  border-color: #14b8a6;
}

/* ---------- mobile: stack ---------- */
@media (max-width: 820px) {
  .cgoo-foot-cols {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .cgoo-foot-toggle {
    margin-left: 0;
  }
}
@media (max-width: 480px) {
  .cgoo-foot-pay {
    gap: 4px;
  }
  .cgoo-foot-pay svg {
    height: 20px;
  }
  .cgoo-foot-stripe-note {
    font-size: 11px;
  }
}
