/*
Theme Name: Matices
Theme URI: http://matices.local/
Description: Child theme de Astra para la tienda Tequila Matices.
Author: Matices
Template: astra
Version: 1.0.0
Text Domain: matices-child
*/

@font-face {
	font-family: "Bison Bold";
	src: url("/wp-content/uploads/2026/09/Bison-BoldPersonalUse.ttf") format("truetype");
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

body,
h1,
h2,
h3 {
	font-family: "Bison Bold", sans-serif;
}

.hfe-nav-menu a.hfe-menu-item,
.hfe-nav-menu a.hfe-menu-item:hover,
.hfe-nav-menu a.hfe-menu-item:focus,
.hfe-nav-menu .menu-item.current-menu-item > a.hfe-menu-item {
	color: #fff !important;
}

#navbar .elementor-element-fbcb751 .elementor-icon,
#navbar .elementor-element-fbcb751 .elementor-icon i,
#navbar .elementor-element-fbcb751 .elementor-icon svg {
	color: #fff !important;
	fill: #fff !important;
}

/* Fixed header: 20px from the top, 142px tall. Only the opening hero clears it. */
body.home .section-bg.bg-hero:first-of-type {
	box-sizing: border-box;
	align-items: flex-start;
	padding-top: calc(162px + 1.75rem);
}

@media (min-width: 1025px) {
	body.home .section-bg.bg-hero:first-of-type {
		padding-top: max(calc(162px + 1.75rem), calc(50vh - 165px));
	}
}

.matices-oferta {
	display: inline-block;
	margin: 0.85rem 0.5rem 0.4rem 0;
	padding: 0.28rem 0.75rem;
	border-radius: 999px;
	background: #2994a7;
	color: #fff;
	font-size: 0.72rem;
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* "body p." outranks Astra's .entry-content p margin. */
body p.matices-precio-nota {
	margin: 0 auto 1.75rem;
	max-width: 40rem;
	text-align: center;
	color: rgba(255, 255, 255, 0.78);
	font-size: 1.05rem;
	line-height: 1.4;
}

body h2:has(+ .matices-precio-nota) {
	margin-bottom: 0.6rem;
}

.matices-precio del,
.matices-precio del .amount {
	color: rgba(247, 251, 252, 0.55);
	font-weight: 400;
}

.matices-precio del {
	margin-right: 0.35rem;
}

.matices-precio ins {
	background: transparent;
	text-decoration: none;
}

/* The contact block shares the hero background class. Keep its two cards aligned at the top. */
body.home .section-bg.bg-hero:not(:first-of-type) .grid-2 {
	align-items: start;
}

/* Stat labels need room so they do not collide. */
body.home .section-bg .flex.flex-wrap.gap-6 > div {
	min-width: 8.5rem;
}

/* Space above Conoce más. The link is inline, so its mt-6 class never applied. */
body.home .bg-agave .glass > a[href*="/historia/"] {
	display: inline-flex;
	align-items: center;
	margin-top: 1.75rem;
	padding-top: 0.85rem;
	padding-bottom: 0.85rem;
}

/* The homepage markup uses justify-center, but that utility was never defined. */
body.home .flex.justify-center {
	justify-content: center;
}

/* Esencia chips and contact rows had utility classes that were never defined. */
body.home .esencia-points .glass-strong,
body.home .section-bg.bg-hero:not(:first-of-type) .glass > .flex.flex-col > .glass-strong {
	box-sizing: border-box;
	padding: 1.2rem 1.45rem;
	gap: 1rem;
}

body.home .esencia-points .glass-strong i,
body.home .section-bg.bg-hero:not(:first-of-type) .glass > .flex.flex-col > .glass-strong i {
	flex: 0 0 auto;
}

body.home .founders-bottle-frame {
	width: 170px;
	margin: 0 auto;
	background: transparent;
}

body.home .founders-bottle {
	mix-blend-mode: normal;
}

/* A leftover card in a two-column row sits in the middle. */
@media (max-width: 1024px) and (min-width: 641px) {
	body.home .grid-3 > :last-child:nth-child(odd) {
		grid-column: 1 / -1;
		justify-self: center;
		width: calc(50% - 1rem);
	}
}

body.home .site-below-footer-wrap.ast-builder-grid-row-container {
	padding: 1.5rem 1.5rem 2rem;
}

body.home .site-footer-below-section-1 {
	grid-column: 1 / -1;
	text-align: center;
}

body.home .site-footer-below-section-1,
body.home .site-footer .ast-footer-copyright {
	width: 100%;
	justify-content: center;
	text-align: center;
}

.matices-form {
	--srfm-btn-border-radius: 999px;
	--srfm-input-field-border-radius: 0.75rem;
	--srfm-error-color: #f87171;
}

/* SureForms loads after this file, so these need its container in the selector. */
.matices-form .srfm-form-container .srfm-success-box,
.matices-form .srfm-form-container .srfm-success-box-description {
	color: #fff;
	font-size: 1rem;
	text-align: center;
}

.matices-form .srfm-form-container .srfm-success-box strong {
	color: #2994a7;
	font-size: 1.5rem;
}

.fondo-video-tienda {
	position: fixed;
	z-index: 0;
	inset: 0;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	pointer-events: none;
}

.fondo-video-tienda video,
.fondo-video-tienda span {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.fondo-video-tienda video {
	object-fit: cover;
}

.fondo-video-tienda span {
	background: #081418;
	opacity: 0.78;
}

body.has-fondo-video-tienda #page,
body.has-fondo-video-tienda .site-header,
body.has-fondo-video-tienda .site-footer {
	position: relative;
	z-index: 1;
}
