/* global-footer-m1match-20261029-r1.css
   Port of M1 sp-footer-v3 onto Magento 2 page-footer DOM.
   Palette: deep blue #2c4482 / blue #3C59A5 / yellow #FFCC03 / white.
   Layout: >=1101px  Newsletter | 3 link cols + bottom bar
           771-1100  newsletter on top, 3 link cols, bottom stacked
           <=770     newsletter + collapsible link groups (JS)
   Pair with global-footer-m1match-20261029-r1.js. */

html body .page-wrapper footer.page-footer{
  box-sizing:border-box;margin-top:40px!important;padding:0!important;color:#fff!important;
  background:#2c4482!important;border-top:4px solid #FFCC03!important;border-radius:0;
}
html body .page-wrapper footer.page-footer:after{display:none!important;content:none!important}

html body .page-wrapper .page-footer .footer.content{
  box-sizing:border-box;display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  width:auto!important;max-width:1280px!important;margin:0 auto!important;border:0!important;
  background:none!important;gap:0!important;
  padding:24px 16px calc(24px + env(safe-area-inset-bottom,0px))!important;
  color:#fff!important;text-align:left!important;
}
html body .page-wrapper .page-footer .footer.content:before,
html body .page-wrapper .page-footer .footer.content:after{display:none!important;content:none!important}

