/* Base, utilities, and global theme overrides. */

/* ==========================================================================
   Reset & Base - Dark Industrial Theme
   ========================================================================== */

:root {
	--industrial-bg: #020617;
	--industrial-panel: #0f172a;
	--industrial-panel-2: #111827;
	--industrial-border: #1f2937;
	--industrial-copy: #e2e8f0;
	--industrial-muted: #94a3b8;
	--industrial-accent: #f59e0b;
	--industrial-accent-soft: rgba(245, 158, 11, 0.12);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	background-color: var(--industrial-bg);
	color: var(--industrial-copy);
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

main {
	display: block;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
	clear: both;
	color: #ffffff;
	font-family: 'Rajdhani', sans-serif;
	font-weight: 700;
	line-height: 1.2;
	margin-top: 0;
}

h1 { font-size: 2.5em; }
h2 { font-size: 2em; }
h3 { font-size: 1.5em; }
h4 { font-size: 1.25em; }

p {
	margin-bottom: 1.5em;
	color: var(--industrial-copy);
}

dfn, cite, em, i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
	border-left: 4px solid #eab308;
	padding-left: 1em;
	color: #9ca3af;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #1f2937;
	border: 1px solid #374151;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
	color: #e5e7eb;
	border-radius: 0.5rem;
}

code, kbd, tt, var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	color: #eab308;
}

abbr, acronym {
	border-bottom: 1px dotted #6b7280;
	cursor: help;
}

mark, ins {
	background: rgba(234, 179, 8, 0.2);
	color: #eab308;
	text-decoration: none;
}

big {
	font-size: 125%;
}

hr {
	background-color: #374151;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

/* ==========================================================================
   Elements
   ========================================================================== */

ul, ol {
	margin: 0 0 1.5em 1.5em;
	padding: 0;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
	color: #ffffff;
}

dd {
	margin: 0 0 1.5em 1.5em;
}

embed, iframe, object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
	border-collapse: collapse;
}

table th,
table td {
	padding: 0.75rem 1rem;
	border: 1px solid #374151;
}

table th {
	background-color: #1f2937;
	color: #eab308;
	font-family: 'Rajdhani', sans-serif;
	font-weight: 600;
	text-align: left;
}

table td {
	color: #d1d5db;
}

table tr:nth-child(even) {
	background-color: rgba(31, 41, 55, 0.5);
}

/* ==========================================================================
   Links
   ========================================================================== */

a {
	color: #eab308;
	text-decoration: none;
	transition: color 0.2s ease;
}

a:visited {
	color: #eab308;
}

a:hover,
a:focus,
a:active {
	color: #facc15;
}

a:focus {
	outline: 2px solid #eab308;
	outline-offset: 2px;
}

a:hover,
a:active {
	outline: 0;
}

/* ==========================================================================
   Forms
   ========================================================================== */

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background-color: #eab308;
	border: none;
	border-radius: 0.375rem;
	color: #111827;
	font-family: 'Rajdhani', sans-serif;
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: 0.025em;
	line-height: 1;
	padding: 0.75em 1.5em;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background-color: #facc15;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	background-color: #ca8a04;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #f3f4f6;
	background-color: #1f2937;
	border: 1px solid #374151;
	border-radius: 0.375rem;
	padding: 0.625rem 0.875rem;
	font-size: 1rem;
	transition: border-color 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #ffffff;
	border-color: #eab308;
	outline: none;
	box-shadow: 0 0 0 2px rgba(234, 179, 8, 0.2);
}

select {
	background-color: #1f2937;
	border: 1px solid #374151;
	color: #f3f4f6;
	border-radius: 0.375rem;
	padding: 0.625rem 0.875rem;
}

textarea {
	width: 100%;
}


/* Post/Page navigation */
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* ==========================================================================
   Posts and Pages
   ========================================================================== */

.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* ==========================================================================
   Comments
   ========================================================================== */

.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* ==========================================================================
   Widgets
   ========================================================================== */

.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* ==========================================================================
   Media
   ========================================================================== */

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

.custom-logo-link {
	display: inline-block;
}

/* Captions */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
	color: #9ca3af;
	font-size: 0.875rem;
}

