/**
 * @fileoverview Shared styles for inicio and ve/inicio templates
 * 
 * This file contains common CSS styles that are shared across multiple templates
 * to reduce duplication and improve maintainability.
 * 
 * Used by: inicio.php, ve/inicio.php
 * 
 * Additional shared CSS files:
 * - product-styles.css: Product template specific styles
 * - utility-styles.css: Common utility classes
 */


/* Base Colors and Gradients */
.bg-red {
	background: linear-gradient(to top, #870911 10%, #ed2d38);
}

.bg-blue {
	background: linear-gradient(to top, #001f43, var(--dark-blue-1));
}

/* Mobile Scanner Styles */
#escanea-mobil {
	display: none;
}

#escanea-mobil div {
	display: inline-block;
	box-sizing: border-box;
}

#escanea-mobil img {
	max-width: 100%;
}

#escanea-mobil h2 {
	color: #fff;
	font-size: 20px;
}

#escanea-mobil input {
	width: calc(100% - 2px - 50px);
	display: inline-block;
	border-right: 0px;
	border-color: var(--themecolor);
}

#escanea-mobil button {
	background-color: var(--themecolor);
	width: 48px;
	height: 50px;
	color: #fff;
	display: inline-block;
	margin-left: -4px;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}

/* Form Styles */
.input-escanear input.form-control {
	display: inline-block;
	width: 50px;
	color: var(--terthemecolor);
	padding-left: 1rem;
	font-weight: bold;
}

.scaem-form-advancedsearch fieldset .form-group:first-child {
	width: auto;
}

/* Duplicates removed - see color variants section below */

/* Removed duplicate .scaem-btn - using legacy version below */

/* Color Variants - NO sizing/spacing, inherits from base classes */
.btn-blanco {
	background-color: #fff;
	color: #333;
	border-color: #ddd;
	transition: all 0.3s ease;
}

.btn-amarillo {
	background-color: #ffc107;
	color: #333;
	border-color: #ffc107;
	transition: all 0.3s ease;
}

.btn-producto {
	background-color: var(--dark-blue-1);
	color: #fff;
	border-color: var(--dark-blue-1);
	transition: all 0.3s ease;
}

.comprar-rojo {
	background-color: var(--secthemecolor);
	color: #fff;
	border-color: var(--secthemecolor);
	transition: all 0.3s ease;
}

.comprar-rojo:hover,
.comprar-rojo:focus {
	background-color: var(--secthemecolor-dark-1);
	color: #fff;
	border-color: var(--secthemecolor-dark-1);
}

.comprar-azul {
	background-color: var(--dark-blue-1);
	border-color: var(--dark-blue-1);
	color: #fff;
	font-weight: bold;
	transition: all 0.3s ease;
}

.comprar-azul:hover,
.comprar-azul:focus {
	background-color: var(--dark-blue-1);
	border-color: var(--dark-blue-1);
	filter: brightness(0.9);
}

.boton-menu {
	background-color: transparent;
	color: var(--secthemecolor);
	border-color: var(--secthemecolor);
	transition: all 0.3s ease;
}

.boton-menu:hover,
.boton-menu:focus {
	background-color: var(--secthemecolor);
	color: #fff;
	border-color: var(--secthemecolor);
}

/* Legacy scaem-btn styles from utils.styles.css */
.scaem-btn {
	max-width: fit-content;
	min-width: 8rem;
	min-height: 3rem;
	padding: 12px 24px;
	border-radius: 4px;
	display: flex;
	text-decoration: none !important;
	position: relative;
	justify-content: center;
	align-items: center;
	transition: all 0.3s ease-in-out;
}

/* Video Button Styles - btn scaem-btn combination */
.btn.scaem-btn {
	background-color: transparent !important;
	border-color: var(--themecolor);
	color: var(--themecolor);
	font-weight: bold;
	text-decoration: none !important;
}

.btn.scaem-btn:hover {
	background-color: var(--themecolor) !important;
	color: #fff;
	border-color: var(--themecolor);
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
}

/* Legacy Animation - Color + Pulse Animation */
.animacion-comprar {
	background: var(--themecolor);
	color: #fff;
	position: relative;
	transition: all 0.3s ease;
}

.scaem-btn-blue {
	background: var(--themecolor);
	color: #fff;
	transition: all 0.3s ease-in-out;
}

