
.footer-top {
  padding: 48px var(--rail-gutter) 48px 0;
  background: rgba(28,74,60,0.22);
  color: var(--ink-85);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.5fr;
  gap: 48px;
  align-items: start;
  font-size: 14px;
  line-height: 1.7;
}

.footer-logo {
  filter: drop-shadow(4px 4px 10px rgba(64, 52, 8, 0.5));
  height: auto;
  max-height: 40px;
  object-fit: contain;
  margin-bottom: 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 4px;
  margin-bottom: 12px;
  font-weight: bolder;
  font-family: "Noto Serif TC", serif;
}

.footer-quick-links {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.65;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.footer-quick-sep {
  opacity: 0.45;
  user-select: none;
  padding: 0 2px;
}

.footer-quick-link {
  display: inline-block;
  color: var(--primary-jade);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease, color 0.25s ease;
}

.footer-quick-link:hover {
  transform: translateY(-3px) scale(1.06);
  filter: brightness(1.06);
  color: var(--accent-gold);
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-text-link {
  display: inline-block;
  color: var(--ink-85);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
  line-height: 1.75;
}

.footer-text-link:hover {
  color: var(--primary-jade);
  border-bottom-color: rgba(28, 74, 60, 0.35);
  transform: translateX(2px);
}

.footer-text-link--heading {
  margin-bottom: 4px;
  color: inherit;
}

.footer-text-link--heading:hover {
  color: var(--accent-gold);
}

.footer-top a:not(.social):not(.store-badge):not(.footer-chip-link):not(.footer-text-link) {
  color: inherit;
  text-decoration: none;
}

.footer-top a:not(.social):not(.store-badge):not(.footer-brand):not(.footer-text-link):not(.footer-quick-link):hover {
  color: var(--accent-gold);
}

.footer-contact-title {
  display: inline-block;
  margin-bottom: 10px;
}

.footer-contact-lines {
  margin: 0;
  line-height: 1.75;
}

.footer-contact-label {
  display: inline-block;
  min-width: 3.2em;
  margin-right: 0.25em;
  color: rgba(44, 44, 44, 0.55);
  font-size: 13px;
}

.store-row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.store-badge {
  width: 116px;
  height: 36px;
  border-radius: 6px;
  background: #111;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 11px;
  font-family: sans-serif;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.store-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  filter: brightness(1.08);
}

.store-badge--apple {
  background: #000;
}

.store-badge--google {
  background: #000;
}

.social--line {
  background: #06c755;
}

.store-icon {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex: 0 0 auto;
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.social-row .social:not([href]),
.social-row .social[href=""],
.social-row .social[href="#"] {
  display: none;
}

.social {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--primary-jade);
  color: white;
  display: grid;
  place-items: center;
  font-size: 0;
  font-family: sans-serif;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.social:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  filter: brightness(1.06);
}

.social--facebook {
  background: #1877f2;
}

.social--twitter {
  background: #000;
}

.social--instagram {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 70%, #515bd4 100%);
}

.social--youtube {
  background: #ff0000;
}

.social-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.footer-bottom {
  padding: 24px var(--rail-gutter) 24px 0;
  background: var(--primary-jade);
  color: rgba(255,255,255,0.86);
  font-family: sans-serif;
  font-size: 12px;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 36px;
}

.footer-bottom .footer-links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.22s ease, opacity 0.22s ease;
}

.footer-bottom .footer-links a:hover {
  color: #f5e6c8;
  opacity: 1;
  transform: none;
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; }
}

@media (max-width: 599px) {
  .footer-logo {
    filter: none;
  }
}