/* ---- newsletter (M2: .block.newsletter) ---- */
html body .page-wrapper .page-footer .block.newsletter{
  order:1;float:none!important;width:auto!important;max-width:none!important;box-sizing:border-box;
  margin:0 0 8px!important;padding:20px 18px 22px!important;
  background:rgba(255,255,255,.09)!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:14px!important;
  grid-column:auto!important;grid-row:auto!important;
}
html body .page-wrapper .page-footer .block.newsletter .title,
html body .page-wrapper .page-footer .block.newsletter .block-title{
  display:block!important;margin:0!important;padding:0!important;border:0!important;background:none!important
}
html body .page-wrapper .page-footer .block.newsletter .title strong,
html body .page-wrapper .page-footer .block.newsletter .block-title strong{
  display:block!important;margin:0 0 6px!important;font-size:20px!important;line-height:1.25!important;
  font-weight:700!important;color:#fff!important;letter-spacing:.01em!important;text-transform:none!important
}
html body .page-wrapper .page-footer .block.newsletter .title:after{
  content:"Get store news and new arrivals in your inbox.";display:block;margin:0 0 16px;
  font-size:14px;line-height:1.5;font-weight:500;color:#e1e8f7;letter-spacing:.01em
}
html body .page-wrapper .page-footer .block.newsletter .content{margin:0;padding:0;background:none;border:0}
html body .page-wrapper .page-footer .block.newsletter .form.subscribe{
  display:flex!important;flex-wrap:nowrap!important;align-items:flex-start!important;width:100%!important;gap:0!important;max-width:none!important
}
html body .page-wrapper .page-footer .block.newsletter .field.newsletter{
  display:block!important;flex:1 1 auto!important;min-width:0!important;max-width:none!important;margin:0!important
}
html body .page-wrapper .page-footer .block.newsletter .control{width:100%!important;position:relative}
html body .page-wrapper .page-footer .block.newsletter .control:before{display:none!important}
html body .page-wrapper .page-footer .block.newsletter label .label,
html body .page-wrapper .page-footer .block.newsletter .label{
  position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;
  overflow:hidden!important;clip:rect(0 0 0 0)!important;border:0!important
}
html body .page-wrapper .page-footer .block.newsletter input{
  box-sizing:border-box!important;width:100%!important;height:48px!important;min-height:48px!important;
  padding:0 14px!important;font-size:16px!important;line-height:normal!important;
  background:#fff!important;border:0!important;border-radius:10px 0 0 10px!important;color:#1f2937!important;box-shadow:none!important
}
html body .page-wrapper .page-footer .block.newsletter input:focus{
  box-shadow:0 0 0 3px rgba(255,204,3,.55)!important;outline:0!important;position:relative;z-index:1
}
html body .page-wrapper .page-footer .block.newsletter .actions{display:block!important;flex:0 0 auto!important;width:auto!important;margin:0!important}
html body .page-wrapper .page-footer .block.newsletter .action.subscribe{
  display:flex!important;align-items:center;justify-content:center;box-sizing:border-box!important;
  height:48px!important;min-height:48px!important;margin:0!important;padding:0 22px!important;
  border:0!important;border-radius:0 10px 10px 0!important;
  background:#FFCC03!important;color:#2c4482!important;font-size:15px!important;font-weight:700!important;
  letter-spacing:.02em;box-shadow:none!important;line-height:1!important
}
html body .page-wrapper .page-footer .block.newsletter .action.subscribe:hover{
  background:#e6b800!important;border:0!important;color:#2c4482!important
}
html body .page-wrapper .page-footer .block.newsletter .action.subscribe:focus-visible{outline:3px solid #fff;outline-offset:2px}
html body .page-wrapper .page-footer .block.newsletter .mage-error{margin:8px 0 0!important;color:#ffd7d7!important;font-size:13px!important}

/* ---- link groups (from footer.phtml) ---- */
html body .page-wrapper .page-footer .cj-ft-links,
html body .page-wrapper .page-footer .links.cj-ft-col{
  order:2;float:none!important;width:auto!important;margin:0!important;padding:0!important;box-sizing:border-box;
  border-top:1px solid rgba(255,255,255,.16);letter-spacing:.01em;grid-column:auto!important;grid-row:auto!important
}
html body .page-wrapper .page-footer .j96-footer-links{display:none!important} /* hide legacy flat links if any leftover */
html body .page-wrapper .page-footer .links.cj-ft-col .block-title{
  margin:0!important;padding:0!important;border:0!important;background:none!important;
  display:flex;align-items:center;justify-content:space-between;min-height:52px
}
html body .page-wrapper .page-footer .links.cj-ft-col .block-title strong{
  margin:0!important;font-size:16px!important;line-height:1.3;font-weight:700!important;
  color:#FFCC03!important;text-transform:none!important;letter-spacing:.02em!important
}
html body .page-wrapper .page-footer .links.cj-ft-col ul{margin:0!important;padding:0 0 12px!important;list-style:none!important}
html body .page-wrapper .page-footer .links.cj-ft-col li{margin:0!important;padding:0!important;line-height:1.4;list-style:none!important}
html body .page-wrapper .page-footer .links.cj-ft-col li a{
  display:flex!important;align-items:center;min-height:44px;padding:0 2px!important;
  font-size:15px!important;font-weight:500!important;color:#eef2fc!important;
  text-transform:none!important;text-decoration:none!important;letter-spacing:.01em
}
html body .page-wrapper .page-footer .links.cj-ft-col li a:hover,
html body .page-wrapper .page-footer .links.cj-ft-col li a:focus-visible{
  color:#FFCC03!important;text-decoration:underline!important
}
html body .page-wrapper .page-footer .links.cj-ft-col li a:focus-visible{outline:2px solid #FFCC03;outline-offset:2px;border-radius:4px}
html body .page-wrapper .page-footer .links.cj-ft-col--3{border-bottom:1px solid rgba(255,255,255,.16)}

/* ---- secure payments pill via wrapper :after (order after links) ---- */
html body .page-wrapper .page-footer .cj-ft-secure{
  order:3;display:block;justify-self:center;box-sizing:border-box;margin:20px 0 4px;padding:9px 16px 9px 38px;
  font-size:13px;line-height:1.3;font-weight:600;letter-spacing:.02em;color:#fff;text-align:center;
  border:1px solid rgba(255,255,255,.28);border-radius:999px;
  background:url("lock.svg") no-repeat 14px 50%/18px 18px;
}

/* ---- copyright (M2 places small.copyright after footer) ---- */
html body .page-wrapper small.copyright{
  display:block!important;box-sizing:border-box;margin:0!important;
  padding:16px 16px calc(16px + env(safe-area-inset-bottom,0px))!important;
  background:#2c4482!important;border-top:1px solid rgba(255,255,255,.16)!important;
  font-style:normal;font-size:14px!important;font-weight:500;line-height:1.5;
  color:#d3dcf2!important;text-align:center!important;overflow-wrap:anywhere
}
html body .page-wrapper small.copyright span{color:inherit!important}

/* ---- >=771px: link columns ---- */
@media (min-width:771px){
  html body .page-wrapper .page-footer .footer.content{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    column-gap:0;padding:36px 40px calc(20px + env(safe-area-inset-bottom,0px))!important
  }
  html body .page-wrapper .page-footer .block.newsletter{
    grid-column:1/-1!important;display:flex!important;align-items:center;justify-content:space-between;gap:32px;
    margin:0 0 28px!important;padding:22px 26px!important
  }
  html body .page-wrapper .page-footer .block.newsletter .title{flex:1 1 auto}
  html body .page-wrapper .page-footer .block.newsletter .title:after{margin:0}
  html body .page-wrapper .page-footer .block.newsletter .content,
  html body .page-wrapper .page-footer .block.newsletter .form.subscribe{flex:0 1 460px;min-width:0;width:auto!important;max-width:460px}
  html body .page-wrapper .page-footer .links.cj-ft-col{
    border-top:0!important;border-bottom:0!important;padding-right:24px!important
  }
  html body .page-wrapper .page-footer .links.cj-ft-col .block-title{min-height:0;margin-bottom:10px!important}
  html body .page-wrapper .page-footer .links.cj-ft-col .block-title strong{
    font-size:14px!important;text-transform:uppercase!important;letter-spacing:.09em!important
  }
  html body .page-wrapper .page-footer .links.cj-ft-col li a{min-height:36px;font-size:14px!important}
  html body .page-wrapper .page-footer .links.cj-ft-col ul{padding-bottom:8px!important}
  html body .page-wrapper .page-footer .cj-ft-secure{grid-column:1/-1}
  html body .page-wrapper footer.page-footer{border-radius:16px 16px 0 0}
  html body .page-wrapper small.copyright{padding-left:40px!important;padding-right:40px!important}
}

/* ---- >=1101px: Newsletter | 3 link columns ---- */
@media (min-width:1101px){
  html body .page-wrapper .page-footer .footer.content{
    grid-template-columns:minmax(0,1.55fr) repeat(3,minmax(0,1fr))!important;
    grid-template-areas:"nl l1 l2 l3" "sec sec sec sec";
    align-items:start
  }
  html body .page-wrapper .page-footer .block.newsletter{
    grid-area:nl;display:block!important;margin:0 40px 28px 0!important;padding:22px 22px 24px!important
  }
  html body .page-wrapper .page-footer .block.newsletter .title:after{margin:0 0 16px}
  html body .page-wrapper .page-footer .block.newsletter .content,
  html body .page-wrapper .page-footer .block.newsletter .form.subscribe{flex:none;max-width:none;width:100%!important}
  html body .page-wrapper .page-footer .links.cj-ft-col--1{grid-area:l1}
  html body .page-wrapper .page-footer .links.cj-ft-col--2{grid-area:l2}
  html body .page-wrapper .page-footer .links.cj-ft-col--3{grid-area:l3}
  html body .page-wrapper .page-footer .cj-ft-secure{grid-area:sec;margin:0;align-self:center;position:relative;top:4px}
}

/* ---- <=770px accordion (only when JS added .sp-ft-js) ---- */
@media (max-width:770px){
  html.sp-ft-js body .page-wrapper .page-footer .links.cj-ft-col .block-title{
    cursor:pointer;-webkit-tap-highlight-color:rgba(255,204,3,.2);user-select:none;-webkit-user-select:none
  }
  html.sp-ft-js body .page-wrapper .page-footer .links.cj-ft-col .block-title:after{
    content:"";flex:0 0 auto;width:9px;height:9px;margin:0 6px 4px 12px;
    border:solid #FFCC03;border-width:0 2.5px 2.5px 0;transform:rotate(45deg);transition:transform .2s ease
  }
  html.sp-ft-js body .page-wrapper .page-footer .links.cj-ft-col.sp-open .block-title:after{
    transform:rotate(-135deg);margin-bottom:-2px
  }
  html.sp-ft-js body .page-wrapper .page-footer .links.cj-ft-col:not(.sp-open) ul{display:none!important}
  html.sp-ft-js body .page-wrapper .page-footer .links.cj-ft-col .block-title:focus-visible{
    outline:2px solid #FFCC03;outline-offset:-2px;border-radius:6px
  }
}
@media (max-width:770px) and (prefers-reduced-motion:reduce){
  html.sp-ft-js body .page-wrapper .page-footer .links.cj-ft-col .block-title:after{transition:none}
}

/* scripts inside footer.content must not occupy grid cells */
html body .page-wrapper .page-footer .footer.content > script{display:none!important}
