.titleBajoHeader{
    background: #3246C6;
    padding-top:100px;
    color:white;
}

.productos-container {
    display: flex;
    flex-wrap:wrap;
    justify-content:center;
    gap: 20px;
    padding: 20px;
}
.producto-card {
width: 300px;
border: 1px solid #e0e0e0;
border-radius: 15px;
background: #ffffff;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: box-shadow 0.3s ease, border 0.3s ease;
position: relative;
padding-bottom: 5px;
 box-sizing:border-box;
}

.producto-card:hover {
    border: 1px solid #e0e0e0;
    box-shadow:
        inset 0 0 0 2px gold, 
        0 4px 12px gold;
    padding:1px;
}

.producto-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    transition: transform 0.3s ease;
}
.characts{
    padding:10px;
    display:flex;
    flex-direction:column;
    max-height:200px;
    overflow-y:auto;
    box-sizing:border-box;
}
.characts h3{
 margin:0;
 text-align:center;
}
.characts p{
margin:0;
}
.codeChar{
text-align:center;
color:#333;
font-size:0.8rem;
}



.cabecera2{
  display:flex;
  justify-content:space-between;
  align-items: stretch;
  margin:0;
  background:gold;
}  
.cabecera2 h4{
  display:flex;
  margin: auto;
  text-align:center;
}
.cabecera2 button{
  padding:5px;
  border:none;
  font-size:1.1rem;
  background:none;
}
.cabecera2 button:hover{
   background:red;
   color:white;
}

/*Detalles de un producto*/
.container-details {
    width: 300px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index:1;
    background:white;
    border:1px solid #cdcdcd;
    border-radius:15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    overflow:hidden;
}
/*Imagenes slider*/
.containerImgsDetail{
    position:realtive; display:flex; width:100%; overflow-x:scroll;
}
.imgDetails{
    width:300px; max-height:250px; object-fit:cover;
}

.campoDetalles{
    height:80px;
    overflow-y:auto;
    background:#f0f0f0;
    width:96%;
    margin: 0 2%;
}
 .campoDetalles p{
     margin:0;
     margin-left:10px;
     font-size:1rem;
 }

.comboDetail{
  margin: 10px;
  background: rgba(255, 215, 0, 0.8);
  border:1px solid #cdcdcd;
  border-radius:7px;
  padding:3px;
}
.btnCarrito{
    margin:10px auto;
}
.amarillo{
    padding:7px;
    border:none;
    border-radius:7px;
    background:gold;
    display:flex;
    transition:transform 0.3s ease;
}
.amarillo:hover{
    background:yellow;
    transform:scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.conIcon{
    display:flex;
    align-items:center;
    gap:5px;
    justify-content:center,
}
.conIcon i {
    font-size: 1rem;
    color: white;
    background: green;
    border-radius: 50%;
    padding: 5px;
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}





.listProducts{
display:none;
position:fixed; top:55%;
left: 50%; transform: translate(-50%, -50%);
border: 1px solid #cdcdcd; width: 700px;
background:white;
border-radius:10px;
overflow:hidden;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
z-index:3;
}
#listProducts{
width:100%;
height:65vh;
overflow-y:auto;
background: #f0f0f0;
}

.productList{
display:flex;
height:120px;
margin:5px;
align-items:center;
border:1px solid #cdcdcd;
border-radius:7px;
padding:5px;
box-sizing:border-box;
background:white;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.productList img{
width:100px;
height:100px;
object-fit:cover;
border-radius:5px;
margin:auto;
}
.centroProd{
width:75%;
display:flex;
flex-direction:column;
max-height:100%;
overflow-y:auto;
padding-left:10px;
}
.centroProd h3, .centroProd p{
margin:0;
}
.centroProd p{
font-size:0.9rem;
}
.lateralProd{
width:15%;
display:flex;
flex-direction:column;
max-height:100%;
gap:7px;
align-items:center;
}
.lateralProd p{
margin:0;
}
.lineCount{
display:flex;
justify-content:center;
align-items:center;
width:100%;
gap:7px;
}
.lineCount p{
margin:0;
}
.lineCount button{
background:gold;
border: none;
border-radius:7px;
width:28px;
height:28px;
font-size:1rem;
}
.lineCount button:hover{
font-weight:bold;
background:yellow;
}
.btn{
padding:5px 10px;
transition:transform 0.3s ease;
border:none;
border-radius:7px;
}
.btn:hover{
transform:scale(1.1);
}
.rojo{
background:red;
color:white;
}
.eliminar{
font-size:1.1rem;
margin:0;
}

@media (max-width: 768px) {
.listProducts{
  width:85%;
}
.lateralProd p, .eliminar{
    font-size:0.9rem;
    line-height: 1.2; margin:0;
}
}







/*Estilo del boton de agreagr al carrito*/
.btnCarrito2 {
position: fixed;
bottom: 20px;
right: 20px;
width: 60px;
height: 60px;
border-radius: 50%;
background-color: gold;
color: white;
border: 2px solid white;
font-size: 2rem;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 8px rgba(0,0,0,0.5);
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
cursor: pointer;
z-index: 2;
}

.btnCarrito2 i {
pointer-events: none;
}

#cantidadEnLista {
position: absolute;
top: -3px;
left: -3px;
background-color: red;
color: white;
font-size: 1rem;
width: 18px;
height: 18px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
padding:2px;
}



.contBajoProd{
    background:red;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    background:white;
    box-shadow: 0 -4px 6px -2px rgba(0, 0, 0, 0.1);
}