
/* ===== base/layout.css ===== */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 18px;
}

.row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}


/* ===== base/reset.css ===== */

* {
  box-sizing: border-box;
}


/* ===== base/typography.css ===== */

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--fg);
  background: var(--bg);
}

a {
  color: inherit;
}

.h1 {
  font-size: 28px;
  margin: 0 0 6px;
}

.p {
  margin: 0 0 16px;
  color: var(--muted);
}

.small {
  font-size: 12px;
  color: var(--muted);
}


/* ===== base/variables.css ===== */

:root {
  --bg: #fff;
  --fg: #0b1220;
  --muted: #667085;
  --card: #f6f7fb;
  --line: #e6e8ef;
}


/* ===== components/badges.css ===== */

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 2px 10px;
  background: #0b1220;
  color: #fff;
  font-size: 12px;
}


/* ===== components/buttons.css ===== */

.btn {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.btn:hover {
  background: #f2f4f8;
}


/* ===== components/cards.css ===== */

.card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 14px;
  padding: 14px 14px;
  min-width: 240px;
  flex: 1;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}


/* ===== components/forms.css ===== */

.input {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width: 280px;
}


/* ===== components/price.css ===== */

/* Price component placeholder */


/* ===== sections/filters.css ===== */

/* Filters section placeholder */


/* ===== sections/footer.css ===== */

/* Footer section placeholder */


/* ===== sections/header.css ===== */

/* Header section placeholder */


/* ===== sections/mega-menu.css ===== */

/* Mega menu section placeholder */


/* ===== utilities/display.css ===== */

/* Display utility classes */
.d-flex { display: flex; }
.d-grid { display: grid; }


/* ===== utilities/helpers.css ===== */

.code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  background: #0b1220;
  color: #fff;
  padding: 10px;
  border-radius: 12px;
  overflow: auto;
}

/* Table base styles */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.table th,
.table td {
  border-bottom: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  font-size: 14px;
}


/* ===== utilities/spacing.css ===== */

/* Spacing utility classes (extend as needed) */
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }


/* ===== pages/tennis.css ===== */

/* Tennis Landing V2 – Wireframe + Storyboard (static, CDN-safe)
   Goal: premium editorial layout (between "clean minimal" and "magazine") */

:root {
  --tl2-bg: #ffffff;
  --tl2-surface: #f6f7fb;
  --tl2-surface2: #f1f3f9;
  --tl2-border: rgba(12, 18, 28, 0.12);
  --tl2-text: #0c121c;
  --tl2-muted: rgba(12, 18, 28, 0.62);
  --tl2-muted2: rgba(12, 18, 28, 0.46);
  --tl2-accent: #0a57ff;
  --tl2-accent2: #00c2ff;
  --tl2-shadow: 0 18px 48px rgba(9, 19, 38, 0.08);
  --tl2-radius: 20px;
}

.tl2-page {
  background: var(--tl2-bg);
  color: var(--tl2-text);
}

.tl2-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

.tl2-hero {
  padding: 26px 0 10px;
}

.tl2-heroCard {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(1200px 420px at 15% 15%, rgba(10, 87, 255, 0.16), transparent 55%),
    radial-gradient(900px 420px at 85% 15%, rgba(0, 194, 255, 0.14), transparent 55%),
    linear-gradient(180deg, #f8f9fe 0%, #f4f6fb 100%);
  border: 1px solid rgba(12, 18, 28, 0.08);
  box-shadow: var(--tl2-shadow);
}

.tl2-heroGrid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
  padding: 26px;
}

@media (max-width: 980px) {
  .tl2-heroGrid { grid-template-columns: 1fr; }
}

.tl2-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(12, 18, 28, 0.12);
  background: rgba(255, 255, 255, 0.66);
  color: var(--tl2-muted);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tl2-title {
  margin: 14px 0 10px;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.tl2-subtitle {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--tl2-muted);
  max-width: 54ch;
}

.tl2-ctaRow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.tl2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(12, 18, 28, 0.14);
  background: rgba(255, 255, 255, 0.9);
  color: var(--tl2-text);
  text-decoration: none;
  font-weight: 650;
  font-size: 14px;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.tl2-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(10, 87, 255, 0.28);
  box-shadow: 0 12px 30px rgba(10, 87, 255, 0.12);
}

