/**
 * Dizaino kintamieji – šaltinis yra Figma variables (Figma Pro).
 * Atnaujinama per `figma-component-to-wp` skill arba rankiniu Figma
 * variables eksportu.
 *
 * 2026-09-01 sync: tipografijos dydžiai, page/section padding, container
 * pločiai ir stroke width paimti iš realių Figma variables (Ready for dev
 * sekcijos + homepage layout, node-id 798-1937 / 799-2271 / 799-2683 /
 * 550-2784). Spalvos ir radius Figma faile NĖRA susieti su variables
 * (dizaineris atsisakė) – žemiau esančios reikšmės yra raw hex/px, kurios
 * pasikartojo bent 2+ kartus tarp skirtingų homepage komponentų (mygtukai,
 * kortelės, CTA, footer). Jei atsiras nauja spalva/radius, kurio nėra šiame
 * sąraše, review'inti su dizaineriu prieš pridedant.
 */

:root {
	/* Spalvos – bazinės rolės (raw, ne Figma variable) */
	--color-primary: #f24e24;
	--color-primary-hover: #c8411e; /* CTA primary hover */
	--color-primary-active: #ac3415; /* CTA primary active */
	--color-danger-hover: #EA2027; /* Cart remove hover */
	--color-cart-active: #27ae60; /* Cart button active/in-cart background */
	--color-success: #168a4a; /* Toast success */
	--color-secondary: #4678fd;
	--color-secondary-subtle: rgba(70, 120, 253, 0.1); /* CTA secondary active */
	--color-secondary-subtle-strong: rgba(70, 120, 253, 0.2); /* CTA on-dark hover/active */
	--color-secondary-mark-subtle: rgba(70, 120, 253, 0.12); /* Decorative brand mark on dark sections */
	--color-text: #0b2639;
	--color-text-soft: #3c5161; /* Services card description */
	--color-text-muted: #6d7e88;
	--color-text-on-dark-muted: rgba(255, 255, 255, 0.8);
	--color-neutral-darkest: #000000; /* Color/Neutral Darkest */
	--color-surface-light: #fafcff; /* Services card background */
	--color-surface-hero: #f3f5f5; /* Home hero left panel background */
	--color-surface-page-title: #f7faff; /* Page title background */
	--color-surface-muted: rgba(206, 212, 215, 0.24); /* Manufacturers section background */
	--color-surface-control: #f1f2f4; /* Small light icon controls */
	--color-surface-control-soft: #f3f5f6; /* Cart drawer quantity controls */
	--color-surface-inverse-soft: #eeeeee; /* Light text on saturated surfaces */
	--color-overlay-strong: rgba(0, 0, 0, 0.75); /* Product media overlay */
	--color-background: #ffffff;
	--color-border: #dedddd;
	--color-star: #90aefe; /* Review stars – sync with Figma variable when available */
	--color-star-muted: rgba(144, 174, 254, 0.3); /* Empty review stars – sync with Figma variable when available */
	--color-card-hover-border: #90aefe; /* Product/category card hover border */
	--color-card-active-border: #6d7f88; /* Category card active border */
	--color-badge-accent: #f57150; /* Product card "new/sale" badge */
	--color-stock-in-background: #e1ead9; /* Product stock pill background */
	--color-stock-in-dot: #85d79b; /* Product stock pill indicator */
	--color-stock-out-background: #ead9d9; /* Product out-of-stock pill background */
	--color-stock-out-dot: #d99b9b; /* Product out-of-stock pill indicator */
	--color-divider-subtle: #dae4ff; /* FAQ accordion item divider – sync with Figma variable when available */
	--color-tag-category-background: #b6caff; /* Blog related-article card category tag background – sync with Figma variable when available */
	--color-chip-active-background: rgba(144, 174, 254, 0.35); /* Blog category filter active pill background – sync with Figma variable when available */
	--color-email-highlight: #fdeae4; /* El. laiškų užsakymo numerio blokas (primary atspalvis) – sync with Figma variable when available */

	/* Tarpai (raw, ne Figma variable) */
	--space-xs: 4px;
	--space-sm: 8px;
	--space-md: 16px;
	--space-lg: 24px;
	--space-xl: 40px;
	--space-xxl: 60px;

	/* Puslapio / sekcijos tarpai – Figma variables */
	--space-page-padding: 64px;  /* Page Padding/padding-global */
	--space-section-md: 80px;    /* Section Padding/padding-section-medium */
	--space-section-lg: 112px;   /* Section Padding/padding-section-large */

	/* Container pločiai – Figma variables */
	--container-max: 1312px;   /* Container/container-large */
	--container-narrow: 768px; /* Max Width/max-width-large */

	/* Tipografija – šrifto dydžiai: Figma variables „Text Sizes/*" ir „Heading *" */
	--font-family-base: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-size-xs: 12px;  /* Text Sizes/Text Tiny */
	--font-size-sm: 14px;   /* Text Sizes/Text Small */
	--font-size-base: 16px; /* Text Sizes/Text Regular */
	--font-size-md: 18px;   /* Text Sizes/Text Medium */
	--font-size-lg: 24px;   /* Text Sizes/Heading 5 */
	--font-size-xl: 32px;   /* Text Sizes/Heading 4 */
	--font-size-2xl: 48px;  /* Text Sizes/Heading 2 */
	/* Tipografija – Static/* variables (headline stiliai) */
	--line-height-headline-md: 36px; /* Static/Headline Medium/Line Height */
	--letter-spacing-headline-sm: 0; /* Static/Headline Small/Tracking */

	/* Kraštinės / linijos – Stroke/* variables */
	--stroke-border-width: 1px;  /* Stroke/Border Width */
	--stroke-divider-width: 1px; /* Stroke/Divider Width */

	/* Judėjimas – sinchronizuoti, jei Figma bus pridėti motion variables */
	--animation-duration: 260ms;
	--interaction-duration: 180ms;
	--animation-easing: cubic-bezier(0.4, 0, 0.2, 1);
	--motion-spinner-duration: 700ms;
	--scale-product-gallery-zoom: 1.65; /* Single-product gallery hover zoom */

	/* Shadows – raw values from Figma card states */
	--shadow-card-hover: 7px 7px 35.3px 0 rgba(0, 0, 0, 0.15);
	--shadow-card-active-inset: inset 7px 7px 35.3px 0 rgba(0, 0, 0, 0.05);

	/* Radius – „nukirsto kampo" (diagonal) stilius, būdingas visai temai (raw) */
	--radius-xs: 4px; /* Blog category filter active pill radius */
	--radius-sm: 10px; /* mažoji diagonalės pora (naudojama kartu su lg) */
	--radius-control: 12px; /* Form controls from Figma input component */
	--radius-md: 20px; /* standartas: mygtukų cut-corner kampas, kortelių/pill uniform radius */
	--radius-lg: 40px; /* didžioji diagonalės pora (naudojama kartu su sm) */
	--radius-hero-desktop: 150px; /* Home hero desktop panel corner */
	--radius-hero-mobile: 80px; /* Home hero mobile panel corner */

	/* Product benefit cards – nėra Figma variable, sinchronizuoti kai dizaineris pridės */
	--size-benefit-card-min: 240px; /* Min. kortelės plotis grid'e */
	--size-benefit-image: 120px; /* Kortelės paveikslėlio dydis */
	--size-video-play: 72px; /* Product video play button – sync with Figma variable when available */
	--size-status-icon: 18px; /* WooCommerce notice status – sync with Figma variable when available */
	--size-detail-aside: 420px; /* Portfolio detail aside – sutampa su blog-article-header teksto stulpeliu – sync with Figma variable when available */
	--size-control-touch: 48px; /* Gallery prev/next/close controls – sync with Figma variable when available */
	--size-gallery-thumb-width: 96px; /* Portfolio gallery thumbnail – sync with Figma variable when available */
	--size-gallery-thumb-height: 72px; /* Portfolio gallery thumbnail – sync with Figma variable when available */
	--size-gallery-stage-max-height: 640px; /* Portfolio gallery main image max height – sync with Figma variable when available */
}

@media (max-width: 1199px) {
	:root {
		--space-page-padding: 20px; /* Page Padding/padding-global mobile */
	}
}
