/* Estilo del logo y la barra de navegación */
.navbar {
    background-color: #ffffff ;
    padding: 10px 30px;
}

.logo-img {
    height: 50px;
    margin-right: 20px;
}

.navbar-nav .nav-link {
    color: #443e32;
    font-weight: bold;
    margin-right: 15px;
}

.navbar-nav .nav-link:hover {
    color: #a5a503;
}

.form-inline .form-control {
    width: 150px;
}

.form-inline .btn-outline-success {
    color: #443e32;
    border-color: #443e32;
}

.form-inline .btn-outline-success:hover {
    background-color: #fbc800;
    color: #0f0303;
    border-color: #2b9f3a;
}

/* Ajuste específico para dispositivos móviles */
@media (max-width: 576px) {
    .navbar {
        display: flex;
        flex-direction: column;
        align-items: start;
    }

    .cart {
        position: relative;
        margin-left: auto;
        /* Alinea el carrito a la derecha */
        margin-top: 10px;
        /* Añade un poco de espacio si es necesario */
    }

    .form-inline {
        display: flex;
        width: 100%;
        justify-content: space-between;
    }
}

/* Estilo del banner */
.banner {
    position: relative;
}

.banner-img-wrapper {
    height: 500px;
    /* Ajusta la altura del banner si es necesario */
    overflow: hidden;
}

.banner-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    top: 50%;
    /* Ajusta la posición vertical del texto */
    left: 50%;
    transform: translate(-50%, -50%);
    animation: palpitar 1s infinite;
}

.banner-text h1 {
    font-size: 2.2rem;
    /* Ajusta el tamaño de la fuente según lo necesites */
    color: #FFFFFF;
    text-shadow: 2px 2px 5px #000000;
    font-weight: bold;
}

/* Efecto de palpitación para el texto */
@keyframes palpitar {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
}




/* Estilo de la sección del producto */
.product-section {
    padding: 40px 0;
}

.product-image img {
    max-width: 100%;
    border-radius: 15px;
}

.product-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #2c3e50;
}

.product-description {
    margin: 20px 0;
    font-size: 1.1rem;
    color: #555;
}

.quantity-input {
    width: 120px;
    margin-right: 15px;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #1da957;
    color: white;
}

/*estrellas*/
.fixed-rating-section {
    background-color: #f0f8e0;
    padding: 40px 0;
  }
  
  .rating-title {
    font-size: 28px;
    color: #1da957;
    font-weight: bold;
  }
  
  .fixed-rating-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .star-rating-display {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffd700;
  }
  
  .star-rating-display .star {
    font-size: 30px;
  }
  
  .star-rating-display .half {
    color: #ccc; /* Color de la media estrella */
  }
  
  .rating-value {
    margin-top: 10px;
    font-size: 18px;
    color: #555;
  }
  

/* Estilo general del pie de página */
.footer {
    background-color: #443e32;
    /* Fondo azul oscuro */
    color: #ffffff;
    padding: 40px 0;
    position: relative;
}

.footer h4 {
    color: #ffffff;
    /* Títulos en dorado */
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffd700;
    /* Color dorado en hover */
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
}

.social-icons a {
    color: #ffffff;
    font-size: 1.2rem;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #3b5998;
    /* Fondo Facebook */
    transition: background-color 0.3s ease;
}

.social-icons a:nth-child(2) {
    background-color: #e70ba5e1;
    /* Fondo LinkedIn */
}

.social-icons a:nth-child(3) {
    background-color: #000000;
    /* Fondo YouTube */
}

.social-icons a:hover {
    background-color: #ffd700;
    color: #003366;
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #ffffff;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: #ffffff;
}

/* Ícono flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #1caa5c;
}

/* Responsivo */
@media (max-width: 768px) {
    .footer h4 {
        font-size: 1rem;
    }

    .footer-links li {
        font-size: 0.9rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }
}


