/*
Theme Name: Store Core Theme
Theme URI: https://example.com/store-core-theme
Author: Store Core
Author URI: https://example.com
Description: Tema base ultra leve para WooCommerce, criado para sites montados com MU-plugins próprios. Sem dependência de builders visuais.
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: store-core-theme
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--sct-text: #333333;
	--sct-accent: #352542;
	--sct-muted: #6f6675;
	--sct-border: rgba(53, 37, 66, .14);
	--sct-soft: #FBF8F5;
	--sct-container: 1200px;
	--sct-gutter: 32px;
}

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

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

body {
	margin: 0;
	padding: 0;
	background: #ffffff;
	color: var(--sct-text);
	font-family: "Montserrat", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

img {
	height: auto;
	border: 0;
}

a {
	color: var(--sct-accent);
	text-decoration: none;
}

a:hover,
a:focus {
	color: var(--sct-accent);
	text-decoration: underline;
}

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

button {
	cursor: pointer;
}

.sct-page {
	width: 100%;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: #ffffff;
}

.sct-main {
	width: 100%;
	flex: 1 0 auto;
	margin: 0;
	padding: 0;
}

/*
 * O tema não define espaçamento vertical padrão para páginas montadas por MU-plugins.
 * Espaçamentos de Home, Conta, Contato, Produto, Checkout etc. devem ficar nos componentes.
 */
.sct-content {
	width: min(var(--sct-container), calc(100vw - var(--sct-gutter)));
	max-width: 100%;
	margin: 0 auto;
	padding: 0;
}

.sct-front-page .sct-content {
	width: 100%;
	max-width: none;
	padding: 0;
}

.sct-content--standard {
	padding: 32px 0 72px;
}

/*
 * Páginas controladas por MU-plugins.
 * Os componentes próprios já controlam seus espaçamentos internos, então o tema
 * não deve adicionar padding superior/inferior em páginas institucionais, conta,
 * contato, wishlist, login ou outras páginas montadas por shortcode/MU-plugin.
 */
.sct-content--page {
	padding-top: 0;
	padding-bottom: 0;
}

.sct-page-content {
	margin: 0;
}

.sct-page-content > :first-child {
	margin-top: 0;
}

.sct-page-content > :last-child {
	margin-bottom: 0;
}

.sct-woocommerce-wrap {
	width: min(var(--sct-container), calc(100vw - var(--sct-gutter)));
	max-width: 100%;
	margin: 0 auto;
	padding: 32px 0 72px;
}

.sct-post-title,
.sct-archive-title,
.sct-search-title,
.sct-error-title {
	margin: 0 0 20px;
	color: var(--sct-accent);
	font-family: "Playfair Display", "Playfair", Georgia, serif;
	font-size: clamp(32px, 4vw, 54px);
	font-weight: 400;
	line-height: 1.12;
}

.sct-post-meta {
	margin: -8px 0 28px;
	color: var(--sct-muted);
	font-size: 13px;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.sct-entry + .sct-entry {
	margin-top: 36px;
	padding-top: 36px;
	border-top: 1px solid var(--sct-border);
}

.sct-entry-title {
	margin: 0 0 10px;
	font-family: "Playfair Display", "Playfair", Georgia, serif;
	font-size: 30px;
	font-weight: 400;
	line-height: 1.2;
}

.sct-entry-title a {
	color: var(--sct-accent);
}

.sct-pagination {
	margin-top: 36px;
}

.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 {
	z-index: 100000;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	clip: auto;
	display: block;
	padding: 12px 16px;
	background: #ffffff;
	color: var(--sct-accent);
	box-shadow: 0 0 0 2px var(--sct-accent);
	text-decoration: none;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
	margin-right: 1.5em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
.gallery-caption {
	color: var(--sct-muted);
	font-size: 13px;
}

@media (max-width: 767px) {
	:root {
		--sct-gutter: 24px;
	}

	.sct-content {
		padding-top: 0;
		padding-bottom: 0;
	}

	.sct-content--standard,
	.sct-woocommerce-wrap {
		padding-top: 24px;
		padding-bottom: 56px;
	}

	.sct-front-page .sct-content,
	.sct-content--page {
		padding-top: 0;
		padding-bottom: 0;
	}
}
