.storefront-search-toggle,
.storefront-header-actions,
.storefront-product-summary,
.storefront-order-bar,
.storefront-image-controls {
  display: none;
}

.storefront-page {
  --storefront-ink: #172623;
  --storefront-muted: #536661;
  --storefront-line: #dce4e1;
  --storefront-accent: #076253;
}

body.storefront-shopping {
  isolation: isolate;
  background: #172623 !important;
}

body.storefront-shopping::before,
#teamspirit-bg-root.teamspirit-static-background {
  background: linear-gradient(#080d146b, #080d146b), url("/assets/teamspirit-stadium.webp") center / cover no-repeat !important;
}

body.storefront-shopping::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.storefront-page > header {
  background: #172623;
  border-color: #30423d !important;
  box-shadow: none;
  box-sizing: border-box;
}

.storefront-page > header .brand {
  white-space: nowrap;
  text-shadow: none;
}

.storefront-page > main {
  min-width: 0;
}

.storefront-shopping .breadcrumbs,
.storefront-shopping .breadcrumbs a {
  color: var(--storefront-muted) !important;
  overflow-wrap: anywhere;
}

.storefront-shopping :is(.breadcrumbs, .page-heading, .storefront-product-summary) {
  padding: 10px 12px;
  border-radius: 9px;
  background: #f5f7f6f5;
}

.storefront-shopping .page-heading {
  max-width: none;
  text-align: left;
}

.storefront-shopping .page-heading h1 {
  color: var(--storefront-ink) !important;
  text-shadow: none;
}

.storefront-shopping .page-heading p {
  color: var(--storefront-muted) !important;
  text-shadow: none;
}

.storefront-shopping .catalog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
}

.storefront-shopping .catalog-tabs .chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid #c8d6d1 !important;
  border-radius: 999px;
  background: #fff !important;
  color: var(--storefront-ink) !important;
  font-weight: 700;
}

.storefront-shopping .catalog-tabs .chip:is(:hover, .active, [aria-current="page"]) {
  border-color: var(--storefront-accent) !important;
  background: var(--storefront-accent) !important;
  color: #fff !important;
}

.storefront-shopping .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 21px);
}

.storefront-shopping .product-grid .empty {
  grid-column: 1 / -1;
  color: var(--storefront-muted);
  background: #fff;
  border: 1px dashed var(--storefront-line);
  border-radius: 10px;
  padding: 20px;
}

.storefront-shopping .product-grid .product-card {
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--storefront-line) !important;
  border-radius: 12px;
  background: #fff !important;
  color: var(--storefront-ink) !important;
  box-shadow: none;
  transition: border-color .15s ease;
}

.storefront-shopping .product-grid .product-card:hover {
  border-color: #98b4a9 !important;
}

.storefront-shopping .product-card > a {
  display: block;
  color: var(--storefront-ink) !important;
}

.storefront-shopping .product-card img {
  border-radius: 7px;
  background: #eef0f2;
}

img[src^="/uploads/kit-posters/"] {
  object-fit: contain !important;
}

.storefront-shopping .product-card img[src^="/uploads/kit-posters/"] {
  aspect-ratio: 1122 / 1402;
}

.storefront-shopping .product-gallery:has(.product-thumbnail img[src^="/uploads/kit-posters/"]) .product-gallery-main {
  aspect-ratio: 1122 / 1402;
}

