/* 

1. Add your custom Css styles below
2. Place the this code in your template: 

 <link href="css/custom.css" rel="stylesheet">

*/

/* Variables de marca VitaExpert */
:root {
    --primary-blue-1: #0F95AC;
    --primary-blue-2: #0CB0C1;
    --primary-green-1: #6EBD02;
    --primary-green-2: #90D616;
    --secondary-green-1: #789B0D;
    --secondary-green-2: #95C11F;
    --white: #FFFFFF;
    --dark: #333333;
    --font-base: 'Caviar Dreams', sans-serif;
    --font-heading: 'Bebas Neue', sans-serif;
}

/* Estilos personalizados VitaExpert */
body, p {
    font-family: var(--font-base);
    color: var(--dark);
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-heading);
}

.text-vitaexpert {
    color: var(--primary-green-1);
}

.bg-vitaexpert-blue {
    background-color: var(--primary-blue-1);
}

.bg-vitaexpert-green {
    background-color: var(--primary-green-1);
}

.bg-vitaexpert-secondary {
    background-color: var(--secondary-green-1);
}

/* Mejoras del menú con colores de la marca */
header#header {
    transition: all 0.4s ease;
}

header#header.dark {
    transition: all 0.4s ease;
}

header#header .header-inner {
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.4s ease;
}

header#header.sticky-active .header-inner {
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#logo {
    transition: all 0.4s ease;
}

#mainMenu {
    transition: all 0.4s ease;
}

/* Transición de colores para los elementos del menú */
#mainMenu nav > ul > li > a {
    font-family: var(--font-heading);
    color: var(--primary-green-1);
    font-size: 18px;
    font-weight: 500;
    padding: 10px 12px;
    margin: 0 5px;
    transition: all 0.3s ease;
    position: relative;
}

#mainMenu nav > ul > li > a:hover {
    color: var(--primary-blue-2);
}

#mainMenu nav > ul > li > a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-green-1);
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

#mainMenu nav > ul > li > a:hover:after {
    visibility: visible;
    width: 100%;
}

#mainMenu nav > ul > li.active > a {
    color: var(--primary-green-1);
}

#mainMenu-trigger a span.lines, 
#mainMenu-trigger a span.lines:before, 
#mainMenu-trigger a span.lines:after {
    background-color: var(--primary-blue-2);
    transition: all 0.3s ease;
}

/* Transición específica para el color de fondo del menú móvil */
.menu-toggle-icon span.lines, 
.menu-toggle-icon span.lines:before, 
.menu-toggle-icon span.lines:after {
    transition: all 0.3s ease;
}

/* Corrección para el menú móvil en modo transparente y luego sticky */
header#header.transparent #mainMenu-trigger a span.lines,
header#header.transparent #mainMenu-trigger a span.lines:before,
header#header.transparent #mainMenu-trigger a span.lines:after {
    background-color: var(--white);
    transition: all 0.4s ease;
}

header#header.transparent.sticky-active #mainMenu-trigger a span.lines,
header#header.transparent.sticky-active #mainMenu-trigger a span.lines:before,
header#header.transparent.sticky-active #mainMenu-trigger a span.lines:after {
    background-color: var(--primary-blue-2);
    transition: all 0.4s ease;
}

/* Corrección básica para eliminar scroll horizontal */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Overlay personalizado para home */
#home .bg-overlay, #page-title .bg-overlay {
    background-color: rgba(12, 176, 193, 0.7) !important; /* Usando #0CB0C1 con 70% de opacidad */
}
.heading-text.heading-section h2:before{
    display: none;
}

/* Estilos para alinear el logo */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    max-width: 100%;
}

.logo-container span {
    display: inline-block;
    line-height: 1;
}

.logo-container span:first-child {
    font-size: 1.2em;
    margin-right: 5px;
}

/* Animación de EXPERT */
#expert-animation {
    display: inline-block;
    animation: expertFadeIn 2s ease forwards;
    position: relative;
    overflow: hidden;
}

#expert-animation::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(12, 176, 193, 0.3), transparent);
    animation: expertScan 3s ease-in-out infinite;
}

/* Animación de aparición */
@keyframes expertFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
        letter-spacing: -5px;
        filter: blur(5px);
    }
    60% {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 0px;
        filter: blur(0);
    }
    70% {
        transform: translateY(0);
    }
    75% {
        transform: translateY(-3px);
    }
    80% {
        transform: translateY(0);
    }
    85% {
        transform: translateY(-2px);
    }
    90% {
        transform: translateY(0);
    }
}

