/*
Theme Name:  OW Base
Theme URI:   https://operateworldwide.com/
Author:      Operate Worldwide
Author URI:  https://operateworldwide.com/
Description: A deliberately minimal classic WooCommerce theme. It supplies the document shell, WooCommerce support and sane defaults, and nothing else — the site's chrome, components and design system are expected to come from must-use plugins, which is what makes a site built on it portable between themes and painless to move off a page builder.
Version:     0.1.0
Requires at least: 6.0
Tested up to:      6.7
Requires PHP:      7.4
License:     GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ow-base
Tags:        e-commerce, custom-menu, translation-ready
*/

/* ---------------------------------------------------------------------------
 * THERE IS ALMOST NOTHING HERE ON PURPOSE.
 *
 * This theme is a HOST, not a design. Its job is to open a valid document, fire
 * the hooks that mu-plugins render into, hand WooCommerce its templates, and get
 * out of the way. Every visual decision belongs in the site's own design system
 * so that swapping themes never means re-authoring the look.
 *
 * What follows is only the handful of defaults a browser gets wrong often enough
 * to be worth correcting everywhere, and a screen-reader utility. If you find
 * yourself adding brand colours or component styles below this line, they belong
 * in the design system instead.
 * ------------------------------------------------------------------------- */

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

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

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	line-height: 1.6;
}

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

/* Inputs do not inherit type by default, which is almost never what you want. */
input,
button,
textarea,
select { font: inherit; color: inherit; }

a { color: inherit; }

/* Long words and URLs should wrap rather than force a horizontal scrollbar. */
h1, h2, h3, h4, h5, h6, p, li { overflow-wrap: break-word; }

/* Visible only to assistive technology, until focused. */
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
	position: static !important;
	width: auto; height: auto;
	margin: 0; overflow: visible; clip: auto;
	white-space: normal;
}

/* A skip link that is genuinely reachable. */
.ow-skip:focus {
	position: fixed; top: 8px; left: 8px; z-index: 100000;
	padding: 10px 16px; background: #111; color: #fff;
	text-decoration: none; border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto !important; }
}
