*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    transition-duration: 0.4s;
    scroll-behavior: smooth;
    outline: none;
}
/*fuentes*/
@font-face {
    font-family:"PlayfairDisplay-Regular";
    src: url(../font/Playfair_Display/PlayfairDisplay-Regular.ttf);
}
@font-face {
    font-family:"PlayfairDisplay-Bold";
    src: url(../font/Playfair_Display/PlayfairDisplay-Bold.ttf);
}
@font-face {
    font-family:"manrope_regular";
    src: url(../font/Manrope/Manrope-Regular.ttf);
}
@font-face {
    font-family:"manrope_light";
    src: url(../font/Manrope/Manrope-ExtraLight.ttf);
}
@font-face {
    font-family:"LeagueSpartan";
    src: url(../font/League_Spartan/LeagueSpartan-SemiBold.ttf);
}
:root{
    --ColorBase:#0c3c4a;
    --ColorBaseverde:#25d4a8;
    --ColorBasewhite:#ffff;
    --ColorBaseazul:#1c9eb9;
}
.body{
    overflow-x: hidden;
}

/* navbar */
.cont_nav{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: var(--ColorBase);
    position: relative;
}


.navbar{
    background: var(--ColorBase);
    height:10vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    z-index: 1;
}



.logo {
    font-family: 'PlayfairDisplay-Bold', serif;
    color: var(--ColorBasewhite);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
}
.logo_nav{
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.cont_nav_bar_opciones {
    list-style: none;
    display: flex;
    justify-content: start;
    gap: 20px; /* Espacio entre los botones */
    margin-right: 20px;
}

.cont_opc_nav{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.cont_opc_nav img{
    width: 20px;
    height: 20px;
}

.cont_nav_bar_opciones li {
    position: relative; /* Para el efecto de subrayado */
}

.cont_nav_bar_opciones li a{
    text-decoration: none;
    color: var(--ColorBasewhite);
    font-family: LeagueSpartan;
    transition: color 0.3s;
    padding: 5px 0; /* Espacio vertical para el efecto de hover */
    font-size: 0.9rem;
}

.cont_nav_bar_opciones li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background-color: var(--ColorBaseverde);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.cont_usuario_nombre{
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    margin-left: 20px;
    gap: 5px;
}
.cont_usuario_nombre img{
    width: 40px;
    height: 40px;
}

.cont_usuario_nombre p{
    font-size: 0.7rem;
    background:none;
    text-decoration: none;
    text-align: center;
    color: var(--ColorBasewhite);
    font-family: 'LeagueSpartan-SemiBold', sans-serif;
}

.cont_btn_cerrar{
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn_cerrar_sesion{
    font-size: 0.9rem;
    cursor: pointer;
    background:none;
    border: none;
    text-decoration: none;
    color: var(--ColorBasewhite);
    font-family: 'LeagueSpartan-SemiBold', sans-serif;
    transition: color 0.3s;
    padding: 5px 0; /* Espacio vertical para el efecto de hover */
}
.btn_cerrar_sesion:hover {
    color: var(--ColorBaseverde);
}

.btn_cerrar_sesion::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background-color: var(--ColorBaseverde);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.cont_nav_bar_opciones li a:hover::after {
    transform: scaleX(1);
}

.Precio_divisas{
    font-size: 1.8rem;
    background:none;
    text-decoration: none;
    color: black;
    font-family: 'LeagueSpartan-SemiBold', sans-serif;
}
.Precio{
    font-size: 1rem;
    background:none;
    text-decoration: none;
    color: gray;
    font-family: 'manrope_regular', sans-serif;
}
.cont_precios{
    display: flex;
    align-items: start;
    gap:10px;
    flex-direction:column;
    justify-content: space-around;
    width: 100%;
}
.cont_descuento{
    background-color: red;
    padding: 6px;
    border-radius: 0px 20px 20px 0px;
    font-size: 0.7rem;
    color:white;
    font-family:manrope_regular;
    text-align: center;
    width:50%;
}
.descuento{
    font-size: 0.8rem;
    color:white;
    font-family:manrope_regular;
    font-weight: bold;
}
.bcv{
    font-size: 0.9rem;
    color:gray;
    font-family: 'LeagueSpartan-SemiBold', sans-serif;
    font-weight: bold;
}

@media (max-width: 900px) {

    /* Media Queries para responsividad */

    .Precio_divisas{
    font-size: 1.5rem;
    }
    .cont_descuento{
        width:88%;
        font-size: 0.5rem;
    }
    .descuento{
    font-size: 0.5rem;
    color:white;
    font-family:manrope_regular;
    font-weight: bold;
    }
    .Precio{
    font-size: 0.7rem;
    margin-top:10px;
    background:none;
    text-decoration: none;
    color: gray;
    font-family: 'manrope_regular', sans-serif;
    }

  
    .cont_nav_bar_opciones {
        position: absolute;
        top: 70px; /* Ajusta según la altura de la navbar */
        right: 0;
        background-color: var(--ColorBase);
        flex-direction: column;
        width: 100%;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
        gap: 0;
        margin-right: 0;
    }
    .cont_nav_bar_opciones.active {
        /* padding: 20px; */
        height: 100vh; /* Permite que el menú se expanda */
        z-index: 1;
        position: fixed;
    }
    .menu-toggle {
        display: flex;
        margin-right: 20px;
    }
    .cont_nav{
        display: flex;
        justify-content: space-between;
    }
    
    .navbar {
        height: 10vh; /* Aumentar altura en pantallas pequeñas */
    }
    .cont_opc_nav{
        margin-top: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .cont_usuario_nombre{
        margin-top: 25px;
    }
}
/* -------------------------------- */

.general{
    background-color: rgb(245, 245, 245);
    padding: 60px;
    width: 100%;
    margin-top: 10vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
.cont_part1 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Centra horizontalmente el contenedor */
}
.logo{
    display: flex;
    align-items: center;
    justify-content:center;
}

.logo img {
    max-width: 100px; /* Ancho máximo para pantallas grandes */
    height: auto; /* Mantiene la proporción */
}

.titulo {
    width: 40%;
    text-align: center; /* Asegura que el texto esté centrado */
    font-size: 2rem;
    font-family:manrope_regular;
    color: var(--ColorBase);
}

/* Estilos para la barra de búsqueda */
.barra-busqueda{
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.input_busqueda {
    width: 70%;
    line-height: 28px;
    border: 2px solid transparent;
    border-bottom-color: #777;
    padding: .2rem 0;
    font-family: manrope_regular;
    outline: none;
    background-color: transparent;
    color: #0d0c22;
    transition: .3s cubic-bezier(0.645, 0.045, 0.355, 1);
   }
   
   .input_busqueda:focus, .input-busqueda:hover {
    outline: none;
    padding: .2rem 1rem;
    border-radius: 1rem;
    border-color: #7a9cc6;
   }
   
   .input-busqueda::placeholder {
    color: #777;
   }
   
   .input-busqueda:focus::placeholder {
    opacity: 0;
    transition: opacity .3s;
   }
   
/*---------------------------- categorias*/


.cont_select_categorias{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content:space-around;
    margin-top: 40px;
}

.btncategorias{
    margin-top: 10px;
    width: 80%;
    display: flex;
    align-items: center;
    justify-content:center;
}

.select_categorias{
    width: 40%;
    padding: 10px;
    border: 1px solid rgb(224, 224, 224);
    background-color: white;
    font-size:0.9rem;
    color: black;
    outline: none;
    border-radius: 10px;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}
/*cuadros de productos*/
.contenedor_productos {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    gap: 5px;
    margin-top: 40px;
    width: 100%;
}

.cont_tarjeta{
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 250px;
    overflow-y: hidden;
    background: white;
}
.img_producto{
    width:30%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.img_producto img{
    width: 90%;
    height: 250px;
    object-fit: contain;
}

.img_producto{
    padding: 10px;
}
.cont_descripcion{
    width: 100%;
    height: 250px;
    background-color:white;
    display: flex;
    gap: 10px;
    align-items:flex-start;
    flex-direction: column;
    justify-content: center;
}

.tittleCard{
    width: 100%;
    font-size:1.2rem;
    text-align: start;
    color: black;
    font-family:manrope_regular;
}

.cont_g_desc{
    width: 70%;
    height: 250px;
}

.cont_descripcion p{
    color: var(--ColorBase);
    font-size: 0.9rem;
    font-family:manrope_regular;
}
.precio_producto{
    color: black;
    font-size: 2rem;
    font-family:manrope_regular;
}
.tipodeentrega{
    color: var(--ColorBaseazul);
    font-size: 1rem;
    font-family:manrope_regular;
    font-weight: bold;
}
.barra-busqueda_responsive{
    display: none;
}

@media (max-width: 900px) {
    .cont_part1{
        justify-content:space-around;
        margin-top: 20px;
    }

    .logo{
        width: 20%;
    }
    .logo img {
        width: 15vw; /* Ancho relativo al viewport */
        /* max-width: 100px; Ancho máximo para pantallas grandes */
        height: auto; /* Mantiene la proporción */
    }
    .titulo{
        font-size: 1rem;
    }
    .barra-busqueda{
        width: 60%;
    }
    
    .input_busqueda {
        width: 90%;
    }
    .btncategorias{
        margin-top: 30px;
    }
    .general{
        padding: 10px;
    }

    .contenedor_productos {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }

    .cont_tarjeta{
        width: 95%;
        height: 200px;
        height: auto;
    }

    .img_producto{
        width:40%;
        height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .img_producto img{
        width: 100%;
        object-fit: contain;
    }

    .cont_g_desc{
        width: 60%;
        height: 200px;
    }
    .cont_descripcion{
        width: 60%;
        height: 200px;
    }
    
    .cont_descripcion p{
        font-size: 0.7rem;
    }
    .precio_producto{
        font-size: 1.5rem;
    }
    .tipodeentrega{
        color: var(--ColorBaseazul);
        font-size: 0.7rem;
        font-family:manrope_regular;
        font-weight: bold;
    }

    .tittleCard{
        font-size: 0.8rem;
    }
    .select_categorias{
        width: 70%;
    }
    .contenedor_productos {
        margin-top: 20px;
    }
    
}

/*** ESTILOS BOTÓN SLIDE VER MAS ***/
.ov-btn-slide-close {
    background: var(--ColorBase); /* color de fondo */
    color: white; /* color de fuente */
    border: 2px solid white; /* tamaño y color de borde */
    padding: 15px 30px;
    border-radius: 3px; /* redondear bordes */
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: inline-block;
    margin-bottom: 40px;
    margin-left: 20px;
    font-family:PlayfairDisplay-Regular;
  }

  .ov-btn-slide-close:before, .ov-btn-slide-close:after {
    content: "";
    z-index: -1;
    position: absolute;
    width: 50%;
    height: 100%;
    top: 0;
    left: -50%;
    background-color: var(--ColorBaseverde); /* color de fondo hover */
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
  .ov-btn-slide-close:after {
    left: 100%;
  }
  .ov-btn-slide-close:hover {
    color: var(--ColorBase); /* color de fuente hover */
  }
  .ov-btn-slide-close:hover:before {
    left: 0;
  }
  .ov-btn-slide-close:hover:after {
    left: 50%;
  }

.logo_bita_producto{
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    margin-right: 5px;
}

/*****Paginacion*/
.cont_paginacion{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}
.contbtnpag{
    background-color: var(--ColorBase);
    font-size: 1rem;
    font-family: PlayfairDisplay-bold;
    color: white;
    padding: 10px;
    border: 1px;
    border-radius: 50%;
}
.contbtnpag2{
    background-color:white;
    font-size: 1rem;
    font-family: PlayfairDisplay-bold;
    color: black;
    border: 1px;
    padding: 10px;
    border-radius: 50%;
}

/* Estilos para el menú hamburguesa */
.menu-toggle {
    /* display: none; */
    flex-direction: column;
    cursor: pointer;
}

.bar {
    height: 3px;
    width: 25px;
    background-color: var(--ColorBasewhite);
    margin: 3px 0;
    transition: all 0.1s ease;
}


