/*!
Theme Name: Bersoft Theme
Theme URI: https://bersoft.com
Author: Bersoft
Author URI: https://bersoft.com
Description: Tema base modular, ligero y optimizado para WordPress y WooCommerce. Diseñado para Gutenberg y sin constructores visuales pesados.
Version: 0.8.3
Requires at least: 6.4
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bersoft-theme
Tags: custom-header, custom-menu, featured-images, wide-blocks, e-commerce
*/

/* ==========================================================================
   Bersoft Theme — Base CSS Reset & Foundation (Paso 4.4)
   ========================================================================== */

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

/* Base Body defaults */
body {
	margin: 0;
	padding: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	background-color: var(--bs-color-background, #ffffff);
	color: var(--bs-color-text, #4b5563);
	font-family: var(--bs-font-body, system-ui, sans-serif);
	font-size: var(--bs-body-size, 16px);
	line-height: var(--bs-body-line-height, 1.6);
}

/* Accessible focus outline */
:focus-visible {
	outline: 2px solid var(--bs-color-primary, #0f4c5c);
	outline-offset: 2px;
}

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

.screen-reader-text:focus {
	background-color: var(--bs-color-background, #ffffff);
	border-radius: var(--bs-radius-sm, 6px);
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: var(--bs-color-primary, #0f4c5c);
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}
