.baw-mobile-actions {
  display: none;
}

.baw-back-bar {
  width: min(100%, 1600px);
  margin: 0 auto;
  padding: 0 24px;
}

.baw-back-bar[hidden] {
  display: none;
}

.baw-back-bar a {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  min-height: 44px;
  color: #175a65;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

.baw-back-bar a:hover {
  text-decoration: underline;
}

body:has(.baw-back-bar:not([hidden])) .backResults {
  display: none;
}

@media (max-width: 820px) {
  body > .test {
    padding: 6px 12px;
    text-align: center;
    font-size: 11px;
    line-height: 1.25;
  }

  body > header {
    position: sticky !important;
    top: 0 !important;
    z-index: 30 !important;
    padding: 0 !important;
  }

  body > header > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px;
    min-height: 62px;
    padding: 7px 12px;
  }

  body > header .baw-brand-link img {
    width: clamp(96px, 30vw, 125px);
  }

  .baw-mobile-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }

  body > header .baw-mobile-actions a,
  body > header .baw-mobile-actions button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 10px;
    border: 1px solid #8196a5;
    border-radius: 6px;
    background: transparent;
    color: #fff !important;
    font-size: .875rem;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
  }

  body > header .baw-mobile-actions a {
    background: #17636b;
    border-color: #68a2a7;
  }

  .baw-mobile-count {
    min-width: 1.35rem;
    padding: 3px 4px;
    border-radius: 12px;
    background: #fff;
    color: #123b49;
    text-align: center;
    font-size: .72rem;
  }

  body > header .baw-staging-nav {
    display: none;
    position: absolute;
    z-index: 30;
    left: 0;
    right: 0;
    top: 100%;
    max-height: min(74dvh, 620px);
    overflow: auto;
    overscroll-behavior: contain;
    padding: 10px 12px 14px;
    border-top: 1px solid #547083;
    border-radius: 0 0 12px 12px;
    background: #132c40;
    box-shadow: 0 14px 32px #132c403d;
  }

  body > header[data-baw-menu-open] .baw-staging-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  body > header .baw-staging-nav > :is(a, button) {
    display: flex;
    align-items: center;
    min-height: 44px;
    justify-content: flex-start;
    padding: 8px 10px;
    background: #203a50;
    border-radius: 6px;
    border: 1px solid #547083;
    color: #fff !important;
    font-size: .875rem;
    text-align: left;
    white-space: normal;
  }

  body > header .baw-staging-nav > button[data-go="quote"] {
    display: none;
  }

  body > header .baw-staging-nav > .shopMenu {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  body > header .shopMenu summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 8px 10px;
    background: #203a50;
    border-color: #547083;
  }

  body > header .shopMenu .baw-visual-menu {
    position: static;
    margin-top: 6px;
    width: 100%;
    max-height: none !important;
    transform: none;
    box-shadow: none;
  }

  body > header .baw-menu-photos {
    display: none;
  }

  .baw-back-bar {
    padding: 0 12px;
  }

  body:has(.baw-back-bar:not([hidden])) > main {
    padding-top: 4px;
  }

  body .homeHero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  body .homeHeroText {
    padding: 23px 20px 21px;
  }

  body .homeHero h1 {
    font-size: clamp(31px, 9vw, 40px);
    margin: 8px 0 12px;
    letter-spacing: -1.35px;
  }

  body .homeHeroText > p {
    margin: 0 0 14px;
    font-size: .925rem;
    line-height: 1.48;
  }

  body .homeHeroText > p.muted {
    display: none;
  }

  body .homeActions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
  }

  body .homeActions > button {
    min-height: 44px;
    padding: 9px 11px;
    font-size: .875rem;
  }

  body .homeHeroArt {
    min-height: clamp(210px, 65vw, 310px);
  }

  body .homeSection {
    margin: 30px 0;
  }

  body .homeCategories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body .homeCategory img {
    height: clamp(110px, 33vw, 165px) !important;
  }

  body .homeCategory strong {
    font-size: .875rem;
    padding: 9px 10px 12px;
  }

  body .homeSection .sectionHead {
    gap: 8px;
  }

  body .catalogIntro {
    margin-bottom: 10px;
    padding-top: 8px !important;
  }

  body .catalogIntro > a {
    margin-top: 8px;
  }

  body .shopSearch {
    gap: 8px;
    margin-bottom: 10px;
  }

  body #shopGrid .card .body {
    min-width: 0;
    padding: 10px;
  }

  body #shopGrid .card h3 {
    margin: 5px 0 8px;
    overflow-wrap: anywhere;
    font-size: .95rem;
    line-height: 1.35;
  }

  body #shopGrid .card img {
    height: clamp(115px, 36vw, 175px);
    padding: 7px;
  }

  body #shopGrid .card button {
    min-height: 44px;
    padding: 8px 6px;
    font-size: .83rem;
  }

  body #quoteForm :is(input, select, textarea) {
    font-size: 16px;
  }

  body #quoteForm :is(button, summary) {
    min-height: 44px;
  }
}

