/*
Theme Name: BPFancy Store
Theme URI: https://example.com
Author: BPFancy
Author URI: https://example.com
Description: Tema base minimalista para BPFancy Store.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bpfancy-store
Tags: custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Estilos globales básicos — amplía en assets/css/main.css */
:root {
	--color-bg: #ffffff;
	--color-text: #1a1a1a;
	--color-accent: #2563eb;
	--font-sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--color-text);
	background: var(--color-bg);
}

a {
	color: var(--color-accent);
	text-decoration-thickness: 1px;
}

a:hover {
	text-decoration: underline;
}

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

.site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-main {
	flex: 1;
	width: min(100% - 2rem, 72rem);
	margin-inline: auto;
	padding-block: 2rem;
}

/* Cabecera fija LUMIÈRE: espacio bajo la barra en páginas con .site-main estándar */
body.site--lumiere .site-main:not(.site-main--full) {
	padding-top: 6rem;
	width: min(100% - 2rem, 72rem);
}

body.site--lumiere .site-main--full:not(.home-landing) {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

/* .home-landing: padding-top del hero lo define el CSS en línea (altura navbar) */
body.site--lumiere .site-main--full.home-landing {
	width: 100%;
	max-width: none;
	margin: 0;
}

body.site--lumiere .site-header {
	border-block: none;
}

body.site--lumiere .site-footer {
	border-block: none;
}

.site-title {
	margin: 0;
	font-size: 1.25rem;
}

.site-title a {
	color: inherit;
	text-decoration: none;
}

.entry + .entry {
	margin-top: 2.5rem;
}

.entry-title {
	margin: 0 0 0.5rem;
	font-size: 1.5rem;
}

.entry-meta {
	font-size: 0.875rem;
	color: #6b7280;
	margin-bottom: 1rem;
}

.alignwide {
	max-width: 100%;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	word-wrap: normal !important;
}
