*{
    box-sizing:border-box;
    margin:0;
    padding:0;
}

body{

    font-family:Arial,sans-serif;

    background:#ffffff;

    color:#333;

    padding:20px;

    padding-bottom:100px;

}

.contenedor{

    max-width:1200px;

    margin:auto;

    display:flex;

    flex-wrap:wrap;

    gap:40px;

}

.col-izq{

    flex:1;

    min-width:350px;

}

.col-der{

    flex:1;

    min-width:350px;

}

.foto-principal{

    border:1px solid #ddd;

    border-radius:10px;

    overflow:hidden;

}

.foto-principal img{

    width:100%;

    display:block;

}

.miniaturas{

    display:flex;

    gap:10px;

    margin-top:15px;

    flex-wrap:wrap;

}

.miniaturas img{

    width:90px;

    height:90px;

    object-fit:cover;

    border:1px solid #ddd;

    border-radius:8px;

    cursor:pointer;

}

.estado{

    color:#00a650;

    font-weight:bold;

    margin-bottom:10px;

}

h1{

    font-size:34px;

    line-height:1.3;

    margin-bottom:20px;

}

.precio-normal{

    text-decoration:line-through;

    color:#999;

    font-size:24px;

}

.precio-oferta{

    color:#000;

    font-size:48px;

    font-weight:bold;

    margin-top:5px;

}

.ahorro{

    color:#00a650;

    font-size:20px;

    font-weight:bold;

    margin-top:10px;

}

.beneficios{

    margin-top:25px;

    background:#f7f7f7;

    border-radius:10px;

    padding:18px;

    line-height:2;

}

.btn-ml{

    margin-top:25px;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

    width:100%;

    background:#FFE600;

    color:#000;

    text-decoration:none;

    font-weight:700;

    font-size:22px;

    padding:18px;

    border-radius:10px;

    transition:.2s;

}

.btn-ml:hover{

    transform:translateY(-2px);

}

.btn-ml img{

    width:40px;

    height:40px;

}

.descripcion{

    margin-top:35px;

}

.descripcion h2{

    margin-bottom:15px;

}

.descripcion p{

    line-height:1.8;

}

.btn-flotante{

    position:fixed;

    bottom:10px;

    left:10px;

    right:10px;

    z-index:9999;

    display:none;

    justify-content:center;

    align-items:center;

    gap:10px;

    background:#FFE600;

    color:#000;

    text-decoration:none;

    font-size:20px;

    font-weight:bold;

    padding:15px;

    border-radius:10px;

    box-shadow:0 0 15px rgba(0,0,0,.2);

}

.btn-flotante img{

    width:34px;

    height:34px;

}

@media(max-width:768px){

    .contenedor{

        flex-direction:column;

    }

    h1{

        font-size:28px;

    }

    .precio-oferta{

        font-size:40px;

    }

    .btn-flotante{

        display:flex;

    }

}

.home-container{

    max-width:1200px;

    margin:auto;

}

#buscador{

    width:100%;

    padding:15px;

    margin:25px 0;

    border:1px solid #ddd;

    border-radius:8px;

    font-size:18px;

}

.categorias{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-bottom:30px;

}

.categoria-item{

    background:#f5f5f5;

    padding:10px 15px;

    border-radius:8px;

    text-decoration:none;

    color:#333;

}

.grid-productos{

    display:grid;

    grid-template-columns:
    repeat(auto-fill,minmax(250px,1fr));

    gap:20px;

}

.card-producto{

    border:1px solid #ddd;

    border-radius:10px;

    overflow:hidden;

    background:white;

    padding:15px;

}

.card-producto img{

    width:100%;

    aspect-ratio:1;

    object-fit:contain;

}

.card-producto h3{

    font-size:16px;

    margin-top:10px;

    min-height:60px;

}

.card-precio{

    font-size:24px;

    font-weight:bold;

    margin:15px 0;

}

.card-boton{

    display:block;

    text-align:center;

    background:#3483fa;

    color:white;

    text-decoration:none;

    padding:12px;

    border-radius:8px;

}

.descripcion p{
    white-space: pre-line;
    line-height: 1.8;
}