/*
Theme Name: Strixure
Theme URI: https://strixure.com
Author: Strixure
Author URI: https://strixure.com
Description: High-converting B2B sportswear manufacturing theme with WooCommerce and Elementor support. Features smooth page transitions, 3-level category navigation, and full customizer integration.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: strixure
Tags: woocommerce, elementor, sports, b2b, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, sticky-post, threaded-comments, translation-ready

/* ============================================================
   STRIXURE DESIGN TOKENS — edit in Customizer OR here
   ============================================================ */

:root {
  /* Brand Colors */
  --stx-teal:        #00B4A6;
  --stx-teal-hover:  #00D4C4;
  --stx-teal-dark:   #008F84;
  --stx-black:       #0A0A0A;
  --stx-dark:        #111111;
  --stx-dark-card:   #1A1A1A;
  --stx-surface:     #F4F4F5;
  --stx-surface-2:   #EBEBEC;
  --stx-white:       #FFFFFF;
  --stx-text:        #1A1A1A;
  --stx-text-muted:  #6B7280;
  --stx-text-light:  #9CA3AF;
  --stx-border:      #E5E7EB;
  --stx-border-dark: #2A2A2A;

  /* Typography */
  --stx-font-primary:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --stx-font-display:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Font Sizes */
  --stx-fs-xs:    0.75rem;    /* 12px */
  --stx-fs-sm:    0.875rem;   /* 14px */
  --stx-fs-base:  1rem;       /* 16px */
  --stx-fs-lg:    1.125rem;   /* 18px */
  --stx-fs-xl:    1.25rem;    /* 20px */
  --stx-fs-2xl:   1.5rem;     /* 24px */
  --stx-fs-3xl:   1.875rem;   /* 30px */
  --stx-fs-4xl:   2.25rem;    /* 36px */
  --stx-fs-5xl:   3rem;       /* 48px */
  --stx-fs-6xl:   3.75rem;    /* 60px */
  --stx-fs-7xl:   4.5rem;     /* 72px */

  /* Spacing */
  --stx-space-1:   0.25rem;
  --stx-space-2:   0.5rem;
  --stx-space-3:   0.75rem;
  --stx-space-4:   1rem;
  --stx-space-5:   1.25rem;
  --stx-space-6:   1.5rem;
  --stx-space-8:   2rem;
  --stx-space-10:  2.5rem;
  --stx-space-12:  3rem;
  --stx-space-16:  4rem;
  --stx-space-20:  5rem;
  --stx-space-24:  6rem;
  --stx-space-32:  8rem;

  /* Section Padding */
  --stx-section-py:     5rem;
  --stx-section-py-lg:  7.5rem;

  /* Border Radius */
  --stx-radius-sm:  4px;
  --stx-radius:     6px;
  --stx-radius-md:  8px;
  --stx-radius-lg:  12px;
  --stx-radius-xl:  16px;
  --stx-radius-2xl: 24px;
  --stx-radius-full: 9999px;

  /* Shadows */
  --stx-shadow-sm:  0 1px 2px rgba(0,0,0,0.05);
  --stx-shadow:     0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --stx-shadow-md:  0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --stx-shadow-lg:  0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --stx-shadow-xl:  0 25px 50px -12px rgba(0,0,0,0.25);
  --stx-shadow-teal: 0 0 0 3px rgba(0,180,166,0.25);

  /* Transitions */
  --stx-transition:     all 0.2s ease;
  --stx-transition-md:  all 0.3s ease;
  --stx-transition-lg:  all 0.4s ease;

  /* Nav */
  --stx-nav-height:  72px;

  /* Container */
  --stx-container-max: 1280px;
  --stx-container-px:  1.5rem;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

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

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

body {
  font-family: var(--stx-font-primary);
  font-size: var(--stx-fs-base);
  line-height: 1.6;
  color: var(--stx-text);
  background: var(--stx-white);
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: var(--stx-transition); }

ul, ol { list-style: none; }

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--stx-font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, var(--stx-fs-7xl)); }
h2 { font-size: clamp(1.875rem, 4vw, var(--stx-fs-5xl)); }
h3 { font-size: clamp(1.5rem, 3vw, var(--stx-fs-3xl)); }
h4 { font-size: var(--stx-fs-xl); }
h5 { font-size: var(--stx-fs-lg); }
h6 { font-size: var(--stx-fs-base); }

p { line-height: 1.7; }

/* ============================================================
   LAYOUT
   ============================================================ */

.stx-container {
  width: 100%;
  max-width: var(--stx-container-max);
  margin-inline: auto;
  padding-inline: var(--stx-container-px);
}

.stx-section {
  padding-block: var(--stx-section-py);
}

