@charset "utf-8";

@import url('https://fonts.googleapis.com/css?family=Montserrat:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&display=swap');

/*-------------------------------------------------- General */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    
}

body {
    font-family: 'Montserrat', sans-serif;
    display: grid;
    grid-template-rows: auto auto 1fr auto auto;
    grid-template-areas: 'smt1' 'hdr' 'mn' 'ftr' 'smt2';
    background-color: black;
    color: white;
    /* background-image:url('https://static.vecteezy.com/system/resources/thumbnails/001/105/428/small/black-and-gray-grunge-texture-background.jpg'); */
    background-image:url('img/fondo-madera.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}





/*-------------------------------------------------- Classes */
.d-block{
    display: block;
}

.mb-1{
    margin-bottom: 1rem;
}
.mt-1{
    margin-top: 1rem;
}
.ml-1{
    margin-left: 1rem;
}
.mr-1{
    margin-right: 1rem;
}

/*-------------------------------------------------- Text */
h1, h2, h3, p {
    line-height: 1.6em;
    /* margin-bottom: 1em; */
}

a {
    color: #3B60E4;
    transition: color 300ms ease-in-out;
  
}

a:hover, a:focus {
    color: #384E77;
}

/*-------------------------------------------------- List */
ul {
    padding-left: 3rem;
}

li {
    margin-bottom: 1rem;
}

/*-------------------------------------------------- Button */

button {
    font-weight: 700;
    font-size: 14px;
    line-height: 22px;
    text-transform: uppercase;
    color: #FFFFFF;
    padding: 10px 24px;
    background-color: #5CAEBF;
    border: none;
    border-radius: 6px;
    transition: opacity 300ms ease-in-out;

}
.adherir, .remover {
    margin:10px
}
.aparecer{
    display: block;
}

.desaparecer{
    
    display: none!important;
}

button:hover, button:focus {
    opacity: .6;
}

button:hover {
    cursor: pointer!important;
}
.vaciar-todo {
    position:absolute;
}
/*-------------------------------------------------- Container */
hr {
    margin-bottom: 1rem;
    border-color: rgba(51, 51, 51, 0.2);
    cursor: pointer;
}

div {
    /* padding: 1rem 0; */
    padding-bottom:20px;
    
}

/*-------------------------------------------------- Clases */
.mt-1{
    margin-top: 1rem;
}


/*-------------------------------------------------- Header */
header {
    text-align: center;
    padding: .5rem 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    background-color: #FBFBFB;
    color:black;
    grid-area: hdr;
}

header h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

/*-------------------------------------------------- Main */
main {
    padding: 3rem 2rem;
    font-size: 1.2em;
    grid-area: mn;
}

/*-------------------------------------------------- Footer */
footer {
    background-color: #FBFBFB;
    padding: 0 1rem;
    grid-area: ftr;
}

footer ul {
    border-top: 1px solid rgba(34, 34, 34, .15);
    padding: 1rem 0 1.5rem 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

footer li {
    font-size: .8rem;
    line-height: 1.6em;
    color: rgba(51, 51, 51, 0.8);
    margin-bottom: 0;
}

/*-------------------------------------------------- Forms */
label {
    margin-bottom: 1rem;
    display: inline-block;
}

input {
    display: block;
    max-width: 500px;
    width: 100%;
    padding: .5rem 1rem;
    border: 1px solid rgba(51, 51, 51, 0.5);
    border-radius: 6px;
    color: #333333;
}

/*-------------------------------------------------- Gallery */
.gallery {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    margin: 1em 0;
    padding: 1em;
    border: 1px solid rgba(51, 51, 51, 0.5);
    border-radius: 6px;
}

.gallery > img {
    max-width: 90%;
    margin: 1em 5%;
    border-radius: 6px;
}

.gallery > span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 5em;
    height: 5em;
}

.gallery div {
    display: flex;
    flex-direction: column;
    align-self: center;
    width: 90%;
    padding: 1em;
}

.gallery div img {
    width: 100%;
}

.gallery div h3 {
    padding: .5em;
    margin-bottom: 0;
    /*font-size: 3.2em;*/
    text-align: center;
    /*color: #134F5C;*/
}

.gallery div p {
    padding: .5em;
    font-size: 1.4em;
    text-align: center;
}


/*----------- Carrito*/

#minicarrito{
    position: relative;
    
    display: flex;
    justify-content: space-around;
    align-items: center;
    border: 1px solid #a4a4a4;
    border-radius: 6px;
    margin-bottom: 2rem;
    padding:10px;
    background-color: rgba(255, 255, 255, 1);
    color:black;
    border:5px solid black;
    box-shadow: 0px 0px 60px rgba(138, 98, 64, 0.7);
}
.vacio{
    width:300px;
    height:300px;
    margin:0 auto;
    border:0px!important;
}
#minicarrito * {
    margin: 0;
}

