/*
Theme Name: Teknodayim
Theme URI: https://www.teknodayim.com/
Author: Teknodayim
Author URI: https://www.teknodayim.com/
Description: Standalone Teknodayim B2B storefront theme. Replaces the heavily modified Envo Shop with a clean, dependency-free theme while keeping the current Teknodayim look (compact sticky header, orange/black accents, rounded cards) and the DOM wrappers used by the existing td-* plugins. No parent theme, no Bootstrap, no Envo code.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: teknodayim
Tags: e-commerce, custom-logo, custom-menu, featured-images, threaded-comments
*/

/* --------------------------------------------------------------------------
 * 1. Design tokens
 * Values taken from the current production header/footer/plugins so every
 * component keeps the same palette.
 * ----------------------------------------------------------------------- */
:root {
	--td-orange: #e85002;
	--td-orange-dark: #c64200;
	--td-orange-soft: #fff5ef;
	--td-orange-tint: #fff0e6;
	--td-dark: #111827;
	--td-text: #333333;
	--td-muted: #667085;
	--td-line: rgba(17, 24, 39, .08);
	--td-line-warm: #f0dfd3;
	--td-cream: #fff7ef;
	--td-cream-light: #fffdfb;
	--td-radius-sm: 12px;
	--td-radius: 18px;
	--td-radius-lg: 22px;
	--td-shadow-card: 0 10px 26px rgba(0, 0, 0, .04);
	--td-container: 1170px;
	--td-gutter: 15px;
	/* Updated at runtime by assets/js/main.js (real header height). */
	--td-header-h: 74px;
	--td-adminbar-h: 0px;
}

/* --------------------------------------------------------------------------
 * 2. Base reset
 * Envo Shop's own style.css was empty, so the live site's base typography
 * came from Bootstrap 3. These rules reproduce that baseline (font stack,
 * 14px / 1.42857 text, heading scale, link colour) without loading
 * Bootstrap, so page content and plugin output keep the same metrics.
 * ----------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
	margin: 0;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.42857143;
	color: var(--td-text);
	background-color: #fff;
}

article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary {
	display: block;
}

a {
	color: #337ab7;
	text-decoration: none;
	background-color: transparent;
}

a:hover,
a:focus {
	color: #23527c;
	text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--td-orange);
	outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
	font-family: inherit;
	font-weight: 500;
	line-height: 1.1;
	color: inherit;
}

h1, h2, h3 { margin-top: 20px; margin-bottom: 10px; }
h4, h5, h6 { margin-top: 10px; margin-bottom: 10px; }
h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }
h5 { font-size: 14px; }
h6 { font-size: 12px; }

p {
	margin: 0 0 10px;
}

b,
strong {
	font-weight: 700;
}

small {
	font-size: 85%;
}

img {
	border: 0;
	vertical-align: middle;
	max-width: 100%;
}

/* Zero specificity so any component/plugin height rule still wins. */
:where(img[width][height]) {
	height: auto;
}

svg:not(:root) {
	overflow: hidden;
}

hr {
	height: 0;
	margin-top: 20px;
	margin-bottom: 20px;
	border: 0;
	border-top: 1px solid #eee;
}

ul,
ol {
	margin-top: 0;
	margin-bottom: 10px;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
	background-color: transparent;
}

th {
	text-align: left;
}

label {
	display: inline-block;
	max-width: 100%;
	margin-bottom: 5px;
	font-weight: 700;
}

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

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

input[type="search"] {
	-webkit-appearance: none;
	box-sizing: border-box;
}

textarea {
	overflow: auto;
}

fieldset {
	min-width: 0;
	padding: 0;
	margin: 0;
	border: 0;
}

/* Accessibility helpers (WordPress standard). */
.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: #fff;
	border-radius: 10px;
	box-shadow: 0 0 0 2px var(--td-orange);
	clip: auto !important;
	clip-path: none;
	color: var(--td-dark);
	display: block;
	font-size: 14px;
	font-weight: 700;
	height: auto;
	left: 8px;
	line-height: normal;
	padding: 12px 18px;
	text-decoration: none;
	top: 8px;
	width: auto;
	z-index: 100000;
}
