/* Forklift Life Storefront — Wear OYA Inspired Clean Industrial Design System
   Clean white background, 4-across desktop grid, minimal typography,
   safety-orange accents, and high-readability responsive cards. */

:root {
  /* Backgrounds */
  --bg-page: #FAFAFA;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-surface-muted: #F3F4F6;
  --bg-dark: #111827;

  /* Text */
  --text-primary: #111827;
  --text-secondary: #4B5563;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --text-inverse: #FFFFFF;

  /* Accent — Safety Orange (OSHA/ANSI high-vis) & Clean Industrial Dark */
  --orange-osha: #FF5500;
  --orange-hover: #E04B00;
  --yellow-caution: #D97706;
  --dark-accent: #111827;

  /* Borders & Shadows */
  --border-light: #E5E7EB;
  --border-subtle: #F3F4F6;
  --border-focus: #111827;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08);

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

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

body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* 4-Across Desktop Grid */
.product-grid-synthesized {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

@media (min-width: 640px) {
  .product-grid-synthesized {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .product-grid-synthesized {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

/* Card Styling */
.synth-product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.synth-product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #D1D5DB;
}

.synth-card-image-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bg-surface-muted);
  border-radius: var(--radius-sm);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 14px;
}

.synth-product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.synth-product-card:hover .synth-product-img {
  transform: scale(1.03);
}

/* Swatches */
.synth-swatch-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.card-swatch-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  box-shadow: 0 0 0 1px #D1D5DB;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card-swatch-dot:hover {
  transform: scale(1.15);
}

.card-swatch-dot.active {
  box-shadow: 0 0 0 2px var(--dark-accent);
  transform: scale(1.15);
}

.card-swatch-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 2px;
}

/* Typography & Details */
.synth-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.3;
}

.synth-fit-spec {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.synth-pricing-box {
  margin-bottom: 12px;
}

.synth-main-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

/* Quick Size Chips */
.quick-size-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.quick-size-btn {
  background: var(--bg-surface-muted);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.quick-size-btn:hover {
  background: var(--dark-accent);
  color: var(--text-inverse);
  border-color: var(--dark-accent);
}
