/*
 * Kudino — design tokens ("Dasht": an Iranian agri-store language)
 * ---------------------------------------------------------------
 * Field green for trust and action, a harvest orange for offers, red only
 * for discounts, sage washes for grouping. N/P/K colours carry data only.
 */

/* Estedad — Persian typeface by Amin Abedi (OFL), variable 100–900 */
@font-face { font-family: "Estedad"; src: url("../fonts/estedad-arabic-wght-normal.woff2") format("woff2-variations"), url("../fonts/estedad-arabic-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Estedad"; src: url("../fonts/estedad-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/estedad-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }
/* IBM Plex Mono — fertilizer analyses only (20-20-20, K2O) */
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
	/* ---------- green (brand) ---------- */
	--kd-green-950: #0c2b1a;   /* footer bar, deepest panel */
	--kd-green-900: #13432a;   /* dark banners and panels; white text 11:1 */
	--kd-green-700: #1a6b3c;   /* primary buttons, links; white text 6.5:1 */
	--kd-green-600: #22834a;   /* hover tints, icons */
	--kd-green-300: #9cc98a;   /* accents on dark green */
	--kd-green-200: #cfe5c7;   /* category circles */
	--kd-green-100: #e6f2e3;   /* sage wash: chips, active rows */
	--kd-green-50:  #f3f8f1;   /* section bands */

	/* ---------- harvest orange (offers & CTA) ---------- */
	--kd-orange-600: #c2500a;  /* CTA fill; white text 4.6:1 */
	--kd-orange-500: #e8711a;  /* highlights on dark green, price tags with dark text */
	--kd-orange-100: #fdeedd;

	/* ---------- red (discount only) ---------- */
	--kd-red-600: #d32f2f;
	--kd-red-100: #fde8e8;

	/* ---------- neutrals ---------- */
	--kd-white:  #ffffff;
	--kd-bg:     #ffffff;
	--kd-bg-2:   #f5f7f4;      /* image wells, inputs */
	--kd-line:   #e3e8e1;
	--kd-ink:    #1d2a22;      /* text, 14:1 */
	--kd-ink-2:  #4d5b52;      /* secondary, 7:1 */
	--kd-ink-3:  #5f6b63;      /* metadata, 5.6:1 on white, 5.1:1 on green-50 */

	/* ---------- nutrient data ---------- */
	--kd-n: #3c7a57;
	--kd-p: #a87720;
	--kd-k: #9b4630;
	--kd-o: #6a5741;
	--kd-m: #4b6a82;

	/* ---------- status ---------- */
	--kd-ok:   #2c6e46;
	--kd-warn: #8a5a0c;
	--kd-err:  #b3261e;

	/* ---------- type ---------- */
	--kd-font: "Estedad", Tahoma, "Segoe UI", system-ui, sans-serif;
	--kd-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
	--kd-t-hero: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
	--kd-t-h1:   clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
	--kd-t-h2:   clamp(1.3rem, 1.15rem + .6vw, 1.625rem);
	--kd-t-h3:   1.125rem;
	--kd-t-body: 0.9375rem;
	--kd-t-sm:   0.8125rem;
	--kd-t-xs:   0.75rem;
	--kd-lh:     1.9;

	/* ---------- space ---------- */
	--kd-s-1: 4px;   --kd-s-2: 8px;   --kd-s-3: 12px;  --kd-s-4: 16px;
	--kd-s-5: 20px;  --kd-s-6: 24px;  --kd-s-8: 32px;  --kd-s-10: 40px;
	--kd-s-12: 48px; --kd-s-16: 64px;
	--kd-section: clamp(40px, 3vw + 24px, 72px);
	--kd-wrap:    1280px;
	--kd-gutter:  clamp(16px, 3vw, 32px);

	/* ---------- shape ---------- */
	--kd-r-sm: 8px;    /* chips, inputs inside cards */
	--kd-r-md: 12px;   /* buttons, inputs, image wells */
	--kd-r-lg: 16px;   /* product cards, panels */
	--kd-r-xl: 24px;   /* banners, slider */
	--kd-r-pill: 999px;

	/* ---------- elevation ---------- */
	--kd-shadow-1: 0 1px 2px rgba(19, 67, 42, .06);
	--kd-shadow-2: 0 10px 28px -12px rgba(19, 67, 42, .22);
	--kd-shadow-pop: 0 18px 40px -16px rgba(12, 43, 26, .35);

	/* ---------- motion ---------- */
	--kd-ease: cubic-bezier(.25, .8, .25, 1);
	--kd-fast: 140ms;
	--kd-mid:  260ms;
}