/* Efecto de brillo que recorre el texto */
@keyframes expertScan {
    0% {
        width: 0%;
        left: -10%;
    }
    50% {
        width: 30%;
        left: 110%;
    }
    100% {
        width: 0%;
        left: 110%;
    }
}

/* Estilos mejorados para Misión y Visión */
#nosotros {
    background-color: #f8f9fa;
    padding: 60px 0;
}

#nosotros .container {
    position: relative;
}

#nosotros .heading-text h2 {
    color: var(--primary-green-1);
    font-size: 3.5rem;
    text-transform: uppercase;
    margin-bottom: 3rem;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

#nosotros .heading-text h2:after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--primary-blue-2);
    margin: 15px auto 0;
}

#nosotros .lead {
    position: relative;
    background: var(--white);
    border-radius: 10px;
    padding: 40px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-top: 5px solid var(--primary-green-1);
    transition: all 0.3s ease;
}

#nosotros .lead:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

#nosotros .col-lg-6:nth-child(2) .lead {
    border-top: 5px solid var(--primary-blue-2);
}

#nosotros .lead strong {
    font-family: var(--font-heading);
    color: var(--primary-green-1);
    font-size: 2.5rem;
    display: block;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-align: center;
}

#nosotros .col-lg-6:nth-child(2) .lead strong {
    color: var(--primary-blue-2);
}

.nosotros-icon {
    background-color: var(--white);
    width: 150px;
    height: 150px;
    line-height: 150px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nosotros-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.nosotros-titulo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-green-1);
    margin-bottom: 10px;
}

.nosotros-titulo.vision {
    color: var(--primary-blue-2);
}

.valores-contenedor {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.valor-item {
    background: linear-gradient(135deg, var(--primary-green-1) 0%, var(--primary-green-2) 100%);
    color: var(--white);
    border-radius: 30px;
    padding: 12px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.valor-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Estilos para tarjetas de productos normalizadas */
.product-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: white;
    margin-bottom: 30px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background-color: #ffffff;
    padding: 20px;
    transition: all 0.3s ease;
}

.product-card .info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card .info h3 {
    font-family: var(--font-heading);
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 25px;
    line-height: 25px;
}

.product-card .info .product-category {
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.product-card .info .price {
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--primary-green-1);
    height: 50px; /* Altura fija para precios, tanto normales como ofertas */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-card .info p {
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1;
    font-size: 14px;
    height: 5.5em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    word-break: break-word;
    position: relative;
}

.product-card .info p::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 1.4em;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 80%);
    pointer-events: none;
}

.product-card .info a {
    display: inline-block;
    background-color: var(--primary-green-1);
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 4px;
    text-align: center;
    transition: background-color 0.3s ease;
    font-weight: 600;
    font-size: 14px;
    margin-top: auto;
    align-self: flex-start;
}

.product-card .info a:hover {
    background-color: var(--primary-green-2);
}

/* Corregir estilos para carrusel de productos */
.product-carousel-item {
    padding: 10px;
}

/* Estilos para contenedor de productos en la cuadrícula */
#products-grid {
    margin-bottom: 20px;
}

/* Asegurar espaciado vertical en productos de la cuadrícula */
#products-grid .col-lg-4,
#products-grid .col-md-6 {
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    .product-card {
        margin-bottom: 20px;
    }
    
    #products-grid .col-lg-4,
    #products-grid .col-md-6 {
        margin-bottom: 20px;
    }
}

/* Formulario de contacto */
.contact-form input,
.contact-form textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: var(--font-base);
    font-size: 1rem;
    resize: vertical;
    margin-bottom: 15px;
}

.contact-form button {
    padding: 0.75rem 2rem;
    font-family: var(--font-heading);
    border: none;
    border-radius: 6px;
    background: var(--primary-green-1);
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: var(--primary-green-2);
}

/* Footer mejorado con animación de fondo */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

footer.footer-dark {
    background: linear-gradient(-45deg, var(--primary-green-1), var(--primary-green-2), var(--primary-blue-1), var(--primary-blue-2));
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
    color: var(--white);
    padding: 40px 0 20px;
    position: relative;
    overflow: hidden;
    border: none !important;
}

footer.footer-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,.05)' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

