/*
Theme Name: Innovator TEC
Theme URI: https://innovatortec.com
Author: Innovator TEC
Description: Custom responsive WooCommerce theme for Innovator TEC — weighing scale sales, calibration and AMC services.
Version: 1.9.3
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: innovatortec
*/

/* -------------------------------------------------------------------------
   1. RESET
------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, ul, ol {
	margin: 0;
}

ul[class], ol[class] {
	list-style: none;
	padding: 0;
}

img, picture, svg, video {
	display: block;
	max-width: 100%;
	height: auto;
}

input, button, textarea, select {
	font: inherit;
	color: inherit;
}

a {
	text-decoration: none;
	color: inherit;
}

button {
	cursor: pointer;
	background: none;
	border: none;
}

table {
	border-collapse: collapse;
	width: 100%;
}

/* -------------------------------------------------------------------------
   2. DESIGN TOKENS
------------------------------------------------------------------------- */
:root {
	--color-primary: #0a2540;
	--color-primary-light: #123a63;
	--color-primary-dark: #061a2e;
	--color-accent: #f5a623;
	--color-accent-dark: #d98c0f;
	--color-bg: #ffffff;
	--color-bg-alt: #f6f8fb;
	--color-text: #1c2b39;
	--color-text-muted: #5b6b7c;
	--color-border: #e2e8f0;
	--color-success: #1f9d55;

	--radius-sm: 6px;
	--radius: 10px;
	--radius-lg: 18px;

	--shadow-sm: 0 2px 8px rgba(10, 37, 64, .06);
	--shadow: 0 10px 30px rgba(10, 37, 64, .08);
	--shadow-lg: 0 20px 50px rgba(10, 37, 64, .14);

	--container-width: 1240px;
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--header-height: 76px;
}

/* -------------------------------------------------------------------------
   3. BASE TYPOGRAPHY
------------------------------------------------------------------------- */
body {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--color-text);
	background: var(--color-bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	line-height: 1.2;
	color: var(--color-primary);
}

h1 { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 1.65rem; font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }
p { margin-bottom: 1em; }

@media (min-width: 768px) {
	h1 { font-size: 2.75rem; }
	h2 { font-size: 2.1rem; }
	h3 { font-size: 1.5rem; }
}

@media (min-width: 1024px) {
	h1 { font-size: 3.25rem; }
	h2 { font-size: 2.4rem; }
}

a {
	transition: color .2s ease;
}

::selection {
	background: var(--color-accent);
	color: var(--color-primary-dark);
}

/* -------------------------------------------------------------------------
   4. LAYOUT UTILITIES
------------------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: var(--container-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: 16px;
	padding-right: 16px;
}

@media (min-width: 768px) {
	.container {
		padding-left: 24px;
		padding-right: 24px;
	}
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: -999px;
	left: 0;
	background: var(--color-primary);
	color: #fff;
	padding: 12px 20px;
	z-index: 10000;
	border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
	top: 0;
}

.section {
	padding: 48px 0;
}

@media (min-width: 768px) {
	.section {
		padding: 64px 0;
	}
}

@media (min-width: 1024px) {
	.section {
		padding: 88px 0;
	}
}

.section--alt {
	background: var(--color-bg-alt);
}

.section-title {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 40px;
}

.section-title .eyebrow {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-size: .8rem;
	font-weight: 700;
	color: var(--color-accent-dark);
	margin-bottom: 10px;
}

.section-title p {
	color: var(--color-text-muted);
	margin-top: 12px;
	margin-bottom: 0;
}

.section-title--left {
	text-align: left;
	margin-left: 0;
}

/* -------------------------------------------------------------------------
   5. BUTTONS
------------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 12px 24px;
	border-radius: var(--radius-sm);
	font-weight: 600;
	font-size: .95rem;
	line-height: 1.2;
	border: 2px solid transparent;
	transition: all .2s ease;
	white-space: nowrap;
}

.btn-primary {
	background: var(--color-accent);
	color: var(--color-primary-dark);
	border-color: var(--color-accent);
}

.btn-primary:hover,
.btn-primary:focus-visible {
	background: var(--color-accent-dark);
	border-color: var(--color-accent-dark);
	color: #fff;
}

.btn-outline {
	background: transparent;
	color: var(--color-primary);
	border-color: var(--color-primary);
}

.btn-outline:hover,
.btn-outline:focus-visible {
	background: var(--color-primary);
	color: #fff;
}

.btn-light {
	background: #fff;
	color: var(--color-primary);
	border-color: #fff;
}

.btn-light:hover,
.btn-light:focus-visible {
	background: transparent;
	color: #fff;
}

.btn-block {
	width: 100%;
}

.btn-sm {
	min-height: 36px;
	padding: 8px 16px;
	font-size: .85rem;
}

/* -------------------------------------------------------------------------
   6. BADGES / GRID HELPERS
------------------------------------------------------------------------- */
.badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(245, 166, 35, .12);
	color: var(--color-accent-dark);
	font-size: .78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.badge--muted {
	background: var(--color-bg-alt);
	color: var(--color-text-muted);
}

.grid {
	display: grid;
	gap: 24px;
}

.grid-2 { grid-template-columns: repeat(1, 1fr); }
.grid-3 { grid-template-columns: repeat(1, 1fr); }
.grid-4 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 768px) {
	.grid-2 { grid-template-columns: repeat(2, 1fr); }
	.grid-3 { grid-template-columns: repeat(3, 1fr); }
	.grid-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
	.grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }

/* WP core alignment helpers */
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100%; }
.aligncenter { margin-left: auto; margin-right: auto; display: block; }
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }

/* WordPress core accessibility class (used by WooCommerce, forms and plugins). */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	clip: auto !important;
	clip-path: none;
	height: auto;
	width: auto;
	padding: 12px 20px;
	z-index: 100000;
	background: var(--color-bg);
	color: var(--color-primary);
}
