/*
Theme Name: MercadoPro — Tema para Supermercados
Author: MercadoPro
Description: Tema independente para operação de supermercados, com painel nativo, módulos internos e marca branca.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.2
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mercadopro-theme
Tags: custom-logo, custom-menu, featured-images, e-commerce
*/

:root {
	--mp-surface: #ffffff;
	--mp-ink: #172033;
	--mp-muted: #64748b;
	--mp-border: #e2e8f0;
	--mp-primary: #176b4d;
	--mp-primary-rgb: 23, 107, 77;
	--mp-accent: #f5a524;
	--mp-canvas: #f5f7fa;
	--mp-radius: 14px;
	--mp-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--mp-canvas);
	color: var(--mp-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.55;
}

body.mercadopro-dark {
	--mp-surface: #172033;
	--mp-ink: #edf2f7;
	--mp-muted: #a9b6c8;
	--mp-border: #29364a;
	--mp-canvas: #0f1725;
	--mp-shadow: 0 10px 35px rgba(0, 0, 0, 0.22);
}

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

a {
	color: var(--mp-primary);
}

a:hover {
	color: var(--mp-primary);
}

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

button,
[type="button"],
[type="submit"] {
	cursor: pointer;
}

.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 {
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 10px 14px;
	margin: 0;
	overflow: visible;
	clip: auto;
	white-space: normal;
	background: var(--mp-surface);
	color: var(--mp-ink);
	border-radius: 8px;
	box-shadow: var(--mp-shadow);
}

.alignwide {
	max-width: 1280px;
	margin-right: auto;
	margin-left: auto;
}

.alignfull {
	width: 100%;
	max-width: none;
}

.wp-block-button__link,
.button,
.mp-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding: 10px 16px;
	border: 1px solid var(--mp-primary);
	border-radius: 10px;
	background: var(--mp-primary);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.wp-block-button__link:hover,
.button:hover,
.mp-button:hover {
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 8px 16px rgba(var(--mp-primary-rgb), 0.2);
}

.mp-button--quiet {
	border-color: var(--mp-border);
	background: transparent;
	color: var(--mp-ink);
}

.mp-button--quiet:hover {
	background: rgba(var(--mp-primary-rgb), 0.08);
	color: var(--mp-primary);
	box-shadow: none;
}

.wp-site-blocks,
.site {
	min-height: 100vh;
}
