:root {
  --white: #FFFFFF;
  --ink: #111111;
  --tile: #F5F5F5;
  --line: #ECECEC;
  --muted: #767676;
  --pill: 999px;
  --logo-centre: 34px;
  --page: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.screen-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

.card-tile img,
.popular-tile img,
.marquee-tile img,
.product-photo img,
.gallery-slide img,
.bag-thumb img {
  background: var(--tile);
}

button,
input,
textarea {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* Intro: the logo rises in the centre, then settles into the top bar. */
.intro-cover {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--white);
  animation: intro-cover-out 1.2s ease forwards;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 6px 20px;
  background: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 32px;
  transform-origin: center center;
  animation: logo-in 1.2s cubic-bezier(0.22, 0.72, 0.2, 1) both;
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.sport-bar {
  position: sticky;
  top: 56px;
  z-index: 45;
  background: var(--white);
}

.sport-bar .sport-chips {
  margin: 0;
  padding-top: 4px;
  padding-bottom: 10px;
}

.more-sports {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 20px 12px;
}

.more-sports .chip {
  justify-content: flex-start;
  width: 100%;
}

.bag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 2px 0 10px;
  border: 0;
  border-radius: var(--pill);
  background: var(--white);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  animation: bag-in 0.25s ease 1.05s forwards;
}

.bag-btn svg {
  flex: 0 0 auto;
}

.bag-count {
  min-width: 1.1em;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

@keyframes logo-in {
  0% {
    opacity: 0;
    transform: translate(calc(50vw - var(--logo-centre)), calc(50vh - 28px)) scale(5);
  }
  32% {
    opacity: 1;
    transform: translate(calc(50vw - var(--logo-centre)), calc(50vh - 28px)) scale(5);
  }
  54% {
    opacity: 1;
    transform: translate(calc(50vw - var(--logo-centre)), calc(50vh - 28px)) scale(5);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes intro-cover-out {
  0%,
  70% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes bag-in {
  to {
    opacity: 1;
    visibility: visible;
  }
}

/* Hero */
.hero {
  padding: 10px 0 0;
}

.hero-copy {
  padding: 6px 20px 0;
}

.hero-copy > * {
  animation: hero-rise 0.6s cubic-bezier(0.22, 0.75, 0.2, 1) both;
}

.hero-copy > :nth-child(2) {
  animation-delay: 0.08s;
}

.hero-copy > :nth-child(3) {
  animation-delay: 0.14s;
}

.hero-title {
  margin: 0;
  font-size: clamp(42px, 13vw, 60px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.hero-title--all {
  max-width: 15em;
  font-size: clamp(34px, 9vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-lead {
  display: block;
}

.hero-words {
  position: relative;
  display: block;
  height: 1.08em;
  overflow: hidden;
  font-size: 0.74em;
  letter-spacing: -0.035em;
}

.hero-word {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(65%);
  transition: opacity 0.42s ease, transform 0.5s cubic-bezier(0.22, 0.75, 0.2, 1);
  white-space: nowrap;
  pointer-events: none;
}

.hero-word--long {
  font-size: 0.74em;
  letter-spacing: -0.025em;
}

.hero-word.is-active {
  opacity: 1;
  transform: translateY(0);
}

.hero-word.is-leaving {
  opacity: 0;
  transform: translateY(-65%);
}

.hero-sub {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary {
  flex: 1 1 0;
  min-width: 0;
  padding: 0 14px;
  font-size: 15px;
}

.hero-media {
  margin-top: 18px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
  animation: hero-fade 0.7s ease 0.18s both;
}

.hero-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 34s linear infinite;
  will-change: transform;
}

.hero-media.is-paused .hero-marquee-track,
.hero-media:hover .hero-marquee-track {
  animation-play-state: paused;
}

.marquee-set {
  display: flex;
  gap: 8px;
  padding-right: 8px;
}

.marquee-tile {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  padding: 8px;
  border-radius: 16px;
  background: var(--tile);
  overflow: hidden;
}

.marquee-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Category tiles */
.categories {
  padding: 26px 20px 0;
}

.section-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.category-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 68px;
  padding: 10px 12px;
  border: 0;
  border-radius: 18px;
  background: var(--tile);
  color: var(--ink);
  text-align: left;
  transition: background 0.2s ease, color 0.2s ease;
}

.category-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
}

.category-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.category-label {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.category-count {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

.category-tile.is-active {
  background: var(--ink);
  color: var(--white);
}

.category-tile.is-active .category-icon {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.category-tile.is-active .category-count {
  color: rgba(255, 255, 255, 0.66);
}

/* Popular with clubs */
.popular {
  padding: 26px 0 0;
}

.popular .section-title {
  padding: 0 20px;
}

.popular-row {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 12px 20px 2px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.popular-row::-webkit-scrollbar {
  display: none;
}

.popular-card {
  display: flex;
  flex: 0 0 132px;
  flex-direction: column;
  gap: 5px;
  width: 132px;
  padding: 0;
  border: 0;
  background: var(--white);
  color: var(--ink);
  text-align: left;
}

.popular-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 10px;
  border-radius: 16px;
  background: var(--tile);
  overflow: hidden;
}

.popular-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.popular-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.6em;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.popular-price {
  margin-top: -2px;
  font-size: 14px;
  font-weight: 500;
}

/* Shared buttons */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--pill);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-secondary {
  background: var(--tile);
  color: var(--ink);
}

/* Catalogue */
.catalogue {
  padding: 28px 0 56px;
}

.chips {
  display: flex;
  gap: 8px;
  padding: 0 20px 2px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.chips::-webkit-scrollbar {
  display: none;
}

.sport-chips {
  margin-bottom: 12px;
}

.sport-chips[hidden] {
  display: none;
}

.chip {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--pill);
  background: var(--tile);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.chip[data-count]::after {
  content: attr(data-count);
  margin-left: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.chip.is-active {
  background: var(--ink);
  color: var(--white);
}

.chip.is-active[data-count]::after {
  color: rgba(255, 255, 255, 0.66);
}

.sub-chips {
  margin-top: -4px;
  margin-bottom: 4px;
}

.sub-chips[hidden] {
  display: none;
}

.sub-chips .chip {
  min-height: 36px;
  padding: 0 14px;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
  font-size: 14px;
}

.sub-chips .chip.is-active {
  background: var(--tile);
  box-shadow: none;
  color: var(--ink);
}

.sub-chips .chip[data-count]::after,
.sub-chips .chip.is-active[data-count]::after {
  color: inherit;
  opacity: 0.6;
}

.catalogue-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 0 20px;
}

.catalogue-count {
  min-width: 0;
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.sort-select {
  -webkit-appearance: none;
  appearance: none;
  flex: 0 0 auto;
  max-width: 65%;
  min-height: 40px;
  padding: 0 34px 0 14px;
  border: 0;
  border-radius: var(--pill);
  background-color: var(--tile);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23111' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 20px 0;
}

.product-grid--sections {
  display: block;
}

.product-section {
  margin-top: 30px;
}

.product-section:first-child {
  margin-top: 10px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-head .section-title {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
}

.section-count {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.section-see-all {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
}

.section-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: baseline;
  gap: 16px;
}

.section-sub-link {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.product-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: var(--white);
  color: var(--ink);
  text-align: left;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.product-card.is-visible {
  opacity: 1;
  transform: none;
}

.card-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  overflow: hidden;
}

.card-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.7em;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.card-price {
  margin-top: -4px;
  font-size: 15px;
  font-weight: 500;
}

.card-sizes {
  margin-top: -6px;
  font-size: 14px;
  color: var(--muted);
}

.state {
  grid-column: 1 / -1;
  margin: 24px 0;
  padding: 0;
  font-size: 16px;
  color: var(--muted);
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 24px 20px 40px;
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.footer-link {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
}

/* Full-screen product and bag pages */
.screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  background: var(--white);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.screen.is-open {
  transform: translateX(0);
}

.screen-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 60px;
  padding: max(8px, env(safe-area-inset-top)) 12px 8px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--pill);
  background: var(--white);
  color: var(--ink);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: var(--pill);
  background: var(--white);
  color: var(--ink);
}

.screen-title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.screen-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.screen-foot {
  flex: 0 0 auto;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: var(--white);
}

.screen-foot .btn-primary {
  width: 100%;
}

/* Product detail */
.product-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: clamp(300px, 52vh, 560px);
  padding: 24px;
  background: var(--tile);
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-photo--empty {
  height: clamp(220px, 34vh, 340px);
}

.product-gallery {
  position: relative;
  width: 100%;
  background: var(--tile);
}

.gallery-viewport {
  overflow: hidden;
  height: clamp(300px, 52vh, 560px);
}

.gallery-track {
  display: flex;
  height: 100%;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  touch-action: pan-y;
}

.gallery-slide {
  display: flex;
  flex: 0 0 100%;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 24px;
  border: 0;
  background: transparent;
  touch-action: pan-y;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.gallery-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: var(--pill);
  background: #d6d6d6;
  transition: width 0.2s ease, background 0.2s ease;
}

.gallery-dot.is-active {
  width: 22px;
  background: var(--ink);
}

.product-info {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 20px 36px;
}

.product-kicker {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--muted);
}

.product-info h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.product-price {
  margin: 10px 0 0;
  font-size: 20px;
  font-weight: 600;
}

.product-description {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

.field {
  margin-top: 26px;
}

.field-label {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 600;
}

.optional {
  font-weight: 400;
  color: var(--muted);
}

.size-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.size-pill {
  min-width: 0;
  min-height: 48px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--pill);
  background: var(--tile);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.size-pill.is-active {
  background: var(--ink);
  color: var(--white);
}

.size-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  min-height: 66px;
  padding: 8px 14px;
  text-align: left;
}

.size-chip-main {
  max-width: 100%;
  font-size: 15px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.size-chip-inch {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.size-chip-price {
  font-size: 14px;
  font-weight: 600;
}

.size-chip.is-active .size-chip-inch {
  color: rgba(255, 255, 255, 0.72);
}

.stepper {
  display: inline-flex;
  align-items: center;
  border-radius: var(--pill);
  background: var(--tile);
}

.stepper button {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: var(--pill);
  background: transparent;
  color: var(--ink);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.stepper input {
  width: 62px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  -moz-appearance: textfield;
}

.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

textarea {
  display: block;
  width: 100%;
  min-height: 104px;
  padding: 14px;
  border: 0;
  border-radius: 14px;
  background: var(--tile);
  font-size: 16px;
  line-height: 1.45;
  resize: vertical;
}

textarea::placeholder {
  color: var(--muted);
}

.product-note {
  margin: 26px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* Bag */
#bagItems {
  padding: 0 20px;
}

.bag-line {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
}

.bag-line + .bag-line {
  margin-top: 4px;
}

.bag-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  padding: 8px;
  background: var(--tile);
  overflow: hidden;
}

.bag-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bag-info {
  min-width: 0;
}

.bag-info h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.bag-meta {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.bag-engraving {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.bag-engraving-label {
  display: block;
  margin: 12px 0 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.bag-engraving-input {
  min-height: 44px;
  height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 15px;
  resize: none;
  transition: height 0.2s ease, min-height 0.2s ease;
}

.bag-engraving-input:focus {
  min-height: 96px;
  height: 96px;
  resize: vertical;
}

.bag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.stepper-sm button {
  width: 44px;
  height: 44px;
  font-size: 22px;
}

.stepper-value {
  min-width: 30px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.bag-line-total {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.remove-btn {
  min-height: 44px;
  margin: 2px 0 0;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  text-decoration: underline;
}

.bag-empty {
  padding: 56px 20px;
}

.bag-empty h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.bag-empty p {
  margin: 0 0 22px;
  color: var(--muted);
}

.bag-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 16px;
}

.bag-total-row strong {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.bag-note {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

.copy-status {
  min-height: 18px;
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 200;
  max-width: calc(100vw - 40px);
  padding: 12px 18px;
  border-radius: var(--pill);
  background: var(--tile);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transform: translateX(-50%);
}

.copy-helper {
  position: fixed;
  top: -9999px;
  left: -9999px;
  opacity: 0;
}

.zoom-view {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 17, 17, 0.94);
  opacity: 0;
  transition: opacity 0.22s ease;
  touch-action: none;
  overscroll-behavior: contain;
}

.zoom-view.is-open {
  opacity: 1;
}

.zoom-image {
  width: auto;
  height: auto;
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.12s ease-out;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
}

.zoom-image.is-zoomed {
  cursor: grab;
}

.zoom-close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  right: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

body.zoom-open {
  overflow: hidden;
}

/* Tablet and desktop */
@media (min-width: 700px) {
  .hero {
    padding: 14px 0 0;
  }

  .hero-copy {
    padding: 8px 32px 0;
  }

  .hero-title {
    font-size: clamp(56px, 7vw, 88px);
  }

  .hero-words {
    font-size: 0.7em;
  }

  .hero-actions {
    max-width: 440px;
  }

  .categories {
    padding-left: 32px;
    padding-right: 32px;
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .popular .section-title {
    padding-left: 32px;
    padding-right: 32px;
  }

  .popular-row {
    padding-left: 32px;
    padding-right: 32px;
  }

  .chips,
  .catalogue-bar {
    padding-left: 32px;
    padding-right: 32px;
  }

  .product-grid {
    padding-left: 32px;
    padding-right: 32px;
    gap: 12px;
  }

  .product-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .footer {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (min-width: 900px) {
  :root {
    --logo-centre: 46px;
  }

  .topbar {
    padding-left: 32px;
    padding-right: 32px;
  }

  .sport-bar .sport-chips,
  .more-sports {
    max-width: var(--page);
    margin-left: auto;
    margin-right: auto;
  }

  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: var(--page);
    margin: 0 auto;
  }

  .product-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .chips,
  .catalogue-bar,
  .hero,
  .categories,
  .popular,
  .footer {
    max-width: var(--page);
    margin-left: auto;
    margin-right: auto;
  }

  .hero-title {
    max-width: 900px;
  }

  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .product-info {
    padding-top: 32px;
  }

  .size-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #bagItems {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 32px;
  }

  .screen-foot {
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-cover {
    display: none;
  }

  .brand img,
  .bag-btn,
  .product-card,
  .hero-copy > *,
  .hero-media {
    animation: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: none !important;
  }

  .hero-marquee-track {
    animation: none !important;
  }

  .hero-word {
    transition: none !important;
  }

  .screen {
    transition: none;
  }

  .gallery-track,
  .gallery-dot,
  .zoom-view,
  .zoom-image {
    transition: none !important;
  }
}

/* Enquiry details form */
.details {
  max-width: 640px;
  margin: 0 auto;
  padding: 8px 20px 4px;
}

.details-title {
  margin: 8px 0 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.field input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 0;
  border-radius: 14px;
  background: var(--tile);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.3;
}

.field input::placeholder {
  color: var(--muted);
}

.field input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.4;
  cursor: pointer;
}

.checkbox-row input {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--ink);
}

.details-status {
  min-height: 18px;
  margin: 8px 0 16px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}

.screen-foot .link-btn {
  width: 100%;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 2px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
}

.link-btn:disabled {
  color: var(--muted);
  cursor: default;
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: default;
}

@media (min-width: 700px) {
  .details {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (min-width: 900px) {
  .details {
    max-width: 760px;
    padding-left: 32px;
    padding-right: 32px;
  }
}
