/* ============================================================
   Collibre — tokeny designu (źródło prawdy wyglądu)
   Wyciągnięte z mockupu Strona-glowna.html (Tailwind config + klasy).
   Wszystkie warstwy komponentów (components/*.css) korzystają z tych zmiennych.
   ============================================================ */

:root {
  /* --- Kolory --- */
  --tech-ink:        #383F45;  /* główny tekst / ciemne tła / przyciski */
  --tech-slate:      #5B6670;  /* tekst drugorzędny (slate2) */
  --tech-mist:       #F6F7F8;  /* jasne tło sekcji / kart */
  --tech-white:      #FFFFFF;
  --tech-border:     #F3F4F6;  /* obramowania kart (gray-100) */
  --tech-ink-hover:  #5B6670;  /* hover przycisku ink -> slate */
  --tech-gray-100:   #F3F4F6;  /* = --tech-border (obramowania kart) */
  --tech-gray-200:   #E5E7EB;  /* obramowania pól/kart (mockup border-gray-200) */
  --tech-gray-300:   #D1D5DB;  /* nieaktywne kropki slidera */
  --tech-gray-400:   #9CA3AF;  /* hover kropek */

  /* Akcent „mint" z mockupu (pasek darmowej dostawy, nudge subskrypcji, stany sukcesu) */
  --tech-mint:      #2FAF98;
  --tech-mint-50:   #EAF7F4;
  --tech-mint-100:  #D6EFE9;
  --tech-mint-200:  #BFE6DD;

  /* Stany błędu/anulowania (statusy zamówień/subskrypcji — panel konta) */
  --tech-red-50:   #FEF2F2;
  --tech-red-200:  #FECACA;
  --tech-red-300:  #FCA5A5;
  --tech-red-600:  #DC2626;
  --tech-red-700:  #B91C1C;

  /* --- Typografia --- */
  --tech-font-sans: "greycliff-cf", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --tech-fs-xs:   0.75rem;
  --tech-fs-sm:   0.875rem;
  --tech-fs-base: 1rem;
  --tech-fs-lg:   1.125rem;
  --tech-fs-xl:   1.25rem;
  --tech-fs-2xl:  1.5rem;
  --tech-fs-3xl:  1.875rem;
  --tech-fs-4xl:  2.25rem;
  --tech-fs-5xl:  3rem;
  --tech-fs-6xl:  3.75rem;

  --tech-fw-medium:    500;
  --tech-fw-semibold:  600;
  --tech-fw-bold:      700;
  --tech-fw-extrabold: 800;

  --tech-lh-tight:  1.05;  /* nagłówki hero */
  --tech-lh-snug:   1.25;
  --tech-lh-normal: 1.6;   /* akapity (leading-relaxed) */
  --tech-tracking-tight: -0.02em;
  --tech-tracking-wide:  0.2em;  /* nadtytuły uppercase */

  /* --- Layout / spacing --- */
  --tech-container:  80rem;   /* max-w-7xl = 1280px */
  --tech-gutter:     1rem;    /* px-4 */
  --tech-gutter-sm:  1.5rem;  /* sm:px-6 */
  --tech-section-y:  3.5rem;  /* py-14 baza */
  --tech-section-y-lg: 5rem;  /* py-20 */

  /* --- Promienie --- */
  --tech-radius:      1rem;    /* rounded-2xl */
  --tech-radius-lg:   1.5rem;  /* rounded-3xl */
  --tech-radius-pill: 9999px;

  /* --- Cienie --- */
  --tech-shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --tech-shadow-lg: 0 10px 25px rgba(0,0,0,.08);

  /* --- Breakpointy (do dokumentacji; w media queries wpisuj wartości) --- */
  --tech-bp-sm: 640px;
  --tech-bp-lg: 1024px;
}

/* ------------------------------------------------------------
   Globalny akcent Astry: niebieski -> ink (systemowo).
   Astra używa --ast-global-color-0 (#046bd2) i -1 (#045cb4) na linki,
   przyciski Woo ("Dodaj do koszyka"), focus itd. Marka Collibre nie ma
   niebieskiego -> mapujemy na ink/slate. Pozostałe kolory palety
   (tekst #1e293b/#334155, tła, border) zostają.
   :root:root => wyższa specyficzność niż Astra (:root), wygrywa zawsze.
   ------------------------------------------------------------ */
:root:root {
  --ast-global-color-0: var(--tech-ink);        /* akcent / linki */
  --ast-global-color-1: var(--tech-ink-hover);  /* hover / active akcentu */
}
