/* PlastiBytes brand tokens and site-wide sections (footer). Same palette as shop.css and learn.css;
   new shared styles should use these --pb-* tokens. */
:root {
  --pb-blue: #3D90D7;
  --pb-blue-dark: #1e5fa8;
  --pb-blue-deep: #154a86;
  --pb-blue-light: #5aaae0;
  --pb-sky: #b8d8f4;
  --pb-tint: #e8f4fd;
  --pb-paper: #f9f6f0;
  --pb-ink: #1a1a1a;
  --pb-muted: #5e7085;
  --pb-serif: 'Cormorant Garamond', serif;
  --pb-sans: 'Inter', sans-serif;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.pb-footer {
  background: linear-gradient(160deg, var(--pb-blue-dark) 0%, var(--pb-blue-deep) 100%);
  border-top: 3px solid var(--pb-blue-light);
  color: rgba(255, 255, 255, .82);
  font-family: var(--pb-sans);
  font-size: 15px;
  line-height: 1.6;
}
.pb-footer a { color: inherit; text-decoration: none; transition: color .15s ease; }
.pb-footer a:hover { color: #fff; }

.pb-footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr;
  gap: 40px;
  padding: 64px 0 48px;
}

.pb-footer-logo { display: inline-block; margin-bottom: 18px; }
.pb-footer-logo img { width: 190px; height: auto; filter: brightness(0) invert(1); }
.pb-footer-about { margin: 0 0 22px; max-width: 340px; color: rgba(255, 255, 255, .82); }

.pb-footer-title {
  margin: 0 0 16px;
  font-family: var(--pb-serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
}
.pb-footer-links { list-style: none; margin: 0; padding: 0; }
.pb-footer-links li + li { margin-top: 9px; }

.pb-footer-label {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pb-sky);
}
.pb-footer-contact { display: grid; gap: 14px; margin: 0 0 20px; font-style: normal; }
.pb-footer-contact p { margin: 0; color: inherit; }

.pb-footer-social { display: flex; flex-wrap: wrap; gap: 10px; }
.pb-footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 16px;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.pb-footer-social a:hover { background: #fff; color: var(--pb-blue-dark); transform: translateY(-2px); }
.pb-footer-social svg { width: 16px; height: 16px; fill: currentColor; }

.pb-footer-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.pb-footer-btn:hover { background: #fff; border-color: #fff; color: var(--pb-blue-dark) !important; }

.pb-footer-bar { border-top: 1px solid rgba(255, 255, 255, .14); background: rgba(0, 0, 0, .12); }
.pb-footer-bar .container {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-top: 20px; padding-bottom: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, .7);
}
.pb-footer-bar p { margin: 0; color: inherit; }
.pb-footer-bar nav { display: flex; flex-wrap: wrap; gap: 20px; }

@media (max-width: 991px) {
  .pb-footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
  .pb-footer-main { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 36px; }
  /* Leave room for the floating chat and cart buttons */
  .pb-footer-bar .container { flex-direction: column; padding-right: 92px; }
}
@media (prefers-reduced-motion: reduce) {
  .pb-footer a, .pb-footer-social a, .pb-footer-btn { transition: none; }
  .pb-footer-social a:hover { transform: none; }
}
