/*
Theme Name: KROMA STUDIOS
Theme URI: https://kromastudios.fashion
Author: KROMA STUDIOS Footwear Lab
Author URI: https://kromastudios.fashion
Description: A premium, ultra-trendy luxury footwear & sneaker WooCommerce theme for KROMA STUDIOS. Engineered with GSAP 3 scroll animations, Lenis momentum scrolling, category showcase tabs, unisex sizing matrices, and seamless AJAX shopping bag drawers.
Version: 1.0.0
Tested up to: 6.7
Requires at least: 6.2
Requires PHP: 8.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kroma-tokyo
Tags: e-commerce, fashion, footwear, sneakers, mules, streetwear, custom-colors, custom-menu, featured-images, full-width-template, translation-ready, woocommerce
WC requires at least: 8.0
WC tested up to: 9.3
*/

/* ==========================================================================
   KROMA TOKYO DESIGN SYSTEM TOKENS & MASTER UTILITIES
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --sovereign-bg: #FFFFFF;
  --sovereign-surface: #F8FAFC;
  --sovereign-surface-card: #FFFFFF;
  --sovereign-surface-subtle: #F1F5F9;
  --sovereign-surface-dark: #090D16;
  --sovereign-border: #E2E8F0;
  --sovereign-border-subtle: #EDF2F7;
  --sovereign-border-dark: #1A2234;

  /* Typography Colors */
  --sovereign-onyx: #090D16;
  --sovereign-charcoal: #1E293B;
  --sovereign-muted: #64748B;
  --sovereign-muted-light: #94A3B8;
  --sovereign-white: #FFFFFF;

  /* Contemporary Accents */
  --sovereign-indigo: #4F46E5;
  --sovereign-indigo-hover: #4338CA;
  --sovereign-indigo-light: #EEF2FF;
  --sovereign-gold: #D97706;
  --sovereign-emerald: #10B981;
  --sovereign-emerald-light: #ECFDF5;
  --sovereign-cyber-lime: #84CC16;
  --sovereign-crimson: #EF4444;

  /* Typography Scale */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Plus Jakarta Sans', var(--font-sans);
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Elevation & Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
  --shadow-luxury: 0 25px 50px -12px rgba(9, 13, 22, 0.14);
  --shadow-glow: 0 0 25px rgba(79, 70, 229, 0.3);

  /* Layout Spacing & Structure */
  --site-max-width: 1440px;
  --site-gutter: 2rem;
  --header-height: 84px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out-cubic: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-luxury: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 180ms;
  --duration-normal: 320ms;
  --duration-slow: 550ms;
}

/* Base Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: auto; /* Handled via Lenis */
}

body {
  font-family: var(--font-sans);
  background-color: var(--sovereign-bg);
  color: var(--sovereign-onyx);
  line-height: 1.6;
  overflow-x: hidden;
}

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

input, button, textarea, select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out-cubic);
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Layout Utilities */
.sovereign-container {
  width: 100%;
  max-width: var(--site-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--site-gutter);
  padding-right: var(--site-gutter);
}

.sovereign-container-fluid {
  width: 100%;
  padding-left: var(--site-gutter);
  padding-right: var(--site-gutter);
}

.sovereign-grid {
  display: grid;
  gap: 2rem;
}

/* Screen Reader Text for Accessibility (a11y) */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: var(--sovereign-white);
  border-radius: 4px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: var(--sovereign-onyx);
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}
