/* ============================================
   JCB FOOTWEAR — INDUSTRIAL NOIR DESIGN SYSTEM
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;700;900&family=Teko:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
  /* Colors */
  --black: #050505;
  --black-rich: #0a0a0a;
  --surface-1: #111111;
  --surface-2: #1a1a1a;
  --surface-3: #222222;
  --surface-4: #2a2a2a;
  --jcb-yellow: #FCB026;
  --jcb-yellow-bright: #FFD060;
  --jcb-yellow-dark: #D4901A;
  --jcb-yellow-glow: rgba(252, 176, 38, 0.15);
  --jcb-yellow-glow-strong: rgba(252, 176, 38, 0.35);
  --white: #FFFFFF;
  --text-primary: #F0F0F0;
  --text-secondary: #999999;
  --text-muted: #555555;
  --red-sale: #FF3B3B;
  --green-stock: #2ECC71;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.12);

  /* Typography */
  --font-display: 'Teko', sans-serif;
  --font-body: 'Heebo', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 10rem;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.2s var(--ease-out-expo);
  --transition-medium: 0.5s var(--ease-out-expo);
  --transition-slow: 0.8s var(--ease-out-expo);

  /* Layout */
  --nav-height: 80px;
  --container-max: 1400px;
  --container-wide: 1600px;
  --border-radius: 4px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--text-primary);
  direction: rtl;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Noise overlay for texture */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

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

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

::selection {
  background: var(--jcb-yellow);
  color: var(--black);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--black);
}
::-webkit-scrollbar-thumb {
  background: var(--surface-3);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--jcb-yellow);
}

/* --- Typography --- */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 700; line-height: 0.95; text-transform: uppercase; }
h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 600; line-height: 1; text-transform: uppercase; }
h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 500; line-height: 1.1; text-transform: uppercase; }
h4 { font-family: var(--font-body); font-size: 1.25rem; font-weight: 700; line-height: 1.3; }

.text-yellow { color: var(--jcb-yellow); }
.text-muted { color: var(--text-secondary); }
.text-mono { font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.05em; }

/* --- Layout --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.section-sm {
  padding: var(--space-2xl) 0;
}

/* --- Diagonal Slash Element --- */
.slash {
  display: inline-block;
  width: 3px;
  height: 1.2em;
  background: var(--jcb-yellow);
  transform: skewX(-15deg);
  margin: 0 0.75rem;
  vertical-align: middle;
}

.slash-wide {
  width: 60px;
  height: 4px;
  background: var(--jcb-yellow);
  transform: skewX(-25deg);
  display: inline-block;
}

/* --- Section Divider --- */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to left, transparent, var(--border-light), transparent);
}

.divider-yellow {
  width: 100%;
  height: 2px;
  background: linear-gradient(to left, transparent, var(--jcb-yellow), transparent);
  opacity: 0.3;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--transition-medium), box-shadow var(--transition-medium);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-subtle);
}

.navbar-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1001;
}

.navbar-logo .logo-mark {
  width: 48px;
  height: 48px;
  background: var(--jcb-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--black);
  clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
}

.navbar-logo .logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white);
}

.navbar-logo .logo-text span {
  color: var(--jcb-yellow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--jcb-yellow);
  transition: width var(--transition-medium);
  transform: skewX(-15deg);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 1001;
}

.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.nav-cart:hover {
  color: var(--jcb-yellow);
}

.nav-cart .cart-count {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 20px;
  height: 20px;
  background: var(--jcb-yellow);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-cart svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-medium);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--black);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-medium);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.mobile-menu a:hover {
  color: var(--jcb-yellow);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
  clip-path: polygon(4% 0%, 100% 0%, 96% 100%, 0% 100%);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: right var(--transition-slow);
  transform: skewX(-15deg);
}

.btn:hover::before {
  right: 100%;
}

.btn-primary {
  background: var(--jcb-yellow);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--jcb-yellow-bright);
  box-shadow: 0 0 40px var(--jcb-yellow-glow-strong);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--jcb-yellow);
  color: var(--jcb-yellow);
}

.btn-ghost {
  background: transparent;
  color: var(--jcb-yellow);
  padding: 0.5rem 0;
  clip-path: none;
}

.btn-ghost:hover {
  color: var(--jcb-yellow-bright);
}

.btn-ghost::after {
  content: '←';
  margin-right: 0.5rem;
  transition: margin var(--transition-fast);
}

.btn-ghost:hover::after {
  margin-right: 1rem;
}

