/* Estilos generales para la tarjeta */
.card-nombre {
    font-size: 1.5em;
    color: #B8860B;
    margin-bottom: 10px; /* Added spacing below the title */
}

.card-nombre strong {
    font-weight: bold;
}

/* Estilos del título centrado */
.titulo-center h2 {
    font-size: 40px; /* Ajusta el tamaño del texto según sea necesario */
    text-align: center;
    margin-bottom: 20px; /* Added spacing below the title */
}

/* Ajustes para dispositivos móviles */
@media (max-width: 768px) {
    /* Para el contenedor de producto, asegurando que ocupe todo el ancho disponible */
    #Producto {
        width: 100%; /* Establece el ancho completo en dispositivos móviles */
        margin: 25px auto; /* Centra el producto en la pantalla */
        box-sizing: border-box; /* Incluye relleno y borde en el ancho total */
        padding: 0; /* Elimina el relleno adicional */
    }

    /* Ajuste del título en dispositivos móviles */
    .titulo-center {
        text-align: center; /* Asegura que el título esté centrado */
        padding: 10px; /* Añade un poco de espacio alrededor del contenedor */
    }

    .titulo-center h2 {
        font-size: 24px; /* Adjusted font size for better readability on mobile */
    }
}

/* Estilos generales para el swiper */
.practice {
    overflow: hidden; /* Evita que el contenido se desborde */
    position: relative;
    width: 100%; /* Se asegura de que ocupe todo el ancho del contenedor */
    margin: 0 auto; /* Centra la sección */
    padding: 20px 0; /* Espaciado superior e inferior */
}

/* Swiper Container */
.swiper-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

/* Swiper Wrapper */
.swiper-wrapper {
    display: flex;
    align-items: center;
    transition-timing-function: linear;
}

/* Swiper Slide */
.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box; /* Ensure padding and border are included in the width */
}

/* Swiper Pagination */
.swiper-pagination {
    position: absolute;
    bottom: 10px; /* Ajusta la distancia desde la parte inferior */
    left: 50%; /* Centra horizontalmente */
    transform: translateX(-50%); /* Ajusta el centrado */
    z-index: 10; /* Asegura que esté por encima de los slides */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px; /* Espacio entre los bullets */
}


.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: #ccc; /* Color de los bullets inactivos */
    opacity: 1;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Transición suave */
}

.swiper-pagination-bullet-active {
    background-color: #007bff;
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease; /* Smooth transition for button hover */
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.8); /* Darker background on hover */
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

/* Ajuste de tamaño y visibilidad para dispositivos pequeños */
@media (max-width: 768px) {
    .swiper-button-prev,
    .swiper-button-next {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
    }
}
/* Estilos normales para el botón */