.animacion-comprar:hover,
.animacion-comprar:focus {
	background: var(--dark-blue-2);
	color: #fff;
}

.animacion-comprar:before,
.animacion-comprar:after {
	position: absolute;
	left: 0;
	top: 0;
	content: '';
	height: 100%;
	width: 100%;
	border-radius: 4px;
	pointer-events: none;
}

.animacion-comprar:before {
	animation: 2s ease 0s infinite normal none running pulsetBtn;
}

.animacion-comprar:after {
	animation: 2s ease 0s infinite normal none running pulseBtn;
}

@keyframes pulseBtn {
	0% {
		-moz-box-shadow: 0 0 0 0 rgba(63, 171, 243, 0.6);
		box-shadow: 0 0 0 0 rgba(63, 171, 243, 0.6);
		opacity: 1;
	}

	100% {
		-moz-box-shadow: 0 0 0 50px rgba(63, 171, 243, 0);
		box-shadow: 0 0 0 50px rgba(63, 171, 243, 0);
		opacity: 0;
	}
}

@keyframes pulseBtnRed {
	0% {
		-moz-box-shadow: 0 0 0 0 var(--secthemecolor);
		box-shadow: 0 0 0 0 var(--secthemecolor);
		opacity: 1;
	}

	100% {
		-moz-box-shadow: 0 0 0 30px rgba(255, 89, 89, 0);
		box-shadow: 0 0 0 30px rgba(243, 63, 63, 0);
		opacity: 0;
	}
}

@keyframes pulsetBtn {
	0% {
		-moz-box-shadow: 0 0 0 0 rgba(63, 171, 243, 0.7);
		box-shadow: 0 0 0 0 rgba(63, 171, 243, 0.5);
		opacity: 1;
	}

	100% {
		-moz-box-shadow: 0 0 0 30px rgba(63, 171, 243, 0);
		box-shadow: 0 0 0 30px rgba(63, 171, 243, 0);
		opacity: 0;
	}
}

/* Product Action Color Classes - NO sizing/spacing */
.agregar-carrito {
	/* Blue theme color - inherits size from .scaem-btn */
	background-color: var(--themecolor);
	border-color: var(--themecolor);
	color: #fff;
	transition: all 0.3s ease;
}

.agregar-carrito:hover,
.agregar-carrito:focus {
	background-color: var(--themecolor);
	border-color: var(--themecolor);
	filter: brightness(0.9);
	color: #fff;
}

.ver-carrito {
	/* Orange color - inherits size from .scaem-btn */
	background-color: #ff8a26;
	border-color: #ff8a26;
	color: #fff;
	transition: all 0.3s ease;
}

.ver-carrito:hover,
.ver-carrito:focus {
	background-color: #ff8a26;
	border-color: #ff8a26;
	filter: brightness(0.9);
	color: #fff;
}