.btn-sm {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 1.2rem 3rem;
  font-size: 1.3rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(252, 176, 38, 0.08), transparent),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(252, 176, 38, 0.04), transparent);
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, var(--black), transparent);
  z-index: 1;
}

/* Diagonal grid lines */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -60deg,
      transparent,
      transparent 120px,
      rgba(252, 176, 38, 0.02) 120px,
      rgba(252, 176, 38, 0.02) 121px
    );
  z-index: 0;
}

/* Animated diagonal stripe */
.hero-stripe {
  position: absolute;
  top: -20%;
  right: 35%;
  width: 300px;
  height: 160%;
  background: linear-gradient(180deg, transparent, var(--jcb-yellow-glow), transparent);
  transform: skewX(-15deg);
  z-index: 0;
  opacity: 0.4;
  animation: stripeFloat 8s ease-in-out infinite;
}

@keyframes stripeFloat {
  0%, 100% { transform: skewX(-15deg) translateY(0); opacity: 0.4; }
  50% { transform: skewX(-15deg) translateY(-30px); opacity: 0.6; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  padding-top: var(--nav-height);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-xl);
}

.hero-text {
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(252, 176, 38, 0.1);
  border: 1px solid rgba(252, 176, 38, 0.2);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--jcb-yellow);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-lg);
  clip-path: polygon(2% 0%, 100% 0%, 98% 100%, 0% 100%);
  animation: fadeSlideRight 0.8s var(--ease-out-expo) 0.2s both;
}

.hero-title {
  margin-bottom: var(--space-lg);
  animation: fadeSlideRight 0.8s var(--ease-out-expo) 0.4s both;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .line span {
  display: inline-block;
}

.hero-title .highlight {
  color: var(--jcb-yellow);
  position: relative;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  max-width: 500px;
  animation: fadeSlideRight 0.8s var(--ease-out-expo) 0.6s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  animation: fadeSlideRight 0.8s var(--ease-out-expo) 0.8s both;
}

.hero-stats {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-subtle);
  animation: fadeSlideRight 0.8s var(--ease-out-expo) 1s both;
}

.hero-stat .stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--jcb-yellow);
  line-height: 1;
}

.hero-stat .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Hero Product Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeSlideLeft 1s var(--ease-out-expo) 0.5s both;
}

.hero-product-showcase {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 600px;
}

.hero-product-image {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.hero-product-image .product-placeholder {
  width: 85%;
  height: 70%;
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--jcb-yellow);
  position: relative;
  overflow: hidden;
}

.hero-product-image .product-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, var(--jcb-yellow-glow));
  z-index: 0;
}

.hero-product-image .product-placeholder::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, var(--jcb-yellow-glow), transparent, transparent);
  animation: rotateSlow 15s linear infinite;
}

@keyframes rotateSlow {
  to { transform: rotate(360deg); }
}

/* Floating badges around hero product */
.hero-product-badge {
  position: absolute;
  padding: 0.5rem 1rem;
  background: rgba(10, 10, 10, 0.9);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  animation: float 5s ease-in-out infinite;
}

.hero-product-badge:nth-child(2) { top: 15%; left: 10%; animation-delay: 0s; }
.hero-product-badge:nth-child(3) { top: 35%; right: 5%; animation-delay: 1.5s; }
.hero-product-badge:nth-child(4) { bottom: 25%; left: 5%; animation-delay: 3s; }

.hero-product-badge .badge-dot {
  width: 6px;
  height: 6px;
  background: var(--jcb-yellow);
  border-radius: 50%;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeIn 1s var(--ease-out-expo) 1.5s both;
}

.hero-scroll .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--jcb-yellow), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

.hero-scroll .scroll-text {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.6); }
}

/* ============================================
   PROMO BANNER
   ============================================ */
.promo-banner {
  background: linear-gradient(90deg, var(--jcb-yellow-dark), var(--jcb-yellow), var(--jcb-yellow-dark));
  padding: 1rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.promo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    rgba(0,0,0,0.03) 10px,
    rgba(0,0,0,0.03) 20px
  );
}

.promo-banner p {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
}

.promo-banner .promo-highlight {
  background: var(--black);
  color: var(--jcb-yellow);
  padding: 0.15rem 0.75rem;
  margin: 0 0.25rem;
  display: inline-block;
  clip-path: polygon(3% 0%, 100% 0%, 97% 100%, 0% 100%);
}

