
/**
* 2007-2025 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2025 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

/************************product tab *******************/
.tvtab-product-list-wrapper {
    margin-left: -15px;
    margin-right: -15px;
}
.tvtab-product {
	position: relative;
}
.tvcmstab-title-product {
	margin-bottom: 100px;
	position: relative;
}
.tvtab-product .tvtab-title-wrapper .tvtabs-products {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center!important;
    -ms-flex-pack: center!important;
    justify-content: center!important;
    /*margin-bottom: 30px;*/
}
.tvtab-title-wrapper .tvtabs-products li {
	padding: 5px 15px;
	cursor: pointer;
}
.tvtab-title-wrapper .tvtabs-products li span {
	/*color: #555555;
	font-size: 16px;
	text-transform: uppercase;
	font-weight: 500;
	letter-spacing: 0.5px;*/
}
.tvcmstab-product,
.tvtab-pagination{
	display: none;
}
.tvtab-pagination-tab {
	position: relative;
}
.tvproduct-image {
	position: relative;
}
.tvproduct-image a {
	text-align: center;
}
.tvproduct-image a img {
	width: auto;
	margin: auto;
}
@media(max-width: 991px) {
	.tvtab-product .tvtab-title-wrapper .tvtabs-products {
		display: block;
		text-align: center;
	}
	.tvcmstab-title-product {
		margin-bottom: 50px;
	}
}

@media(max-width: 575px){
    .tvtab-product .tvtab-title-wrapper .tvtabs-products{
        display:flex !important;
        flex-direction:row;
    }
}

/************************ Animaciones de carga *******************/
/* Animación de fade-in para la sección completa */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animación de fade-in para productos individuales */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Animación de escala para imágenes */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Aplicar animación a la sección principal */
.tvcmstab-title-product {
    animation: fadeInUp 0.6s ease-out;
}

/* Animación para productos en el carrusel */
.tvtabproduct-main-block.item {
    animation: fadeIn 0.5s ease-out;
    animation-fill-mode: both;
}

/* Retraso escalonado para productos */
.tvtabproduct-main-block.item:nth-child(1) { animation-delay: 0.1s; }
.tvtabproduct-main-block.item:nth-child(2) { animation-delay: 0.2s; }
.tvtabproduct-main-block.item:nth-child(3) { animation-delay: 0.3s; }
.tvtabproduct-main-block.item:nth-child(4) { animation-delay: 0.4s; }
.tvtabproduct-main-block.item:nth-child(5) { animation-delay: 0.5s; }
.tvtabproduct-main-block.item:nth-child(6) { animation-delay: 0.6s; }

/* Animación para imágenes de productos */
.tvproduct-image img {
    animation: scaleIn 0.4s ease-out;
    animation-fill-mode: both;
}

/* Ocultar inicialmente para evitar flash */
.tvcmstab-title-product.loading {
    opacity: 0;
}

/* Estado de carga visible */
.tvcmstab-title-product.loaded {
    opacity: 1;
    animation: fadeInUp 0.6s ease-out;
}

/* Shimmer loading animation (para el skeleton loader) */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmerBG {
    animation: shimmer 2s infinite linear;
    background: linear-gradient(to right, #eff1f3 4%, #e2e2e2 25%, #eff1f3 36%);
    background-size: 1000px 100%;
}

/* Transición suave al cambiar de tab */
.tvcmstab-product {
    transition: opacity 0.3s ease-in-out;
}

.tvcmstab-product.active {
    animation: fadeIn 0.4s ease-out;
}
