/* Flechas fuera del carrusel */
.custom-carousel-arrow {
  width: 3rem;
  height: 3rem;
  position: absolute;
  top: 45%;
  z-index: 2;
  transform: translateY(-50%);
}

.carousel-control-prev.custom-carousel-arrow {
  left: -2.5rem;
}

.carousel-control-next.custom-carousel-arrow {
  right: -2.5rem;
}

/* En móviles: centrar y reducir tamaño */
@media (max-width: 768px) {
  .custom-carousel-arrow {
    position: static;
    transform: none;
    width: 2.5rem;
    height: 2.5rem;
    margin-top: 1rem;
  }

  .carousel-control-prev.custom-carousel-arrow,
  .carousel-control-next.custom-carousel-arrow {
    display: none !important;
  }
}





.bg-info 
{
    background-color: #3c9d48 !important;
    color: white !important;

    
}

.bg-secondary 
{
    background-color: #0080ff !important;
    color: #ffffff !important;
}

.btn-primary  
{
    background-color: #3c9d48 !important;
    color: white !important;
    border: none !important;
}
.btn-outline-primary
{
    background-color: transparent !important;
    color: #3c9d48 !important;
    border: 1px solid #3c9d48 !important;
}

.btn-outline-primary:hover
{
    background-color: #3c9d48 !important;
    color: white !important;
    border: none !important;
}



.btn-info
{
    background-color: #3c9d48 !important;
    color: white !important;
    border: none !important;
}

.bg-primary 
{
    background-color: #3c9d48  !important;
    color: white !important;
}

/* linea vertical */

.linea_vertical {
    width: 1px;
    height: 20px;
    background-color: #868686;
    margin: 0 10px;
}


/* Estilo para los títulos de las secciones */
.separador-con-lineas {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 60px 0;
}

.separador-con-lineas::before,
.separador-con-lineas::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #888;
  margin: 0 20px;
}

.titulo-destacado {
  font-weight: 200;
  text-transform: uppercase;
  color: #333;
  margin: 0;
  color: #006482;
}




/* titulos */

.titulos{
    /* background: linear-gradient(145deg, #a87b05, #efb810, #a87b05,#efb810,#a87b05); */
    background-color: #ffffff;
    color: #000000;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin: 50px auto;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

/* Menssages */

.message-container {
    position: fixed;
    bottom: 30px; /* Ajusta según el footer o navbar */
    left: 30px;
    z-index: 1050;
    width: 500px;
    max-width: 90%;
}

.message-container .alert {
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.5s ease;
    border-radius: 6px;
}

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}







/* Vista principal */

:root {
    --primary: #0d6efd;
    --dark: #111827;
    --light: #f8f9fa;
    --text: #374151;
    --accent: #25D366;
}
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: var(--text);
    padding-top: 100px; 
}


h2{
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    color: #006482;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    text-align: center;
    font-size: 2rem;
    line-height: 1.2;
    
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
    backdrop-filter: blur(10px);
    background: rgba(175, 175, 175, 0.95);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.7);
}

.navbar-sub {
    position: fixed;
    top: 100%; /* Altura del navbar principal */
    width: 100%;
    z-index: 1029;
    background-color: #ebe8e3;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.2rem 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
}


.navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text) !important;
    margin-right: 1rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary) !important;
}


.search-form input {
    border-radius: 10px;
    padding: 0.2rem 3rem;
    border: 1px solid #1ea958;
    transition: all 0.2s ease;
}

.search-form input:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    border-color: var(--primary);
}

.search-form button {
    border-radius: 20px;
    background-color:  #1ea958;
    border-color: #1ea958;
}

main.container {
    padding-top: 100px;
    padding-bottom: 60px;
}

footer {
    background-color: var(--dark);
    color: #cbd5e1;
    padding: 60px 0 30px;
}

footer .footer-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

footer a {
    color: #cbd5e1;
    text-decoration: none;
}

footer a:hover {
    color: var(--primary);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: white;
}

.social-icons a {
    margin-right: 12px;
    font-size: 1.3rem;
    color: #cbd5e1;
}

.social-icons a:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .search-form {
        flex-direction: column;
        gap: 10px;
    }

    .search-form input,
    .search-form button {
        width: 100%;
    }
}

.whatsapp-float {
    background-color: var(--accent);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    animation: pulse 3s infinite;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float i {
    font-size: 32px;
    color: white;
}

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

.whatsapp-menu-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: rgb(255, 255, 255);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: fadeIn 0.3s ease;
}

.whatsapp-options a {
    padding: 10px 15px;
    font-size: 14px;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.whatsapp-options a:hover {
    background-color: #a8eec2;
}

.whatsapp-options a:last-child {
    border-bottom: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.whatsapp-link {
    background-color: #25D366;
    color: white;
    padding: 12px 18px;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    align-items: center;
    font-size: 15px;
    min-width: 200px;
    white-space: nowrap;
    justify-content: flex-start;
    transition: background-color 0.2s ease;
}


/* Destacado */

.producto-estrella {
  background: radial-gradient(circle 400px at 25% 50%, #faf31e 0%, #cfb000 100%);
  overflow: hidden;
  position: relative;
}


.shooting-star {
  position: absolute;
  width: 3px;
  height: 100px;
  background: linear-gradient(180deg, #fff, transparent);
  opacity: 0;
  border-radius: 50%;
  z-index: 1;
  animation: shoot 1s linear infinite;
}


.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.9), 0 0 25px rgba(0, 255, 255, 0.5);
  z-index: 1;
  animation: floatParticle 4s infinite ease-in-out;
}

@keyframes floatParticle {
  0% { transform: translateY(0) scale(1); opacity: 1; }
  50% { transform: translateY(-15px) scale(1.4); opacity: 0.5; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}



.text-shadow-glow {
  color: #3c9d48;;
  text-shadow: 0 0 20px #fff200, 0 0 20px #fff34e, 0 0 30px #fff200;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}


.pulse {
  animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.85; }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(-0); }
  50% { transform: translateY(-5px); }
}


/* btn de pago */
.btn-pago {
    background-color: #1ea958;/* Verde tipo WhatsApp */
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 300;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.btn-pago:hover {
    background-color: #1ea958;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.btn-pago i {
    font-size: 1.2rem;
}

/* Estilo para la tarjeta card */

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0px -0px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: scale(1.02);
    box-shadow: 0 0px 20px rgba(0, 0, 0, 0.2);
}





/* Estilo para el botón de "Descuentos" en la tarjeta */
.card.position-relative {
    overflow: hidden;
  }

  .ribbon {
    position: absolute;
    top: 15px;
    left: -40px;
    transform: rotate(-45deg);
    z-index: 1;
  }

  .ribbon span {
    display: block;
    width: 120px;
    background: linear-gradient(135deg, #ff416c, #ff4b2b, #ffcc33);
    background-size: 300% 300%;
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    text-align: center;
    padding: 6px 0;
    box-shadow:
      0 2px 6px rgba(0,0,0,0.2),
      0 0 10px rgba(255,255,255,0.5),
      inset 0 0 6px rgba(255,255,255,0.3);
    border-radius: 4px;
    animation: gradientShift 3s ease infinite;
  }

  @keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