/* ============================================
   CATEGORIES SECTION
   ============================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.category-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  clip-path: polygon(2% 0%, 100% 0%, 98% 100%, 0% 100%);
  transition: transform var(--transition-medium);
}

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

.category-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--surface-2), var(--surface-1));
  transition: transform var(--transition-slow);
}

.category-card:hover .category-card-bg {
  transform: scale(1.08);
}

.category-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.3) 50%, transparent 100%);
  z-index: 1;
}

.category-card-content {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 2rem;
  z-index: 2;
}

.category-card .cat-number {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--jcb-yellow);
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.category-card h3 {
  margin-bottom: 0.5rem;
  transition: color var(--transition-fast);
}

.category-card:hover h3 {
  color: var(--jcb-yellow);
}

.category-card .cat-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.category-card .cat-arrow {
  position: absolute;
  top: 2rem;
  left: 2rem;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all var(--transition-medium);
  opacity: 0;
  transform: translateX(10px);
}

.category-card:hover .cat-arrow {
  opacity: 1;
  transform: translateX(0);
  border-color: var(--jcb-yellow);
  background: var(--jcb-yellow);
}

.category-card .cat-arrow svg {
  width: 16px;
  height: 16px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
  transition: stroke var(--transition-fast);
}

.category-card:hover .cat-arrow svg {
  stroke: var(--black);
}

/* Large first category card */
.categories-grid .category-card:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  position: relative;
  background: var(--surface-1);
  overflow: hidden;
  transition: all var(--transition-medium);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
}

.product-card:hover {
  border-color: var(--jcb-yellow);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px var(--jcb-yellow-glow);
  transform: translateY(-8px);
}

.product-card-image {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-image .product-icon {
  font-size: 4rem;
  opacity: 0.3;
  transition: all var(--transition-medium);
}

.product-card-image .product-icon-svg {
  width: 60%;
  height: 60%;
  color: var(--jcb-yellow);
  transition: all var(--transition-medium);
}

.product-card:hover .product-card-image .product-icon,
.product-card:hover .product-card-image .product-icon-svg {
  opacity: 0.2;
  transform: scale(1.1);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform var(--transition-slow);
}
.product-card:hover .product-card-image img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.3rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  clip-path: polygon(4% 0%, 100% 0%, 96% 100%, 0% 100%);
}

.product-badge.sale {
  background: var(--red-sale);
  color: var(--white);
}

.product-badge.new {
  background: var(--jcb-yellow);
  color: var(--black);
}

.product-card-actions {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-medium);
}

.product-card:hover .product-card-actions {
  opacity: 1;
  transform: translateY(0);
}

.product-card-actions button {
  flex: 1;
  padding: 0.6rem;
  background: var(--jcb-yellow);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background var(--transition-fast);
}

.product-card-actions button:hover {
  background: var(--jcb-yellow-bright);
}

.product-card-actions button.btn-icon {
  flex: 0 0 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-actions button.btn-icon:hover {
  background: var(--white);
}

.product-card-actions button.btn-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
}

.product-card-actions button.btn-icon:hover svg {
  stroke: var(--black);
}

.product-card-info {
  padding: 1.25rem;
}

.product-card-info .product-model {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--jcb-yellow);
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
}

.product-card-info h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  transition: color var(--transition-fast);
}

.product-card:hover .product-card-info h4 {
  color: var(--jcb-yellow);
}

.product-card-info .product-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.product-card-info .product-rating .stars {
  color: var(--jcb-yellow);
  font-size: 0.8rem;
}

.product-card-info .product-rating .rating-count {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.product-price .price-current {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
}

.product-price .price-original {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-price .price-currency {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ============================================
   TECHNOLOGY SECTION
   ============================================ */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.tech-card {
  padding: 2.5rem;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-medium);
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to left, var(--jcb-yellow), transparent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-slow);
}

.tech-card:hover::before {
  transform: scaleX(1);
}

.tech-card:hover {
  border-color: var(--border-light);
  background: var(--surface-2);
}

.tech-card .tech-icon {
  width: 60px;
  height: 60px;
  background: var(--jcb-yellow-glow);
  border: 1px solid rgba(252, 176, 38, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
}

.tech-card h3 {
  margin-bottom: 0.75rem;
}

.tech-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.tech-card .tech-number {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(252, 176, 38, 0.05);
  line-height: 1;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
}

.section-header-text .section-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--jcb-yellow);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-header-text .section-tag::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--jcb-yellow);
  transform: skewX(-15deg);
}

.section-header-text h2 {
  margin-bottom: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  position: relative;
  padding: var(--space-3xl) 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--surface-1), var(--black));
}