.storefront-shopping .product-card h2 {
  min-height: 0;
  margin: 9px 2px 3px;
  color: var(--storefront-ink) !important;
  font-size: .91rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.storefront-card-code {
  margin: 0 2px 7px;
  color: var(--storefront-muted);
  font-size: .72rem;
  overflow-wrap: anywhere;
}

.storefront-shopping .product-card .catalog-inquiry {
  margin: 0 2px 6px;
  padding: 0;
  color: var(--storefront-accent);
  font-size: .84rem;
}

.storefront-shopping .product-card :is(.current-price, .original-price) {
  color: var(--storefront-ink) !important;
}

.storefront-media,
.storefront-shopping :is(.product-left-col, .product-detail, .product-info, .catalog-detail, .product-options, .product-size-guide-card, .size-guide-table-wrap) {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.storefront-shopping .product-detail .product-info {
  align-self: start;
}

.storefront-shopping .catalog-detail .product-info {
  background: #fff !important;
  border-color: var(--storefront-line) !important;
  color: var(--storefront-ink) !important;
  box-shadow: none;
}

.storefront-shopping .catalog-detail .product-info :is(h1, p, strong) {
  color: var(--storefront-ink) !important;
  overflow-wrap: anywhere;
}

.storefront-shopping :is(.catalog-order, .storefront-early-actions) {
  margin: 12px 0;
}

.storefront-shopping .catalog-order a {
  min-height: 44px;
  background: var(--storefront-accent);
}

.storefront-shopping .catalog-order .catalog-line-quote {
  color: #fff;
  text-decoration: none;
}

.storefront-shopping .catalog-order .catalog-line-quote:hover {
  background: #044c41;
}

.storefront-shopping .catalog-media .catalog-photos.storefront-swipe {
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  grid-template-columns: none;
  gap: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 12px;
}

.storefront-shopping .catalog-media .storefront-swipe img {
  scroll-snap-align: start;
}

.storefront-shopping .catalog-media .storefront-image-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 4px;
  color: var(--storefront-ink);
  font-size: .84rem;
}

.storefront-shopping .catalog-media .storefront-image-controls button {
  min-width: 44px;
  min-height: 44px;
  border-color: var(--storefront-line);
  background: #fff;
  color: var(--storefront-accent) !important;
  font-size: 1.25rem;
}

.storefront-image-controls button:disabled {
  opacity: .4;
}

#team-photos {
  scroll-margin-top: 84px;
}

#team-photos .real-photos-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#team-photos .real-photo-card a {
  display: block;
  cursor: zoom-in;
}

#team-photos .real-photo-card img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #101722;
  transform: none;
}

#team-photos .real-photo-card a:focus-visible,
#team-photos .real-photos-grid:focus-visible,
.real-photo-dialog button:focus-visible {
  outline: 2px solid #7dd3fc;
  outline-offset: -3px;
}

.real-photo-dialog {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: min(96vw, 1480px);
  max-width: none;
  max-height: 96svh;
  margin: auto;
  padding: 0 8px 8px;
  overflow: auto;
  border: 0;
  border-radius: 10px;
  background: #111827;
  color: #fff;
}

.real-photo-dialog::backdrop {
  background: #020617d9;
}

.real-photo-dialog form {
  display: flex;
  justify-content: flex-end;
}

.real-photo-dialog button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font-size: 1.65rem;
  cursor: pointer;
}

.real-photo-dialog img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(96svh - 52px);
  object-fit: contain;
}

@media (max-width: 768px) {
  #team-photos .real-photos-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(80%, 300px);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    padding-bottom: 5px;
  }

  #team-photos .real-photo-card {
    scroll-snap-align: start;
  }
}

.storefront-shopping .product-options {
  margin-top: 12px;
  padding-top: 12px;
}

.storefront-shopping .product-options > h2,
.storefront-shopping .product-options .storefront-fabric-note {
  margin: 0 0 8px;
}

.storefront-shopping .product-options .option-row {
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  margin: 8px 0;
}

.storefront-shopping .product-options .set-option-row > b,
.storefront-shopping .product-options .product-size-list,
.storefront-shopping .product-options .size-set-note {
  margin: 0;
}

.storefront-shopping .product-options .set-option-buttons {
  grid-template-columns: minmax(0, 1fr);
  gap: 5px;
}

.storefront-shopping .product-options .set-option-btn {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  padding: 6px 8px;
  gap: 3px 8px;
}

.storefront-shopping .product-options .set-btn-top,
.storefront-shopping .product-options .set-btn-bottom {
  display: contents;
}

.storefront-shopping .product-options .set-radio-icon {
  display: none;
}

.storefront-shopping .product-options .set-title {
  grid-area: 1 / 1;
}

.storefront-shopping .product-options .set-main-price {
  grid-area: 1 / 2;
  justify-self: end;
  white-space: nowrap;
  line-height: 1.2;
}

.storefront-shopping .product-options .set-pill {
  grid-area: 2 / 1;
  justify-self: start;
}

.storefront-shopping .product-options .set-del-price {
  grid-area: 2 / 2;
  justify-self: end;
  white-space: nowrap;
}