.tl2-btnPrimary {
  border-color: rgba(10, 87, 255, 0.34);
  background: linear-gradient(135deg, rgba(10, 87, 255, 1) 0%, rgba(0, 194, 255, 1) 100%);
  color: #fff;
}

.tl2-btnPrimary:hover {
  box-shadow: 0 18px 44px rgba(10, 87, 255, 0.24);
}

.tl2-heroAside {
  display: grid;
  gap: 12px;
  align-content: start;
}

.tl2-miniCard {
  border-radius: 18px;
  border: 1px solid rgba(12, 18, 28, 0.10);
  background: rgba(255, 255, 255, 0.7);
  padding: 14px;
}

.tl2-miniTitle {
  font-weight: 750;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.tl2-miniMeta {
  margin: 0;
  color: var(--tl2-muted);
  font-size: 13px;
  line-height: 1.45;
}

.tl2-sportTabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.tl2-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(12, 18, 28, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: var(--tl2-text);
  text-decoration: none;
  font-weight: 650;
  font-size: 13px;
  transition: border-color 140ms ease, transform 140ms ease;
}

.tl2-tab:hover {
  transform: translateY(-1px);
  border-color: rgba(12, 18, 28, 0.22);
}

.tl2-tabActive {
  border-color: rgba(10, 87, 255, 0.35);
  box-shadow: 0 12px 30px rgba(10, 87, 255, 0.10);
}

/* Sections */

.tl2-section {
  padding: 34px 0;
}

.tl2-sectionTitle {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
}

.tl2-sectionTitle h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.tl2-sectionTitle p {
  margin: 0;
  color: var(--tl2-muted);
  font-size: 13px;
}

/* Category row */

.tl2-categoryRow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 980px) {
  .tl2-categoryRow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .tl2-categoryRow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.tl2-catCard {
  border-radius: 18px;
  border: 1px solid rgba(12, 18, 28, 0.10);
  background: linear-gradient(180deg, #fff 0%, var(--tl2-surface) 100%);
  padding: 16px 14px;
  text-decoration: none;
  color: var(--tl2-text);
  display: grid;
  gap: 10px;
  align-content: start;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.tl2-catCard:hover {
  transform: translateY(-2px);
  border-color: rgba(10, 87, 255, 0.20);
  box-shadow: 0 16px 38px rgba(9, 19, 38, 0.08);
}

.tl2-catIcon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(26px 26px at 25% 25%, rgba(10, 87, 255, 0.18), transparent 60%),
    radial-gradient(26px 26px at 75% 25%, rgba(0, 194, 255, 0.16), transparent 60%),
    rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(12, 18, 28, 0.08);
}

.tl2-catLabel {
  font-weight: 750;
  letter-spacing: -0.01em;
}

.tl2-catHint {
  color: var(--tl2-muted);
  font-size: 12px;
  line-height: 1.35;
}

/* Spotlight */

.tl2-spotlightGrid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
}

@media (max-width: 980px) {
  .tl2-spotlightGrid { grid-template-columns: 1fr; }
}

.tl2-spotCard {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(12, 18, 28, 0.10);
  background: linear-gradient(135deg, rgba(10, 87, 255, 0.12) 0%, rgba(0, 194, 255, 0.10) 35%, rgba(255, 255, 255, 1) 100%);
  padding: 18px;
  min-height: 160px;
  display: grid;
  align-content: space-between;
  box-shadow: 0 18px 44px rgba(9, 19, 38, 0.08);
}

.tl2-spotCard::after {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(240px 120px at 20% 30%, rgba(10, 87, 255, 0.30), transparent 60%),
    radial-gradient(240px 120px at 80% 20%, rgba(0, 194, 255, 0.22), transparent 60%);
  opacity: 0.55;
  pointer-events: none;
}

.tl2-spotCard > * { position: relative; z-index: 1; }

.tl2-spotTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tl2-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  font-weight: 700;
  font-size: 12px;
}

.tl2-spotTitle {
  margin: 10px 0 6px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tl2-spotCopy {
  margin: 0;
  color: rgba(12, 18, 28, 0.70);
  font-size: 13px;
  line-height: 1.45;
  max-width: 56ch;
}

.tl2-spotActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* Product scroller */

.tl2-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 260px;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}

.tl2-scroller::-webkit-scrollbar { height: 10px; }
.tl2-scroller::-webkit-scrollbar-thumb { background: rgba(12,18,28,0.18); border-radius: 999px; }
.tl2-scroller::-webkit-scrollbar-track { background: rgba(12,18,28,0.06); border-radius: 999px; }