.prox {
	/* Red gradient - inherits size from .scaem-btn */
	background: linear-gradient(to top, #870911 10%, #ed2d38);
	border-color: #870911;
	color: #fff;
	transition: all 0.3s ease;
}

.prox:hover,
.prox:focus {
	background: linear-gradient(to top, #870911 10%, #ed2d38);
	border-color: #870911;
	filter: brightness(0.9);
	color: #fff;
}

.valid {
	border-color: #4cd03a !important;
}

.error {
	border-color: var(--secthemecolor) !important;
}

/* Access Bar Base Styles */
.scaem-header {
	z-index: 1000;
}

.scaem-access-bar {
	background: transparent;
	height: 115px;
	overflow: visible;
	padding-bottom: 0;
	position: relative;
}

.scaem-access-bar:before {
	background-color: var(--dark-blue-1);
	content: '';
	position: absolute;
	height: 100%;
	width: 50%;
	left: 0;
	z-index: 0;
}

.scaem-access-bar:after {
	background: linear-gradient(to top, #870911 10%, #ed2d38);
	content: '';
	position: absolute;
	height: 100%;
	width: 50%;
	right: 0;
	top: 0;
	z-index: 0;
}

.media-barra {
	display: inline-block;
	height: 115px;
	box-sizing: border-box;
	overflow: hidden;
	z-index: 1;
}

/* Allow media-barra to grow when ZUR is expanded */
.media-barra:has(.zur-grande) {
	height: auto;
	overflow: visible;
}

/* ZUR Bar Base Styles */
.barra-zur {
	background: var(--dark-blue-1);
	z-index: 2;
	float: left;
}

.barra-zur-abierta {
	border-bottom-right-radius: 20px;
	border-bottom-left-radius: 20px;
	overflow: visible;
	z-index: 999;
	height: auto;
	transition: .3s;
}

.zur-oculto {
	display: none;
}

.barra-zur .text-small {
	line-height: 1.3;
	padding-top: 3px;
}

/* QR Bar Styles */
.barra-qr {
	background: linear-gradient(to top, #870911 10%, #ed2d38);
	float: right;
}

.img-scan {
	display: inline-block;
	width: 70px !important;
}

.barra-qr .input-escanear.form-group {
	padding-right: 0;
	padding-left: 0;
	margin-top: -15px;
}

/* QR Bar Button Styles - Moved to utils.styles.css to avoid conflicts */

/* Slider Base Styles */
.texto-slider {
	position: absolute;
	left: 10%;
	top: 0;
	height: 100%;
	display: flex;
	align-items: center;
}

.texto-slider h2 {
	color: #fff;
	font-size: 4rem;
	line-height: .9;
	font-weight: bolder;
}

.texto-slider h2 em {
	color: var(--dark-blue-1);
}

.texto-slider span {
	background-color: var(--dark-blue-1);
	font-size: 1.5rem;
	font-weight: bolder;
	color: #fff;
	padding: 0 1rem;
}

/* Card Styles */
.tarjeta-redonda {
	border-radius: 20px;
	border: 1px solid #dedede;
}

/* Bracelet Section - Modern CSS Grid/Flexbox with BEM */
.bracelet-section {
	display: grid;
	grid-template-columns: minmax(250px, 1fr) 2fr;
	gap: 2rem;
	align-items: center;
	padding: 1.5rem;
}

.bracelet-section__image {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 200px;
	width: 100%;
	overflow: hidden;
}

.bracelet-section__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 8px;
}

.bracelet-section__content {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.bracelet-section__content--pa {
	/* PA specific adjustments */
}

.bracelet-section__content--ve {
	/* VE specific adjustments */
}

.bracelet-section__header {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.bracelet-section__title {
	margin: 0;
	font-size: 1.75rem;
	font-weight: 600;
	color: #2c3e50;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
	line-height: 1.2;
	margin-bottom: 0.25rem;
}

.bracelet-section__icon {
	font-size: 1rem;
	flex-shrink: 0;
}

.bracelet-section__icon--award {
	color: var(--themecolor);
}

.bracelet-section__icon--check {
	color: #1abc9c;
}

.bracelet-section__subtitle {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	align-items: baseline;
}

.bracelet-section__subtitle-main {
	color: #e74c3c;
	font-weight: 500;
	font-size: 1.05rem;
	line-height: 1.3;
}

.bracelet-section__subtitle-suffix {
	color: #7f8c8d;
	font-size: 0.9rem;
	line-height: 1.3;
}

.bracelet-section__description {
	text-align: justify;
	line-height: 1.5;
	color: var(--terthemecolor);
	margin: 0;
}

.bracelet-section__description--pa {
	margin: 0;
}

.bracelet-section__description--ve {
	/* VE specific styling */
}

.bracelet-section__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
	align-items: center;
	margin-top: 0.5rem;
}

/* Responsive Design - Modern approach */
@media (max-width: 768px) {
	.bracelet-section {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		padding: 1rem;
	}

	.bracelet-section__image {
		order: -1;
		min-height: 150px;
	}

	.bracelet-section__title {
		font-size: 1.5rem;
		text-align: center;
	}

	.bracelet-section__subtitle {
		text-align: center;
	}

	.bracelet-section__actions {
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.bracelet-section {
		padding: 0.75rem;
	}

	.bracelet-section__title {
		font-size: 1.35rem;
	}

	.bracelet-section__subtitle-main {
		font-size: 1rem;
	}

	.bracelet-section__description {
		font-size: 0.95rem;
	}
}

/* Legacy compatibility - keep original classes working */
.img-nueva-tarjeta {
	box-sizing: border-box;
	padding-right: 30px;
	padding-left: 30px;
	padding-top: 15px;
	padding-bottom: 15px;
}

/* Section Icon Styles - Replaces repeated inline styles */
.section-icon {
	width: 40px;
	height: 40px;
	margin-top: -10px;
}

/* Section Heart Styles - Replaces repeated inline styles */
.section-heart {
	margin-top: -9.125rem;
	margin-bottom: 0;
}

/* Banner Styles */
.products-banner {
	overflow: visible;
	text-align: center;
}

.products-banner img {
	max-width: calc(100% / 8.5);
}

.products-banner img:nth-child(2n) {
	margin-top: 60px;
}

/* Infographic Styles */
.item-info {
	width: 20%;
	display: inline-block;
	margin: 0;
	box-sizing: border-box;
}

.item-info:nth-child(2n) {
	margin-top: 140px;
}

.item-info .scaem-workdetail {
	position: relative;
}

.scaem-workdetail .n-paso {
	background-color: var(--dark-blue-1);
	border-radius: 25px;
	box-shadow: 0 0 0 5px rgba(0, 88, 191, .3);
	color: #fff;
	font-size: 1.3rem;
	font-weight: bold;
	position: absolute;
	top: 30px;
	left: 10px;
	width: 45px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9;
}

.scaem-workdetails-border:after {
	background: url(../images/work-icon/line-01c.png);
	background-repeat: no-repeat;
	background-size: 100% 100%;
}

.scaem-workdetails-bordertwo:before {
	background: url(../images/work-icon/line-02c.png);
}

.scaem-workdetail figure {
	z-index: 8;
}

.scaem-workdetail figure img {
	position: absolute;
	top: -5%;
}

.scaem-workdetail h3 {
	position: absolute;
	line-height: 1;
	bottom: 20%;
	font-size: 20px;
}

.scaem-workdetail h3 em {
	background-color: var(--secthemecolor);
	color: #fff;
	border-radius: 10px;
	line-height: 20px;
	bottom: 20%;
	font-size: 16px;
	padding-left: 10px;
	padding-right: 10px;
}

/* Testimonial Slider Styles */
.testimonio {
	min-height: 283px;
}

.img-testimonio {
	border-radius: 50%;
	width: 150px;
	border: 5px solid #fff;
	box-shadow: 0 0 20px 0 rgb(153 153 153 / 30%);
	margin-top: -80px;
}

.slider-section {
	background-image: linear-gradient(to top, #000, #222);
	overflow-x: hidden;
	position: relative;
	width: 100%;
}

.slider-container {
	width: 100%;
	position: relative;
}

.title {
	color: yellow;
	font-family: 'roboto';
	text-align: center;
}

/* Team Slider Base Styles */
#team-slider,
#ficha-slider {
	margin: auto;
	width: 60%;
}

#team-slider {
	position: relative;
}

#team-slider-cont {
	display: flex;
	width: 100%;
	max-width: 500%;
	margin-left: -200%;
}

#team-slider .slide {
	max-width: 100%;
	width: 100%;
	min-width: 100%;
	padding-left: 20px;
	padding-right: 20px;
	margin-top: 100px;
}

#team-slider .slide img {
	max-width: inherit;
}

#team-slider .slide img.imagen-ficha {
	left: 0;
	margin: auto;
	position: absolute;
	right: 0;
	top: 0;
	opacity: 0;
}