.storefront-shopping .product-options .set-desc {
  grid-column: 1 / -1;
  margin: 0;
}

.storefront-shopping .product-options .option-row > .product-size-list {
  display: grid;
  gap: 4px;
}

.storefront-shopping .product-options .size-group-title {
  margin: 3px 0 0;
}

.storefront-shopping .product-options .product-size {
  min-height: 38px;
  min-width: 42px;
  padding: 4px 7px;
}

.storefront-shopping .product-options .quantity-row {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.storefront-shopping .product-options .selection-summary {
  margin: 8px 0 0;
  padding: 9px 10px;
  gap: 8px;
}

.storefront-shopping .product-options #selectionTotalPrice {
  font-size: clamp(1rem, 2vw, 1.25rem);
  white-space: nowrap;
}

.storefront-early-actions {
  display: flex;
  align-items: center;
  gap: 10px 14px;
  flex-wrap: wrap;
}

.storefront-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 6px 15px;
  border-radius: 8px;
  background: var(--storefront-accent);
  color: #fff !important;
  text-align: center;
  line-height: 1.3;
  text-decoration: none;
  font-weight: 750;
}

.storefront-action:hover {
  background: #044c41;
}

.storefront-option-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: inherit;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: underline;
}

#productOptionsTitle {
  scroll-margin-top: 5rem;
}

.storefront-fabric-note {
  margin: 8px 0 14px;
  padding: 10px 12px;
  border-inline-start: 3px solid #45bdaa;
  background: #162c28;
  color: #f3fbf8;
  border-radius: 4px;
  font-size: .86rem;
  line-height: 1.5;
}

.hero .hero-action.storefront-hero-catalog {
  min-height: 44px;
  border-color: #3eb09d;
  background: #076253;
  color: #fff;
  font-size: .83rem;
  text-decoration: none;
}

.storefront-page :is(.storefront-icon-button, .storefront-action, .chip):focus-visible,
.head :is(.storefront-search-toggle, .mobile-menu-button):focus-visible {
  outline: 2px solid #3eb09d;
  outline-offset: 3px;
}

@media (max-width: 900px) and (min-width: 761px) {
  .storefront-shopping .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .storefront-page > .notice {
    display: none;
  }

  .storefront-page > header.storefront-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    max-width: 100%;
    min-height: 60px;
    margin: 0;
    padding: 6px 12px;
    border-radius: 0;
  }

  .storefront-page > header .brand {
    min-width: 0;
    font-size: clamp(17px, 5vw, 24px);
  }

  .storefront-header-actions {
    display: flex;
    gap: 4px;
  }

  .storefront-icon-button,
  .head .storefront-search-toggle {
    box-sizing: border-box;
    display: inline-grid;
    place-items: center;
    flex: none;
    min-width: 44px;
    min-height: 44px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 8px;
    background: transparent;
    color: #fff !important;
    text-decoration: none;
    font: inherit;
  }

  .storefront-icon-button svg,
  .storefront-search-toggle svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
  }

  .storefront-header nav {
    display: none !important;
    position: absolute;
    inset: 100% 0 auto;
    margin: 0;
    padding: 6px 12px 12px;
    border-bottom: 1px solid #30423d;
    background: #172623;
    white-space: normal;
  }

  .storefront-header.storefront-menu-open nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 10px;
  }

  .storefront-header nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    white-space: normal;
  }

  .storefront-shopping > main {
    padding: 14px 14px 36px !important;
    overflow-x: clip;
  }

  .storefront-shopping .catalog-tabs {
    gap: 6px;
  }

  .storefront-shopping .catalog-tabs .chip {
    padding-inline: 9px;
    font-size: .78rem;
  }


  .storefront-shopping .product-grid .product-card {
    padding: 6px;
  }

  .storefront-shopping .product-card h2 {
    font-size: .83rem;
  }

  .storefront-product-summary {
    display: block;
    margin-bottom: 12px;
    color: var(--storefront-ink);
  }

  .storefront-summary-title {
    margin: 0 0 5px;
    font-size: clamp(1.05rem, 5vw, 1.35rem);
    font-weight: 800;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  .storefront-summary-price {
    margin: 0;
    color: var(--storefront-accent);
    font-weight: 750;
  }

  .storefront-with-order-bar {
    padding-bottom: calc(66px + env(safe-area-inset-bottom));
  }

  .storefront-order-bar {
    position: fixed;
    z-index: 120;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--storefront-line);
    background: #fff;
    color: var(--storefront-ink);
    box-shadow: 0 -4px 20px #152c221c;
  }

  .storefront-order-bar .storefront-action {
    padding-inline: 6px;
    font-size: .86rem;
  }

  .storefront-bar-price {
    font-size: .92rem;
    font-weight: 800;
    overflow-wrap: anywhere;
  }

  .storefront-with-order-bar .ts-support-launcher {
    right: max(8px, env(safe-area-inset-right));
    bottom: calc(69px + env(safe-area-inset-bottom));
    width: 96px;
    height: 38px;
  }

  .storefront-with-order-bar .ts-support-panel {
    bottom: calc(68px + env(safe-area-inset-bottom));
  }

}

