/**
Theme Name: Mores Activo
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mores-activo
Template: astra
*/

/* ==========================================================================
   Tipografía — Bebas Neue en titulares
   ========================================================================== */
h1, h2, h3,
.site-title,
.product_title,
.entry-title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: "Bebas Neue", Impact, "Arial Narrow Bold", sans-serif;
	font-weight: 400;
	letter-spacing: 0.02em;
}

/* ==========================================================================
   Header custom — fondo rojo, logo blanco, iconos negros
   ========================================================================== */
.moresactivo-header {
	background: transparent;
	color: #000;
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	padding: 14px 16px 0;
	pointer-events: none;
}
.moresactivo-header__inner {
	max-width: 1600px;
	margin: 0 auto;
	padding: 10px 24px;
	min-height: 56px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	background: rgba(255, 255, 255, 0.55);
	backdrop-filter: blur(14px) saturate(150%);
	-webkit-backdrop-filter: blur(14px) saturate(150%);
	border-radius: 999px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08), 0 1px 0 rgba(0, 0, 0, 0.04);
	pointer-events: auto;
	position: relative;
}
.moresactivo-header__center {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	pointer-events: none;
}
.moresactivo-header__center-svg {
	height: 38px;
	width: auto;
	display: block;
}
.moresactivo-header__button {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	background: #E5342B;
	color: #fff;
	font-family: "Bebas Neue", Impact, sans-serif;
	font-size: 15px;
	letter-spacing: 2px;
	line-height: 14px;
	text-decoration: none;
	border-radius: 999px;
	transition: background .15s ease, transform .15s ease;
	white-space: nowrap;
}
.moresactivo-header__button:hover,
.moresactivo-header__button:focus {
	background: #C72A22;
	color: #fff;
	transform: translateY(-1px);
}
.moresactivo-header__logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	color: #fff;
}
.moresactivo-header__logo img {
	max-height: 48px;
	width: auto;
	display: block;
	filter: brightness(0) invert(1);
}
.moresactivo-header__logo-svg {
	height: 32px;
	width: auto;
	display: block;
}
.moresactivo-header__logo-svg path {
	fill: #000;
}
.moresactivo-header__title {
	font-family: "Bebas Neue", Impact, sans-serif;
	font-size: 32px;
	color: #fff;
	letter-spacing: 0.04em;
	line-height: 1;
}
.moresactivo-header__actions {
	display: flex;
	align-items: center;
	gap: 14px;
}
.moresactivo-header__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #000;
	text-decoration: none;
	position: relative;
	padding: 6px;
	border-radius: 999px;
	transition: opacity .15s ease;
}
.moresactivo-header__action:hover,
.moresactivo-header__action:focus {
	color: #000;
	opacity: .7;
}
.moresactivo-header__cart-count {
	position: absolute;
	top: -4px;
	right: -6px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	background: #fff;
	color: #E5342B;
	font-size: 11px;
	font-weight: 700;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.04);
}
.moresactivo-header__cart-count[data-count="0"] {
	display: none;
}

@media (max-width: 900px) {
	.moresactivo-header__center { display: none; }
	.moresactivo-header__button { padding: 6px 12px; font-size: 13px; }
}

@media (max-width: 640px) {
	.moresactivo-header__inner { padding: 14px 16px; }
	.moresactivo-header__logo img { max-height: 36px; }
	.moresactivo-header__logo-svg { height: 28px; }
	.moresactivo-header__title { font-size: 26px; }
	.moresactivo-header__button { display: none; }
}

/* ==========================================================================
   Overrides del template de producto (Elementor)
   ========================================================================== */
h1.product_title.entry-title.elementor-heading-title.elementor-size-default {
	margin-bottom: 0px;
}

.ast-container {
	padding: 0px;
}

/* Ocultar mensaje "producto añadido al carrito" (mantiene visibles errores e info) */
.woocommerce-message {
	display: none !important;
}

/* ==========================================================================
   Guía de tallas — desplegables (<details>)
   ========================================================================== */
.moresactivo-sizes__group {
	margin: 12px 0;
	border: 1px solid #eee;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
}
.moresactivo-sizes__summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	font-weight: 600;
	color: #000;
	background: #fafafa;
	transition: background .15s ease;
	user-select: none;
}
.moresactivo-sizes__summary::-webkit-details-marker {
	display: none;
}
.moresactivo-sizes__summary::after {
	content: "";
	margin-left: auto;
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform .2s ease;
	flex: none;
}
.moresactivo-sizes__group[open] > .moresactivo-sizes__summary::after {
	transform: rotate(-135deg);
}
.moresactivo-sizes__summary:hover {
	background: #f2f2f2;
}
.moresactivo-sizes__icon {
	flex: none;
	color: #E5342B;
}
.moresactivo-sizes__icon--small {
	transform: scale(0.85);
	transform-origin: center;
}
.moresactivo-sizes__body {
	padding: 14px 18px 18px;
	overflow-x: auto;
}
.moresactivo-sizes__body table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.moresactivo-sizes__body th,
.moresactivo-sizes__body td {
	border: 1px solid #eee;
	padding: 8px 10px;
	text-align: center;
}
.moresactivo-sizes__body thead th {
	background: #f5f5f5;
}
.moresactivo-sizes__body tbody td:first-child,
.moresactivo-sizes__body thead th:first-child {
	text-align: left;
	font-weight: 600;
}
.moresactivo-sizes__legend {
	font-size: 13px;
	color: #666;
	margin-top: 8px;
}