#minicarrito + h2 {
    text-align: center;
}
#minicarrito ul li a{
    
    font-weight: bolder;
    color:red;
    text-decoration: none;
}


#minicarrito ul li {
    list-style: none;

}

#minicarrito ul {
    padding: 20px;
    width:300px;
    line-height: 30px;
}


#productos {
    position:relative;
 
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 10px;
    list-style: none;
    background-color: rgba(255, 255, 255, 0.75);
    border-radius: 10px;
    margin-bottom:10px;
}

#productos > li{
    width: 28%;
    text-align: center;
}
.button-container-flex {
    display: flex;
    justify-content:center
}

#checkout{
    margin-top:10px
}



#productos > li > img{
    width: 100%;
    height: auto;
}
.sumar, .restar, .delete-product {
    cursor: pointer;
}


.modal, .modal-list {
    position: fixed;
    z-index: 1;
    /* display: flex;
    flex-wrap:wrap; */
    /* flex-direction: row; */
    justify-content: center; 
    align-items: center;
    justify-content: center;
    align-content: center;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: auto;
    padding: 2rem;
    color:white;
    background-color: rgba(0, 0, 0, 0.9);
    height:100vh;
    
}

.thumbnails, .thumbnailsb {
    border:0.7px solid black;
    padding:7px;
    border-radius:3px;
    overflow: hidden;
    color:black!important;
    background-color: rgba(255, 255, 255, 0.75);
}

.thumbnails img{
  
    box-sizing: border-box;
}

.thumbnailsb:hover {
    cursor: pointer;
    border: 3px solid #FF8C00;
}

.descProd {
    overflow: hidden; /* Hide overflow text */
    transition: max-height 0.3s ease-out; /* Smooth transition effect */
    max-height: 100px; /* Set your desired collapsed height */
    padding: 10px;
    
}

.opacidad{
    opacity:0.5;
}


#base{
    display: flex;
    flex-direction: row;
    align-items: center;
}
#anterior, #siguiente {
            width: 50px;
            height: 50px;
            cursor: pointer;
            margin-right: 20px;
            margin-left: 20px;
           
            
        }
#anterior:hover, #siguiente:hover {
    border: 5px solid #FF8C00;
}

#galeria {
    text-align:center;
   
  
}
#galeria h1{
    margin-bottom:20px;
}

#galeria img {
    max-width:100%;
     background-color: white;
     border-radius: 10px;
     border:5px solid black;
     box-shadow:0px 0px 5px #F8F9FA;
}


#miniaturas{
    padding:20px;
    color:black;
}

#miniaturas img {
    width: 100px;
    height: 100px;
    cursor: pointer;
    margin-right: 10px;
    padding: 10px;
    border-radius: 50%;
    
}

#miniaturas img:hover{
    border: 5px solid #FF8C00;
}


.activaImg {
    border: 5px solid #FF8C00!important;
}


.descripcion{
    width:80%;
    padding:10px;
}
@media screen and (max-width: 768px) {
    #miniaturas {
        flex-wrap: wrap;
    }

    #anterior,#siguiente{
        display: none;
    }
}





.button-container {
    display: flex;
    flex-direction: column;
}

.button-container button {
    display: block;
    margin-bottom: 5px; /* Adjust as needed for spacing between buttons */
}

/*Grid*/
.grid-contenedor {
    display: grid;
    grid-template-columns:auto auto;
    background-color:rgba(51, 51, 51, 0.7);
    border-radius:20px;
    padding:10px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.grid-item { 
     
    padding: 30px;
    font-size: 30px;
    text-align: center
}

#mensajeFinal{
    width:70%;
    margin-left:15%;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}
@media only screen and (max-width: 950px) {
    .grid-contenedor {
        /* display: grid; */
        /* grid-template-columns:auto auto; */
        grid-template-columns: none;
        background-color:rgba(51, 51, 51, 0.7);
        border-radius:20px;
        padding:10px;
        border: 1px solid rgba(255, 255, 255, 0.8);
    }

    #izquierda {
        border-right: 0px!important;
        border-bottom:1px solid rgba(255, 255, 255, 0.8); 
        
    }
  }/*@media only screen and (max-width: 940px)*/




  
