/* Branded Parcels — sitewide footer, contact/newsletter forms, chat bubble.
   Loads on every page. Uses the same brand tokens as storefront.css so the
   footer reads as one system with the rest of the site. */

.bp-ftr{
  background:var(--bp-blue-dark,#0a2458);
  color:#fff;
  font-family:inherit;
  margin-top:0;
}
.bp-ftr *{box-sizing:border-box}
.bp-ftr a{color:#fff;text-decoration:none}
.bp-ftr a:hover{color:var(--bp-red,#d71920)}
.bp-ftr a:focus-visible,.bp-ftr button:focus-visible,.bp-ftr input:focus-visible{outline:3px solid #fff;outline-offset:2px}

.bp-ftr-container{width:min(1180px,calc(100% - 32px));margin:auto}

.bp-ftr-top{padding:clamp(36px,7vw,60px) 0 clamp(20px,4vw,30px)}
.bp-ftr-grid{display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:clamp(24px,5vw,48px)}

.bp-ftr-heading{
  font-size:13px;
  font-weight:700!important;
  letter-spacing:.09em;
  text-transform:uppercase;
  margin:0 0 16px;
  color:#fff;
  list-style:none;
  cursor:default;
}
.bp-ftr-heading::-webkit-details-marker{display:none}
.bp-ftr-heading::marker{content:''}

.bp-ftr-links{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:11px}
.bp-ftr-links li a{font-size:14px;color:rgba(255,255,255,.78);transition:color .15s ease}
.bp-ftr-links li a:hover{color:#fff}
.bp-ftr-chat-link{display:inline-flex;align-items:center;gap:7px}
.bp-ftr-dot{width:7px;height:7px;border-radius:50%;background:#3ddc73;display:inline-block;box-shadow:0 0 0 rgba(61,220,115,.6);animation:bp-ftr-pulse 2s infinite}
@keyframes bp-ftr-pulse{
  0%{box-shadow:0 0 0 0 rgba(61,220,115,.55)}
  70%{box-shadow:0 0 0 7px rgba(61,220,115,0)}
  100%{box-shadow:0 0 0 0 rgba(61,220,115,0)}
}

.bp-ftr-col-signup{display:flex;flex-direction:column}
.bp-ftr-signup-copy{font-size:13.5px;line-height:1.6;color:rgba(255,255,255,.72);margin:0 0 16px;max-width:36ch}
.bp-ftr-signup-row{display:flex;border:1px solid rgba(255,255,255,.3);border-radius:4px;overflow:hidden;background:rgba(255,255,255,.04)}
.bp-ftr-signup-row input{flex:1;background:transparent;border:0;padding:12px 14px;color:#fff;font-size:14px;min-width:0}
.bp-ftr-signup-row input::placeholder{color:rgba(255,255,255,.55)}
.bp-ftr-signup-row input:focus{outline:none}
.bp-ftr-signup-row button{
  border:0;background:var(--bp-red,#d71920);color:#fff;font-weight:700!important;font-size:12.5px;
  letter-spacing:.06em;padding:0 20px;cursor:pointer;transition:background-color .2s ease;white-space:nowrap
}
.bp-ftr-signup-row button:hover{background:#bb131a}

.bp-ftr-social{display:flex;gap:10px;margin-top:18px}
.bp-ftr-social a{
  width:36px;height:36px;border-radius:50%;background:#fff;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 2px 6px rgba(0,0,0,.18);
  transition:transform .2s ease,box-shadow .2s ease
}
.bp-ftr-social a svg{width:17px;height:17px;display:block}
.bp-ftr-social a:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.28)}

/* Honeypot field: kept in the DOM and tab order-safe but invisible to sighted users */
.bp-form-hp{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}

.bp-form-banner{
  font-size:13.5px;font-weight:400;padding:11px 14px;border-radius:6px;margin-bottom:14px;
}
.bp-form-banner-success{background:rgba(61,220,115,.15);color:#3ddc73;border:1px solid rgba(61,220,115,.4)}
.bp-form-banner-error{background:rgba(215,25,32,.15);color:#ff9b9e;border:1px solid rgba(215,25,32,.4)}

.bp-ftr-bottom{border-top:1px solid rgba(255,255,255,.14);padding:16px 0}
.bp-ftr-bottom-inner{display:flex;flex-wrap:wrap;gap:8px 24px;justify-content:space-between;align-items:center}
.bp-ftr-contact-info,.bp-ftr-legalese{margin:0;font-size:12px;color:rgba(255,255,255,.62)}
.bp-ftr-legalese ul,.bp-ftr-legalese li{display:inline}
.bp-ftr-legalese li a{margin-left:12px;color:rgba(255,255,255,.62);font-size:12px}
.bp-ftr-legalese li a:hover{color:#fff}

/* Mobile: collapse the two link columns into tap-to-expand accordions;
   keep the sign-up panel always open since it's the primary CTA. */
@media(max-width:800px){
  .bp-ftr-grid{grid-template-columns:1fr;gap:0}
  .bp-ftr-details{border-bottom:1px solid rgba(255,255,255,.14);padding:16px 0}
  .bp-ftr-details .bp-ftr-heading{cursor:pointer;display:flex;align-items:center;justify-content:space-between;margin:0}
  .bp-ftr-details .bp-ftr-heading::after{content:'+';font-size:18px;font-weight:400;line-height:1}
  .bp-ftr-details[open] .bp-ftr-heading::after{content:'\2212'}
  .bp-ftr-details .bp-ftr-links{margin-top:14px}
  .bp-ftr-col-signup{padding-top:22px}
  .bp-ftr-bottom-inner{flex-direction:column;align-items:flex-start;text-align:left}
  .bp-ftr-legalese li a{margin-left:0;margin-right:12px}
}
@media(min-width:801px){
  /* On desktop the columns are always fully open — disable the native
     details/summary click-to-toggle so it reads as a plain heading. */
  .bp-ftr-details summary{pointer-events:none}
}

/* Contact form (used on the Contact Us page via [branded_parcels_contact_form]).
   .bp-btn/.bp-btn-primary duplicate the homepage button styles from home.css
   so the button still looks right here — home.css only loads on the
   homepage, but this form can appear on any page. */
.bp-form-wrap .bp-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 22px;border-radius:4px;font-weight:700!important;font-size:14px;text-decoration:none;border:1px solid transparent;transition:transform .2s ease,background-color .2s ease;cursor:pointer;white-space:nowrap}
.bp-form-wrap .bp-btn-primary{background:var(--bp-red,#d71920);color:#fff}
.bp-form-wrap .bp-btn-primary:hover{background:#bb131a;transform:translateY(-1px)}
.bp-form-wrap{max-width:560px}
.bp-contact-form .bp-form-row{margin-bottom:16px;display:flex;flex-direction:column;gap:6px}
.bp-contact-form label{font-size:13px;font-weight:400;color:var(--bp-ink,#111827)}
.bp-contact-form input,.bp-contact-form select,.bp-contact-form textarea{
  border:1px solid var(--bp-line,#e5e7eb);border-radius:6px;padding:11px 13px;font-size:14px;
  font-family:inherit;color:var(--bp-ink,#111827);background:#fff
}
.bp-contact-form input:focus,.bp-contact-form select:focus,.bp-contact-form textarea:focus{
  outline:3px solid var(--bp-blue,#123b8f);outline-offset:1px;border-color:var(--bp-blue,#123b8f)
}
.bp-contact-form .bp-form-banner-success{background:#eafaf0;color:#0f7a3e;border-color:#bdeccf}
.bp-contact-form .bp-form-banner-error{background:#fdecec;color:#a3151a;border-color:#f5c2c4}

/* Floating WhatsApp chat bubble — sitewide, so it also satisfies "front
   page should have live chat" without depending on a third-party account. */
.bp-chat-bubble{
  position:fixed;right:18px;bottom:18px;z-index:9999;
  width:56px;height:56px;border-radius:50%;background:#25D366;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 22px rgba(0,0,0,.28);transition:transform .2s ease;
}
.bp-chat-bubble:hover{transform:scale(1.06)}
.bp-chat-bubble svg{width:30px;height:30px}
@media(max-width:480px){
  .bp-chat-bubble{width:50px;height:50px;right:14px;bottom:14px}
  .bp-chat-bubble svg{width:26px;height:26px}
}

@media(prefers-reduced-motion:reduce){
  .bp-ftr *,.bp-chat-bubble{transition-duration:.001ms!important;animation-duration:.001ms!important}
}