.cta-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 30% 50%, var(--jcb-yellow-glow), transparent);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  margin-bottom: var(--space-md);
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--surface-1);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-md);
}

.footer-brand .footer-logo .logo-mark {
  width: 40px;
  height: 40px;
  background: var(--jcb-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--black);
  clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
}

.footer-brand .footer-logo .logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 350px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--surface-3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--jcb-yellow);
  color: var(--black);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  color: var(--jcb-yellow);
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--jcb-yellow);
}

.footer-col .contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-col .contact-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--jcb-yellow);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--jcb-yellow);
}

/* ============================================
   SHOP PAGE — FILTERS & LAYOUT
   ============================================ */
.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  padding-top: calc(var(--nav-height) + var(--space-xl));
}

.shop-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
  align-self: start;
  max-height: calc(100vh - var(--nav-height) - 4rem);
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.shop-sidebar::-webkit-scrollbar {
  display: none;
}

.filter-group {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.filter-group h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: var(--jcb-yellow);
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  cursor: pointer;
  transition: color var(--transition-fast);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.filter-option:hover {
  color: var(--white);
}

.filter-checkbox {
  width: 18px;
  height: 18px;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.filter-option.active .filter-checkbox {
  background: var(--jcb-yellow);
  border-color: var(--jcb-yellow);
}

.filter-option.active .filter-checkbox::after {
  content: '✓';
  font-size: 0.7rem;
  color: var(--black);
  font-weight: 700;
}

.filter-option .filter-count {
  margin-right: auto;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Price range slider */
.price-range {
  padding: 0.5rem 0;
}

.price-range .range-values {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--jcb-yellow);
  margin-bottom: 0.75rem;
}

.price-range input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  height: 3px;
  background: var(--surface-3);
  outline: none;
}

.price-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: var(--jcb-yellow);
  cursor: pointer;
  clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.shop-toolbar .results-count {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.shop-toolbar .results-count span {
  color: var(--jcb-yellow);
  font-weight: 700;
}

.shop-toolbar .sort-select {
  padding: 0.5rem 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.85rem;
  cursor: pointer;
}

.shop-toolbar .view-toggles {
  display: flex;
  gap: 0.5rem;
}

.shop-toolbar .view-toggle {
  width: 36px;
  height: 36px;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.shop-toolbar .view-toggle.active,
.shop-toolbar .view-toggle:hover {
  border-color: var(--jcb-yellow);
  color: var(--jcb-yellow);
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-detail {
  padding-top: calc(var(--nav-height) + var(--space-xl));
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}

.product-gallery-main {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-gallery-main .gallery-icon {
  font-size: 8rem;
  opacity: 0.2;
}

.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.product-gallery-thumbs .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery-thumbs .thumb {
  aspect-ratio: 1;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: border-color var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  opacity: 0.4;
}

.product-gallery-thumbs .thumb.active,
.product-gallery-thumbs .thumb:hover {
  border-color: var(--jcb-yellow);
  opacity: 1;
}

.product-info {
  padding: var(--space-lg) 0;
}

.product-info .breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.product-info .breadcrumb a:hover {
  color: var(--jcb-yellow);
}

.product-info .breadcrumb .sep {
  color: var(--text-muted);
}

.product-info .product-model-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--jcb-yellow);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.product-info h1 {
  margin-bottom: var(--space-md);
}

.product-info .product-rating-full {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-subtle);
}

.product-info .product-rating-full .stars {
  color: var(--jcb-yellow);
  font-size: 1rem;
}

.product-info .product-rating-full .rating-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.product-detail-price {
  margin-bottom: var(--space-lg);
}

.product-detail-price .price-current {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
}

.product-detail-price .price-original {
  font-size: 1.2rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 1rem;
}

.product-detail-price .price-save {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  background: rgba(255, 59, 59, 0.15);
  color: var(--red-sale);
  font-size: 0.8rem;
  font-weight: 600;
}

.product-sizes {
  margin-bottom: var(--space-lg);
}

.product-sizes h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.size-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.size-option {
  width: 50px;
  height: 50px;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.size-option:hover {
  border-color: var(--jcb-yellow);
}

.size-option.active {
  background: var(--jcb-yellow);
  border-color: var(--jcb-yellow);
  color: var(--black);
  font-weight: 600;
}

.size-option.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.product-quantity {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: var(--space-xl);
}

.quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
}

.quantity-control button {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.quantity-control button:hover {
  background: var(--jcb-yellow);
  color: var(--black);
}

.quantity-control .qty-value {
  width: 60px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1rem;
  border-right: 1px solid var(--border-subtle);
  border-left: 1px solid var(--border-subtle);
}

.product-add-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: var(--space-xl);
}

.product-add-actions .btn {
  flex: 1;
}

.product-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: var(--space-lg);
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  margin-bottom: var(--space-xl);
}

.product-feature {
  text-align: center;
  padding: 1rem;
}

.product-feature .feature-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--jcb-yellow);
}