.resumen {
    display: grid;
    grid-template-columns: auto auto auto auto;
   
    grid-auto-rows: 70px;
    gap: 10px; /* Espacio entre las celdas */
    /* border: 1px solid #ccc; */
    padding: 10px;
    
  }

  .titulosCompra{
   grid-column: 1/ span 4
  }

.resTotal {
    grid-column:3 
}

.bordeArriba{
    grid-column: 4;
    border-top: 2px solid  #ccc!important;
}
.bordeArriba,.resTotal{
    padding:10px;
}
.editar {
    border: 1px solid black;
   
}
.cancelar{
    border: 1px solid black;
    grid-column:1  /  span 2
}
.terminar{
    border: 1px solid black;
    grid-column:3 / span 2
}
  .resumen-item {
    /* padding: 5px; */
    
    /* border-bottom: 1px solid #ddd; */
  }

#derecha, #izquierda {
    font-size:20px;
}

#izquierda {
    border-right: 1px solid rgba(255, 255, 255, 0.8);
}

h3#titulo {
    text-transform: uppercase;
}
#detalle{
    margin-bottom:20px;
}
.titulos{
    font-weight: bolder;
    border: 0px;
}
  
/*Grid FIN*/

.item-modal{
    margin:10px!important;
}

.modal > div {
    /* background: #FFFFFF; */
   width:85%;
    display: flex;
    flex-wrap:wrap;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    height: fit-content;
    padding: 1rem;
    min-width: 400px; 
    border-bottom:1px solid white;
    
}

.modal-content{
    margin-top:20px;
    margin-left:7%;
    border-radius:10px;
    border:1px solid white;
    background-color:rgba(51, 51, 51, 0.7);
}

.modal-list > div:not(.grid-contenedor){
    display: flex;
    /* flex-wrap:wrap; */
    justify-content: center;
    flex-direction: column;
    align-items: center;
    height: fit-content;
    padding: 1rem;
    min-width: 400px; 
    border-bottom:1px solid white;
}
/* .modal > div> img{
    width: 100%;
    height: auto;
} */

.grid-contenedor {
    position:relative;
    top:20%;
}

.todo-total {
    width:100%;
    text-align: center;
    font-weight: bolder;
    padding:10px;
    border:1px solid white;
    border-radius: 4px;
    /* position:relative;
    top:10%; */
}


.modal a {
    text-decoration: none;
    /*color: #d0e0e3;*/
}

.modal a.cerrar, .modal-list a.cerrar {
    position: fixed;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 1em;
    right: 3em;
    border-radius: 2.5em;
    width: 5em;
    height: 5em;
    background-color: rgba(255, 255, 255, 0.9);
    font-size: 1em;
    font-weight: 400;
    text-align: center;
    color: #FF8C00;
    text-decoration: none;
}

.modal a.cerrar:hover, .modal-list a.cerrar:hover {
    background-color: #FF8C00;
    color: rgba(255, 255, 255, 0.9);
}
.modal-list h1 ,
.modal-list h2{
    text-align: center;
}
.modal img {
    height: 30%;
    min-width: 0%;
    max-width: 170px;
    border-radius:5px;
    height: auto;
    border: 5px solid black;
    box-shadow: 0 0 2px white;
}

.modal h3,
.modal p,
.modal li {
    margin: 0;
    text-align: center;
    /*color: #d0e0e3;*/
}

.modal li {
    display: flex;
    justify-content: space-around;
    margin: 0.25em 0;
    /*width: 90%;*/
}

.modal li span {
    font-size: 1em;
}

.modal ul{
    padding: 0;
    width: 100%;
    text-align: center;
}

.leer{
    /* margin-top:-10px;
    margin-bottom:20px; */
    color:black;
    background-color: rgba(0, 0, 0, 0);
    position:relative;
    /* top:-15px; */
    cursor: pointer!important;
}




.oferta-especial {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width:100%;
    height: 100vh;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(0, 0, 0);
    padding: 10px;
    border: 1px solid black;
    z-index:100000;
   
    
    
}

form {
    width: 40%;
    margin: 0 auto;
    padding:20px;
    border-radius:10px;
    background-color: rgb(70, 68, 68); 
   
 }
 select{
    
    min-width: 100%;
    height: 30px;
    border-radius: 5px;
 }
 

.visibilidad{
    animation-duration: 0.5s; /* Duration of the animation */
    animation-fill-mode: forwards; /* Keeps the element styles after animation ends */
    animation-name: fadeIn;
}

.invisibilidad{
  animation-duration: 0.5s; /* Duration of the animation */
  animation-fill-mode: forwards; /* Keeps the element styles after animation ends */
  animation-name: fadeOut;
    
}