footer .footer-content {
    position: relative;
    z-index: 1;
    border: none !important;
}

footer .container {
    border: none !important;
}

footer .row {
    border: none !important;
}

footer .col-lg-6, 
footer .col-lg-3 {
    border: none !important;
}

footer .widget-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

footer .widget-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 8px var(--primary-blue-2);
    transition: all 0.3s ease;
}

footer .widget:hover .widget-title:after {
    width: 60px;
    background-color: var(--primary-blue-2);
}

footer .footer-logo-container {
    margin-bottom: 20px;
    position: relative;
    text-align: center;
    padding-right: 0; 
    border: none !important;
}

footer .footer-logo {
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    transition: all 0.3s ease;
    border: none !important;
}

footer .footer-logo:hover {
    transform: translateY(-3px);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

footer .widget p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 1.1rem;
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
    text-align: center; /* Centrar texto */
}

footer .footer-links {
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
}

footer .footer-links li {
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

footer .footer-links li:hover {
    transform: translateX(3px);
}

footer .footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    position: relative;
    padding-left: 15px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

footer .footer-links a i {
    color: rgba(255, 255, 255, 0.6);
    margin-right: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

footer .footer-links a:hover {
    color: #ffffff;
    padding-left: 18px;
}

footer .footer-links a:hover i {
    color: var(--primary-blue-2);
    transform: translateX(2px);
    display: inline-block;
}

footer .footer-links a:before {
    display: none;
}

footer .footer-policy-links {
    margin-top: 20px;
    font-size: 1.05rem;
}

footer .footer-policy-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

footer .footer-policy-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

footer .contact-info {
    padding-left: 0;
    list-style: none;
    margin-bottom: 20px;
}

footer .contact-info li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    transition: all 0.3s ease;
}

footer .contact-info li:hover {
    transform: translateX(3px);
}

footer .contact-info li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

footer .contact-info li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

footer .contact-info li a:hover {
    color: #ffffff;
}

footer .social-icons {
    margin-top: 15px;
}

footer .social-icon {
    display: inline-block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    border-radius: 50%;
    margin-right: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

footer .social-icon:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    z-index: -1;
}

footer .social-icon:hover {
    background-color: var(--primary-blue-2);
    transform: translateY(-3px) rotate(5deg);
    box-shadow: 0 5px 12px rgba(0,0,0,0.2);
}

footer .copyright-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.copyright-text a.developed-by {
    color: var(--primary-green-2);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright-text a.developed-by:hover {
    color: #fff;
}

/* Estilo para la firma del desarrollador */
.developer-credits {
    margin-top: 15px;
    padding-top: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    position: relative;
}

.developer-credits:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.developer-credits a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    padding-bottom: 2px;
}

.developer-credits a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: all 0.3s ease;
}

.developer-credits a:hover {
    color: #fff;
}

.developer-credits a:hover:after {
    width: 100%;
}

/* Restaurar estilos del botón de WhatsApp en la sección de contacto */
.btn-whatsapp {
    background-color: #25D366 !important;
    color: var(--white) !important;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: bold;
    font-family: var(--font-heading);
    font-size: 18px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #128C7E !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp i {
    font-size: 22px;
    vertical-align: middle;
    margin-right: 8px;
}

.btn-whatsapp:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.5s ease-in-out;
    transform: skewX(-30deg);
}

