:root {
  --ink: #10231f;
  --muted: #5e6d68;
  --court: #0f7f68;
  --court-dark: #095746;
  --lime: #d7ff3f;
  --felt: #ecff74;
  --white: #ffffff;
  --cream: #f7f4e9;
  --line: #dfe7dc;
  --shadow: 0 24px 70px rgba(16, 35, 31, 0.14);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fbfff1 0%, var(--cream) 42%, #ffffff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 255, 241, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(16, 35, 31, 0.08);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: 1.25rem;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--ink);
  background: var(--lime);
  box-shadow: inset 0 -4px 0 rgba(16, 35, 31, 0.12);
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-weight: 700;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--court);
}

.cart-link {
  border: 1px solid rgba(16, 35, 31, 0.14);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  background: var(--white);
}

.cart-link span {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  margin-left: 4px;
  border-radius: 999px;
  background: var(--court);
  color: var(--white);
  font-size: 0.85rem;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
}

.hero,
.categories,
.shop,
.featured,
.training,
.cart-panel,
.contact,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 34px;
  align-items: center;
  padding: 70px 0 46px;
}

.hero-content {
  padding: 28px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--court);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.7;
}

.hero-actions,
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.add-cart,
.tab {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.add-cart:hover,
.tab:hover {
  transform: translateY(-2px);
}

.button {
  padding: 14px 20px;
}

.button.primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 16px 40px rgba(16, 35, 31, 0.2);
}

.button.secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid rgba(16, 35, 31, 0.14);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.trust-row span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(15, 127, 104, 0.1);
  color: var(--court-dark);
  font-weight: 800;
  font-size: 0.92rem;
}

.hero-media {
  position: relative;
  padding: 12px;
  border-radius: 42px;
  background: linear-gradient(135deg, var(--court), var(--lime));
  box-shadow: var(--shadow);
}

.hero-media img {
  min-height: 480px;
  object-fit: cover;
  border-radius: 34px;
}

.categories,
.shop,
.featured,
.training,
.cart-panel,
.contact {
  padding: 58px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading.split {
  max-width: none;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: end;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.category-card {
  overflow: hidden;
  min-height: 260px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  position: relative;
}

.category-card img {
  height: 260px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-card span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--white);
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(16, 35, 31, 0.18);
}

.tab {
  padding: 10px 14px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid rgba(16, 35, 31, 0.12);
}

.tab.active {
  color: var(--white);
  background: var(--court);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(16, 35, 31, 0.08);
  box-shadow: 0 18px 50px rgba(16, 35, 31, 0.08);
}

.product-card.hidden {
  display: none;
}

.product-visual {
  min-height: 180px;
  display: grid;
  place-items: center;
  color: rgba(16, 35, 31, 0.78);
  font-size: 3rem;
  font-weight: 1000;
  letter-spacing: -0.08em;
}

.racquet-bg {
  background: radial-gradient(circle at 50% 50%, transparent 0 26px, rgba(16,35,31,0.18) 27px 28px, transparent 29px), linear-gradient(135deg, #ddff43, #ffffff);
}

.string-bg {
  background: repeating-linear-gradient(90deg, rgba(16,35,31,0.12) 0 2px, transparent 2px 24px), repeating-linear-gradient(0deg, rgba(16,35,31,0.08) 0 2px, transparent 2px 24px), #efffe0;
}

.shoe-bg {
  background: linear-gradient(135deg, #dff6ff, #ffffff 45%, #d7ff3f);
}

.ball-bg {
  background: radial-gradient(circle at 52% 48%, #e8ff52 0 66px, #d2ed3b 67px 69px, transparent 70px), #f7ffe0;
}

.bag-bg {
  background: linear-gradient(135deg, #10231f, #0f7f68);
  color: var(--white);
}

.string-set-bg {
  background: linear-gradient(135deg, #f7f4e9, #e7ffd1);
}

.product-body {
  padding: 20px;
}

.product-body p {
  color: var(--muted);
  line-height: 1.55;
}

.product-body .tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--court-dark);
  background: rgba(215, 255, 63, 0.45);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.product-footer strong,
.bundle-price strong,
.cart-total strong {
  font-size: 1.6rem;
  letter-spacing: -0.05em;
}

.add-cart {
  padding: 10px 13px;
  color: var(--ink);
  background: var(--lime);
}

.featured-card {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: 36px;
  color: var(--white);
  background: linear-gradient(135deg, var(--court-dark), var(--court));
  box-shadow: var(--shadow);
}

.featured-card p,
.featured-card li {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.featured-card .eyebrow {
  color: var(--lime);
}

.featured-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.bundle-price {
  padding: 24px;
  display: grid;
  gap: 10px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.bundle-price span {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 800;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  padding: 24px;
  border-radius: var(--radius);
  background: #f6fff0;
  border: 1px solid var(--line);
}

.service-card p {
  color: var(--muted);
  line-height: 1.6;
}

.cart-box {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(16, 35, 31, 0.1);
  box-shadow: 0 18px 50px rgba(16, 35, 31, 0.08);
}

.cart-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.cart-items li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.muted {
  color: var(--muted);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 22px 0;
  font-weight: 900;
}

.full {
  width: 100%;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.contact p {
  color: var(--muted);
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(16, 35, 31, 0.14);
  border-radius: 16px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfff7;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--court);
  box-shadow: 0 0 0 4px rgba(15, 127, 104, 0.12);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 38px 0 50px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 430px;
  color: var(--muted);
  line-height: 1.6;
  margin: 14px 0 0;
}

.footer-links {
  display: flex;
  gap: 18px;
  align-items: center;
  font-weight: 800;
  color: var(--muted);
}

@media (max-width: 920px) {
  .hero,
  .contact,
  .featured-card {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .product-grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading.split {
    align-items: start;
    flex-direction: column;
  }

  .hero-media img {
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  .nav {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    order: 5;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
    border-radius: 14px;
    background: var(--white);
  }

  .cart-link {
    margin-left: 0;
  }

  .hero {
    padding-top: 32px;
  }

  .category-grid,
  .product-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero-media img,
  .category-card img {
    min-height: 0;
    height: 260px;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}