/*Generales*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif,Arial, Helvetica, sans-serif;
}
body{

    background: url(../img/abstract.jpg);
}

a{
    text-decoration: none;
    color: #260038e0;
}
a:visited{
    color: #1303e6;
}
a:hover{
    color: #555;
}

.alert_green{
    color:green;
}
.alert_red{
    color:red;
}
table{
    text-align: center;
    width: 100%;
    border: 1px solid #555;
}
td{
    border-top: 1px solid #ccc;
    padding: 2px;
}
tr:nth-child(odd){
    background: #cccccc;
}
tr:nth-child(even){
    background: #fff;
}
th{
    background: #260038e0;
    color: #fff;
    padding: 5px;
    border-bottom: 1px solid #ccc;
}

.thumb {
    width: 100px;
    height: 100px;
    border-radius: 5px;
    margin: 5px;
    padding: 5px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
/*Container*/
#container{
    width: 90%;
    margin: 0px auto;
    background: #fff;
    padding: 10px 0;
    box-shadow: 0 0 10px gray;
    min-height: 100%;
    margin-bottom: 20px;
}

/*Header*/
#header{
    width: 100%;
    height: 160px;
    background: #fff;
    padding: 10px 0;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#logo{
    padding: 20px;
    float: center;
    margin-left: 10px;
}

#logo img{
    height: 80px;
    float: center;
}
#logo a{
    float: left;
    font-size: 30px;
    letter-spacing: 4px;
    font-family: 'open sans', Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    color: #260038e0;
    font-weight: bold;
    text-decoration: none;
    margin-top: 25px;
    margin-left: 25px;
    text-shadow: 0px 1px 1px #f1eaea;
    transition: all 300ms;
}
#logo a:hover{
    
    text-shadow: 0px 1px 1px #f3d9d9, 0px 0px 4px #260038e0;
}
/*Menu*/

#menu{
    clear:both;
    background: #260038e0;
    color: rgb(190, 183, 183);
    height: 55px;
    border-bottom: 4px solid #929294;
    
}
#menu a{
    display: block;
    color: white;
    text-decoration: none;
    padding-left: 12px;
    padding-left: 12px;
    transition: all 300ms;
        }
#menu a:first-child{
    margin-left: 25px;
    border-left: 1px solid #363636;
}
#menu a:hover{
    background: #6a12ce;
    color: white;
}
#menu ul{
    list-style: none;
    text-decoration: none;
    margin: 0px auto;
    margin-left: 25px;
    padding: 0;
}
#menu ul li{
    line-height: 55px;
    float: left;
    border-right: 1px solid #363636;
    }

/*Content*/
#content{
    margin: 0px auto;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/*Barra lateral*/

#lateral{
    width: 22%;
    min-height: 100%;
    float: left;
    margin-top: 20px;
    margin-left: 10px;
    background: #f9f9f9;
    
   }
#lateral .block_aside{
    display : block;
    width: 90%;
    padding: 10px;
    margin: 5px auto;
    
}
#lateral h3{
    display: block;
    background: #E1E1E1;
    width: 100%;
    padding-bottom: 2px;
    padding-top: 2px;
    color: #222;
    text-align: center;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: bold;
    border-bottom: 2px solid #260038e0;
    
}

#lateral ul{
    
    margin-bottom: 10px;
    margin-top: 10px;
}
#lateral ul li{
    list-style: square;
    margin-left: 20px;
    margin-bottom: 5px;
    margin-top: 5px;

}

/*Forms*/

.form_container{
    width: 80%;
    margin-top: 20px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    justify-self: center;
}

label,
input[type="text"], 
input[type="password"], 
input[type="email"] {
    display: block;
    width: 95%;
    margin-top: 2px;
    margin-bottom: 2px;
}

input[type="text"], 
input[type="password"], 
input[type="email"], 
input[type="number"],
select, textarea{
    width: 100%;
    padding: 7px;
    margin-bottom: 10px;
    color: gray;
    border: 1px solid #ccc;
    border-radius: 3px;
    transition: all 300ms;
}
label,input[type="button"],
input[type="submit"],
button{
    display: block;
    margin-top: 10px;

}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus{
    border: 1px solid #1303e6;
    color: black;
}

