/* Archi-Pix front-page iGuide banner + Same Day Delivery badge.
   Sizes are in px because the site root font-size is 62.5%. */

.aphb-banner{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:6px 10px;
  width:100%;
  margin:0;
  padding:10px 16px;
  background:#f3e87a;
  color:#2c4851;
  font-family:Jost,Inter,Helvetica,Arial,sans-serif;
  font-size:15px;
  font-weight:500;
  line-height:1;
  letter-spacing:0.01em;
  text-align:center;
  text-decoration:none;
  box-sizing:border-box;
}
.aphb-banner:hover,
.aphb-banner:focus{
  color:#2c4851;
  text-decoration:none;
  filter:brightness(0.97);
}
.aphb-banner span{
  display:inline-flex;
  align-items:center;
  line-height:1;
}
.aphb-banner img{
  display:block;
  height:1.15em;
  width:auto;
  max-width:none;
  margin:0;
  padding:0;
  border:0;
  flex-shrink:0;
}
@media (min-width:768px){
  .aphb-banner{font-size:17px;padding:12px 24px;flex-wrap:nowrap;}
}

/* Compact pill badge — restyles the existing Bricks .top-banner on the front page only.
   Does not hide or remove any other element. */
body.home #brx-header .top-banner,
body.home .top-banner{
  display:flex;
  flex-direction:row;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:center;
  align-self:center !important;
  width:fit-content;
  max-width:calc(100% - 32px);
  margin:10px auto 0 auto;
  padding:6px 14px;
  row-gap:0;
  column-gap:8px;
  border-radius:999px;
  background-color:#f3e87a;
  box-shadow:0 1px 0 rgba(0,0,0,0.06);
}
body.home #brx-header .top-banner__text,
body.home .top-banner__text{
  font-size:12px;
  font-weight:600;
  letter-spacing:0.06em;
  line-height:1.2;
  text-transform:uppercase;
}
body.home #brx-header .top-banner__subtext,
body.home .top-banner__subtext{
  font-size:11px;
  line-height:1.2;
  opacity:0.8;
}
@media (min-width:768px){
  body.home #brx-header .top-banner,
  body.home .top-banner{margin-top:12px;padding:7px 16px;}
  body.home #brx-header .top-banner__text,
  body.home .top-banner__text{font-size:13px;}
  body.home #brx-header .top-banner__subtext,
  body.home .top-banner__subtext{font-size:12px;}
}
