/* ==========================================================================
   Footer bundle
   ========================================================================== */

.pc-footer { background: var(--pc-ink); color: #fff; margin-top: auto; }

.pc-footer-in {
  max-width: var(--pc-max); margin: 0 auto; padding: 52px 24px 28px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 32px;
}
/* Note: do NOT use repeat(auto-fit, …) alongside the 1.6fr track — mixing a
   flexible track with auto-fit invalidates the whole declaration and the
   columns collapse into one. Hence the explicit variants below. */

/* Link columns can be switched off in the Customizer; the brand block always
   stays, so the track list is 1.6fr plus however many remain. */
.pc-footer-cols-4 { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; }
.pc-footer-cols-3 { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
.pc-footer-cols-2 { grid-template-columns: 1.8fr 1fr 1fr; }
.pc-footer-cols-1 { grid-template-columns: 2fr 1fr; }
.pc-footer-cols-0 { grid-template-columns: 1fr; }
.pc-footer-cols-0 .pc-footer-about p { max-width: 520px; }

.pc-footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.pc-footer-brand .pc-logo-name { color: #fff; font-size: 20px; font-family: var(--pc-serif); }
.pc-footer-logo-img { max-height: 70px; width: auto; }

/* ---------- Social ---------- */
.pc-footer-social { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.pc-social-link {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--pc-ink);
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.pc-social-link:hover {
  background: var(--pc-yellow); color: var(--pc-ink); transform: translateY(-3px);
}

.pc-footer p { font-size: 14px; line-height: 1.6; color: #fff; margin: 0 0 16px; max-width: 280px; }
.pc-footer-mail { font-size: 13px; color: #fff; }
.pc-footer-mail a { color: var(--pc-yellow); }
.pc-footer-mail a:hover { color: #fff; }

.pc-footer-col-title {
  position: relative; display: inline-block;
  font-weight: 800; font-size: 17px; color: #fff;
  margin-bottom: 20px; padding-bottom: 10px;
}
/* Short yellow rule under each column heading. */
.pc-footer-col-title::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 34px; height: 3px; border-radius: 3px; background: var(--pc-yellow);
}
.pc-footer-link {
  display: block; font-size: 14px; color: #fff; padding: 5px 0;
  transition: color .18s ease, transform .18s ease;
}
.pc-footer-link:hover { color: var(--pc-yellow); transform: translateX(4px); }

/* Menu lists — reset markers (see the same note in header.css).
   Scoped to the footer menus on purpose: a bare .pc-menu rule here would
   load after header.css and wipe the header pill's padding. */
.pc-menu-footer { list-style: none; margin: 0; padding: 0; display: block; }
.pc-menu-footer li { list-style: none; }
.pc-menu-footer li::marker { content: none; }

.pc-footer-legal {
  border-top: 1px solid rgba(69, 64, 53, .56); max-width: var(--pc-max); margin: 0 auto;
  padding: 18px 24px; display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 12px; font-size: 13px; color: #fff;
}
.pc-footer-legal a { color: #fff; }
.pc-footer-legal a:hover { color: var(--pc-yellow); }

/* ---------- Payments strip (replaces the old legal menu) ---------- */
.payments {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  color: #fff; font-size: 13px; font-weight: 700;
}
.payments > svg { color: var(--pc-yellow); flex: none; }

.pay-marks { display: flex; align-items: center; gap: 8px; }
.pay-mark {
  display: inline-flex; align-items: center; justify-content: center; gap: 1px;
  height: 26px; min-width: 42px; padding: 0 8px; border-radius: 5px;
  background: #fff; color: #1A1F71;
  font-family: var(--pc-sans); font-size: 11px; font-weight: 800; letter-spacing: .02em;
  transition: transform .18s ease, box-shadow .18s ease;
}
.pay-mark:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0, 0, 0, .25); }

.pay-mark.visa { color: #1A1F71; font-style: italic; letter-spacing: .06em; }

/* Mastercard's interlocking discs */
.pay-mark.mc { gap: 0; }
.mc-c { width: 15px; height: 15px; border-radius: 50%; display: inline-block; }
.mc-r { background: #EB001B; }
.mc-y { background: #F79E1B; margin-left: -6px; mix-blend-mode: multiply; }

.pay-mark.gp { color: #3C4043; }
.gp-g { color: #4285F4; font-weight: 800; }

.pay-mark.ap { color: #000; gap: 2px; }

.pay-mark.pp { gap: 0; }
.pp-blue { color: #003087; }
.pp-light { color: #009CDE; }

@media (max-width: 1024px) {
  .pc-footer-in,
  .pc-footer-cols-4, .pc-footer-cols-3 { grid-template-columns: 1.4fr 1fr 1fr; }
  .pc-footer-cols-2 { grid-template-columns: 1.4fr 1fr 1fr; }
  .pc-footer-cols-1 { grid-template-columns: 1.6fr 1fr; }
}
@media (max-width: 900px)  { .pc-footer-in { padding: 40px 16px 24px; } .pc-footer-legal { padding: 18px 16px; } }
@media (max-width: 620px)  {
  .pc-footer-in,
  .pc-footer-cols-4, .pc-footer-cols-3,
  .pc-footer-cols-2 { grid-template-columns: 1fr 1fr; gap: 24px; }
  .pc-footer-cols-1, .pc-footer-cols-0 { grid-template-columns: 1fr; gap: 24px; }
  .pc-footer-about { grid-column: 1 / -1; }
  .pc-footer-legal { flex-direction: column; align-items: flex-start; }
  .payments { gap: 9px; font-size: 12px; }
  .pay-mark { height: 23px; min-width: 37px; padding: 0 6px; font-size: 10px; }
  .mc-c { width: 13px; height: 13px; }
}
