/*
Theme Name:   Mini Kosmos
Theme URI:    https://minikosmos.gr
Description:  WoodMart child theme for Mini Kosmos — handmade 3D-printed collectibles from Thessaloniki. Sunshine palette, Greek storefront.
Author:       John (Mini Kosmos)
Author URI:   https://minikosmos.gr
Template:     woodmart
Version:      0.1.0
Text Domain:  minikosmos
*/

/* =========================================================================
   1. CSS custom properties — Sunshine palette (locked)
   ========================================================================= */
:root {
  /* Palette */
  --cream:       #FFF4E2;
  --cream-deep:  #F7E6CB;
  --paper:       #FFFCF6;
  --ink:         #20182E;
  --ink-soft:    #4A3D5E;
  --muted:       #8A7C95;
  --line:        #E8DAC2;
  --coral:       #FF6B4A;
  --coral-deep:  #E54A2A;
  --sun:         #F7B538;
  --sky:         #7AB6FF;
  --mint:        #B0E0C2;

  /* Soft product-card tints (cycled by productId.charCodeAt(0) % 6) */
  --tint-1: #FFD7CC;
  --tint-2: #FFE9B8;
  --tint-3: #CFE3FF;
  --tint-4: #D7F0DD;
  --tint-5: #FFE0EE;
  --tint-6: #E8DEFB;

  /* Typography */
  --font-display: "Bricolage Grotesque", "DM Sans", sans-serif;
  --font-body:    "DM Sans", system-ui, sans-serif;
  --font-script:  "Caveat", cursive;
  --font-mono:    ui-monospace, "JetBrains Mono", monospace;

  /* Spacing */
  --container:     min(1320px, 92vw);
  --section-pad:   64px;
  --section-pad-l: 80px;

  /* Radius */
  --r-card:    24px;
  --r-pill:    999px;
  --r-input:   16px;
}

/* =========================================================================
   2. Base reset (minimal — let WoodMart do most of it)
   ========================================================================= */

/* Override WoodMart's body background CSS variable.
   WoodMart uses body:not([class*="wrapper-boxed"]) { background: var(--wd-main-bgcolor) }
   which loads after us and has higher specificity. Setting the var here wins cleanly. */
body:not([class*="wrapper-boxed"]) {
  --wd-main-bgcolor: var(--cream);
}

/* Override WoodMart's container width to match our layout (1320px = same as --container). */
:root { --wd-container-w: 1320px; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  text-wrap: pretty;
}

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

h1 { letter-spacing: -0.04em; }

.script {
  font-family: var(--font-script);
  font-weight: 700;
  color: var(--coral);
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* =========================================================================
   3. Component styles
   ========================================================================= */
/* All component CSS goes in assets/css/*.css and is enqueued per-page.
   This file stays small. */

