.btn-whatsapp-flotante {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    text-decoration: none;
}

.btn-whatsapp-flotante:hover {
    color: #FFF;
    background-color: #128C7E;
}

.hero-section {
    background-color: #212529;
    color: white;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section .display-3 {
    font-size: 3.5rem;
    font-weight: 700;
}

.hero-banner {
    background: url('./img/portada.png') no-repeat center center/cover;
    height: 75vh; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    color: #fff;
    text-align: center;
}

.hero-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 1; 
}

.hero-banner .navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2; 
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1,
.hero-content p {
    color: #fff; 
}

footer .d-flex img {
    max-height: 40px; 
    width: auto;
    margin-right: 10px;
}

.card {
            border: none;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        .card .carousel-item img {
            height: 610px;
            object-fit: cover;
            object-position: center;
        }
        .card .carousel-caption {
            background-color: rgba(0, 0, 0, 0.7);
            padding: 1rem;
            border-radius: 10px;
            bottom: 10px;
            color: #fff;
            position: absolute;
            width: calc(100% - 20px);
            left: 10px;
            right: 10px;
            margin: 0;
            text-align: left;
        }
        .card .carousel-caption h5 {
            font-size: 1.25rem;
            font-weight: bold;
        }
        .card .carousel-caption p {
            font-size: 0.875rem;
            margin-bottom: 0.5rem;
        }
        .price {
            font-size: 1.2rem;
            font-weight: bold;
            color: #17a2b8;
            margin: 0;
        }
        .wholesale-price {
            font-size: 1rem;
            color: #28a745;
            margin: 0;
        }
        .section-title {
            margin-bottom: 2rem;
            border-bottom: 2px solid #000;
            padding-bottom: 0.5rem;
        }
        
        .card {
    position: relative;
    overflow: hidden;
}

.card img {
    height: 300px;
    width: 100%;
    object-fit: cover;
}

.card .card-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7); 
    color: #fff;
    padding: 1rem;
    z-index: 5;
    transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
    .card .card-text-overlay h5 {
        font-size: 1rem;
    }
    .card .card-text-overlay p {
        font-size: 0.8rem;
    }
    .card img {
        height: 250px;
    }
}