/* Galleries */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
.gallery-columns-6 { grid-template-columns: repeat(6, 1fr); }
.gallery-columns-7 { grid-template-columns: repeat(7, 1fr); }
.gallery-columns-8 { grid-template-columns: repeat(8, 1fr); }
.gallery-columns-9 { grid-template-columns: repeat(9, 1fr); }

.gallery-caption {
	display: block;
	color: #9ca3af;
}

/* ==========================================================================
   Plugins
   ========================================================================== */

/* Jetpack infinite scroll */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

.infinity-end.neverending .site-footer {
	display: block;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

/* Accessibility - screen reader text */
.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 {
	background-color: #eab308;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #111827;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments */
.alignleft {
	/*rtl:ignore*/
	float: left;
	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	/*rtl:ignore*/
	float: right;
	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* ==========================================================================
   WP Block Editor Overrides for Dark Theme
   ========================================================================== */

.wp-block-button__link {
	background-color: #eab308;
	color: #111827;
	border-radius: 0.375rem;
	font-family: 'Rajdhani', sans-serif;
	font-weight: 700;
}

.wp-block-button__link:hover {
	background-color: #facc15;
	color: #111827;
}

.wp-block-quote {
	border-left-color: #eab308;
	color: #9ca3af;
}

.wp-block-separator {
	border-color: #374151;
}

/* ==========================================================================
   Search Form
   ========================================================================== */

.search-form {
	display: flex;
	align-items: center;
}

.search-form .search-field {
	background-color: #1f2937;
	border: 1px solid #374151;
	color: #f3f4f6;
	padding: 0.5rem 0.75rem;
	border-radius: 0.375rem;
	font-size: 0.875rem;
	transition: border-color 0.2s ease;
}

.search-form .search-field:focus {
	border-color: #eab308;
	outline: none;
}

.search-form .search-submit {
	margin-left: 0.5rem;
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
}

/* ==========================================================================
   Custom Logo
   ========================================================================== */

.custom-logo-link img {
	max-height: 48px;
	width: auto;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.js-loaded .site-main > section {
	animation: fadeInUp 0.6s ease-out;
}

/* ==========================================================================
   Product Cards
   ========================================================================== */


.line-clamp-2,
.line-clamp-3 {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.line-clamp-2 {
	-webkit-line-clamp: 2;
}

.line-clamp-3 {
	-webkit-line-clamp: 3;
}


/* Keep filled amber CTA labels dark across hover/focus/visited states. */
.industrial-site a.bg-amber-400,
.industrial-site a.bg-amber-400:visited,
.industrial-site a.bg-amber-400:hover,
.industrial-site a.bg-amber-400:focus,
.industrial-site a.bg-amber-400:active,
.industrial-site button.bg-amber-400,
.industrial-site button.bg-amber-400:hover,
.industrial-site button.bg-amber-400:focus,
.industrial-site button.bg-amber-400:active {
	color: #020617 !important;
}

.line-clamp-3 {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

/* ==========================================================================
   Minimal Black & White Scheme Overrides
   ========================================================================== */

:root {
	--pg-bg: #ffffff;
	--pg-surface: transparent;
	--pg-text: #111111;
	--pg-text-muted: #444444;
	--pg-text-soft: #777777;
	--pg-line: #eaeaea;
	--pg-line-strong: #d6d6d6;
	--pg-inverse-bg: #0a0a0a;
	--pg-inverse-text: #f5f5f5;
	--industrial-bg: var(--pg-bg);
	--industrial-panel: var(--pg-surface);
	--industrial-panel-2: var(--pg-surface);
	--industrial-border: var(--pg-line);
	--industrial-copy: var(--pg-text);
	--industrial-muted: var(--pg-text-muted);
	--industrial-accent: #111111;
	--industrial-accent-soft: rgba(17, 17, 17, 0.08);
}

body.industrial-site {
	background-color: var(--pg-bg);
	color: var(--pg-text);
}

body.industrial-site #page,
body.industrial-site .site-main {
	background: var(--pg-bg);
}

body.industrial-site h1,
body.industrial-site h2,
body.industrial-site h3,
body.industrial-site h4,
body.industrial-site h5,
body.industrial-site h6,
body.industrial-site dt,
body.industrial-site strong {
	color: var(--pg-text);
}

body.industrial-site p,
body.industrial-site li,
body.industrial-site dd {
	color: var(--pg-text-muted);
}

body.industrial-site a {
	color: var(--pg-text);
	text-decoration-color: var(--pg-line-strong);
}

body.industrial-site a:hover,
body.industrial-site a:focus,
body.industrial-site a:active {
	color: #000000;
}

body.industrial-site a:focus {
	outline-color: rgba(17, 17, 17, 0.25);
}

body.industrial-site button,
body.industrial-site input[type="button"],
body.industrial-site input[type="reset"],
body.industrial-site input[type="submit"] {
	background: var(--pg-text);
	border: 1px solid var(--pg-text);
	color: #ffffff;
	border-radius: 0.375rem;
}

body.industrial-site button:hover,
body.industrial-site input[type="button"]:hover,
body.industrial-site input[type="reset"]:hover,
body.industrial-site input[type="submit"]:hover {
	background: #000000;
	border-color: #000000;
	color: #ffffff;
}

body.industrial-site button:active,
body.industrial-site button:focus,
body.industrial-site input[type="button"]:active,
body.industrial-site input[type="button"]:focus,
body.industrial-site input[type="reset"]:active,
body.industrial-site input[type="reset"]:focus,
body.industrial-site input[type="submit"]:active,
body.industrial-site input[type="submit"]:focus {
	background: #000000;
}

body.industrial-site input[type="text"],
body.industrial-site input[type="email"],
body.industrial-site input[type="url"],
body.industrial-site input[type="password"],
body.industrial-site input[type="search"],
body.industrial-site input[type="number"],
body.industrial-site input[type="tel"],
body.industrial-site input[type="range"],
body.industrial-site input[type="date"],
body.industrial-site input[type="month"],
body.industrial-site input[type="week"],
body.industrial-site input[type="time"],
body.industrial-site input[type="datetime"],
body.industrial-site input[type="datetime-local"],
body.industrial-site input[type="color"],
body.industrial-site textarea,
body.industrial-site select {
	background: #ffffff;
	color: var(--pg-text);
	border-color: var(--pg-line-strong);
}

body.industrial-site input[type="text"]:focus,
body.industrial-site input[type="email"]:focus,
body.industrial-site input[type="url"]:focus,
body.industrial-site input[type="password"]:focus,
body.industrial-site input[type="search"]:focus,
body.industrial-site input[type="number"]:focus,
body.industrial-site input[type="tel"]:focus,
body.industrial-site input[type="range"]:focus,
body.industrial-site input[type="date"]:focus,
body.industrial-site input[type="month"]:focus,
body.industrial-site input[type="week"]:focus,
body.industrial-site input[type="time"]:focus,
body.industrial-site input[type="datetime"]:focus,
body.industrial-site input[type="datetime-local"]:focus,
body.industrial-site input[type="color"]:focus,
body.industrial-site textarea:focus {
	border-color: var(--pg-text);
	box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.08);
	color: var(--pg-text);
}

body.industrial-site table th,
body.industrial-site table td {
	border-color: var(--pg-line);
}

body.industrial-site table th {
	background: #ffffff;
	color: var(--pg-text-soft);
}

body.industrial-site table td {
	color: var(--pg-text-muted);
}

body.industrial-site table tr:nth-child(even) {
	background: #fafafa;
}

body.industrial-site .site-main > section {
	padding-top: clamp(3.5rem, 5.5vw, 6rem);
	padding-bottom: clamp(3.5rem, 5.5vw, 6rem);
}


body.industrial-site .site-main section > .absolute.inset-0 {
	display: none !important;
}

.js-loaded .site-main > section,
body.industrial-site .finder-step--active {
	animation: none !important;
}

body.industrial-site .site-main [class*="bg-slate"],
body.industrial-site .site-main [class*="bg-[linear-gradient"],
body.industrial-site .site-main [class*="bg-[radial-gradient"] {
	background: transparent !important;
}

body.industrial-site .site-main [class*="border-slate"] {
	border-color: var(--pg-line) !important;
}

body.industrial-site .site-main [class*="border-amber"],
body.industrial-site .site-main [class*="border-cyan"] {
	border-color: var(--pg-line-strong) !important;
}

body.industrial-site .site-main [class*="border-dashed"] {
	border-style: solid !important;
}

body.industrial-site .site-main [class*="shadow-"] {
	box-shadow: none !important;
}

body.industrial-site .site-main [class*="rounded-[1"],
body.industrial-site .site-main [class*="rounded-[2"],
body.industrial-site .site-main [class*="rounded-2"],
body.industrial-site .site-main [class*="rounded-3"] {
	border-radius: 0.375rem !important;
}

body.industrial-site .site-main .text-white,
body.industrial-site .site-main .text-slate-100,
body.industrial-site .site-main .text-slate-200 {
	color: var(--pg-text) !important;
}

body.industrial-site .site-main .text-slate-300,
body.industrial-site .site-main .text-slate-400 {
	color: var(--pg-text-muted) !important;
}

body.industrial-site .site-main .text-slate-500,
body.industrial-site .site-main .text-slate-600,
body.industrial-site .site-main .text-slate-700 {
	color: var(--pg-text-soft) !important;
}

body.industrial-site .site-main .text-amber-100,
body.industrial-site .site-main .text-amber-200,
body.industrial-site .site-main .text-amber-300,
body.industrial-site .site-main .text-amber-400,
body.industrial-site .site-main .text-cyan-100,
body.industrial-site .site-main .text-cyan-200,
body.industrial-site .site-main .text-cyan-300,
body.industrial-site .site-main .text-cyan-400 {
	color: var(--pg-text-muted) !important;
}

body.industrial-site .site-main .hover\:-translate-y-1:hover {
	transform: none !important;
}

body.industrial-site .site-main .group:hover [class*="group-hover:scale"] {
	transform: none !important;
}

body.industrial-site a.bg-amber-400,
body.industrial-site a.bg-amber-400:visited,
body.industrial-site a.bg-amber-400:hover,
body.industrial-site a.bg-amber-400:focus,
body.industrial-site a.bg-amber-400:active,
body.industrial-site button.bg-amber-400,
body.industrial-site button.bg-amber-400:hover,
body.industrial-site button.bg-amber-400:focus,
body.industrial-site button.bg-amber-400:active,

body.industrial-site .site-main a.inline-flex[class*="border-slate"],
body.industrial-site .site-main button.inline-flex[class*="border-slate"] {
	background: #ffffff !important;
	border-color: var(--pg-line-strong) !important;
	color: var(--pg-text) !important;
}

body.industrial-site .site-main a.inline-flex[class*="border-slate"]:hover,
body.industrial-site .site-main button.inline-flex[class*="border-slate"]:hover,
body.industrial-site .site-main a.inline-flex[class*="border-slate"]:focus,
body.industrial-site .site-main button.inline-flex[class*="border-slate"]:focus {
	background: #f7f7f7 !important;
	border-color: var(--pg-text) !important;
	color: #000000 !important;
}

@media (max-width: 767px) {
	body.industrial-site .site-main > section {
		padding-top: clamp(2.5rem, 8vw, 4rem);
		padding-bottom: clamp(2.5rem, 8vw, 4rem);
	}
}

/* ==========================================================================
   Minimal Black & White Scheme - Fine Tuning Phase 2
   ========================================================================== */

body.industrial-site {
	letter-spacing: 0;
}

body.industrial-site .site-main {
	line-height: 1.72;
}

body.industrial-site .site-main > section + section {
	border-top: 1px solid var(--pg-line);
}

body.industrial-site .site-main p {
	max-width: 72ch;
}

body.industrial-site .site-main .max-w-4xl p,
body.industrial-site .site-main .max-w-5xl p {
	max-width: 68ch;
}

body.industrial-site .site-main [class*="rounded-xl"],
body.industrial-site .site-main [class*="rounded-2xl"] {
	border-radius: 0.25rem !important;
}

body.industrial-site .site-main [class*="tracking-[0.3"],
body.industrial-site .site-main [class*="tracking-[0.34"],
body.industrial-site .site-main [class*="tracking-[0.24"] {
	letter-spacing: 0.16em !important;
}

body.industrial-site .site-main [class*="tracking-[0.12"],
body.industrial-site .site-main [class*="tracking-[0.14"],
body.industrial-site .site-main [class*="tracking-[0.18"] {
	letter-spacing: 0.08em !important;
}

body.industrial-site .site-main a.inline-flex,
body.industrial-site .site-main button.inline-flex,
body.industrial-site .woocommerce .button,
body.industrial-site .woocommerce button.button,
body.industrial-site .woocommerce a.button {
	min-height: 44px;
}