.product-feature .feature-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ============================================
   CART PAGE
   ============================================ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-xl);
  padding-top: calc(var(--nav-height) + var(--space-xl));
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-medium);
}

.cart-item:hover {
  border-color: var(--border-light);
}

.cart-item-image {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  opacity: 0.3;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details h4 {
  margin-bottom: 0.25rem;
}

.cart-item-details .cart-item-model {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--jcb-yellow);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.cart-item-details .cart-item-size {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.cart-item-right {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.cart-item-right .cart-item-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

.cart-item-right .cart-item-remove {
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.cart-item-right .cart-item-remove:hover {
  color: var(--red-sale);
}

/* Cart Summary */
.cart-summary {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
  padding: 2rem;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  align-self: start;
}

.cart-summary h3 {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.cart-summary-row.total {
  padding-top: 1.25rem;
  margin-top: 0.75rem;
  border-top: 1px solid var(--border-light);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.cart-summary-row.total .total-price {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--jcb-yellow);
}

.cart-summary .btn {
  width: 100%;
  margin-top: 1.5rem;
}

.cart-summary .cart-promo {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.5rem;
}

.cart-summary .cart-promo input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-primary);
}

.cart-summary .cart-promo input::placeholder {
  color: var(--text-muted);
}

.cart-summary .cart-promo button {
  padding: 0.75rem 1.25rem;
  background: var(--surface-3);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-display);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition-fast);
}

.cart-summary .cart-promo button:hover {
  background: var(--jcb-yellow);
  color: var(--black);
  border-color: var(--jcb-yellow);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(252, 176, 38, 0.06), transparent),
    var(--black);
}

.about-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.about-hero-content .about-year {
  font-family: var(--font-display);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 700;
  color: rgba(252, 176, 38, 0.06);
  line-height: 1;
  margin-bottom: -2rem;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.about-value {
  padding: 3rem 2rem;
  border-left: 1px solid var(--border-subtle);
  text-align: center;
  transition: all var(--transition-medium);
  position: relative;
}

.about-value:last-child {
  border-right: 1px solid var(--border-subtle);
}

.about-value:hover {
  background: var(--surface-1);
}

.about-value .value-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--jcb-yellow);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.about-value h3 {
  margin-bottom: 0.75rem;
}

.about-value p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Timeline */
.timeline {
  position: relative;
  padding-right: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--jcb-yellow), transparent);
}

.timeline-item {
  position: relative;
  padding: 0 3rem 3rem 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  right: -7px;
  top: 0.5rem;
  width: 16px;
  height: 16px;
  background: var(--jcb-yellow);
  clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
}

.timeline-item .timeline-year {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--jcb-yellow);
  margin-bottom: 0.5rem;
}

.timeline-item h3 {
  margin-bottom: 0.5rem;
}

.timeline-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.contact-form-wrapper {
  padding: 3rem;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--jcb-yellow);
  box-shadow: 0 0 20px var(--jcb-yellow-glow);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  padding: 2rem;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: all var(--transition-medium);
}

.contact-info-card:hover {
  border-color: var(--jcb-yellow);
  background: var(--surface-2);
}

.contact-info-card .info-icon {
  width: 50px;
  height: 50px;
  background: var(--jcb-yellow-glow);
  border: 1px solid rgba(252, 176, 38, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
}

.contact-info-card h4 {
  margin-bottom: 0.35rem;
}

.contact-info-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-info-card a {
  color: var(--jcb-yellow);
  transition: color var(--transition-fast);
}

.contact-info-card a:hover {
  color: var(--jcb-yellow-bright);
}

/* Map placeholder */
.contact-map {
  margin-top: 1.5rem;
  aspect-ratio: 16/9;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.contact-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, var(--border-subtle) 0px, transparent 1px, transparent 40px),
    repeating-linear-gradient(90deg, var(--border-subtle) 0px, transparent 1px, transparent 40px);
  opacity: 0.5;
}

.contact-map .map-pin {
  position: relative;
  z-index: 1;
  text-align: center;
}