input[type="button"],
input[type="submit"],
button, .button{
    display: block;
    padding: 10px;
    border-radius: 3px;
    width: auto;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    background: #260038e0;
    color: rgb(190, 183, 183);
    border: 1px solid #260038e0;
    cursor: pointer;
    transition: all 300ms;
    border: 1px solid #11608E;
    cursor: pointer;
}
.button{
    
    background: #260038e0;
    color: rgb(255, 255, 255) !important;
    text-decoration: none;
}
.button-small{
    width: 120px;
    margin: 20px;
    text-align: center;
}
.button-gestion{
    margin-bottom: 5px;
    margin-top: 5px;
}
.button-red{
    background: red;
    width: 30%;
    justify-self: center;
    color: #302e2e;
    border: 1px solid #cf1717;
    transition: all 300ms;
}
.button-orange{
    background: orange;
    width: 30%;
    justify-self: center;
    color: #302e2e;
    border: 1px solid #b34802;
    transition: all 300ms;
}
.button-green{
    background: #00ff00;
    color: #fff;
    border: 1px solid #00ff00;
}

/*Central*/

#central{
    width: 75%;
    min-height: 500px;
    float: right;
    margin-top: 20px;
    margin-right: 10px;
    background: #f9f9f9;
    padding: 15px;
    min-height: 500px;
}

#central h1{
    font-size: 24px;
    color: gray;
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    font-weight: normal;
    letter-spacing: 1px;
    padding: 10px;
    padding-top: 0px;
    min-height: 30px;

    
}

/*Productos*/
.product{
    width: 30%;
    float: left;
    border: 1px solid #ccc;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 30px;
    background: #f9f9f9;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    transition: all 300ms;
    height: 300px; /* Altura fija para todos los cuadros */
    /*display: flex; /* Flexbox para alinear contenido */
    flex-direction: column; /* Alinear contenido verticalmente */
    justify-content: space-between; /* Espaciado uniforme */
    
}
.product img{
    height: 120px;
    margin-bottom: 10px;
}
.img_carrito{
    height: 50px;
    display: block;
    margin: 10px auto;
    }
.product h2{
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.carrito_totales{
    font-size: 20px;
    color: #555;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 10px;
}
.product p{
    font-weight: bold;
    margin-bottom: 10px;
    color: #555;

}
#detail-product{
    width: 100%;
    
}
#detail-product .image{
    display: block;
    width: 47%;
    float: left;
    
    
}
#detail-product img{
    display: block;
    width: 100%;
    float: left;
    
    
}
#detail-product .data{
    width: 45%;
    float: right;
    
}
#detail-product .description{
    
    margin-bottom: 20px;
}
#detail-product .price{
    
    margin-bottom: 10px;
    font-size: 20px;
    color : #555;
    font-weight: bold;

}

#detail-product .button{
    width: 200px;
    margin: 20px auto;
    text-align: center;
    padding: 10px;
}
/*Footer*/
#footer{
    
    padding-top: 10px;
    padding-bottom: 10px;
    background: #260038e0;
    color: rgb(190, 183, 183);
    text-align: center;
    line-height: 20px;
    clear: both;
    border-top: #757575 2px solid;
}

#table tr{
    width: 80%;
    margin-top: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 20px;
    background: #fff;
}

.productos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.product .price {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}
/*CARRITO*/
.carrito_totales{
    width: 295px;
    float: right;
    margin-top: 20px;
}
.carrito_totales h3{
    float: left;
    display: block;
    margin-top: 15; ;
}
.button-pedido{
    display: block;
    float: right;
    width: 100%;
    margin: 5px auto;
    text-align: center;
    padding: 10px;
    background: #003807e0;
    color: rgb(190, 183, 183);
    border: 1px solid #260038e0;
    cursor: pointer;
    transition: all 300ms;
    border-radius: 5px;
}
.button-delete{
    display: block;
    float: right;
    width: 100%;
    margin: 5px auto;
    text-align: center;
    padding: 10px;
    background: #740101e0;
    color: rgb(190, 183, 183);
    border: 1px solid #260038e0;
    cursor: pointer;
    transition: all 300ms;
    border-radius: 5px;
}