@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
/* ------ Reset ------ */
:root {
    --color-background: black;
    --color-background-Dark: #1f1f1f;
    --color-icons: coral;
    --color-text-light: white;
    --color-text-emphasis: #5C2FC2;
    --color-body-soft: #f1f1f1;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: rubik, sans-serif;
}

*::selection {
    background-color: var(--color-text-emphasis);
}

body {
    background-color: var(--color-body-soft);
    display: flex;
    flex-direction: column;
}


.cart-button {
    height: 70px;
    width: 70px;
    z-index: 1000;
    display: none;
    border-radius: 100%;
    justify-content: center;
    align-items: center;
    background-color: var(--color-text-emphasis);
    position: fixed;
    right: 20px;
    bottom: 20px;
    transition: all .3s ease;
}
.cart-button:hover {
    transform: scale(1.2);
}
.cart-button i {
    font-size: 1.5rem;
    color: white;
}








      
      

/* media cel cel */

/* ------ Banner section ------ */

.banner {
    height: 70vh;
    background-color: var(--color-text-emphasis);
    background-image: url(../imgs/background.jpg) ;
    background-size: cover;
    justify-content: center;
    align-items: center;
    background-position: center;
    color: white;
    font-size: 2rem;
    position: relative;
    display: flex;
    width:100% ;
}

.banner-overlay {
    height: 50vh;
    width: 100%;
    opacity: .3;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;

}

.text {
    position: relative;
    z-index: 50;
}


/* ------ layout Section ------ */

.layout__container {
    display: grid;
    grid-template-columns: 1fr 4fr;
    width: 100%;
}

/* ------ Layout aside ------ */

.layout__aside {
    background-color: var();
}
.layout__aside li {
    list-style: none;
    position: sticky;
    cursor: pointer;
    padding: 20px;
    text-transform: uppercase;
    font-size: 1.2rem;
    transition: all .2s ease;
}



.layout__aside li:hover {
    background-color: var(--color-background-Dark);
    color: white;
}



.layout__aside :nth-child(1) i {
    font-size: 1.2rem;
    margin-right: 5px;
    color: var(--color-text-emphasis);
}
.layout__aside :nth-child(2) i {
    font-size: 1.2rem;
    margin-right: 5px;
    color: var(--color-text-emphasis);
}
.layout__aside :nth-child(3) i {
    font-size: 1.2rem;
    margin-right: 5px;
    color: var(--color-text-emphasis);
}
.layout__aside :nth-child(4) i {
    font-size: 1.2rem;
    margin-right: 5px;
    color: var(--color-text-emphasis);
}
/* ------ section archive ------ */
.layout__main {
    background: var(--color-background-Dark);
    color: white;
    display: grid;
    gap: 20px;
    flex-grow: 5;
    padding: 30px;
    grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
}
.product__container {
    display: flex;
    cursor: pointer;
    flex-direction: column;
}
.product__container button {
    padding: 12px 0;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    font-size: 1rem;
    background-image: linear-gradient(45deg, #8E2DE2, #4A00E0);
    box-shadow: 0 3px 8px rgba(106, 48, 147, 0.15),
    0 5px 15px rgba(160, 68, 255, 0.1);
    text-transform: uppercase;
    color: white;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.product__container button:hover {
    transform: scale(1.05);
    background-image: linear-gradient(45deg, #B24592, #F15F79);
    box-shadow: 0 3px 8px rgba(178, 69, 146, 0.15),
                0 5px 15px rgba(241, 95, 121, 0.1);
    
    
}
.product__container button > i {
    margin-right: 5px;
}
.products__archive-title {
    padding: 40px 0;

}
.product__title  {
    font-size: 1.64rem;
    text-wrap: balance;
    text-transform: uppercase;
    font-weight: 200;
    text-decoration: none;
    color: #ffff;
}

.product__container p {
    font-size: 2rem;
    margin-top: 4px;
    margin-bottom: 5px;
}
.price-icon {
    color: yellowgreen;
}
.cart-icon {
    color: var(--color-text-emphasis);
    font-size: 25px;
    cursor: pointer;
    transition: all .3s ease;
}

.cart-icon:hover {
    transform: scale(1.4);
}
.envio {
    color: greenyellow;
    display: flex;
    gap: 5px;
}

.product__image-container {
    height: 240px;
    flex-grow: 1;
}
.product__image{
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 15px;
    margin-bottom: 5px;
    object-fit: contain;
}


.aside__nav {
    position: sticky;
    top: 80px;

}
.rojo1 {
    background-color:var(--color-background-Dark);
    color: white;
}

    /*  menu hacer el wrap a partir de mobile*/
/* media mobile */
@media only screen and (max-width: 767px) {
    header {
        padding: 0 30px 0 0;
    }

    .esconder-menu, .mostrar-menu {
        display: block;
    }

    .esconder-menu {
        position: absolute;
        top: 30px;
        right: 30px;
        color: var(--color-text-emphasis);
    }

    .menu {
        position: fixed;
        width: 100%;
        height: 100vh;
        background-color: var(--color-background);
        top: 0;
        text-align: center;
        padding: 100px 0 100px 0px;
        right: -100%;
        transition: 0.8s ease-in-out;
    }

    .menu .a {
        display: block;
        font-size: 20px;
        padding: 20px;
        color: var(--color-text-emphasis);
        margin: 10px 0 10px 0;

    }



    #check:checked ~ .menu {
        right: 0;
    }

    .mostrar-menu {
        font-size: 40px;
        color: var(--color-text-emphasis);
    }
    .layout__aside {
        display: none;
    }

    .layout__container {
        grid-template-columns: 1fr;
    }

    .aside__nav {
        color: white;
        font-size: 1.3rem;

    }

    .aside__nav li {
        margin: 10px 0 10px 0;
        list-style: none;
        padding: 20px;
        font-size: 1.3rem;
        text-transform: uppercase;
    }
    .rojo1 {
        background-color: var(--color-text-emphasis);
    }

    .aside__nav li i {
        color: var(--color-icons);
        margin-right:7px ;

    }
    
    .menu p {
        color: white;
        font-size: 1.4rem;
        text-transform: uppercase;
        margin: 20px 0px 20px 0px;
    }

    .cart-button {
        display: flex;
    }
    .carrito {
        display: none;
    }

}

/* media queries tablet */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .menu >.aside__nav {
        display: none;
    }
  }


  /* a partir de 1025 */
  @media only screen and (min-width: 1025px) {
    .menu >.aside__nav {
        display: none;
    }

}
  