.stx-section--lg {
  padding-block: var(--stx-section-py-lg);
}

.stx-section--dark {
  background: var(--stx-black);
  color: var(--stx-white);
}

.stx-section--surface {
  background: var(--stx-surface);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.stx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
  height: 48px;
  font-size: var(--stx-fs-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--stx-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--stx-transition-md);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.stx-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity 0.2s;
}

.stx-btn:hover::after { opacity: 1; }

.stx-btn--primary {
  background: var(--stx-teal);
  color: var(--stx-white);
  border-color: var(--stx-teal);
}
.stx-btn--primary:hover {
  background: var(--stx-teal-hover);
  border-color: var(--stx-teal-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(0,180,166,0.35);
}

.stx-btn--secondary {
  background: transparent;
  color: var(--stx-white);
  border-color: var(--stx-white);
}
.stx-btn--secondary:hover {
  background: var(--stx-white);
  color: var(--stx-black);
  transform: translateY(-1px);
}

.stx-btn--dark {
  background: var(--stx-black);
  color: var(--stx-white);
  border-color: var(--stx-black);
}
.stx-btn--dark:hover {
  background: var(--stx-dark-card);
  transform: translateY(-1px);
}

.stx-btn--outline-dark {
  background: transparent;
  color: var(--stx-black);
  border-color: var(--stx-black);
}
.stx-btn--outline-dark:hover {
  background: var(--stx-black);
  color: var(--stx-white);
}

.stx-btn--lg {
  height: 56px;
  padding: 0 2rem;
  font-size: var(--stx-fs-base);
}

.stx-btn--sm {
  height: 38px;
  padding: 0 1rem;
  font-size: var(--stx-fs-xs);
}

.stx-btn--whatsapp {
  background: #25D366;
  color: var(--stx-white);
  border-color: #25D366;
}
.stx-btn--whatsapp:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(37,211,102,0.35);
}

/* ============================================================
   TAGS / BADGES / PILLS
   ============================================================ */

.stx-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  font-size: var(--stx-fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--stx-radius-full);
  border: 1px solid transparent;
}

.stx-tag--teal {
  background: rgba(0,180,166,0.15);
  color: var(--stx-teal);
  border-color: rgba(0,180,166,0.3);
}

.stx-tag--dark {
  background: rgba(255,255,255,0.1);
  color: var(--stx-white);
  border-color: rgba(255,255,255,0.2);
}

.stx-tag--surface {
  background: var(--stx-surface);
  color: var(--stx-text-muted);
}

/* ============================================================
   CARDS
   ============================================================ */

.stx-card {
  background: var(--stx-white);
  border-radius: var(--stx-radius-lg);
  overflow: hidden;
  transition: var(--stx-transition-md);
  border: 1px solid var(--stx-border);
}

.stx-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--stx-shadow-lg);
  border-color: var(--stx-teal);
}

/* ============================================================
   GRID UTILITIES
   ============================================================ */

.stx-grid { display: grid; gap: 1.5rem; }
.stx-grid--2 { grid-template-columns: repeat(2, 1fr); }
.stx-grid--3 { grid-template-columns: repeat(3, 1fr); }
.stx-grid--4 { grid-template-columns: repeat(4, 1fr); }

.stx-flex { display: flex; }
.stx-flex--center { align-items: center; justify-content: center; }
.stx-flex--between { align-items: center; justify-content: space-between; }

/* ============================================================
   EYEBROW / SECTION LABELS
   ============================================================ */

.stx-eyebrow {
  display: inline-block;
  font-size: var(--stx-fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stx-teal);
  margin-bottom: 0.75rem;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */

.stx-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--stx-fs-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
}

.stx-breadcrumb a { color: rgba(255,255,255,0.5); }
.stx-breadcrumb a:hover { color: var(--stx-teal); }
.stx-breadcrumb__sep { color: rgba(255,255,255,0.25); }
.stx-breadcrumb__current { color: var(--stx-teal); }

.stx-breadcrumb--light { color: var(--stx-text-muted); }
.stx-breadcrumb--light a { color: var(--stx-text-muted); }

/* ============================================================
   RESPONSIVE HELPERS
   ============================================================ */

@media (max-width: 1024px) {
  :root {
    --stx-section-py: 4rem;
    --stx-section-py-lg: 5rem;
  }
  .stx-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --stx-section-py: 3rem;
    --stx-container-px: 1rem;
  }
  .stx-grid--3 { grid-template-columns: repeat(1, 1fr); }
  .stx-grid--2 { grid-template-columns: repeat(1, 1fr); }
  .stx-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .stx-grid--4 { grid-template-columns: repeat(1, 1fr); }
}