/* ==========================================================================
   Modal guía de tallas (<dialog>)
   ========================================================================== */
.moresactivo-sizes__trigger {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	background: #fff;
	color: #000;
	border: 1px solid #ddd;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all .15s ease;
	margin: 8px 0 16px;
}
.moresactivo-sizes__trigger:hover,
.moresactivo-sizes__trigger:focus {
	background: #fafafa;
	border-color: #bbb;
	color: #000;
}
.moresactivo-sizes__trigger svg {
	color: #E5342B;
}

.moresactivo-sizes__dialog {
	padding: 0;
	border: 0;
	border-radius: 16px;
	max-width: 560px;
	width: calc(100% - 32px);
	max-height: calc(100vh - 64px);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
	color: inherit;
	background: #fff;
}
.moresactivo-sizes__dialog::backdrop {
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}
.moresactivo-sizes__dialog-inner {
	max-height: calc(100vh - 64px);
	overflow-y: auto;
}
.moresactivo-sizes__dialog-header {
	position: sticky;
	top: 0;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px;
	border-bottom: 1px solid #eee;
	z-index: 1;
}
.moresactivo-sizes__dialog-header h3 {
	margin: 0;
	font-family: "Bebas Neue", Impact, sans-serif;
	font-size: 26px;
	letter-spacing: 0.04em;
}
.moresactivo-sizes__close {
	background: transparent;
	border: 0;
	padding: 6px;
	cursor: pointer;
	color: #000;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background .15s ease;
}
.moresactivo-sizes__close:hover,
.moresactivo-sizes__close:focus {
	background: #f3f3f3;
}
.moresactivo-sizes__dialog-body {
	padding: 20px;
}
.moresactivo-sizes__heading {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 16px 0 10px;
	font-size: 15px;
	font-weight: 700;
}
.moresactivo-sizes__heading:first-child {
	margin-top: 0;
}
.moresactivo-sizes__heading svg {
	color: #E5342B;
	flex: none;
}
.moresactivo-sizes__dialog-body table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	margin-bottom: 8px;
}
.moresactivo-sizes__dialog-body th,
.moresactivo-sizes__dialog-body td {
	border: 1px solid #eee;
	padding: 8px 10px;
	text-align: center;
}
.moresactivo-sizes__dialog-body thead th {
	background: #f5f5f5;
}
.moresactivo-sizes__dialog-body tbody td:first-child {
	text-align: left;
	font-weight: 600;
}

/* Ocultar la descripción de la variación al seleccionar talla */
.woocommerce-variation-description {
	display: none;
}

/* ==========================================================================
   Overrides tabla de variaciones WooCommerce
   ========================================================================== */
.woocommerce-variation.single_variation {
	display: none;
}
a.reset_variations {
	display: none !important;
}
table.variations {
	border-bottom: 0px !important;
}
table.variations .label {
	display: none !important;
}

/* Quitar sombras de figuras e imágenes en single product */
.ast-article-single figure,
.ast-article-single img:not(figure img) {
	box-shadow: unset !important;
	-webkit-box-shadow: unset !important;
	-moz-box-shadow: unset !important;
}

/* ==========================================================================
   Footer custom — caja minimalista negra con bordes redondeados
   ========================================================================== */
.moresactivo-footer {
	width: 100%;
	padding: 24px 16px;
	background: transparent;
	font-size: 13px;
}
.moresactivo-footer__inner {
	max-width: 1600px;
	margin: 0 auto;
	padding: 18px 28px;
	background: #124496;
	color: #fff;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.moresactivo-footer__copy {
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
}
.moresactivo-footer__copy a {
	color: inherit;
	text-decoration: none;
	transition: color .15s ease;
}
.moresactivo-footer__copy a:hover,
.moresactivo-footer__copy a:focus {
	color: #fff;
}
.moresactivo-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	justify-content: flex-end;
}
.moresactivo-footer__links a {
	color: #fff;
	text-decoration: none;
	transition: opacity .15s ease;
}
.moresactivo-footer__links a:hover,
.moresactivo-footer__links a:focus {
	color: #fff;
	opacity: 0.7;
}

@media (max-width: 640px) {
	.moresactivo-footer__inner {
		flex-direction: column;
		align-items: flex-start;
		padding: 18px 20px;
	}
	.moresactivo-footer__links {
		justify-content: flex-start;
	}
}