/* Home page. Shares the catalog's container width, colours and product cards. */
.sz-home { max-width: 1440px; margin: auto; padding: 32px 32px 72px; color: var(--sz-ink); }
.sz-home-section { margin-top: 64px; }
.sz-home-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sz-home-heading a { color: var(--sz-navy); font-size: 13px; font-weight: 600; white-space: nowrap; }
.sz-home-heading a:hover { color: var(--sz-red); }
.sz-home .sz-home-title { margin: 0 0 22px; font-size: clamp(24px, 2.4vw, 34px); }
.sz-home-heading .sz-home-title { margin: 0; }
.sz-home .sz-type-eyebrow { color: var(--sz-red); margin: 0 0 14px; }

.sz-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border: 2px solid var(--sz-navy); border-radius: 3px; background: var(--sz-navy); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.sz-button:hover { background: #001b47; border-color: #001b47; color: #fff; }
.sz-button-outline { background: transparent; color: var(--sz-navy); }
.sz-button-outline:hover { background: var(--sz-navy); color: #fff; }
.sz-home-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sz-home :is(a, button):focus-visible { outline: 2px solid var(--sz-navy); outline-offset: 3px; }

/* Hero: text beside a real store photo, on the brand cream panel. */
.sz-home-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; background: var(--sz-cream); border-radius: 6px; overflow: hidden; }
.sz-home-hero-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 80px); box-shadow: inset 6px 0 var(--sz-red); }
.sz-home-hero h1 { margin: 0 0 20px; font-size: clamp(44px, 5.6vw, 84px); line-height: .92; color: var(--sz-navy); }
.sz-home-lede { max-width: 30em; margin: 0 0 30px; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.6; color: #3d4659; }
.sz-home-hero-photo { position: relative; min-height: 420px; }
.sz-home-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.sz-home-leagues { grid-template-columns: repeat(var(--sz-tiles, 6), minmax(0, 1fr)); margin: 0; }

.sz-home-departments { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.sz-home-department { container-type: inline-size; position: relative; display: block; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--sz-cream); color: #fff; text-decoration: none; }
.sz-home-department img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.sz-home-department::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, #0d1b36d9 0%, #0d1b3600 55%); }
.sz-home-department span { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; font-family: var(--sz-font-display); font-size: clamp(14px, 8.5cqi, 22px); font-weight: 700; line-height: 1; text-transform: uppercase; overflow-wrap: normal; hyphens: none; }
.sz-home-department:hover img { transform: scale(1.04); }

.sz-home-products ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; margin: 0; padding: 0; }
.sz-home-products ul.products::before, .sz-home-products ul.products::after { display: none; }
.sz-home-products ul.products li.product { width: auto !important; margin: 0 !important; float: none; }
.sz-home-products .woocommerce-loop-product__title { font-size: 15px; line-height: 1.4; margin: 14px 0 8px; }

/* Featured team: one highlighted team among many, so it sits mid-page. */
.sz-home-featured { padding: 32px; border: 1px solid var(--sz-border); border-radius: 6px; }
.sz-home-featured-intro { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: center; margin-bottom: 32px; }
.sz-home-featured-intro img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.sz-home-featured h2 { margin: 0 0 10px; font-size: clamp(28px, 3vw, 44px); }
.sz-home-featured p:not(.sz-type-eyebrow) { margin: 0 0 20px; color: #3d4659; font-size: 15px; }

.sz-home-teams { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.sz-home-teams a { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 14px; border: 1px solid var(--sz-border); border-radius: 4px; color: var(--sz-ink); font-size: 13px; font-weight: 600; line-height: 1.3; text-decoration: none; }
.sz-home-teams a:hover { border-color: var(--sz-navy); box-shadow: inset 0 -3px var(--sz-red); }
.sz-home-teams .sz-team-mark { width: 36px; height: 36px; flex-basis: 36px; }
.sz-team-initial { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; background: var(--sz-navy); color: #fff; font-weight: 700; }

.sz-home-brands { display: flex; flex-wrap: wrap; gap: 10px; }
.sz-home-brands a { padding: 11px 18px; border: 1px solid var(--sz-border); border-radius: 999px; color: var(--sz-ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.sz-home-brands a:hover { border-color: var(--sz-navy); color: var(--sz-navy); }

.sz-home-stores { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 3vw, 40px); background: var(--sz-navy); border-radius: 6px; color: #fff; }
.sz-home-stores img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.sz-home-stores h2 { margin: 0 0 12px; color: #fff; }
.sz-home-stores .sz-type-eyebrow { color: #ff8fa3; }
.sz-home-stores p:not(.sz-type-eyebrow) { margin: 0 0 12px; color: #ffffffd0; }
.sz-home-stores ul { margin: 0 0 26px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 700; }
.sz-home-stores li::before { content: '●'; color: var(--sz-red); margin-right: 8px; font-size: 10px; vertical-align: 2px; }
.sz-home-stores .sz-button { background: #fff; border-color: #fff; color: var(--sz-navy); }
.sz-home-stores .sz-button:hover { background: var(--sz-cream); border-color: var(--sz-cream); }
.sz-home-stores .sz-button-outline { background: transparent; color: #fff; }
.sz-home-stores .sz-button-outline:hover { background: #fff; color: var(--sz-navy); }

@media (max-width: 1050px) {
  .sz-home-products ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sz-home-products ul.products li.product:nth-child(n+7) { display: none; }
}
@media (max-width: 900px) {
  .sz-home { padding: 20px 20px 48px; }
  .sz-home-section { margin-top: 44px; }
  .sz-home-hero { grid-template-columns: 1fr; }
  .sz-home-hero-photo { order: -1; min-height: 0; aspect-ratio: 16 / 10; }
  .sz-home-hero-text { padding: 28px 24px 32px; box-shadow: inset 0 5px var(--sz-red); }
  .sz-home-leagues { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sz-home-leagues a, .sz-home-leagues a:nth-child(3) { border-right: 1px solid var(--sz-border); border-bottom: 1px solid var(--sz-border); }
  .sz-home-leagues a:nth-child(2n) { border-right: 0; }
  .sz-home-leagues a:nth-last-child(-n+2):nth-child(odd), .sz-home-leagues a:last-child { border-bottom: 0; }
  .sz-home-leagues a:nth-child(odd):last-child { grid-column: 1 / -1; border-right: 0; }
  .sz-home-departments { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sz-home-department span { left: 12px; bottom: 10px; }
  .sz-home-department:nth-child(odd):last-child { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
  .sz-home-products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .sz-home-products ul.products li.product:nth-child(n+5) { display: none; }
  .sz-home-products .woocommerce-loop-product__title { font-size: 14px; }
  .sz-home-featured { padding: 20px; }
  .sz-home-featured-intro { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; margin-bottom: 24px; }
  .sz-home-teams { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sz-home-teams a { font-size: 12px; padding: 8px 10px; gap: 8px; }
  .sz-home-stores { grid-template-columns: 1fr; }
}
