/*
Theme Name: Commerce Storefront
Author: Commerce Platform
Description: Reusable hybrid WooCommerce storefront base theme.
Version: 0.16.46
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: commerce-storefront
*/

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

body {
	margin: 0;
	color: var(--commerce-color-text);
	background: var(--commerce-color-background);
	font-family: var(--commerce-font-body);
	font-weight: var(--commerce-font-weight-body);
	line-height: var(--commerce-line-height-body);
}

a {
	color: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

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

button,
input,
select,
textarea {
	font: inherit;
}

.screen-reader-text {
	position: absolute;
	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: fixed;
	top: 1rem;
	left: 1rem;
	z-index: var(--commerce-layer-skip-link);
	width: auto;
	height: auto;
	padding: var(--_commerce-space-sm) var(--_commerce-space-md);
	clip: auto;
	background: var(--commerce-color-background);
}

.site-main {
	width: min(calc(100% - (2 * var(--commerce-page-gutter))), var(--commerce-container-wide));
	margin-inline: auto;
	padding-block: var(--commerce-space-section-compact) var(--commerce-space-section);
}

html:has(body.commerce-overlay-open),
body.commerce-overlay-open {
	overflow: hidden;
	overscroll-behavior: none;
	padding-inline-end: var(--scrollbar-width, 0px);
}
