/* Gala Sport design system: approved navy / blue / red storefront. */
:root {
  --navy: #061235;
  --navy-deep: #03284c;
  --blue: #0064e6;
  --red: #ed0024;
  --red-hover: #c9001f;
  --text: #18223a;
  --muted: #687184;
  --line: #e4e9f0;
  --wash: #f5f7fa;
  --white: #fff;
  --green: #167537;
  --amber: #8a4c00;
  --radius: 5px;
  --shadow: 0 12px 40px #06123512;
  --container: 1440px;
  --heading: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  --body: Arial, Helvetica, sans-serif;
  --space: 24px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font: 15px/1.55 var(--body);
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
svg {
  flex-shrink: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}
.section {
  padding-block: 40px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.12;
}
h1 {
  font-size: 42px;
  letter-spacing: -1px;
  margin-bottom: 24px;
}
h2 {
  font-size: 28px;
  margin-bottom: 20px;
}
p {
  margin-bottom: 18px;
}
.icon {
  vertical-align: middle;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  color: var(--navy);
  position: relative;
}
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wp-element-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--red);
  color: var(--white);
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  min-height: 46px;
}
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.wp-element-button:hover {
  background: var(--red-hover);
  color: var(--white);
  text-decoration: none;
}
.button .icon {
  width: 19px;
  height: 19px;
}
.button.button-outline,
.woocommerce .button.button-outline {
  background: var(--white);
  border-color: var(--blue);
  color: var(--navy-deep);
}
.button.button-outline:hover,
.woocommerce .button.button-outline:hover {
  background: #eaf2ff;
  color: var(--navy);
}
.button-white {
  background: var(--white);
  color: var(--navy);
}
.button-white:hover {
  background: #e9eff8;
  color: var(--navy);
}
.button-outline-light {
  background: transparent;
  border-color: #8295ac;
  color: var(--white);
}
.text-link {
  color: var(--blue);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.skip-link {
  position: fixed;
  left: 15px;
  top: -100px;
  z-index: 200;
  background: var(--white);
  padding: 12px;
}
.skip-link:focus {
  top: 15px;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.announcement {
  background: var(--navy-deep);
  color: var(--white);
  font-size: 11px;
}
.announcement-inner {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.shipping-announcement {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-inline: auto;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.shipping-announcement .icon {
  width: 18px;
  height: 18px;
}
.announcement nav {
  display: flex;
  gap: 20px;
}
.announcement nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}
.header-row {
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: block;
  flex-shrink: 0;
}
.brand img,
.custom-logo {
  width: 245px;
  height: auto;
  max-height: 70px;
  object-fit: contain;
}
.custom-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
#primary-nav {
  margin-left: auto;
}
#primary-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#primary-nav > .menu,
#primary-nav > div > ul {
  display: flex;
  gap: 24px;
  align-items: center;
}
#primary-nav a {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
#primary-nav li {
  position: relative;
}
#primary-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  padding: 15px;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
#primary-nav li:hover > .sub-menu,
#primary-nav li:focus-within > .sub-menu {
  display: block;
}
#primary-nav .sub-menu a {
  display: block;
  padding: 8px;
  white-space: normal;
}
.header-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cart-count {
  position: absolute;
  right: 1px;
  top: 1px;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  display: grid;
  place-items: center;
  padding: 0 3px;
}
.header-search {
  width: 240px;
  flex-shrink: 1;
}
.woocommerce-product-search,
.search-form {
  display: flex;
  align-items: center;
  border: 1px solid #dce3ed;
  border-radius: 24px;
  min-height: 38px;
  overflow: hidden;
  background: var(--white);
}
.woocommerce-product-search input[type="search"],
.search-form input[type="search"] {
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 10px 14px;
  font-size: 11px;
  color: var(--text);
}
.woocommerce-product-search button,
.search-form button {
  border: 0;
  background: none;
  color: var(--muted);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  order: -1;
}
.woocommerce-product-search .icon,
.search-form .icon {
  width: 17px;
  height: 17px;
}
.woocommerce-product-search input[type="search"] {
  padding-left: 0;
}
.menu-toggle,
.search-toggle {
  display: none;
}
.hero {
  position: relative;
  overflow: hidden;
  background: #dbe8f6;
  isolation: isolate;
}
.hero-background {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% 50%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #f0f7ff 0%,
    #f0f7fff2 31%,
    #dbeaf5a6 49%,
    #12324a33 100%
  );
  z-index: -1;
}
.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 590px;
  padding-block: 55px;
}
.hero-copy {
  width: 52%;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-family: var(--heading);
  font-weight: 800;
  font-size: clamp(66px, 6.8vw, 102px);
  line-height: 0.91;
  letter-spacing: -0.8px;
  margin-bottom: 24px;
}
.hero h1 span {
  color: var(--blue);
}
.hero-description {
  font-size: 19px;
  line-height: 1.45;
  max-width: 470px;
  color: var(--navy-deep);
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-actions .button {
  text-transform: uppercase;
}
.hero-benefits {
  display: flex;
  gap: 20px;
  margin-top: 42px;
  max-width: 510px;
}
.hero-benefits > span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  max-width: 150px;
  padding-right: 16px;
  border-right: 1px solid #bbcadd;
}
.hero-benefits > span:last-child {
  border: 0;
}
.hero-benefits .icon {
  color: var(--blue);
  width: 30px;
  height: 30px;
}
.hero-equipment {
  position: absolute;
  inset: 0 0 0 44%;
  pointer-events: none;
}
.hero-ball {
  position: absolute;
  object-fit: contain;
  width: 60%;
  height: auto;
  filter: drop-shadow(8px 22px 13px #05244b44);
}
.ball-basketball {
  width: 61%;
  right: 10%;
  bottom: 17%;
  transform: rotate(8deg);
}
.ball-soccer {
  width: 45%;
  right: -4%;
  bottom: 14%;
  transform: rotate(10deg);
}
.ball-volleyball {
  width: 60%;
  left: -3%;
  bottom: 8%;
  transform: rotate(-9deg);
}
.sport-section {
  padding-block: 18px 0;
}
.sports-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.sport-tile {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  min-height: 220px;
  aspect-ratio: 1.04;
}
.sport-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}
.sport-tile::after {
  content: "";
  position: absolute;
  inset: 30% 0 0;
  background: linear-gradient(transparent, #000c);
  z-index: 0;
}
.sport-tile:hover img {
  transform: scale(1.035);
}
.sport-tile h2 {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  margin: 0;
  z-index: 1;
  color: var(--white);
  font: 800 34px/1 var(--heading);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 14px;
}
.sport-tile .icon {
  width: 28px;
  height: 28px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.section-heading h2 {
  font: 800 34px/1 var(--heading);
  text-transform: uppercase;
  margin: 0;
}
.product-section {
  padding-bottom: 26px;
}
.team-section {
  padding-block: 8px 30px;
}
.team-banner {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: var(--navy-deep);
  isolation: isolate;
  min-height: 300px;
  display: flex;
  align-items: center;
}
.team-photo {
  position: absolute;
  inset: 0 0 0 auto;
  height: 100%;
  width: 70%;
  object-fit: cover;
  z-index: -2;
}
.team-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #03284c 0%,
    #03284cf2 32%,
    #03284c77 62%,
    #03284c22
  );
  z-index: -1;
}
.team-copy {
  padding: 40px 55px;
  width: 70%;
  color: var(--white);
}
.team-copy h2 {
  color: var(--white);
  font: 800 44px/1 var(--heading);
  text-transform: uppercase;
  margin-bottom: 26px;
}
.team-copy h2 span {
  color: #1680ff;
}
.team-benefits {
  display: flex;
  gap: 30px;
  margin-bottom: 25px;
}
.team-benefits span {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 165px;
  font-size: 11px;
  text-transform: uppercase;
}
.team-benefits .icon {
  width: 29px;
  height: 29px;
}
.team-copy .button {
  text-transform: uppercase;
}
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-block: 30px 55px;
  gap: 24px;
}
.trust-strip > div {
  display: flex;
  gap: 18px;
  border-right: 1px solid var(--line);
  padding-right: 20px;
}
.trust-strip > div:last-child {
  border: 0;
}
.trust-strip .icon {
  width: 36px;
  height: 36px;
  color: var(--blue);
}
.trust-strip p {
  font-size: 13px;
  margin: 0;
}
.trust-strip strong {
  display: block;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--navy);
}
.trust-strip p span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}
.site-footer {
  background: var(--navy-deep);
  color: #d9e4f0;
  padding-top: 50px;
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 40px;
}
.footer-grid h2 {
  font-size: 14px;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-grid p {
  margin-top: 15px;
  max-width: 250px;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-grid li {
  margin-bottom: 9px;
}
.footer-grid .brand img {
  width: 235px;
}
.footer-grid .button {
  font-size: 12px;
  padding: 11px 15px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #ffffff24;
  padding-block: 20px;
  font-size: 11px;
}
/* Secondary categories keep the four main sports together. */
.secondary-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.secondary-category {
  width: 100%;
  min-width: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 180px;
  aspect-ratio: 3.7;
  background: var(--navy-deep);
}
.secondary-category img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transition: transform 0.2s;
}
.secondary-category::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(0deg, #031b35b3, transparent 70%),
    linear-gradient(90deg, #031b35c9, #031b3570 60%, #031b3522);
}
.secondary-category:last-child img {
  object-position: center 30%;
}
.secondary-category:hover img {
  transform: scale(1.035);
}
.secondary-category h2 {
  position: absolute;
  z-index: 1;
  inset: auto 28px 24px;
  margin: 0;
  color: var(--white);
  font: 800 34px/1 var(--heading);
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
/* Original tournament identity: navy stripes, mirrored photos and white title bands. */
.tournament-section {
  padding-block: 8px 30px;
}
.tournament-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.tournament-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #06366c;
  min-height: 380px;
  padding: 32px;
}
.tournament-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../images/tournaments/gala-stripes-white-banner-overlay-01.png")
    repeat;
  opacity: 0.22;
  pointer-events: none;
}
.tournament-photo {
  position: absolute;
  top: 32px;
  bottom: 32px;
  right: 32px;
  width: 68%;
  z-index: -1;
  overflow: hidden;
}
.tournament-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.tournament-logo {
  position: absolute;
  left: 28px;
  top: 26px;
  width: 110px;
  height: 96px;
  object-fit: contain;
}
.tournament-title {
  position: relative;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
  margin: 106px 0 0;
  font: 800 40px/1.05 var(--heading);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.tournament-title span {
  display: block;
  max-width: 100%;
  background: var(--white);
  color: var(--navy);
  padding: 9px 14px;
  overflow-wrap: break-word;
}
.tournament-title span + span {
  font-size: 28px;
  line-height: 1.12;
}
.tournament-link {
  position: absolute;
  bottom: 32px;
  left: 32px;
  min-height: 46px;
  font-size: 13px;
}
.tournament-cup .tournament-photo {
  left: 32px;
  right: auto;
}
.tournament-cup .tournament-logo {
  left: auto;
  right: 28px;
}
.tournament-cup .tournament-title {
  align-items: flex-end;
  text-align: right;
}
.tournament-cup .tournament-link {
  left: auto;
  right: 32px;
}
/* Editorial guides stay below the shopping and tournament sections. */
.guides-section {
  padding-block: 12px 36px;
}
.guides-grid {
  display: grid;
  grid-template-columns: repeat(var(--guides-columns, 3), minmax(0, 1fr));
  gap: 24px;
}
.guide-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
}
.guide-image {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--wash);
}
.guide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}
.guide-image:hover img {
  transform: scale(1.025);
}
.guide-image-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: var(--navy-deep);
  color: var(--white);
}
.guide-image-fallback .icon {
  width: 52px;
  height: 52px;
}
.guide-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}
.guide-copy h3 {
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.35px;
  margin: 0 0 12px;
}
.guide-copy p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 20px;
}
.guide-read-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  align-self: flex-start;
  min-height: 40px;
}
.guide-read-link .icon {
  width: 18px;
  height: 18px;
}
.guide-archive-heading {
  max-width: 850px;
  margin-bottom: 30px;
}
.guide-archive h1 {
  font: 800 44px/1.1 var(--heading);
  text-transform: uppercase;
}
.guide-archive .nav-links {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}
