footer.repaircoffee-footer {
  --footer-rule: #495256;
  box-sizing: border-box;
  margin: 0;
  width: 100%;
  padding: 34px 7% 24px;
  background: #282c2e;
  color: #d5dde0;
  font-family: system-ui, "Noto Sans TC", sans-serif;
  font-size: 14px;
  line-height: 1.65;
  text-align: left;
}
footer.repaircoffee-footer .footer-top {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 30px;
  padding-bottom: 24px;
}
footer.repaircoffee-footer .footer-top>div {min-width: 0;}
footer.repaircoffee-footer h3 {
  margin: 0 0 8px;
  color: #fff;
  font: 700 24px/1.35 system-ui, "Noto Sans TC", sans-serif;
}
footer.repaircoffee-footer .footer-top>div>span {
  display: block;
  margin: 0 0 12px;
  color: #fff;
  font-weight: 700;
}
footer.repaircoffee-footer p {margin: 0; font-size: inherit; line-height: inherit; color: inherit;}
footer.repaircoffee-footer .footer-top>div>a {
  display: block; margin: 0 0 8px; min-height: 0; padding: 0; font-size: inherit;
}
footer.repaircoffee-footer .footer-top a {
  color: #d5dde0; overflow-wrap: anywhere; text-decoration: none;
}
footer.repaircoffee-footer .repaircoffee-brand-relations,
footer.repaircoffee-footer .repaircoffee-brand-relations + p {
  border-top: 1px solid var(--footer-rule);
  margin: 14px 0 0;
  padding: 13px 0 0;
}
footer.repaircoffee-footer .footer-top>div:first-child p a {
  display: inline; min-height: auto; word-break: normal;
}
footer.repaircoffee-footer .repaircoffee-brand-relations a {color: #bedbe9;}
footer.repaircoffee-footer .footer-bottom {
  display: flex; justify-content: space-between; gap: 12px;
  margin: 0; padding: 12px 0 0; border-top: 1px solid var(--footer-rule);
  color: #d5dde0; font-size: 12px; line-height: 1.65;
}
footer.repaircoffee-footer .footer-top a:hover,
footer.repaircoffee-footer .footer-top a:focus-visible {color: #fff; text-decoration: underline;}
footer.repaircoffee-footer a:focus-visible {outline: 2px solid #bedbe9; outline-offset: 3px;}
@media (max-width: 800px) {
  footer.repaircoffee-footer {padding: 30px 7% 24px;}
  footer.repaircoffee-footer .footer-top {
    grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 20px; padding-bottom: 16px;
  }
  footer.repaircoffee-footer .footer-top>div:first-child {
    grid-column: 1/-1; padding-bottom: 17px; border-bottom: 1px solid var(--footer-rule);
  }
  footer.repaircoffee-footer .footer-top>div:last-child {
    grid-column: 1/-1; display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 0 20px; padding-top: 17px; border-top: 1px solid var(--footer-rule);
  }
  footer.repaircoffee-footer .footer-top>div:last-child>span {grid-column: 1/-1; grid-row: 1;}
  footer.repaircoffee-footer .footer-top>div:last-child>a:nth-of-type(-n+4) {grid-column: 1;}
  footer.repaircoffee-footer .footer-top>div:last-child>a:nth-of-type(n+5) {grid-column: 2;}
  footer.repaircoffee-footer .footer-top>div:last-child>a:nth-of-type(1),
  footer.repaircoffee-footer .footer-top>div:last-child>a:nth-of-type(5) {grid-row: 2;}
  footer.repaircoffee-footer .footer-top>div:last-child>a:nth-of-type(2),
  footer.repaircoffee-footer .footer-top>div:last-child>a:nth-of-type(6) {grid-row: 3;}
  footer.repaircoffee-footer .footer-top>div:last-child>a:nth-of-type(3),
  footer.repaircoffee-footer .footer-top>div:last-child>a:nth-of-type(7) {grid-row: 4;}
  footer.repaircoffee-footer .footer-top>div:last-child>a:nth-of-type(4) {grid-row: 5;}
  footer.repaircoffee-footer .footer-bottom {flex-direction: column; gap: 3px;}
  body:has(.mobile-contact) footer.repaircoffee-footer {padding-bottom: 88px;}
}