.control-team-slider {
	font-size: 40px;
	font-weight: bold;
	font-family: poppins;
	background-color: transparent;
	color: var(--terthemecolor);
	width: 30px;
	height: 30px;
	line-height: 30px;
	border: none;
	cursor: pointer;
	opacity: .6;
	position: absolute;
	top: 200px;
}

.control-team-slider:hover {
	opacity: 1;
}

.control-team-slider:focus {
	outline: none;
	box-shadow: none;
}

#team-slider-left {
	left: 40px;
}

#team-slider-right {
	right: 40px;
}

/* Animation Styles */
.animacion-comprar-rojo {
	position: relative;
}

.animacion-comprar-rojo:before,
.animacion-comprar-rojo:after {
	position: absolute;
	left: 0;
	top: 0;
	content: '';
	height: 100%;
	width: 100%;
	border-radius: .25rem;
	pointer-events: none;
}

.animacion-comprar-rojo:before {
	animation: 2s ease 0s infinite normal none running pulseBtnRed;
}

.animacion-comprar-rojo:after {
	animation: 2s ease 0s infinite normal none running pulseBtnRed;
}

/* FAQ/Accordion Base Styles */
.scaem-title.display-section {
	cursor: pointer;
}

.scaem-title.display-section + div.scaem-description {
	display: none;
}

