/* Keep the shared storefront gutters at every breakpoint. */
:is(main,.sp-info) .wrap.home-flagship{margin-inline:auto;min-width:0}
footer > .sp-footer-nav{
  width:min(1180px,calc(100% - 48px));margin-inline:auto;
  grid-template-columns:repeat(5,minmax(0,1fr));
}
footer > .sp-footer-nav > *{min-width:0}
footer > .sp-footer-nav :is(a,p,h3){overflow-wrap:break-word}
footer > .payment-footer{
  width:min(1180px,calc(100% - 48px));margin-inline:auto;padding-inline:0;
}
footer > .payment-footer .payment-footer-grid{
  width:100%;margin-inline:auto;grid-template-columns:minmax(0,1fr) minmax(0,2fr);
}
footer > .payment-footer .payment-group:first-child{padding-left:0}
footer > .payment-footer .payment-group{min-width:0}

main .wrap.kitchen-story{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,38%);align-items:stretch;
  gap:0;padding:0;margin-inline:auto;overflow:hidden;
  background:#fbf9f5;
}
main .kitchen-story .story-copy{
  align-self:center;max-width:590px;padding:clamp(24px,4vw,52px);min-width:0;
}
main .kitchen-story > figure{display:flex;width:100%;max-width:none;margin:0;min-width:0}
main .kitchen-story > figure img{
  display:block;width:100%;height:100%;max-height:none;aspect-ratio:2/3;
  object-fit:cover;object-position:center;border-radius:0;
}
@media(max-width:920px){
  footer > .sp-footer-nav{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  footer > .sp-footer-nav,footer > .payment-footer{
    width:calc(100% - 2 * clamp(16px,4.5vw,24px));
  }
  main .wrap.kitchen-story{grid-template-columns:minmax(0,1fr)}
  main .kitchen-story > figure img{height:auto}
}
@media(max-width:660px){
  footer > .sp-footer-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
  footer > .payment-footer .payment-footer-grid{grid-template-columns:minmax(0,1fr)}
  footer > .payment-footer .payment-group{padding-inline:0}
}

/* A compact quote-first panel replaces the leftover payment-method columns. */
footer > .payment-footer .sp-payment-band{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;
  border:1px solid #57494a;border-inline-start:3px solid #de4148;border-radius:8px;
  background:#2d2728;padding:16px clamp(16px,2.4vw,26px);
}
.sp-payment-band .sp-payment-icon{
  display:grid;place-items:center;width:45px;height:45px;border-radius:7px;
  color:#f7d0d1;background:#472f31;
}
.sp-payment-band .sp-payment-copy h3{margin:0 0 3px;color:#fff;font-size:1.06rem;line-height:1.3}
.sp-payment-band .sp-payment-copy p{margin:0;color:#e6dbdc;font-size:.93rem;line-height:1.45}
.sp-payment-band .sp-payment-status{
  justify-self:end;border:1px solid #716064;border-radius:99px;padding:6px 10px;
  color:#f8eeee;font-size:.81rem;font-weight:650;white-space:nowrap;
}
footer > .payment-footer .payment-copyright{
  width:100%;max-width:none;text-align:center!important;margin:16px auto 0!important;color:#ddd4d5;
}
@media(max-width:660px){
  footer > .payment-footer .sp-payment-band{grid-template-columns:auto minmax(0,1fr);gap:9px 13px}
  .sp-payment-band .sp-payment-status{grid-column:2;justify-self:start;white-space:normal}
}

/* Use the Possibilities page's actual canvas as the shared public neutral. */
:root{--sp-storefront-canvas:#f5f3ee;--soft:var(--sp-storefront-canvas)}
body:not(:has(.sp-home-hero-tone)){background:var(--sp-storefront-canvas)}
main.sp-info,.sp-video-placeholder div,.sp-video-preview-card span,
.sp-blog-card-photo,.sp-article-related,#sp-account select:disabled{
  background:var(--sp-storefront-canvas);
}
.unified-header{background:#fff}

/* Display the original green Wise wordmark without adding a payment action. */
.sp-payment-tags{display:flex;align-items:center;justify-content:flex-end;gap:8px 14px;flex-wrap:wrap}
footer > .payment-footer .sp-payment-tags .wise-business{
  margin:0;color:#91e73b;font-weight:800;font-size:1.07rem;line-height:1.2;
  border:1px solid #5e713f;padding:6px 9px;border-radius:5px;background:#2e3627;
}
@media(max-width:860px){.sp-payment-tags{grid-column:2;justify-content:flex-start}}

/* Keep the original phone footer layout; give the copy a small inward inset. */
@media(max-width:660px){
  footer > .wrap > :is(.brand,.sp-footer-country),
  footer > .sp-footer-nav > .sp-footer-links{padding-inline-start:6px}
}

/* Center the footer brand and Canada badge on phones only. */
@media(max-width:660px){
  footer > .wrap > :is(.brand,.sp-footer-country){
    padding-inline:0;
    text-align:center;
  }
  footer > .wrap > .sp-footer-country{display:flex;justify-content:center}
}

/* Keep the phone footer descriptor between the title and body text in size. */
@media(max-width:660px){
  footer > .wrap > .brand > small{
    font-size:13px;
    line-height:1.3;
    text-wrap:balance;
  }
}
