/*
Theme Name: Vertex - MPW
Theme URI: https://example.com/vertex
Author: Tu Nombre
Author URI: https://example.com
Description: Versión base de Vertex sin tipografías personalizadas, con fondo #0E1214. Estructura, SEO, widgets y compatibilidad con Elementor y WooCommerce idénticas a Vertex.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: vertex
Tags: minimal, elementor, woocommerce, blank
*/

/* =========================================================
   RESET BÁSICO
   ========================================================= */
*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	padding: 0;
	background: #07080A!important;
}

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

a {
	color: inherit;
	text-decoration: none;
}

ul, ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* =========================================================
   ESTRUCTURA MÍNIMA
   ========================================================= */
.site {
	width: 100%;
	
}

.site-header,
.site-footer {
	padding: 24px 32px;
}

.site-content {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 32px;
}

/* Contenedor para plantillas con sidebar (single, archive, tienda):
   pone el contenido y el widget-area lado a lado. */
.content-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 32px;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 48px;
}

.content-wrapper .site-content {
	max-width: none;
	margin: 0;
	padding: 0;
	flex: 1 1 0%;
	min-width: 280px;
}

.content-wrapper .widget-area {
	flex: 0 0 300px;
	max-width: 300px;
}

@media (max-width: 782px) {
	.content-wrapper .widget-area {
		flex-basis: 100%;
		max-width: none;
	}
}

.site-branding a {
	font-size: 1.4rem;
	font-weight: 700;
}

.main-navigation ul {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}

/* =========================================================
   WIDGETS Y SIDEBAR
   ========================================================= */
.widget-area {
	width: 100%;
}

.widget {
	margin-bottom: 32px;
}

.widget-title {
	font-size: 1.1rem;
	margin-bottom: 0.8em;
}

.widget ul li {
	margin-bottom: 8px;
}

/* Columnas de widgets en el footer */
.footer-widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 32px;
	padding-bottom: 32px;
	margin-bottom: 24px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-widgets-column .widget {
	margin-bottom: 24px;
}

.footer-widgets-column .widget-title {
	font-size: 1rem;
}

/* =========================================================
   COMPATIBILIDAD CON ELEMENTOR
   ========================================================= */
.elementor-page .site-content {
	max-width: none;
	padding: 0;
	margin: 0;
}

/* =========================================================
   COMPATIBILIDAD CON WOOCOMMERCE
   ========================================================= */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce #respond input#submit,
.woocommerce input.button {
	border-radius: 2px;
	padding: 12px 24px;
	border: none;
	transition: opacity 0.2s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce input.button:hover {
	opacity: 0.85;
}
