body {
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    font-size: 1rem;
    line-height: 1.4em;
}

h1 {
    /* font-size: 2rem; */
    line-height: 1.3em ;
}


.container {
    width: 85%;
    max-width: 950px;
    margin: 0 auto;
    transition: transform .5s;
}

.header {
    background: linear-gradient(90deg, rgba(19,81,185,1) 0%, rgba(0,185,255,1) 100%);
    color: white;
    padding: .7rem 0;
    z-index: 10;

    position: fixed;
    left: 0;
    top: 0;
    right: 0;
}

.header a {
    color: white;
    text-decoration: none;

}

.logo-nav-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    letter-spacing: 5px;
    font-size: 1.3em;
}
.logo  img {
    width: 60px;
}
.menu-icon{
    display: none;
}

.categorias {
    padding: .5rem 0;
}

.container-buscador{
  width: 300px;  
}

.buscador {
        /* display: block; */
        width: 100%;
        /* height: calc(2.25rem + 2px); */
        padding: .4rem .75rem;
        font-size: .9rem;
        font-weight: 400;
        line-height: 1;
        color: #676b70;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid #63a6e9;
        border-radius: .25rem;
        transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
        outline: none;
    
}

.navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .navigation ul li {
        display: inline-block;
    }
    .navigation ul li a {
        display: block;
        padding: 0.1rem 1rem;
        transition: all 0.4s linear;
        border-radius: 5px;
    } 
        .navigation ul li a:hover {
            background: rgba(4, 186, 252, 0.678);
        }



    .navigation ul li span {
        display: block;
        padding: .3rem .3rem;
        transition: all 0.4s linear;
        border-radius: 50%;
        color: #222f3e;
        background: rgb(154, 214, 255);
        cursor: pointer;
    } 
        .navigation ul li span:hover {
            background: rgba(4, 186, 252, 0.678);
        }

.main {
    padding-top: 4rem;
    text-align: justify;
}


.footer {
    background: #f2f2f2;
    padding: 2rem 0;
    text-align: center;
    margin-top: 6rem;
}







@media only screen and (max-width: 767px){
 
    .menu-icon{
        display: block;
        cursor: pointer;
        padding: 0.5rem 4px;
        
    }
    .container-buscador{
      width: 100%;  
    }

    .navigation {
        width: 100%;
        margin-top: 1rem;
    }
        .navigation ul {
            display: none;
        }

        .navigation ul.show {
            display: block;
        }
    
        .navigation ul li {
            display: block;
        }
        .navigation ul li a {
            display: block;
            padding: 0.5rem 0;
            transition: all 0.4s linear;
            border-radius: 5px;
        } 
            .navigation ul li a:hover {
                background: #4a4a4a;
            }
}






/* estilos de productos */

h3 {
    text-align: center;
    font-size: 18px;
    margin: 0;
    padding-top: 10px;
}
a{
    text-decoration: none;
}
.gallery{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin: 50px 0;
}
.content {
    width: 30%;
    margin: 15px;
    box-sizing: border-box;
    float: left;
    text-align: center;
    border-radius: 20px;
    cursor: pointer;
    padding-top: 10px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 
    0 10px 10px rgba(0,0,0,0.22);
    transition: .4s;
    background: #f2f2f2;
    padding: 30px;

}
.content:hover {
    box-shadow: 0 3px 6px rgba(0,0,0,0.16),
    0 3px 6px rgba(0,0,0,0.23);
    transform: translate(0px, -8px);

}
.content img {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    display: block;
}
p{
    text-align: center;
    color: #b2bec3;
    padding-top: 0 8px;
    

}
h6 {
    font-size: 20px;
    text-align: center;
    color: #222f3e;
    margin: 0;
}
ul{
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0;
}
li{
    padding-top: 5px;
}
.fa {
    font-size: 15px;
    transition: .4s;
    margin: 3px;
    text-align: center;

}
.checked {
    color: #ff9f43;
}



/* otro tipo de catalogo */

.listProduct .item img {
    width: 90%;
    filter: drop-shadow(0 20px 20px #0009);
}

.listProduct {
    text-align: center;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.listProduct .item {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.25), 
    0 5px 5px rgba(0,0,0,0.22);
    transition: .4s;
}
.listProduct .item:hover{
    box-shadow: 0 3px 6px rgba(0,0,0,0.16),
    0 3px 6px rgba(0,0,0,0.23);
    transform: translate(0px, -8px);
}

.listProduct .item h2 {
    font-weight: 500;
    font-size: large;

}

.listProduct .item .price {
    letter-spacing: 7px;
    font-size: small;
}

.listProduct .item button {
    background-color: #353432;
    color: #eee;
    padding: 5px 10px;
    border-radius: 20px;
    margin-top: 10px;
    border: none;
    cursor: pointer;
}


.cartTab {
    width: 400px;
    background-color: #353432;
    color: #eee;
    position: fixed;
    inset: 0 -400px 0 auto;
    display: grid;
    grid-template-rows: 70px 1fr 40px;
    transition: .5s;
}

body.showCart .cartTab {
    inset: 0 0 0 auto;
}
body.showCart .container {
    transform: translateX(-250px);
}


.cartTab h1 {
    padding: 20px;
    margin: 0;
    font-weight: 300;

}

.cartTab .btn {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.cartTab .btn button {
    cursor: pointer;
    border: none;
    font-family: Arial, Helvetica, sans-serif;
}
.cartTab .btn .checkOut {
    background: linear-gradient(90deg, rgba(19,81,185,1) 0%, rgba(0,185,255,1) 100%);
    color: #eee;
    font-weight: 500;

}

.cartTab .btn .close {
    background-color: #eeee;
    color: #333;
}

/* ----------------- CART LIST*/

.cartTab .listCart .item img {
    width: 100%;
}

.cartTab .listCart .item {
    display: grid;
    grid-template-columns: 70px 150px 50px 1fr;
    gap: 10px;
    text-align: center;
    align-items: center;
}

.listCart .quantity span {
    display: inline-block;
    width: 25px;
    height: 25px;
    background-color: #eee;
    color: #555;
    border-radius: 50%;
    cursor: pointer;

}

.listCart .quantity span:nth-child(2){
    background-color: transparent;
    color: #eee;

}

.listCart .item:nth-child(even){
  background-color: #eee1;

}

.listCart {
    overflow: auto;

}
.listCart::-webkit-scrollbar {
    width: 0;
}


@media screen and (max-width: 1000px){
    .listProduct{
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 650px){
    .listProduct{
        grid-template-columns: repeat(1, 1fr);
    }
    .listProduct .item {
        margin-top: 40px;
    }
}

@media screen and (max-width: 350px){
    .listProduct{
        grid-template-columns: repeat(1, 1fr);
    }
}