.desaparecer {
    visibility: hidden;
}
.noOpacidad{
    opacity: 0;
}
.oferta-especial-img{
    width:70vw;
   height: auto;
   cursor: pointer;
}

#cuentaTotal{
    padding-left:3px;
}


#opsTarjetasCredito {
    display: flex; /* Use flexbox for layout */
    align-items: center; /* Align items vertically in the center */
    
    font-size:15px;
    padding:20px 0px 0px 0px;
}

#opsTarjetasCredito label {
    
    margin-right: 10px; /* Adjust margin between label and input */
    margin-bottom:0px;
    

}

#opsTarjetasCredito input[type="radio"] {
    margin-right: 5px; /* Adjust margin between radio buttons */
}


.mensaje{
    font-size:16px;
}

/*Animacion*/
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
/**
 * Web
 */
@media screen and (min-width: 960px) {

    /** Main */
    main div.gallery {
        flex-direction: row;
    }

    main div.gallery > img {
        max-width: 24%;
        margin: 1em .5%;
    }

    main div.gallery div {
        align-self: flex-start;
        width: 30%;
    }

    /** Footer */
    footer ul {
        flex-direction: row;
    }

    

}

/*Desplegable*/

/* styles.css */
.desplegable-contenido {
    opacity: 0; /* Start hidden */
    transform: scaleY(0); /* Start scaled down */
    transition: opacity 0.3s ease, transform 0.3s ease; /* Smooth transitions */
    position: absolute;
    top:70%;
    
    background-color: #f1f1f1;
    min-width: 160px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    transform-origin: top; /* Anchor point for scaling */
    border-radius:10px;
    border:3px solid white;
    box-shadow: 0px 0px 3px black;
}

.show {
    opacity: 1; /* Fully visible */
    transform: scaleY(1); /* Scale up to full size */
}

.desplegable-contenido li {
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Smooth background transition */
   
}

.desplegable-contenido li:hover {
    background-color: #ddd; /* Hover effect */
}
.activado{
    background: linear-gradient(45deg, #5caebf, #3a8fb7);
    padding: 10px;
    color: white!important;
    border:3px solid white;
    box-shadow: 0px 0px 3px black;
    border-radius: 10px;
    text-shadow: 0px 0px 3px black;
}

.activado a {
    box-shadow: 0px 0px 15px black;
}
.desplegable-contenido li.activado {
    background-color: #5caebf; /* Active item background color */
    color: white; /* Text color for active item */
}



/* styles.css */
.desplegable-btn {
    background: linear-gradient(45deg, #5caebf, #3a8fb7); /* Greenish gradient */
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Space between text and icon */
    border:3px solid white;
    box-shadow: 0px 0px 4px black;
    text-shadow: 0px 0px 3px black;
}

.desplegable-btn:hover {
    background: linear-gradient(45deg, #3a8fb7, #5caebf); /* Reversed gradient on hover */
    transform: translateY(-3px);
}

.desplegable-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(58, 143, 183, 0.5); /* Focus ring for accessibility */
}

.desplegable-btn .icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.desplegable-btn:hover .icon {
    transform: rotate(180deg); /* Rotate icon on hover */
}

/*EXTRAS*/
.p-env{
    width:100px;
    margin-top:20px;
}

#verCarrito, #checkout{ border:3px solid white;
    box-shadow: 0px 0px 4px black;
    text-shadow: 0px 0px 3px black;
    display: flex;
    align-items: center; /* Center items vertically */
    justify-content: center; 
    
    
}

.icon{
    width: 30px; /* Set size of the icon */
    height: auto; /* Maintain aspect ratio */
    position: relative;
   left:-10px; /* Space between icon and text */
}

.itemsImagen{
    width: 30px;
    height: auto;
    position: relative;
    top: 10px;
    left: -10px;
}
#items{
    font-weight: bolder!important;
}
#itemsTotal{
    color:red;
    font-weight: bolder;
}



/* Banner Section */
.banner {
    position: relative;
    width: 100%;
    height: 300px; /* Adjust the height of the banner as needed */
    overflow: hidden; /* Ensure no overflow from the image */
}

/* Banner Image */
.banner-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire banner area */
    display: block; /* Remove extra space below image */
}

/* Banner Content */
.banner-contenido {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center content horizontally and vertically */
    color: white;
    text-align: center;
    z-index: 1; /* Ensure content is above the image */
    padding: 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for readability */
    border-radius: 10px;
}

.banner-contenido h1 {
    font-size: 2.5em;
    margin: 0;
}

.banner-contenido p {
    font-size: 1.2em;
    margin: 0.5em 0;
}


