/*
Theme Name: OT Framework
Theme URI:
Author: OT Demo Team
Author URI:
Description: Block theme skeleton for an outdoor tactical B2B storefront. Colour, type, spacing and layout live in theme.json so every value stays editable in the Site Editor; this file only carries the theme header and a handful of structural defaults.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI:
Text Domain: ot-fse
Tags: block-patterns, block-styles, full-site-editing, wide-blocks, translation-ready
*/

/* ---------------------------------------------------------------------------
   1. Structural defaults only.
   Brand values (colour, type scale, spacing, radius, shadow) are declared in
   theme.json and exposed as custom properties. Do not hard-code them here.
   --------------------------------------------------------------------------- */

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

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

body {
	margin: 0;
	/* Fallbacks only; theme.json styles override these. */
	background: #f7f5f0;
	color: #14181c;
}

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

/* Full-width alignment and root padding are handled by WordPress through
   theme.json `useRootPaddingAwareAlignments`; no negative-margin hacks here. */

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid #b5482e;
	outline-offset: 2px;
}

.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;
}

/* Details blocks: shared affordance, values come from theme.json. */
.wp-block-details > summary {
	cursor: pointer;
	font-weight: 600;
	list-style: none;
}

.wp-block-details > summary::-webkit-details-marker {
	display: none;
}

.wp-block-details > summary::after {
	content: "+";
	float: right;
	font-weight: 700;
}

.wp-block-details[open] > summary::after {
	content: "\2212";
}