.btn-whatsapp:hover:before {
    left: 100%;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 16px;
    right: 16px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: whatsAppPulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.whatsapp-float i {
    margin-top: 0;
}

@keyframes whatsAppPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Ajustes responsive para el footer */
@media (max-width: 991px) {
    footer .widget {
        margin-bottom: 35px;
    }
    
    footer .footer-logo {
        max-width: 220px;
    }
    
    footer .widget-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 767px) {
    footer .footer-logo {
        max-width: 180px;
    }
    
    footer .widget p, 
    footer .footer-links a,
    footer .contact-info li a {
        font-size: 1rem;
    }
}

/* Estilos para el buscador de productos - Versión simplificada */
.product-search-container {
    background-color: transparent;
    padding: 20px 0;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.product-search-container h4 {
    font-family: var(--font-heading);
    color: var(--primary-green-1);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.product-search-form .input-group {
    box-shadow: none;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.product-search-form .form-control {
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    height: 46px;
    background-color: var(--white);
    color: var(--dark);
    border-radius: 4px 0 0 4px;
}

.product-search-form .form-control:focus {
    box-shadow: none;
}

.product-search-form .btn-search {
    background-color: var(--primary-green-1) !important;
    border: none !important;
    color: var(--white);
    border: none;
    padding: 0 20px;
    font-size: 16px;
    height: 46px;
    border-radius: 0 4px 4px 0;
    transition: all 0.2s ease;
    margin: 0px !important;
}

.product-search-form .btn-search:hover {
    background-color: var(--primary-blue-1);
}

.product-search-form .btn-search i {
    font-size: 14px;
}

.search-results-info {
    margin-bottom: 20px;
}

.search-results-info .alert {
    border-radius: 4px;
    padding: 10px 15px;
    margin-bottom: 0;
    background-color: #f8f9fa;
    border-left: 3px solid var(--primary-green-1);
    border-top: 1px solid #eee;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    color: #555;
    font-size: 14px;
}

.search-results-info .alert-success {
    border-left-color: var(--primary-green-1);
}

.search-results-info .alert-warning {
    border-left-color: #ffc107;
}

.search-results-info i {
    margin-right: 8px;
    color: var(--primary-green-1);
}

.search-results-info .alert-warning i {
    color: #ffc107;
}

@media (max-width: 767px) {
    .product-search-container {
        padding: 15px 0;
    }
    
    .product-search-form .form-control,
    .product-search-form .btn-search {
        height: 40px;
    }
    
    .product-search-container h4 {
        font-size: 16px;
    }
}

/* Estilos para la paginación */
.pagination-container {
    margin: 20px 0;
}

.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.pagination .page-item .page-link {
    border: 1px solid #eee;
    color: var(--dark);
    font-size: 14px;
    padding: 8px 16px;
    margin: 0 3px;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-green-1);
    border-color: var(--primary-green-1);
    color: white;
}

.pagination .page-item .page-link:hover {
    background-color: #f5f5f5;
    color: var(--primary-green-1);
}

.pagination .page-item.active .page-link:hover {
    background-color: var(--primary-green-1);
    color: white;
}

.pagination .page-item.disabled .page-link {
    color: #aaa;
    background-color: #f9f9f9;
    pointer-events: none;
}

.pagination-info {
    color: #777;
    font-size: 13px;
}

@media (max-width: 767px) {
    .pagination .page-item .page-link {
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* Estilos mejorados para la sección de contacto */
#section-contact {
    position: relative;
    overflow: hidden;
}

#section-contact .subtitle {
    color: #777;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-card-container {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    margin-bottom: 30px;
}

/* Panel de información de contacto */
.contact-info-panel {
    background: linear-gradient(135deg, var(--primary-green-1), var(--primary-green-2));
    color: white;
    padding: 40px 30px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-info-header {
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.contact-logo {
    margin-bottom: 20px;
    max-width: 140px;
}

.contact-info-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: white;
}

.contact-info-header p {
    opacity: 0.9;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-methods {
    position: relative;
    z-index: 2;
}

.contact-method-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-method-item .icon-container {
    background-color: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.contact-method-item:hover .icon-container {
    background-color: var(--primary-blue-2);
    transform: scale(1.1);
}

.contact-data h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: white;
}

.contact-data p {
    opacity: 0.7;
    font-size: 0.85rem;
    margin-bottom: 3px;
}

.contact-data a {
    color: white;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.contact-data a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.contact-decoration {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.contact-decoration span {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.contact-decoration .circle-1 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    right: -150px;
}

.contact-decoration .circle-2 {
    width: 150px;
    height: 150px;
    top: 50px;
    right: -50px;
}

.contact-decoration .circle-3 {
    width: 100px;
    height: 100px;
    bottom: 120px;
    right: 60px;
}

/* Contenedor de WhatsApp */
.contact-whatsapp-container {
    padding: 40px;
    background-color: #f9f9f9;
    height: 100%;
}

.whatsapp-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.whatsapp-icon {
    color: #25D366;
    font-size: 2.5rem;
    margin-right: 15px;
    filter: drop-shadow(0 3px 5px rgba(37, 211, 102, 0.3));
}

.whatsapp-header h3 {
    font-family: var(--font-heading);
    color: var(--primary-green-1);
    margin: 0;
    font-size: 1.8rem;
}

.whatsapp-info .lead {
    margin-bottom: 25px;
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.whatsapp-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.benefit-item {
    display: flex;
    align-items: center;
    background-color: rgba(110, 189, 2, 0.05);
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
    background-color: rgba(110, 189, 2, 0.1);
}

.benefit-item i {
    color: var(--primary-green-1);
    margin-right: 10px;
    font-size: 1rem;
}

.benefit-item span {
    font-size: 0.9rem;
    color: #555;
}

.whatsapp-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.whatsapp-cta .btn-whatsapp {
    margin-bottom: 15px;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-methods {
    max-height: 380px;
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 15px;
}

.contact-methods::-webkit-scrollbar {
    width: 5px;
}

.contact-methods::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.contact-methods::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.contact-methods::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.whatsapp-qr {
    text-align: center;
}

.whatsapp-qr p {
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: #777;
}

.qr-code {
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.qr-code:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

@media (max-width: 991px) {
    .contact-card-container {
        margin: 0 15px;
    }
    
    .contact-info-panel {
        padding: 30px 20px;
        margin-bottom: 0;
    }
    
    .contact-whatsapp-container {
        padding: 30px 20px;
    }
    
    .whatsapp-cta {
        margin-top: 20px;
    }
    
    .contact-methods {
        max-height: 300px;
    }
    
    .whatsapp-qr {
        margin-top: 20px;
        align-self: center;
    }
    
    .whatsapp-benefits {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 767px) {
    .whatsapp-benefits {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-methods {
        max-height: none;
        overflow-y: visible;
    }
    
    .contact-floating-icon {
        max-width: 60px;
    }
}

@media (max-width: 480px) {
    .whatsapp-benefits {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-header {
        flex-direction: column;
        text-align: center;
    }
    
    .whatsapp-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .contact-method-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-method-item .icon-container {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .contact-info-header {
        text-align: center;
    }
    
    .contact-logo {
        margin: 0 auto 20px;
    }
}

/* Estilos para el icono flotante en la sección de contacto */
.contact-icon-decoration {
    margin-top: 25px;
    text-align: center;
    position: relative;
}

.contact-floating-icon {
    max-width: 80px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.15));
    animation: floatingIcon 3s ease-in-out infinite;
    transform-origin: center center;
}

@keyframes floatingIcon {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Estilos para contenedor de redes sociales */
.social-networks-container {
    margin-top: 25px;
    text-align: center;
}

.social-networks-container h4 {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
    font-family: var(--font-heading);
    position: relative;
    display: inline-block;
}

.social-networks-container h4:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-green-1), var(--primary-blue-2));
    transform: translateX(-50%);
}

.social-icons-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-network-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: translateY(0);
    position: relative;
}

.social-network-icon i {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    color: white;
    font-size: 1.5rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.social-network-icon i:before {
    position: relative;
    z-index: 2;
}

.social-network-icon i:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    z-index: 1;
}

.social-network-icon span {
    font-size: 0.8rem;
    color: #666;
    transition: all 0.3s ease;
}

.facebook-icon i {
    background-color: #3b5998;
}

.instagram-icon i {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.tiktok-icon i {
    background: linear-gradient(to right, #25F4EE, #FE2C55, #000000);
}

.social-network-icon:hover {
    transform: translateY(-5px);
}

.social-network-icon:hover i {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.social-network-icon:hover span {
    color: var(--primary-blue-2);
}

/* Efectos animados para los iconos */
.social-network-icon:before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: rgba(110, 189, 2, 0.1);
    transition: all 0.5s ease;
    z-index: -1;
}

.social-network-icon:hover:before {
    width: 80px;
    height: 80px;
}

/* Ajustes responsivos para redes sociales */
@media (max-width: 767px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-network-icon i {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .social-network-icon span {
        font-size: 0.7rem;
    }
}

/* Estilos para precios con descuento */
.product-price-container {
    display: flex;
    flex-direction: column;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-bottom: 2px;
}

.new-price {
    color: #ff5555;
    font-weight: bold;
    font-size: 16px;
}

.discount-badge {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    margin-top: 5px;
    font-size: 0.8em;
    font-weight: bold;
}

/* Para la vista detallada de producto */
#product-detail .product-price-container {
    margin-bottom: 15px;
}

#product-detail .old-price {
    font-size: 1.1em;
    margin-bottom: 5px;
}

#product-detail .new-price {
    font-size: 1.5em;
    margin-bottom: 5px;
}

#product-detail .discount-badge {
    font-size: 1em;
    padding: 5px 10px;
}
