/*
Theme Name:  Kejamas Theme
Theme URI:   https://kejahmas.com
Description: Headless-ready theme for Kejahmas fitness apparel. Provides a minimal shell that loads the React front-end built by Vite, while exposing full WooCommerce and REST API support.
Author:      Kejahmas
Author URI:  https://kejahmas.com
Version:     1.0.0
License:     GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kejamas-theme
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
Tags: e-commerce, headless, woocommerce, fitness, one-column

*/

/* === Reset & Base Typography === */

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

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

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.6;
	color: #1a1a1a;
	background-color: #ffffff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

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

h1, h2, h3, h4, h5, h6 {
	font-weight: 600;
	line-height: 1.25;
}

/* Visually hidden – screen reader only */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important;
}

/* Hide theme mode toggle from header */
button[aria-label="Toggle theme"],
.theme-toggle,
#theme-toggle,
.dark-mode-toggle,
button[aria-label*="theme"],
button[aria-label*="dark"] {
	display: none !important;
}

/* Disable dark mode styling overrides */
html.dark,
body.dark,
[data-theme="dark"],
.dark {
	--bg: #ffffff !important;
	--surface: #ffffff !important;
	--card: #ffffff !important;
	--border: #e2e8f0 !important;
	--text: #1a1a1a !important;
	--text-muted: #718096 !important;
	--text-secondary: #4a5568 !important;
	--glass-bg: rgba(255, 255, 255, 0.8) !important;
	--glass-border: rgba(226, 232, 240, 0.8) !important;
}

/* About Us page fallback template */
.kejamas-about-template {
	max-width: 1180px;
	margin: 0 auto;
	padding: 96px 24px;
}

.kejamas-about-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
	gap: 48px;
	align-items: center;
}

.kejamas-about-copy {
	max-width: 680px;
}

.kejamas-about-kicker {
	margin: 0 0 12px;
	color: #ff5f1f;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.kejamas-about-hero h1,
.kejamas-about-info h2 {
	margin: 0 0 20px;
	font-size: clamp(2.5rem, 5vw, 4.75rem);
	line-height: 0.95;
	text-transform: uppercase;
}

.kejamas-about-hero p,
.kejamas-about-info p {
	color: #4a5568;
	font-size: 1.05rem;
	line-height: 1.75;
}

.kejamas-about-hero img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 12px;
	border: 1px solid rgba(26, 26, 26, 0.12);
}

.kejamas-about-info {
	margin-top: 72px;
	padding-top: 40px;
	border-top: 1px solid rgba(26, 26, 26, 0.12);
	max-width: 760px;
}

@media (max-width: 820px) {
	.kejamas-about-template {
		padding: 64px 18px;
	}

	.kejamas-about-hero {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}
