/* LifetimePlugins.com, shared footer + cookie-consent styles.
   Self-contained (literal colours) so it renders identically on every page,
   regardless of that page's own CSS. Neo-brutalist to match the brand. */

.lp-footer,
.lftm-cc-banner,
.lftm-cc-overlay {
  --lp-ink: #101014;
  --lp-cream: #FBF5E8;
  --lp-paper: #FFFDF6;
  --lp-pink: #F4408F;
  --lp-blue: #4F63F0;
  --lp-lime: #C8F135;
  --lp-line: 2.5px solid #101014;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  box-sizing: border-box;
}
.lp-footer *,
.lftm-cc-banner *,
.lftm-cc-overlay * { box-sizing: border-box; }

/* ------------------------------------------------------------------ Footer */
.lp-footer {
  background: var(--lp-ink);
  color: var(--lp-cream);
  border-top: 6px solid var(--lp-ink);
  margin-top: 64px;
}
.lp-footer a { color: var(--lp-cream); text-decoration: none; }
.lp-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }

.lp-foot-grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 24px 28px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 860px) {
  .lp-foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .lp-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .lp-foot-grid { grid-template-columns: 1fr; }
}

.lp-foot-brand img { height: 34px; display: block; margin-bottom: 14px; }
.lp-foot-logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.lp-foot-logo img { height: 36px; width: auto; display: block; margin: 0; }
.lp-foot-logo span { font-family: 'Sora','Inter',sans-serif; font-weight: 700; font-size: 20px; color: var(--lp-cream); letter-spacing: -.01em; }
.lp-foot-logo span b { font-weight: 800; color: var(--lp-pink); }
.lp-foot-tag { color: #cfc9bb; font-size: 14.5px; line-height: 1.6; max-width: 300px; margin-bottom: 18px; }

.lp-foot-legal {
  font-size: 13px;
  line-height: 1.7;
  color: #b8b2a4;
  border-left: 3px solid var(--lp-pink);
  padding-left: 14px;
}
.lp-foot-legal .lp-foot-legal-h {
  display: block;
  color: var(--lp-cream);
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.lp-foot-legal a { color: var(--lp-lime); }

.lp-foot-col h4 {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9d978a;
  margin: 4px 0 14px;
}
.lp-foot-col ul { list-style: none; margin: 0; padding: 0; }
.lp-foot-col li { margin: 0 0 11px; }
.lp-foot-col a { font-size: 15px; font-weight: 500; }

/* bottom bar */
.lp-foot-bottom {
  border-top: 1px solid rgba(251,245,232,.16);
}
.lp-foot-bottom-in {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 24px 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.lp-foot-copy { font-size: 13.5px; color: #b8b2a4; }
.lp-foot-bottom-links { display: flex; align-items: center; gap: 18px; margin-left: auto; flex-wrap: wrap; }
.lp-foot-bottom-links a, .lp-cc-open {
  font-size: 13.5px; color: #cfc9bb; cursor: pointer; background: none; border: 0; padding: 0; font: inherit;
}
.lp-foot-bottom-links a:hover, .lp-cc-open:hover { color: var(--lp-cream); text-decoration: underline; }

.lp-social { display: flex; gap: 10px; }
.lp-social a {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid rgba(251,245,232,.35); border-radius: 10px; transition: transform .1s, background .1s, border-color .1s;
}
.lp-social a:hover { background: var(--lp-cream); border-color: var(--lp-cream); transform: translateY(-2px); }
.lp-social svg { width: 18px; height: 18px; fill: var(--lp-cream); }
.lp-social a:hover svg { fill: var(--lp-ink); }

/* --------------------------------------------------------- Consent banner */
.lftm-cc-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2147483000;
  background: var(--lp-paper); color: var(--lp-ink);
  border: var(--lp-line); border-radius: 16px; box-shadow: 8px 8px 0 var(--lp-ink);
  transform: translateY(160%); transition: transform .28s ease; max-width: 1180px; margin: 0 auto;
}
.lftm-cc-banner.is-open { transform: translateY(0); }
.lftm-cc-inner { display: flex; align-items: center; gap: 22px; padding: 18px 22px; flex-wrap: wrap; }
.lftm-cc-copy { flex: 1; min-width: 260px; }
.lftm-cc-copy strong { font-family: 'Sora','Inter',sans-serif; font-size: 16px; }
.lftm-cc-copy p { margin: 5px 0 0; font-size: 14px; line-height: 1.55; color: #37342e; }
.lftm-cc-copy a { color: var(--lp-blue); font-weight: 600; }
.lftm-cc-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.lftm-cc-btn {
  font: 600 14px/1 'Inter', system-ui, sans-serif; cursor: pointer;
  border: var(--lp-line); border-radius: 99px; padding: 12px 20px; background: #fff; color: var(--lp-ink);
  box-shadow: 4px 4px 0 var(--lp-ink); transition: transform .1s, box-shadow .1s;
}
.lftm-cc-btn:hover { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--lp-ink); }
.lftm-cc-solid { background: var(--lp-pink); color: #fff; }
.lftm-cc-ghost { box-shadow: none; background: #fff; }

/* --------------------------------------------------------- Consent modal */
.lftm-cc-overlay {
  position: fixed; inset: 0; z-index: 2147483001; background: rgba(16,16,20,.55);
  display: none; align-items: center; justify-content: center; padding: 18px;
}
.lftm-cc-overlay.is-open { display: flex; }
.lftm-cc-modal {
  position: relative; width: 100%; max-width: 520px; background: var(--lp-paper); color: var(--lp-ink);
  border: var(--lp-line); border-radius: 18px; box-shadow: 10px 10px 0 var(--lp-ink); padding: 30px 28px;
  max-height: 90vh; overflow: auto;
}
.lftm-cc-modal h3 { font-family: 'Sora','Inter',sans-serif; font-size: 22px; margin: 0 0 6px; }
.lftm-cc-lead { font-size: 14px; color: #37342e; margin: 0 0 18px; line-height: 1.5; }
.lftm-cc-x { position: absolute; top: 14px; right: 16px; border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--lp-ink); }
.lftm-cc-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border: 2px solid var(--lp-ink); border-radius: 12px; padding: 13px 15px; margin-bottom: 12px; background: #fff;
}
.lftm-cc-row span { display: flex; flex-direction: column; }
.lftm-cc-row strong { font-size: 15px; }
.lftm-cc-row em { font-style: normal; font-size: 12.5px; color: #6b6860; margin-top: 2px; }
.lftm-cc-row input { width: 20px; height: 20px; accent-color: var(--lp-pink); }
.lftm-cc-locked { opacity: .75; }
.lftm-cc-modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }
