/* Footer Phase 1: warm stone palette, one navigation tree at every width. */
.fanxing-site .fx-retail-footer { background: #ede9e2; color: #34312e; }
.fanxing-site .fx-retail-footer__grid { grid-template-columns: 1.3fr .8fr 1.1fr 1.1fr; gap: 48px; padding-block: 56px 44px; }
.fanxing-site .fx-retail-footer__wordmark { color: #34312e; }
.fanxing-site .fx-retail-footer__brand p,
.fanxing-site .fx-retail-footer__brand li a,
.fanxing-site .fx-retail-footer__column a { color: #625c55; }
.fanxing-site .fx-retail-footer__column { min-width: 0; }
.fanxing-site .fx-retail-footer__accordion summary { display: flex; align-items: center; justify-content: space-between; list-style: none; margin-bottom: 16px; color: #34312e; font: 600 11px/1.5 var(--fanxing-sans); letter-spacing: .14em; text-transform: uppercase; }
.fanxing-site .fx-retail-footer__accordion summary::-webkit-details-marker { display: none; }
.fanxing-site .fx-retail-footer__accordion ul { margin: 0; padding: 0; list-style: none; }
.fanxing-site .fx-retail-footer a { transition: color 220ms ease; }
.fanxing-site .fx-retail-footer a:hover { color: #34312e; }
.fanxing-site .fx-retail-footer a:focus-visible,
.fanxing-site .fx-retail-footer summary:focus-visible { outline: 2px solid #77716a; outline-offset: 4px; }
.fanxing-site .fx-retail-footer__bottom { border-color: #d5cdc2; color: #625c55; }
.fanxing-site .fx-retail-footer__bottom a { color: #625c55; }
.fanxing-site .fx-retail-footer__toggle { display: none; }
.fanxing-site .fx-retail-footer__bottom { align-items: center; flex-wrap: wrap; }
.fanxing-site .fx-retail-footer__bottom > p { order: -1; margin: 0; }
.fanxing-site .fx-retail-footer__whatsapp { margin-left: auto; }
.fanxing-site .fx-retail-footer__bottom .fx-retail-footer__whatsapp { display: inline-flex; gap: 10px; min-height: 44px; padding: 10px 16px; border: 1px solid #d5cdc2; border-radius: 6px; background: #f6f3ee; color: #34312e; font-size: 12px; text-decoration: none; transition: background-color 220ms ease; }
.fanxing-site .fx-retail-footer__whatsapp:hover { background: #e5ded3; }
.fanxing-site .fx-retail-footer__whatsapp img { flex: 0 0 20px; width: 20px; height: 20px; }
.fanxing-site .fx-retail-footer__payments { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fanxing-site .fx-retail-footer__payments li { display: flex; align-items: center; justify-content: center; width: 62px; height: 40px; background: #f6f3ee; border: 1px solid #d5cdc2; border-radius: 5px; }
.fanxing-site .fx-retail-footer__payments img { width: 42px; height: 24px; object-fit: contain; }
@media (max-width: 639px) {
  .fanxing-site .fx-retail-footer__bottom { align-items: center; gap: 18px; text-align: center; }
  .fanxing-site .fx-retail-footer__bottom > p { order: 2; }
  .fanxing-site .fx-retail-footer__whatsapp { margin-left: 0; }
}
@media (min-width: 640px) and (max-width: 1099px) {
  .fanxing-site .fx-retail-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
}
@media (max-width: 639px) {
  .fanxing-site .fx-retail-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 38px 28px; }
  .fanxing-site .fx-retail-footer__brand { margin-bottom: 26px; }
  .fanxing-site .fx-retail-footer__column { border-top: 1px solid #d5cdc2; }
  .fanxing-site .fx-retail-footer__accordion summary { min-height: 58px; margin: 0; cursor: pointer; }
  .fanxing-site .fx-retail-footer__accordion ul { padding-bottom: 18px; }
  .fanxing-site .fx-retail-footer__accordion[open] ul { animation: fx-footer-reveal 220ms ease; }
  .fanxing-site .fx-retail-footer__column a { min-height: 44px; }
  .fanxing-site .fx-retail-footer__toggle { display: block; position: relative; width: 14px; height: 14px; }
  .fanxing-site .fx-retail-footer__toggle::before,
  .fanxing-site .fx-retail-footer__toggle::after { content: ''; position: absolute; background: #625c55; }
  .fanxing-site .fx-retail-footer__toggle::before { width: 14px; height: 1px; top: 6px; }
  .fanxing-site .fx-retail-footer__toggle::after { width: 1px; height: 14px; left: 6px; transition: transform 220ms ease; }
  .fanxing-site .fx-retail-footer__accordion[open] .fx-retail-footer__toggle::after { transform: rotate(90deg); }
}
@keyframes fx-footer-reveal { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .fanxing-site .fx-retail-footer a,
  .fanxing-site .fx-retail-footer__toggle::after { transition: none; }
  .fanxing-site .fx-retail-footer__accordion[open] ul { animation: none; }
}