@media (min-width: 365px) and (max-width: 820px) {
  body #shopGrid .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* Featured collections photo strip */
body .homeHeroText { min-width:0; container-type:inline-size; }
body .homeHero h1 { font-size:clamp(22px,9.65cqi,57px); letter-spacing:-.035em; }
body .homeHero h1 span { white-space:nowrap; }
body .homeHeroArt[data-carousel-ready] {
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:stretch;
  gap:10px;
  min-width:0;
  min-height:0;
  background:#e9eeed;
  padding:20px 0 14px 12px;
}
.homeHeroArt[data-carousel-ready]::before { content:none; }
.baw-hero-strip {
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
  overscroll-behavior-inline:contain;
}
.baw-hero-strip::-webkit-scrollbar { display:none; }
.baw-hero-track { display:flex; position:relative; gap:8px; }
.baw-hero-card {
  position:relative;
  flex:0 0 calc((100% - 24px) / 3.5);
  height:clamp(230px,30vw,410px);
  overflow:hidden;
  border-radius:8px;
  background:#f7f8f8;
}
.homeHeroArt .baw-hero-card img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:0;
  box-shadow:none;
  transform:none;
  mix-blend-mode:normal;
}
.homeHeroArt .baw-hero-card[data-art="product"] img { object-fit:contain; padding-bottom:38px; }
.baw-hero-card span {
  position:absolute;
  inset:auto 0 0;
  padding:9px 7px;
  background:#132c40;
  color:white;
  text-align:center;
  font-size:clamp(.72rem,1.15vw,.9rem);
  font-weight:700;
  line-height:1.2;
}
.baw-hero-card:focus-visible,.baw-hero-strip:focus-visible { outline-offset:-3px; }
.baw-hero-pause {
  align-self:flex-end;
  display:inline-flex;
  gap:5px;
  align-items:center;
  padding:0 12px 0 4px;
  color:#284756;
  font-size:.78rem;
  min-height:28px;
  cursor:pointer;
}
.baw-hero-pause input { accent-color:#17636b; }
@media (max-width:820px) {
  body .homeHeroArt[data-carousel-ready] { padding-top:10px; }
  .baw-hero-card { height:clamp(180px,50vw,290px); }
}
@media (max-width:520px) {
  .baw-hero-card { flex-basis:calc((100% - 8px) / 1.5); }
  .baw-hero-card span { font-size:.85rem; }
}
@media (min-width:821px) {
  body > header .shopMenu { position:static; }
  body > header .shopMenu .baw-visual-menu { left:12px; right:12px; margin-inline:auto; transform:none; }
}
#bawColeFooter .baw-footer-divider { width:min(100%,760px); margin:20px auto; border:0; border-top:1px solid #617482; }

/* Homepage uniforms and team outfits */
#bawTacticalPromo {
  display:grid;
  grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
  align-items:center;
  gap:clamp(18px,3vw,38px);
  padding:clamp(18px,3vw,36px);
  border:0;
  background:#182f3c;
  color:#fff;
}
#bawTacticalPromo .kicker { margin:0 0 10px; color:#ffd1b8; }
body #bawTacticalPromo .home-duty-copy h2 { color:#fff !important; margin:0 0 10px; font-size:clamp(27px,3.6vw,48px); line-height:1.06; letter-spacing:-.035em; }
.home-duty-copy > p:not(.kicker) { max-width:40ch; color:#e4edf0; line-height:1.5; }
.home-duty-pictures { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.home-duty-pictures figure { margin:0; border-radius:8px; overflow:hidden; background:#fff; color:#173444; }
.home-duty-pictures img { display:block; width:100%; height:clamp(140px,18vw,254px); object-fit:contain; padding:10px; }
.home-duty-pictures figcaption { padding:8px 4px; text-align:center; background:#edf2f2; font-size:.83rem; font-weight:bold; }
.home-outfit-cta { display:inline-flex; align-items:center; min-height:44px; padding:8px 13px; border-radius:6px; background:#17636b; color:#fff; text-decoration:none; font-weight:700; font-size:.9rem; }
.home-outfit-cta:hover { background:#124c54; color:#fff; }
.home-programs,.home-sports-grid { display:grid; gap:14px; }
.home-programs { grid-template-columns:repeat(3,minmax(0,1fr)); }
.home-sports-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.home-program,.home-sport { display:flex; min-width:0; flex-direction:column; overflow:hidden; border:1px solid #d9e3e5; border-radius:10px; background:#fff; }
.home-program-image { position:relative; flex:none; aspect-ratio:1.55; background:#eef2f3; }
.home-program-image img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:contain; }
.home-program-lifestyle .home-program-image img { object-fit:cover; object-position:center 45%; }
.home-program-copy,.home-sport-copy { display:flex; flex:1; flex-direction:column; align-items:flex-start; padding:15px; }
.home-program h3,.home-sport h4 { margin:0 0 5px; line-height:1.17; }
.home-program h3 { font-size:clamp(1rem,1.7vw,1.4rem); }
.home-program p,.home-sport p { margin:0 0 12px; color:#435b63; font-size:.9rem; line-height:1.45; }
.home-program .home-outfit-cta { margin-top:auto; }
.home-sports-intro { margin:30px 0 12px; }
.home-sports-intro h3 { margin:0 0 5px; font-size:clamp(1.3rem,2.2vw,1.8rem); }
.home-sports-intro p { margin:0; color:#435b63; }
.home-sport-photos { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); background:#f4f6f6; }
.home-sport-photos img { display:block; width:100%; height:clamp(125px,14vw,178px); object-fit:contain; }
.home-sport-photos img + img { border-left:1px solid #e5ecee; }
.home-sport-links { display:flex; flex-wrap:wrap; gap:0 12px; margin-top:auto; }
.home-sport-links a { display:inline-flex; align-items:center; min-height:44px; color:#125369; font-size:.84rem; font-weight:700; }
@media(max-width:820px){
  #bawTacticalPromo { grid-template-columns:minmax(0,1fr); }
  .home-programs,.home-sports-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:550px){
  .home-programs,.home-sports-grid { gap:10px; }
  .home-programs { grid-template-columns:minmax(0,1fr); }
  .home-program-image { aspect-ratio:1.8; }
  .home-sport-copy { padding:10px; }
  .home-sport-photos img { height:clamp(92px,29vw,145px); }
  .home-sport-links { column-gap:8px; }
}
#bawTacticalPromo,.home-team-section,.home-sports-grid { scroll-margin-top:80px; }

/* Full-bleed program and team photography */
.home-duty-pictures img { object-fit:cover; padding:0; }
.home-duty-pictures figure:first-child img { object-position:50% 27%; }
.home-duty-pictures figure:last-child img { object-position:50% 54%; }
.home-program-image img { object-fit:cover; object-position:50% 0%; }
.home-program:last-child .home-program-image img { object-position:50% 0%; }
.home-sport-photos img { object-fit:cover; object-position:50% 38%; }
.home-sport-photos img[src*="on-model"] { object-position:50% 23%; }
.home-sports-intro { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.25fr); align-items:stretch; overflow:hidden; border-radius:10px; background:#e8efef; }
.home-sports-intro-copy { align-self:center; padding:clamp(16px,3vw,34px); }
.home-sports-intro img { display:block; width:100%; height:clamp(170px,20vw,265px); object-fit:cover; object-position:50% 36%; }
@media(max-width:620px){
  .home-sports-intro { grid-template-columns:minmax(0,1fr); }
  .home-sports-intro img { height:clamp(150px,45vw,245px); }
}

/* Homepage and storefront navigation */
header #baw-store-nav > :is(a, button),
header #baw-store-nav > .shopMenu > summary {
  background: #142c40;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #fff;
}
header #baw-store-nav > [aria-current="page"],
header #baw-store-nav > .shopMenu > summary[data-current],
header #baw-store-nav > .shopMenu[open] > summary:not([data-current]) {
  background: #a23f1c;
  color: #fff;
}
header #baw-store-nav:has(.shopMenu[open]) > [aria-current="page"] {
  background: #142c40;
}
header #baw-store-nav a[aria-current="page"]:not(:hover) { text-decoration: none; }
header #baw-store-nav > .shopMenu > summary:focus-visible { outline: 2px solid #fff; }
.home-featured .card, .home-featured .card .body { display: flex; flex-direction: column; }
.home-featured .card .body { flex: 1; }
.home-featured .card .primary { margin-top: auto; align-self: flex-start; }
.home-steps-heading {
  padding-bottom: .65em;
  border-bottom: 2px solid #d65b29;
}
.home-team-section .kicker { color: #a23f1c; }
.home-team-section .home-outfit-cta { background: #a23f1c; color: #fff; }
.home-team-section .home-outfit-cta:hover,
.home-team-section .home-outfit-cta:focus-visible { background: #873415; }
.home-team-section .home-sports-intro { background: #f2eee7; }
.home-program.home-program-school .home-program-image img {
  object-fit: cover;
  object-position: center 10%;
}
.home-sports-cta { margin-top: 3px; }

.homeHeroArt[data-carousel-ready] {
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  background: #e9e0d3;
  place-items: stretch;
}
.homeHeroArt[data-carousel-ready]::before { display: none; }
.baw-photo-stage { position: relative; min-height: clamp(250px, 37vw, 520px); isolation: isolate; }
.homeHeroArt .baw-photo-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: normal;
  opacity: 0;
  transition: opacity .32s ease;
}
.homeHeroArt .baw-photo-frame[data-active] { opacity: 1; }
.baw-photo-caption {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 7px 11px;
  border-radius: 5px;
  background: #142c40;
  color: white;
  font-weight: 700;
}
.baw-photo-controls { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 6px; }
.baw-photo-controls button { min-width: 44px; min-height: 44px; background: #142c40; color: white; }
.baw-photo-controls button:focus-visible { outline: 3px solid #a23f1c; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .homeHeroArt .baw-photo-frame { transition: none; }
}