@media (min-width: 901px) {
  .storefront-header-actions {
    display: flex;
  }

  .storefront-header-actions .storefront-menu-toggle {
    display: none;
  }

  .storefront-header-actions a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid #60776f;
    border-radius: 8px;
    color: white;
  }

  .storefront-header-actions svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
  }
}

@media (max-width: 900px) {
  .head:has(.storefront-search-toggle) .top,
  .head:has(.storefront-search-toggle) .util,
  .head .nav:has(.storefront-search-toggle) > .menu,
  body:has(.storefront-search-toggle) > .floating-tools {
    display: none !important;
  }

  .head .nav:has(.storefront-search-toggle) {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 6px;
    min-height: 60px;
    width: 100%;
    padding: 6px 10px;
  }

  .head .nav:has(.storefront-search-toggle) .mobile-menu-button {
    position: static;
    display: grid;
    grid-area: 1 / 1;
    width: 44px;
    height: 44px;
    z-index: auto;
  }

  .head .nav:has(.storefront-search-toggle) .brand {
    grid-area: 1 / 2;
    padding: 0;
    margin: 0;
    font-size: clamp(17px, 6vw, 24px);
    line-height: 1.25;
    letter-spacing: -.03em;
    white-space: nowrap;
  }

  .head .nav:has(.storefront-search-toggle) .brand::after {
    content: none;
  }

  .head .storefront-search-toggle {
    grid-area: 1 / 3;
  }

  .head .nav:has(.storefront-search-toggle) > .nav-actions {
    display: none;
    grid-area: 2 / 1 / 3 / -1;
    min-width: 0;
  }

  .head .nav.storefront-search-open > .nav-actions {
    display: flex;
    width: 100%;
  }

  .head .nav.storefront-search-open .site-search {
    box-sizing: border-box;
    min-width: 0;
    height: 44px;
    margin: 0;
  }

  .head .nav.storefront-search-open .site-search input {
    min-width: 0;
    font-size: 16px;
  }

  .head .nav:has(.storefront-search-toggle) .search-results {
    left: 10px;
    right: 10px;
    top: 100%;
    width: auto;
    max-width: none;
    max-height: 48vh;
    overflow: auto;
  }

  .head .nav:has(.storefront-search-toggle) .mobile-category-panel {
    box-sizing: border-box;
    inset: 100% 8px auto;
    width: auto;
    max-height: min(72vh, 550px);
    overflow-y: auto;
  }

  .head .mobile-category-grid > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 7px;
    border: 1px solid #60776f;
    border-radius: 7px;
    color: #f5f7f6;
    font-size: .83rem;
    text-align: center;
    text-decoration: none;
  }
}

@media (max-width: 760px) {
  .storefront-shopping .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

.hero .hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero .hero-action.storefront-hero-catalog {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border: 1px solid #3eb09d;
  border-radius: 7px;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .storefront-with-order-bar .catalog-quote-price {
    display: none;
  }

  .storefront-with-order-bar .product-info > h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .storefront-with-order-bar .product-info > .eyebrow {
    display: none;
  }

  .storefront-with-order-bar .storefront-early-actions > .storefront-action {
    display: none;
  }
}

body:has(.storefront-search-toggle) > .floating-tools {
  display: none !important;
}

.head .storefront-util-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.head .storefront-util-button:hover {
  text-decoration: underline;
}