.faq-line .timeline {
	padding-bottom: 20px !important;
}

.faq-line .timeline .display-section {
	padding-left: 1.5rem;
	box-sizing: border-box;
	position: relative;
}

.faq-line .timeline-content .scaem-description {
	border-left: 4px solid rgba(255, 88, 81, 0.2);
	padding-left: 1.5rem;
	box-sizing: border-box;
}

.faq-line .timeline-content {
	padding-top: 10px;
}

.faq-line .timeline .display-section i {
	color: var(--secthemecolor);
	position: absolute;
	left: 0;
	top: 5px;
}

.main-timeline.faq-line .timeline-icon {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	overflow: hidden;
	margin-left: -13px;
	position: absolute;
	top: auto;
	left: 100%;
	text-align: center;
	border: 1px solid #ddd;
	background-color: #fff;
}

@media (min-width: 761px) {
	#scaem-nav-menu {
		display: flex;
		justify-content: center;
		align-items: center;
		margin-top: 1.3rem;
		margin-bottom: 1.3rem;
	}
}

/* Mobile Header Styles - Extracted from header-mobile.php */
@media (max-width: 768px) {

	.section-heart {
		margin-top: -5.5rem;
		margin-bottom: 2rem;
	}

	.scaem-navigationarea {
		max-height: 65px;
	}

	.scaem-logo {
		margin: 0 0;
	}

	.scaem-wrapper.scaem-haslayout {
		padding-top: 65px;
	}

	.scaem-innerbannerform fieldset input.form-control {
		box-sizing: border-box;
		max-width: 100%;
	}

	.scaem-innerbanner-holder .col-12 {
		padding: 0 15px;
	}

	.scaem-innerbanner-holder .col-12 .form-group {
		display: inline-block;
		float: left;
	}

	.scaem-innerbanner-holder .col-12 .form-group:nth-child(2) {
		float: left;
	}

	.scaem-innerbanner-holder .col-12 .form-group:nth-child(3) {
		float: right;
	}

	.width50 {
		max-width: 47%;
	}

	.scaem-innerbanner-holder .col-12 .form-group.zur-responsive-none {
		display: none;
	}

	.zur-responsive-none {
		display: none;
	}

	.scaem-content-carousel h3,
	.scaem-content-carousel h3 span {
		font-size: 25px;
		line-height: 25px;
	}
}

/* Desktop Menu - Always visible, hide toggle button */
@media (min-width: 992px) {

	.scaem-navigationarea .scaem-rightarea .navbar-toggler,
	.navbar-toggler {
		display: none !important;
	}

	.scaem-navigation {
		display: block !important;
		max-height: none !important;
		opacity: 1 !important;
		transform: none !important;
		overflow: visible !important;
		transition: none !important;
	}
}

/* Mobile/Tablet Menu Button - Show toggle button until 991px */
@media (max-width: 991px) {

	.scaem-navigationarea .scaem-rightarea .navbar-toggler,
	.navbar-toggler {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		position: relative !important;
		z-index: 999 !important;
		/* Restore original styling */
		border: 0 !important;
		color: #fff !important;
		padding: 6px 10px !important;
		border-radius: 4px !important;
		background-color: var(--secthemecolor) !important;
	}

	/* Mobile/Tablet Menu - Hidden by default, shows with .show class */
	.scaem-navigation {
		max-height: 0 !important;
		overflow: hidden !important;
		opacity: 0 !important;
		transform: translateY(-10px) !important;
		transition: max-height 0.3s ease-out, opacity 0.3s ease-out, transform 0.3s ease-out !important;
		display: block !important;
		/* Ensure it's always block for transitions */
	}

	.scaem-navigation.show {
		max-height: 500px !important;
		/* Adjust based on your menu content */
		opacity: 1 !important;
		transform: translateY(0) !important;
	}
}


@media (max-width: 900px) {
	#escanea-mobil {
		display: block;
		height: auto;
		margin: auto;
		padding-top: 15px;
		padding-bottom: 15px;
		margin-bottom: 25px;
		border-radius: 10px;
	}

	.container-header {
		padding-left: 30px;
	}
}