.contact-map .map-pin .pin-icon {
  font-size: 2rem;
  color: var(--jcb-yellow);
  margin-bottom: 0.5rem;
}

.contact-map .map-pin p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ============================================
   PAGE HERO (INNER PAGES)
   ============================================ */
.page-hero {
  padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(252, 176, 38, 0.05), transparent),
    var(--black);
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.page-hero .breadcrumb a:hover {
  color: var(--jcb-yellow);
}

/* ============================================
   FAQ PAGE
   ============================================ */
.faq-list {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--jcb-yellow);
}

.faq-question .faq-toggle {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  font-size: 1.2rem;
  transition: all var(--transition-medium);
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  background: var(--jcb-yellow);
  border-color: var(--jcb-yellow);
  color: var(--black);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeSlideRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeSlideLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Scroll-triggered animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

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

  .categories-grid .category-card:first-child {
    grid-row: span 1;
  }

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

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    position: static;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-values {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-value {
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .about-value {
    border-left: none;
    border-right: none;
    text-align: right;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-md);
  }

  .product-features {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 80px 1fr;
  }

  .cart-item-right {
    grid-column: span 2;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }

  .shop-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .product-add-actions {
    flex-direction: column;
  }

  .size-grid {
    gap: 0.35rem;
  }

  .size-option {
    width: 42px;
    height: 42px;
    font-size: 0.75rem;
  }
}

/* ============================================
   MOBILE FIXES — INLINE GRID OVERRIDES
   ============================================ */

/* Fix all inline 2-column grids (about story, contact form row, etc.) */
@media (max-width: 768px) {
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* FAQ sidebar layout */
  [style*="grid-template-columns: 1fr 300px"],
  [style*="grid-template-columns:1fr 300px"] {
    grid-template-columns: 1fr !important;
  }

  /* FAQ sticky sidebar — make static on mobile */
  [style*="position:sticky"] {
    position: static !important;
  }

  /* Promo banner text size */
  .promo-banner p {
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 0 0.5rem;
  }

  .promo-banner .promo-highlight {
    display: inline;
    padding: 0.1rem 0.5rem;
  }

  /* Hero badge wrapping */
  .hero-badge {
    font-size: 0.6rem;
    padding: 0.3rem 0.75rem;
  }

  /* Hero stats — smaller values */
  .hero-stat .stat-value {
    font-size: 1.8rem;
  }

  /* Section headers stack on mobile */
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  /* Footer bottom — stack */
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  /* Contact info cards — full width */
  .contact-info-cards {
    gap: 1rem;
  }

  /* Product detail price — smaller */
  .product-detail-price .price-current {
    font-size: 2.2rem;
  }

  /* Quantity control — ensure touch-friendly */
  .quantity-control button {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }

  /* Navbar inner — tighter padding */
  .navbar-inner {
    padding: 0 1rem;
  }

  /* Container — less padding on mobile */
  .container,
  .container-wide {
    padding: 0 1rem;
  }

  /* Cart summary — no sticky on mobile */
  .cart-summary {
    position: static;
  }

  /* Product gallery — no sticky on mobile */
  .product-gallery {
    position: static;
  }

  /* Display text — ensure no overflow */
  .display-xl {
    font-size: clamp(2.5rem, 10vw, 10rem);
    word-break: break-word;
  }

  .display-lg {
    font-size: clamp(2rem, 7vw, 7rem);
  }

  .display-md {
    font-size: clamp(1.5rem, 5vw, 4rem);
  }

  h1 {
    font-size: clamp(1.8rem, 5vw, 5rem);
  }

  h2 {
    font-size: clamp(1.5rem, 4vw, 3.5rem);
  }
}

/* Extra small — 375px and below */
@media (max-width: 400px) {
  /* Size options — smaller for narrow screens */
  .size-option {
    width: 38px !important;
    height: 38px !important;
    font-size: 0.7rem !important;
  }

  /* Price display */
  .product-price .price-current {
    font-size: 1.3rem;
  }

  /* Product card info — tighter */
  .product-card-info {
    padding: 1rem;
  }

  .product-card-info h4 {
    font-size: 0.9rem;
  }

  /* Hero actions — full width buttons */
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  /* Cart item — single column */
  .cart-item {
    grid-template-columns: 1fr !important;
    text-align: center;
  }

  .cart-item-image {
    margin: 0 auto;
    width: 100px;
    height: 100px;
  }

  .cart-item-right {
    flex-direction: column !important;
    align-items: center !important;
  }

  /* Table overflow scroll */
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
