html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  /*margin-bottom: 60px;*/
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.validation-summary-valid {
    display: none; /* Oculta el contenedor de errores cuando no hay errores */
}

.validation-summary-errors {
    diplay: block; /* Muestra el contenedor de errores cuando existen errores */
}

/*Estilos botones ver detalle*/
.btn-outline-dark:hover {
    background-color: #343a40; /* Oscurece el fondo */
    color: #ffffff; /* Cambia el texto a blanco */
    transform: scale(1.05); /* Añade un ligero zoom */
}

    .btn-outline-dark:hover i {
        transform: rotate(360deg); /* Gira el ícono */
        transition: transform 0.4s ease; /* Suaviza la animación */
    }

/* Estios para mantener el footer abajo de la pantalla*/
html, body {
    height: 100%;
    margin: 0;
}

/* Estilo para el footer fijo */
.footer-fijo {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

/* Contenedor principal con Flexbox en columna */
.contenedor {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* El contenido principal crece y empuja el footer hacia abajo */
main {
    flex: 1;
    padding: 20px;
}

/* Footer al fondo */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 15px;
}

/*Carousel productos*/
.carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    box-sizing: border-box;
    text-align: center;
    background: #fff;
    padding: 20px;
}

.carousel-item img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.carousel-buttons {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.carousel-buttons button {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
}

.carousel-buttons button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Zoom imagenes */
.zoom {
    /*padding: 50px;*/
    transition: transform .2s; /* Animation */
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.zoom:hover {
    transform: scale(1.5); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}

/* Paginación */


.containerPaginationn {
    position: relative;
    height: 100vh;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("https://images.pexels.com/photos/247431/pexels-photo-247431.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.containerPaginationn .paginationNew {
    position: relative;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
    border-radius: 2px;
}

.containerPaginationn .paginationNew li {
    list-style-type: none;
    display: inline-block;
}

.containerPaginationn .paginationNew li a {
    position: relative;
    padding: 20px 25px;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
}

.containerPaginationn .paginationNew li a:hover,
.containerPaginationn .paginationNew li.active a {
    background: rgba(255, 255, 255, 0.2);
}
