/* =====================================================================
   Store footer (inc/footer.php): a help card that sits half over the page, four columns (about, shop, help,
   contact) and a bottom bar. Uses the page side space (--page-x, css/styles.css) so it lines up with the header.
   ===================================================================== */
footer.ft {
  margin: 56px 0 0;
  padding: 0;
  background: none;
  color: rgba(255, 255, 255, .78);
  font-family: inherit;
  text-align: left;
}
footer.ft a { color: inherit; text-decoration: none; }
footer.ft h2, footer.ft h3, footer.ft p, footer.ft ul { margin: 0; }

/* Help card */
.ft-help { padding: 0 var(--page-x, 24px); }
.ft-help-card {
  position: relative;
  z-index: 1;
  top: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  overflow: hidden;
  padding: 26px 30px;
  border-radius: 22px;
  background: linear-gradient(120deg, var(--bg-dark-soft) 0%, var(--bg-dark) 55%, var(--bg-dark-glow, #12384a) 100%);
  box-shadow: 0 18px 40px rgba(14, 42, 54, .22);
  box-shadow: 0 18px 40px color-mix(in srgb, var(--bg-dark) 22%, transparent);
}
.ft-help-card::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 194, 48, .28), transparent 70%); pointer-events: none; }
.ft-help-text { display: flex; align-items: center; gap: 18px; }
.ft-help-icon { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 16px; background: rgba(242, 194, 48, .16); color: var(--accent-gold); font-size: 24px; }
footer.ft .ft-help h2 { margin-bottom: 4px; color: #fff; font-size: 21px; font-weight: 800; }
footer.ft .ft-help p { color: rgba(255, 255, 255, .72); font-size: 14.5px; line-height: 1.5; }
.ft-help-btns { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; }
footer.ft .ft-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; padding: 0 20px; border-radius: 999px; font-size: 15px; font-weight: 800; white-space: nowrap; transition: background-color .15s; }
footer.ft .ft-btn.is-wa { background: #25d366; color: #fff; }
footer.ft .ft-btn.is-wa:hover { background: #1ebe5b; color: #fff; }
footer.ft .ft-btn.is-ghost { border: 1px solid rgba(255, 255, 255, .25); color: #fff; }
footer.ft .ft-btn.is-ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* Columns */
.ft-main { padding: 96px var(--page-x, 24px) 36px; background: var(--bg-dark); }
.ft-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 40px; }
footer.ft .ft-logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ft-logo img { height: 48px; width: auto; }
.ft-logo span { color: #fff; font-size: 25px; font-weight: 900; letter-spacing: .5px; }
.ft-logo span b { color: var(--accent-gold); font-weight: 900; }
footer.ft .ft-about { max-width: 360px; margin-bottom: 20px; font-size: 14.5px; line-height: 1.6; }
.ft-social { display: flex; gap: 10px; }
footer.ft .ft-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 18px; transition: background .15s, transform .15s; }
footer.ft .ft-social a:hover { transform: translateY(-2px); color: #fff; }
footer.ft .ft-social a.is-wa:hover { background: #25d366; }
footer.ft .ft-social a.is-ig:hover { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
footer.ft .ft-social a.is-tt:hover { background: #000; }
footer.ft h3 { margin: 6px 0 16px; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.ft-links { display: grid; gap: 11px; padding: 0; list-style: none; font-size: 14.5px; }
footer.ft .ft-links a { display: inline-flex; align-items: center; gap: 8px; transition: color .12s, transform .12s; }
footer.ft .ft-links a:hover { color: var(--accent-gold); transform: translateX(3px); }
footer.ft .ft-links a.is-hot { color: var(--accent-bright, #ffd76a); font-weight: 700; }
.ft-contact { display: grid; gap: 14px; padding: 0; list-style: none; }
footer.ft .ft-contact a { display: flex; align-items: center; gap: 12px; }
.ft-ic { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px; background: rgba(255, 255, 255, .08); color: var(--accent-gold); font-size: 16px; }
.ft-contact small { display: block; color: rgba(255, 255, 255, .55); font-size: 12px; }
.ft-contact strong { display: block; color: #fff; font-size: 14.5px; font-weight: 700; }
footer.ft .ft-contact a:hover strong { color: var(--accent-gold); }

/* Bottom bar */
.ft-bottom { padding: 18px var(--page-x, 24px); border-top: 1px solid rgba(255, 255, 255, .09); background: var(--bg-darker, #0a1f28); font-size: 13.5px; }
.ft-bottom-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.ft-legal { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
footer.ft .ft-legal a:hover { color: var(--accent-gold); }
/* The developer's credit (inc/shop_contact.php pcm_dev_credit): quiet, after Privacy and Terms */
.ft-credit { color: rgba(255, 255, 255, .45); }
footer.ft .ft-legal .ft-credit a { color: rgba(255, 255, 255, .7); font-weight: 600; }
.ft-pay { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.ft-pay span { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .85); font-size: 12.5px; font-weight: 700; }
.ft-pay span i { color: var(--accent-gold); }

@media (max-width: 1100px) {
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 34px 28px; }
}
@media (max-width: 786px) {
  footer.ft { margin-top: 40px; }
  .ft-help-card { flex-direction: column; align-items: flex-start; top: 36px; padding: 22px; }
  .ft-help-text { align-items: flex-start; }
  .ft-help-btns { width: 100%; }
  footer.ft .ft-btn { flex: 1; }
  .ft-main { padding-top: 70px; }
  .ft-grid { gap: 28px 18px; }
  .ft-brand, .ft-contact-col { grid-column: 1 / -1; }
  .ft-bottom-row { flex-direction: column; align-items: flex-start; }
}
