/* Tablet layouts. */
@media (max-width: 1250px) {
  .header-row {
    gap: 18px;
  }
  .brand img,
  .custom-logo {
    width: 205px;
  }
  #primary-nav > .menu,
  #primary-nav > div > ul {
    gap: 16px;
  }
  #primary-nav a {
    font-size: 12px;
  }
  .header-search {
    width: 190px;
  }
  .hero-inner {
    min-height: 540px;
  }
  .hero h1 {
    font-size: 83px;
  }
  .hero-description {
    font-size: 17px;
    max-width: 390px;
  }
  .hero-copy {
    width: 54%;
  }
  .hero-benefits {
    gap: 12px;
  }
  .hero-benefits > span {
    font-size: 9px;
    padding-right: 12px;
  }
  .catalogue-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 24px;
  }
  .woocommerce ul.products {
    gap: 14px;
  }
  .woocommerce ul.products li.product .price {
    font-size: 16px;
  }
  .sport-tile {
    min-height: 180px;
  }
  .sport-tile h2 {
    font-size: 29px;
    left: 18px;
    right: 18px;
  }
  .footer-grid {
    gap: 30px;
  }
  .team-copy {
    width: 80%;
  }
}
@media (max-width: 1050px) {
  .container {
    width: calc(100% - 40px);
  }
  .header-row {
    min-height: 83px;
    gap: 16px;
    flex-wrap: wrap;
    padding-block: 16px;
  }
  .gala-js .menu-toggle {
    display: inline-flex;
    order: 0;
  }
  .brand,
  .custom-logo-link {
    order: 1;
  }
  .brand img,
  .custom-logo {
    width: 205px;
  }
  .header-actions {
    order: 3;
    margin-left: 0;
  }
  .header-search {
    order: 2;
    margin-left: auto;
    width: 230px;
  }
  #primary-nav {
    display: block;
    order: 4;
    width: 100%;
    margin: 0;
  }
  .gala-js #primary-nav {
    display: none;
  }
  .gala-js #primary-nav.is-open {
    display: block;
  }
  #primary-nav > .menu,
  #primary-nav > div > ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }
  #primary-nav a {
    display: block;
    padding: 12px;
    font-size: 14px;
  }
  #primary-nav .sub-menu {
    position: static;
    display: block;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 10px;
  }
  #primary-nav .sub-menu a {
    font-size: 12px;
  }
  .hero-inner {
    min-height: 480px;
  }
  .hero h1 {
    font-size: 74px;
  }
  .hero-description {
    font-size: 16px;
    max-width: 350px;
  }
  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 2px;
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-actions .button {
    padding: 12px 15px;
    font-size: 12px;
  }
  .hero-benefits {
    margin-top: 30px;
    gap: 10px;
  }
  .hero-benefits .icon {
    width: 24px;
    height: 24px;
  }
  .hero-benefits > span {
    gap: 7px;
  }
  .ball-basketball {
    bottom: 23%;
    right: 6%;
  }
  .ball-soccer {
    bottom: 18%;
  }
  .ball-volleyball {
    bottom: 12%;
  }
  .catalogue-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 22px;
  }
  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .woocommerce ul.products.columns-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .sport-tile {
    min-height: 160px;
  }
  .sport-tile h2 {
    font-size: 25px;
    left: 14px;
    bottom: 16px;
    gap: 8px;
  }
  .sport-tile .icon {
    width: 23px;
    height: 23px;
  }
  .team-copy {
    padding: 35px;
    width: 90%;
  }
  .trust-strip {
    gap: 14px;
  }
  .trust-strip > div {
    gap: 12px;
    padding-right: 14px;
  }
  .trust-strip .icon {
    width: 28px;
    height: 28px;
  }
  .trust-strip strong {
    font-size: 10px;
  }
  .trust-strip p {
    font-size: 11px;
  }
  .woocommerce-checkout .checkout.woocommerce-checkout {
    column-gap: 28px;
  }
  .woocommerce-checkout #order_review {
    padding: 15px;
  }
  .woocommerce-checkout #order_review_heading {
    padding: 20px 15px 0;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
  }
}
/* Mobile-first interactions remain visible on touch devices. */
@media (max-width: 760px) {
  .container {
    width: calc(100% - 32px);
  }
  .announcement-inner {
    min-height: 30px;
    justify-content: center;
  }
  .announcement nav {
    display: none;
  }
  .shipping-announcement {
    font-size: 9px;
    gap: 6px;
    letter-spacing: 0;
  }
  .shipping-announcement .icon {
    width: 15px;
    height: 15px;
  }
  .header-row {
    gap: 8px;
    padding-block: 12px;
    min-height: 76px;
  }
  .menu-toggle {
    width: 36px;
    height: 40px;
  }
  .brand img,
  .custom-logo {
    width: 135px;
    max-height: 54px;
  }
  .header-actions {
    margin-left: 0;
    gap: 0;
  }
  .gala-js .search-toggle {
    display: inline-flex;
    order: 2;
    margin-left: auto;
    width: 36px;
  }
  .gala-js .header-search {
    display: none;
  }
  .gala-js .header-search.is-open {
    display: block;
  }
  .account-link {
    display: none;
  }
  .header-search {
    order: 5;
    width: 100%;
    margin: 5px 0 0;
  }
  .woocommerce-product-search {
    min-height: 36px;
  }
  .woocommerce-product-search input[type="search"] {
    font-size: 12px;
  }
  .woocommerce-product-search button {
    height: 36px;
  }
  #primary-nav > .menu,
  #primary-nav > div > ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #primary-nav a {
    font-size: 13px;
  }
  .hero-inner {
    min-height: 0;
    padding-block: 30px 185px;
  }
  .hero-copy {
    width: 100%;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1.7px;
    max-width: 90%;
    margin-bottom: 16px;
  }
  .hero h1 {
    font-size: 66px;
    max-width: 480px;
    margin-bottom: 18px;
    line-height: 0.94;
  }
  .hero-description {
    max-width: 355px;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
  }
  .hero::before {
    background: linear-gradient(
      180deg,
      #f1f7fff7 0%,
      #e6f1fff2 44%,
      #d7e8f5aa 65%,
      #11437633
    );
  }
  .hero-photo {
    object-position: 80% 50%;
  }
  .hero-actions {
    margin-top: 20px;
    gap: 10px;
  }
  .hero-actions .button {
    font-size: 11px;
    padding: 12px 15px;
    min-height: 44px;
  }
  .hero-benefits {
    display: none;
  }
  .hero-benefits > span {
    max-width: 128px;
    font-size: 8px;
    gap: 6px;
    padding-right: 10px;
  }
  .hero-benefits .icon {
    width: 24px;
    height: 24px;
  }
  .hero-equipment {
    inset: auto 0 0 auto;
    width: 280px;
    height: 185px;
  }
  .hero-ball {
    height: auto;
  }
  .ball-volleyball {
    width: 52%;
    left: 1%;
    bottom: 4%;
  }
  .ball-basketball {
    width: 54%;
    right: 12%;
    bottom: 16%;
  }
  .ball-soccer {
    width: 40%;
    right: -2%;
    bottom: 8%;
  }
  .sports-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .sport-section {
    padding-block: 12px 0;
  }
  .sport-tile {
    min-height: 0;
    aspect-ratio: 1.02;
  }
  .sport-tile h2 {
    font-size: 26px;
    left: 14px;
    right: 12px;
    bottom: 13px;
    justify-content: space-between;
    gap: 7px;
  }
  .section {
    padding-block: 28px;
  }
  .section-heading {
    gap: 15px;
    margin-bottom: 18px;
    align-items: end;
  }
  .section-heading h2 {
    font-size: 29px;
    max-width: 65%;
  }
  .section-heading .text-link {
    font-size: 11px;
    white-space: nowrap;
  }
  .woocommerce ul.products,
  .woocommerce ul.products.columns-3,
  .woocommerce ul.products.columns-4,
  .woocommerce ul.products.columns-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .woocommerce ul.products li.product {
    padding: 8px 9px 12px;
  }
  .woocommerce ul.products li.product a img {
    margin-bottom: 10px;
  }
  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 13px;
  }
  .woocommerce ul.products li.product .price {
    font-size: 16px;
    margin: 0;
  }
  .woocommerce ul.products li.product .button {
    font-size: 11px;
    padding: 0;
    min-height: 44px;
  }
  .product-category-label,
  .product-card-detail {
    font-size: 10px;
  }
  .card-stock {
    font-size: 9px;
  }
  .woocommerce span.onsale {
    top: 8px;
    left: 7px;
    font-size: 9px;
    padding: 4px 7px;
  }
  .team-section {
    padding-block: 0 18px;
  }
  .team-banner {
    min-height: 340px;
  }
  .team-photo {
    width: 100%;
    height: 100%;
    object-position: 68% 50%;
    opacity: 0.65;
  }
  .team-banner::after {
    background: linear-gradient(90deg, #03284cf7, #03284cbb 55%, #03284c33);
  }
  .team-copy {
    padding: 28px 22px;
    width: 100%;
  }
  .team-copy .eyebrow {
    font-size: 8px;
    letter-spacing: 2px;
    margin-bottom: 18px;
  }
  .team-copy h2 {
    font-size: 38px;
    max-width: 300px;
    margin-bottom: 22px;
  }
  .team-benefits {
    display: grid;
    gap: 14px;
    margin-bottom: 22px;
    grid-template-columns: 1fr 1fr;
    max-width: 310px;
  }
  .team-benefits span {
    font-size: 9px;
    gap: 8px;
  }
  .team-benefits span:last-child {
    display: none;
  }
  .team-benefits .icon {
    width: 27px;
    height: 27px;
  }
  .team-copy .button {
    font-size: 12px;
    padding: 12px 18px;
  }
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
    padding-block: 22px 35px;
  }
  .trust-strip > div {
    border: 0;
    padding-right: 0;
    gap: 12px;
  }
  .trust-strip .icon {
    width: 30px;
    height: 30px;
  }
  .trust-strip strong {
    font-size: 10px;
  }
  .trust-strip p {
    font-size: 11px;
  }
  .site-footer {
    padding-top: 35px;
  }
  .footer-grid {
    gap: 28px 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-bottom: 30px;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-grid > div:last-child {
    grid-column: 1/-1;
  }
  .footer-grid p {
    font-size: 12px;
    max-width: 100%;
  }
  .footer-grid h2 {
    font-size: 13px;
  }
  .footer-grid li {
    font-size: 12px;
  }
  .footer-bottom {
    font-size: 10px;
  }
  .shop-main {
    padding-block: 16px 35px;
  }
  .woocommerce-breadcrumb {
    font-size: 10px;
    margin-bottom: 16px;
  }
  .catalogue-hero {
    min-height: 170px;
    padding: 25px 22px;
    margin-bottom: 20px;
  }
  .catalogue-hero > div {
    max-width: 85%;
  }
  .catalogue-hero h1 {
    font-size: 42px;
  }
  .catalogue-hero p {
    font-size: 12px;
  }
  .catalogue-hero .eyebrow {
    font-size: 8px;
    letter-spacing: 2px;
  }
  .catalogue-hero-image {
    width: 45%;
    opacity: 0.4;
  }
  .catalogue-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .catalogue-filters {
    display: block;
    border: 1px solid var(--line);
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    order: 0;
  }
  .gala-js .catalogue-filters {
    display: none;
  }
  .gala-js .catalogue-filters.is-open {
    display: block;
  }
  .catalogue-results {
    order: 1;
    min-width: 0;
  }
  .gala-js .woocommerce button.filter-toggle {
    display: flex;
    font-size: 12px;
    padding: 9px 12px;
    min-height: 42px;
  }
  .filter-toggle .icon {
    width: 17px;
    height: 17px;
  }
  .catalogue-tools {
    gap: 10px;
    margin-bottom: 18px;
  }
  .catalogue-tools .woocommerce-result-count {
    font-size: 11px;
    margin-left: auto;
  }
  .catalogue-tools .woocommerce-ordering {
    order: 3;
    width: 100%;
  }
  .woocommerce-ordering select {
    width: 100%;
    font-size: 12px;
  }
  .filter-heading h2 {
    font-size: 16px;
  }
  .filter-group {
    margin-bottom: 20px;
    padding-bottom: 18px;
  }
  .filter-group select {
    min-height: 44px;
  }
  .category-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 10px;
  }
  .filter-actions {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .price-inputs {
    max-width: 300px;
  }
  .woocommerce div.product div.images,
  .woocommerce div.product div.summary {
    float: none;
    width: 100%;
    margin-bottom: 25px;
  }
  .woocommerce div.product .product_title {
    font-size: 30px;
    letter-spacing: -0.7px;
  }
  .woocommerce div.product p.price,
  .woocommerce div.product span.price {
    font-size: 27px;
  }
  .woocommerce-product-details__short-description {
    font-size: 13px;
  }
  .woocommerce div.product form.cart .button {
    padding-inline: 25px;
    min-height: 48px;
  }
  .woocommerce div.product .woocommerce-tabs {
    padding-top: 0;
  }
  .woocommerce div.product .woocommerce-tabs ul.tabs {
    gap: 0;
    display: block;
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
  }
  .woocommerce div.product .woocommerce-tabs ul.tabs li {
    display: block;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding-inline: 16px;
  }
  .woocommerce div.product .woocommerce-tabs ul.tabs li:last-child {
    border-bottom: 0;
  }
  .woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background: #eff5ff;
    border-left: 3px solid var(--blue);
    padding-left: 13px;
  }
  .woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: block;
    font-size: 13px;
    padding-block: 13px;
  }
  .woocommerce div.product .woocommerce-tabs .panel {
    font-size: 13px;
  }
  .woocommerce div.product .woocommerce-tabs .panel h2 {
    font-size: 21px;
  }
  .related > h2 {
    font-size: 29px;
  }
  .page-content > h1 {
    font-size: 34px;
    margin-bottom: 25px;
  }
  .woocommerce-checkout .checkout.woocommerce-checkout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .woocommerce-checkout #customer_details,
  .woocommerce-checkout #order_review,
  .woocommerce-checkout #order_review_heading {
    width: 100%;
  }
  .woocommerce-checkout #order_review_heading {
    padding: 22px 16px 0;
    font-size: 22px;
  }
  .woocommerce-checkout #order_review {
    padding: 15px 16px 20px;
  }
  .woocommerce-checkout h3 {
    font-size: 21px;
  }
  .woocommerce form .form-row input.input-text,
  .woocommerce form .form-row textarea,
  .woocommerce form .form-row select {
    font-size: 16px;
  }
  .woocommerce table.shop_table td,
  .woocommerce table.shop_table th {
    padding: 12px 7px;
    font-size: 12px;
  }
  .wc-block-components-sidebar {
    padding: 18px;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content {
    float: none;
    width: 100%;
    margin-bottom: 25px;
  }
  .woocommerce-cart .woocommerce .cart-collaterals .cart_totals {
    width: 100%;
  }
  .cart-drawer {
    width: 100%;
    max-width: 100%;
    height: 100dvh;
  }
  .drawer-heading {
    padding: 18px 18px 16px;
  }
  .drawer-heading h2 {
    font-size: 22px;
  }
  .drawer-count {
    font-size: 17px;
  }
  .cart-items {
    padding-inline: 18px;
  }
  .drawer-item {
    gap: 14px;
    padding-block: 20px;
  }
  .drawer-product-image {
    width: 82px;
  }
  .drawer-summary {
    padding: 18px 18px calc(12px + env(safe-area-inset-bottom));
    max-height: 49dvh;
  }
  .drawer-product-name {
    font-size: 15px;
  }
  .drawer-subtotal {
    font-size: 20px;
  }
  .drawer-feedback {
    padding-inline: 18px;
  }
  .checkout-button {
    min-height: 54px;
  }
  .quantity-stepper {
    height: 40px;
  }
  .quantity-stepper input,
  .quantity-stepper button {
    height: 38px;
  }
  .quantity-stepper button {
    width: 38px;
  }
  .cart-remove {
    width: 40px;
    height: 40px;
  }
  .reading-width article h2 {
    font-size: 26px;
  }
}
@media (max-width: 370px) {
  .brand img,
  .custom-logo {
    width: 125px;
  }
  .hero h1 {
    font-size: 57px;
  }
  .hero-actions .button {
    padding-inline: 11px;
    font-size: 10px;
  }
  .hero-benefits {
    gap: 7px;
  }
  .hero-benefits > span {
    padding-right: 7px;
    font-size: 7px;
  }
  .hero-benefits .icon {
    width: 20px;
    height: 20px;
  }
  .sport-tile h2 {
    font-size: 22px;
  }
  .section-heading h2 {
    font-size: 26px;
  }
  .drawer-product-image {
    width: 70px;
  }
  .drawer-item {
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
/* New homepage sections use the same responsive grid rhythm. */
@media (max-width: 1050px) {
  .secondary-category {
    min-height: 155px;
    aspect-ratio: 3;
  }
  .secondary-category h2 {
    font-size: 30px;
    inset: auto 22px 22px;
  }
  .tournament-grid {
    gap: 18px;
  }
  .tournament-card {
    min-height: 350px;
    padding: 24px;
  }
  .tournament-photo {
    top: 24px;
    bottom: 24px;
    right: 24px;
    width: 70%;
  }
  .tournament-logo {
    top: 18px;
    left: 20px;
    width: 95px;
    height: 88px;
  }
  .tournament-title {
    font-size: 34px;
    margin-top: 98px;
  }
  .tournament-title span + span {
    font-size: 23px;
  }
  .tournament-link {
    bottom: 24px;
    left: 24px;
    padding: 12px 16px;
    font-size: 12px;
  }
  .tournament-cup .tournament-photo {
    left: 24px;
  }
  .tournament-cup .tournament-logo {
    right: 20px;
  }
  .tournament-cup .tournament-link {
    right: 24px;
  }
}
@media (max-width: 760px) {
  .secondary-categories {
    gap: 10px;
    margin-top: 10px;
  }
  .secondary-category {
    min-height: 120px;
    aspect-ratio: 1.6;
  }
  .secondary-category h2 {
    inset: auto 14px 15px;
    font-size: 22px;
    gap: 6px;
  }
  .secondary-category h2 .icon {
    width: 18px;
    height: 18px;
  }
  .tournament-section {
    padding-block: 8px 20px;
  }
  .tournament-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .tournament-card {
    min-height: 330px;
    padding: 22px;
  }
  .tournament-photo {
    top: 24px;
    bottom: 24px;
    right: 22px;
    width: 72%;
  }
  .tournament-logo {
    width: 90px;
    height: 84px;
    top: 16px;
    left: 18px;
  }
  .tournament-title {
    font-size: 34px;
    margin-top: 98px;
  }
  .tournament-title span {
    padding: 8px 12px;
  }
  .tournament-title span + span {
    font-size: 23px;
  }
  .tournament-link {
    left: 22px;
    bottom: 24px;
    font-size: 12px;
  }
  .tournament-cup .tournament-photo {
    left: 22px;
  }
  .tournament-cup .tournament-logo {
    right: 18px;
  }
  .tournament-cup .tournament-link {
    right: 22px;
  }
}
@media (max-width: 370px) {
  .secondary-category {
    min-height: 110px;
  }
  .secondary-category h2 {
    font-size: 18px;
    gap: 4px;
    inset: auto 11px 13px;
  }
  .secondary-category h2 .icon {
    width: 16px;
    height: 16px;
  }
  .tournament-card {
    padding: 18px;
    min-height: 320px;
  }
  .tournament-title {
    font-size: 31px;
  }
  .tournament-title span + span {
    font-size: 21px;
  }
}
@media (max-width: 1050px) {
  .guides-grid {
    gap: 18px;
  }
  .guide-copy {
    padding: 18px;
  }
  .guide-copy h3 {
    font-size: 17px;
  }
}
@media (max-width: 760px) {
  .guides-section {
    padding-block: 8px 28px;
  }
  .guides-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .guides-section .section-heading {
    align-items: flex-start;
  }
  .guides-section .section-heading h2 {
    font-size: 28px;
    max-width: 65%;
  }
  .guide-copy {
    padding: 20px;
  }
  .guide-copy h3 {
    font-size: 19px;
  }
  .guide-archive h1 {
    font-size: 34px;
  }
}
