/**
 * Theme Name: Sadaat Traders – Blocksy Child
 * Theme URI: https://sadaattraders.pk/
 * Description: Shared design system, storefront components and Gutenberg patterns for Sadaat Traders. Built as a child theme of Blocksy.
 * Author: Sadaat Traders
 * Author URI: https://sadaattraders.pk/
 * Template: blocksy
 * Version: 1.0.0
 * Requires at least: 6.5
 * Requires PHP: 7.4
 * Text Domain: sadaat-traders
 * License: GNU General Public License v2 or later
 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
 *
 * Blocksy does not load this file automatically. It is enqueued from
 * inc/enqueue.php. Never add @import rules here; component styles live in
 * assets/css/ and are enqueued once with explicit dependencies.
 */

/* ==========================================================================
   1. Design tokens
   Central source of truth for colour, type, spacing, radii and motion.
   ========================================================================== */

:root {
	/* Brand palette — sampled and normalised from the approved homepage
	   reference. All small text pairings meet WCAG AA or better. */
	--st-green-950: #04241a;
	--st-green-900: #062f22;
	--st-green-800: #0a3d2c;
	--st-green-700: #0b5138;
	--st-green-600: #0d7e51;
	--st-green-500: #15945f;
	--st-green-100: #e6f2eb;
	--st-sage-100: #e8ece8;
	--st-cream-50: #fbfbf9;
	--st-cream-100: #f4f3ee;
	--st-cream-200: #ece9e1;
	--st-white: #ffffff;
	--st-ink: #1b231f;
	--st-ink-soft: #3f4a44;
	--st-muted: #5c6862;
	--st-border: #e2e4de;
	--st-border-strong: #c9cec7;
	--st-danger: #b42318;
	--st-success: #0d7e51;
	--st-gold: #b7791f;
	--st-whatsapp: #25d366;

	/* Typography — system stacks keep the build free of external font
	   requests. Swap these tokens if licensed brand fonts are supplied. */
	--st-font-body: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
	--st-font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
	--st-fs-2xs: 0.6875rem;
	--st-fs-xs: 0.75rem;
	--st-fs-sm: 0.875rem;
	--st-fs-base: 1rem;
	--st-fs-md: 1.125rem;
	--st-fs-lg: 1.375rem;
	--st-fs-xl: clamp(1.5rem, 2vw, 1.875rem);
	--st-fs-2xl: clamp(1.875rem, 3vw, 2.5rem);
	--st-fs-3xl: clamp(2.25rem, 4vw, 3.25rem);
	--st-fs-display: clamp(2.5rem, 5vw, 4.25rem);
	--st-fw-regular: 400;
	--st-fw-medium: 500;
	--st-fw-semibold: 600;
	--st-fw-bold: 700;
	--st-lh-tight: 1.08;
	--st-lh-heading: 1.2;
	--st-lh-body: 1.65;
	--st-letter-eyebrow: 0.13em;

	/* Spacing scale (4px base) */
	--st-space-1: 0.25rem;
	--st-space-2: 0.5rem;
	--st-space-3: 0.75rem;
	--st-space-4: 1rem;
	--st-space-5: 1.25rem;
	--st-space-6: 1.5rem;
	--st-space-7: 2rem;
	--st-space-8: 2.5rem;
	--st-space-9: 3rem;
	--st-space-10: 4rem;
	--st-space-11: 5rem;
	--st-space-12: 6rem;
	--st-gutter: clamp(1rem, 3vw, 2rem);
	--st-section-spacing: clamp(2.75rem, 5vw, 4.5rem);
	--st-grid-gap: clamp(0.75rem, 1.4vw, 1rem);

	/* Containers */
	--st-container-narrow: 760px;
	--st-container: 1240px;
	--st-container-wide: 1360px;

	/* Shape and elevation */
	--st-radius-xs: 6px;
	--st-radius-sm: 9px;
	--st-radius-md: 14px;
	--st-radius-lg: 20px;
	--st-radius-pill: 999px;
	--st-shadow-sm: 0 1px 2px rgba(6, 47, 34, 0.06);
	--st-shadow-md: 0 14px 34px -22px rgba(6, 47, 34, 0.32);
	--st-shadow-lg: 0 28px 60px -34px rgba(6, 47, 34, 0.4);

	/* Interaction */
	--st-focus-color: #0d7e51;
	--st-focus-light: #f4f3ee;
	--st-focus-ring: 0 0 0 3px rgba(13, 126, 81, 0.26);
	--st-transition: 180ms ease;
	--st-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
