/*
Theme Name:        MarketSwift
Theme URI:         https://bitbanquet.com/marketswift
Author:            BitBanquet
Author URI:        https://bitbanquet.com
Description:       Ultra Fast Grocery & Supermarket WooCommerce Theme. A performance-first, mobile-first, accessibility-ready theme engineered for supermarkets, organic stores, meat & seafood shops, bakeries and pharmacies. Built with a modular OOP framework, conditional asset loading and Core Web Vitals in mind.
Version:           1.0.0
Requires at least: 6.4
Tested up to:      6.7
Requires PHP:      8.0
License:           GNU General Public License v2 or later
License URI:       http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       marketswift
Domain Path:       /languages
Tags:              e-commerce, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, rtl-language-support, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, right-sidebar, left-sidebar, two-columns
WC requires at least: 8.0
WC tested up to:   9.5

MarketSwift is distributed under the terms of the GNU GPL v2 or later.

This theme bundles no third-party code in this file. The full design system is
compiled from assets/src/scss via Vite and enqueued from assets/dist. The rules
below are an intentionally small base layer so the theme remains usable and
accessible even before the production bundle has been built.
*/

/* ==========================================================================
   Base layer (pre-build graceful degradation only)
   ========================================================================== */

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

:root {
	--ms-container: 1280px;
	--ms-gutter: clamp(1rem, 3vw, 2rem);
	--ms-font-base: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
	margin: 0;
	font-family: var(--ms-font-base);
	line-height: 1.6;
}

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

a {
	color: inherit;
}

.container {
	width: 100%;
	max-width: var(--ms-container);
	margin-inline: auto;
	padding-inline: var(--ms-gutter);
}

/* Accessibility: visually hidden text that stays available to screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	word-wrap: normal !important;
}

/* Accessibility: keyboard skip link becomes visible on focus. */
.skip-link:focus {
	background-color: #fff;
	clip: auto !important;
	clip-path: none;
	color: #111;
	display: block;
	font-weight: 600;
	height: auto;
	left: 8px;
	padding: 12px 20px;
	top: 8px;
	width: auto;
	z-index: 100000;
	position: fixed;
}
