/*
Theme Name: Safety Garage
Theme URI: https://github.com/safety-garage/safety-garage-theme
Author: Safety Garage
Author URI: https://safety-garage.local
Description: Tema a medida para Safety Garage. Preparado para Advanced Custom Fields (ACF), sin page builders. 100% editable y mantenible.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: safety-garage
*/

/* Reset y estilos base */
*, *::before, *::after {
	box-sizing: border-box;
}

html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	overflow-x: hidden;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, sans-serif;
	line-height: 1.6;
	color: #333;
}

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

.site-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}

/* WooCommerce - sin restricciones de contenedor */
.woocommerce .site-container,
.woocommerce-page .site-container {
	max-width: 100%;
	padding: 0;
}

.site-main {
	min-height: 50vh;
}

/* En la página de inicio, el hero va sin padding */
.home .site-main,
.front-page .site-main {
	padding: 0;
}

/* En otras páginas, padding normal */
.page:not(.home):not(.woocommerce) .site-main,
.single:not(.single-product) .site-main,
.archive:not(.woocommerce) .site-main {
	padding: 2rem 0;
}

/* WooCommerce sin padding - el hero va pegado al header */
.woocommerce .site-main,
.woocommerce-page .site-main {
	padding: 0;
	max-width: 100%;
	width: 100%;
}

/* Contenedor de WooCommerce full width */
.woocommerce #content,
.woocommerce-page #content {
	max-width: 100%;
	width: 100%;
}
