nav{
    background-color: #F7F7F7;
}
nav .nav-link{
    color: black;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
}
nav .nav-link:hover{
    color: white;
    background-color:#3D3A50;
}
.bg-orange{
    background-color: #0c3853;
}
.bg-lite{
    background-color: #f8fafb;
}
.bg-nav{
    background-color: #cfd4d6;
}
#generate-pdf{
    position: fixed;
    top: 300px;
}
nav h3{
    margin: 0px;
    height: 100%;
    display: flex;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
}
.box {
    display: flex;
    flex-direction: row; /* asegura que imagen y texto estén lado a lado */
    border-radius: 10px;
    width: 100%;
    height: 250px;
    margin: 0;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 10px 5px;
    overflow: hidden; /* evita que la imagen sobresalga */
}

.box-img {
    flex: 1; /* ocupa la mitad del espacio */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
}

.box-img img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* o 'contain' si prefieres ver toda la imagen */
    border-radius: 10px 0 0 10px;
}

.box-p {
    flex: 1; /* ocupa la otra mitad */
    border-left: 1px solid black;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.titulo {
    font-size: 20px;
    font-weight: bold;
    color: #2698ff;
    margin-bottom: 10px;
}

.descrip {
    flex-grow: 1;
    font-size: 16px;
    line-height: 1.4;
}

.precio {
    font-size: 18px;
    color: #2798ff;
    margin-top: 10px;
}

.precio2 {
    color: black;
    text-decoration: none;
}
.box-Categoria{
    border-radius: 20px;
    padding: 10px;
    width: 50%;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 10px;
}
.img-categoria{
    width: 70%;
}
.contenedor{
    width: 100%;
    padding: 50px 200px 200px 200px;
}
.img-agotado {
    position: absolute;
    top: 10px;       /* distancia desde el borde superior */
    left: 10px;      /* distancia desde el borde izquierdo */
    width: 25%;      /* tamaño proporcional al contenedor */
    z-index: 10;     /* asegura que quede encima de la imagen */
}
.table td{
    vertical-align: middle;    
}

.container-modal .btn-cerrarr label{
    text-align: center;
    border: white 2px solid;
    font-size: 20px;
    padding-left: 5px;
    padding-right: 5px;
}
.container-modal .btn-cerrarr label:hover{
    border: black 2px solid;
    border-radius: 5px;
    text-align: center;
}
#btn-modal, #btn-modal-edit{
    display: none;
}

.container-modal{
    position: fixed;
    width: 100%;
    height:100vh;
    top: 0;
    left: 0;
    display: none;
    background-color:darkgray;
    justify-content: center;
    align-items: center;
    z-index: 100;
}
#btn-modal:checked ~ .container-modal, #btn-modal-edit:checked ~ .container-modal{
    display: flex;
}
.content-modal{
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    width: 30%;
}

.img-cat{
    width: 30%;
}


.boxv{
    border-radius: 10px;
    width: 200px;
    margin: 0px;
    text-align: center;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 10px;
}
.boxv p{
    margin: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 15px;
    font-weight: bold;
}
.boxv-Categoria{
    border-radius: 20px;
    padding: 10px;
    height: 100px;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 10px;
    align-content: center;
}

.imgv-categoria{
    height: 70%;
}
.img-agotado2{
    width: 70%;
}