body {
    background-image: url("Imagenes/fondo.png");
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

.logo {
    width: 100px;
    padding: 1rem;
}

.carousel-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
    border-radius: 7px;
}

.colordepalabras {
    color: white;
}

h1 h2,
h3,
h4,
h5 {
    color: white;
}

a {
    color: inherit;
    text-decoration: none;
}

.imagen-quienes {
    max-height: 300px;
    object-fit: cover;
    width: 100%;
    border-radius: 7px;
}

.seccion-quienes-somos {
    padding: 2rem 0;
}

.texto-quienes {
    text-align: center;
    padding: 1rem;
    font-size: 1.1rem;
}

html {
    scroll-behavior: smooth;
}

.titulo {
    font-family: 'Dancing Script', cursive;
}

.tamaño-titulo {
    font-size: 40px;
}

.tamaño-subtitulo {
    font-size: 40px;
}

.ficha-producto {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.ficha-producto:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.col-md-6 {
    overflow: hidden;
}

.img-ficha {
    width: 100%;
    height: auto;
    max-height: 160px;
    object-fit: cover;
    object-position: center;
    border-radius: 7px;
    display: block;
}

.btn-pedido-wsp {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    border: 2px solid transparent;
    border-radius: 50px;
    background-color: #25d366;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-pedido-wsp:hover {
    background-color: white;
    color: #25d366;
    border-color: #25d366;
}

.boton {
    color: white;
    border: 10px solid transparent;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
}

.boton:hover {
    background-color: white;
    color: #1b2023;
    border-color: white;
}

.piedepagina {
    background-color: white;
    border-color: white;
    padding: 1rem 1rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .ficha-producto {
        height: 150px;
    }
}

@media (max-width: 768px) {
    .carousel-image {
        height: auto;
        max-height: 300px;
        object-fit: contain;
    }

    .ficha-producto {
        min-height: 150px;
    }
}

@media (max-width: 576px) {
    .boton {
        font-size: 0.85rem;
        padding: 0.25rem 0.5rem;
    }

    .logo {
        width: 80px;
        padding: 0.5rem;
    }

    .container .gap-3 {
        gap: 0.5rem;
    }

    .img-ficha {
        max-height: 120px;
    }

    .ficha-producto {
        min-height: 150px;
    }

    .btn-pedido-wsp {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    .carousel-image {
        height: 200px;
    }

    .tamaño-titulo {
        font-size: 32px;
    }

    .tamaño-subtitulo {
        font-size: 37px;
    }
}