.tl2-productCard {
  scroll-snap-align: start;
  border-radius: 18px;
  border: 1px solid rgba(12, 18, 28, 0.10);
  background: #fff;
  overflow: hidden;
  display: grid;
  grid-template-rows: 170px auto;
  box-shadow: 0 16px 34px rgba(9, 19, 38, 0.06);
}

.tl2-productMedia {
  background:
    radial-gradient(420px 200px at 10% 20%, rgba(10, 87, 255, 0.12), transparent 50%),
    radial-gradient(420px 200px at 90% 20%, rgba(0, 194, 255, 0.10), transparent 50%),
    linear-gradient(180deg, #f7f8fe 0%, #eef1fb 100%);
  display: grid;
  place-items: center;
}

.tl2-productMedia img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(9, 19, 38, 0.10));
}

.tl2-productBody {
  padding: 12px 12px 14px;
  display: grid;
  gap: 8px;
}

.tl2-productMeta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--tl2-muted2);
  font-size: 12px;
}

.tl2-productName {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 13.5px;
  line-height: 1.25;
  min-height: 34px;
}

.tl2-productPrice {
  font-weight: 850;
  letter-spacing: -0.01em;
}

.tl2-productActions {
  display: flex;
  gap: 8px;
}

.tl2-miniBtn {
  flex: 1;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid rgba(12, 18, 28, 0.14);
  background: #fff;
  font-weight: 750;
  font-size: 12px;
  cursor: pointer;
}

.tl2-miniBtnPrimary {
  border-color: rgba(10, 87, 255, 0.30);
  background: rgba(10, 87, 255, 0.08);
}

/* Brand row */

.tl2-brands {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tl2-brandPill {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(12, 18, 28, 0.12);
  background: var(--tl2-surface);
  color: var(--tl2-text);
  text-decoration: none;
  font-weight: 750;
  font-size: 13px;
}

/* Service tiles */

.tl2-serviceGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 980px) {
  .tl2-serviceGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.tl2-serviceCard {
  border-radius: 20px;
  border: 1px solid rgba(12, 18, 28, 0.10);
  background: linear-gradient(180deg, #fff 0%, var(--tl2-surface) 100%);
  padding: 16px;
  display: grid;
  gap: 10px;
}

.tl2-serviceTitle {
  margin: 0;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.tl2-serviceCopy {
  margin: 0;
  color: var(--tl2-muted);
  font-size: 13px;
  line-height: 1.45;
}

/* Big CTA */

.tl2-bigCta {
  border-radius: 28px;
  border: 1px solid rgba(12, 18, 28, 0.10);
  background:
    radial-gradient(900px 420px at 20% 10%, rgba(10, 87, 255, 0.16), transparent 55%),
    radial-gradient(900px 420px at 80% 10%, rgba(0, 194, 255, 0.14), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f3f6ff 100%);
  box-shadow: var(--tl2-shadow);
  padding: 22px;
}

.tl2-bigCtaGrid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

@media (max-width: 980px) {
  .tl2-bigCtaGrid { grid-template-columns: 1fr; }
}

.tl2-bigCtaTitle {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.tl2-bigCtaCopy {
  margin: 0;
  color: var(--tl2-muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.tl2-inputRow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.tl2-input {
  flex: 1;
  min-width: 220px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(12, 18, 28, 0.14);
  background: rgba(255, 255, 255, 0.9);
}

.tl2-finePrint {
  margin: 10px 0 0;
  color: var(--tl2-muted2);
  font-size: 12px;
}

/* Footer spacing fix (some templates have huge bottom padding) */

.tl2-spacer {
  height: 18px;
}

.tl2-scrollerControls {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  margin: -6px 0 10px;
}

.tl2-iconBtn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--tl2-border);
  background: #fff;
  color: var(--tl2-text);
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(12,18,28,0.08);
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.tl2-iconBtn:hover {
  transform: translateY(-1px);
  border-color: rgba(10, 87, 255, 0.35);
  box-shadow: 0 12px 34px rgba(12,18,28,0.10);
}

.tl2-iconBtn:active {
  transform: translateY(0px);
}

@media (max-width: 720px) {
  .tl2-scrollerControls {
    justify-content: space-between;
  }
}
