/* ==========================================
   ESTILOS GENERALES
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f5f5f5;
    color:#333;
}

a{
    text-decoration:none;
}

img{
    max-width:100%;
    display:block;
}

section{
    padding:60px 8%;
}

/* ==========================================
   HEADER
========================================== */

header{
    position:sticky;
    top:0;
    z-index:1000;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:15px 8%;

    background:#111;
    box-shadow:0 5px 15px rgba(0,0,0,.25);
}

.logo{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo img{
    width:60px;
    height:60px;
    border-radius:50%;
}

.logo h1{
    color:#d4af37;
    font-size:28px;
}

nav ul{
    display:flex;
    list-style:none;
    gap:30px;
}

nav a{
    color:white;
    font-weight:500;
    transition:.3s;
}

nav a:hover{
    color:#d4af37;
}

.acciones{
    display:flex;
    gap:15px;
}

.login,
.carrito{

    border:none;
    cursor:pointer;

    padding:12px 20px;

    border-radius:8px;

    transition:.3s;

    font-size:15px;
}

.login{

    background:#d4af37;
    color:#111;

}

.login:hover{

    transform:translateY(-3px);

}

.carrito{

    background:#fff;
    color:#111;
    position:relative;

}

#contadorCarrito{

    background:red;

    color:white;

    width:24px;
    height:24px;

    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    position:absolute;

    top:-8px;
    right:-8px;

}

/* ==========================================
   BANNER
========================================== */

.banner{

    height:550px;

    background:url("../img/banner/banner.jpg") center center/cover;

    display:flex;
    align-items:center;

}

.contenidoBanner{

    width:600px;

    background:rgba(0,0,0,.55);

    padding:40px;

    border-radius:20px;

    color:white;

}

.contenidoBanner h2{

    font-size:45px;

    margin-bottom:20px;

}

.contenidoBanner p{

    font-size:18px;

    margin-bottom:30px;

    line-height:30px;

}

.botonBanner{

    display:inline-block;

    background:#d4af37;

    color:#111;

    padding:15px 35px;

    border-radius:10px;

    font-weight:bold;

    transition:.3s;

}

.botonBanner:hover{

    transform:scale(1.08);

}

/* ==========================================
   BUSCADOR
========================================== */

.busqueda{

    text-align:center;

}

.busqueda h2{

    margin-bottom:25px;

    font-size:35px;

}

.contenedorBusqueda{

    display:flex;

    justify-content:center;

}

.contenedorBusqueda input{

    width:600px;

    padding:18px;

    border:2px solid #d4af37;

    border-radius:10px 0 0 10px;

    outline:none;

    font-size:17px;

}

.contenedorBusqueda button{

    width:70px;

    border:none;

    background:#111;

    color:white;

    border-radius:0 10px 10px 0;

    cursor:pointer;

}

/* ==========================================
   CATEGORIAS
========================================== */

.gridCategorias{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

    gap:25px;

}

.categoria{

    background:white;

    border-radius:15px;

    padding:35px;

    text-align:center;

    font-size:50px;

    cursor:pointer;

    transition:.35s;

    box-shadow:0 5px 15px rgba(0,0,0,.12);

}

.categoria h3{

    margin-top:15px;

    font-size:22px;

}

.categoria:hover{

    background:#d4af37;

    color:white;

    transform:translateY(-8px);

}

/* ==========================================
   PRODUCTOS
========================================== */

.gridProductos{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

}

.producto{

    background:white;

    border-radius:20px;

    overflow:hidden;

    transition:.35s;

    box-shadow:0 8px 20px rgba(0,0,0,.10);

}

.producto:hover{

    transform:translateY(-10px);

    box-shadow:0 15px 35px rgba(0,0,0,.25);

}

.producto img{

    height:280px;

    object-fit:cover;

}

.infoProducto{

    padding:20px;

}

.infoProducto h3{

    margin-bottom:10px;

}

.infoProducto p{

    color:#666;

    margin-bottom:20px;

}

.infoProducto h4{

    color:#b8860b;

    font-size:28px;

    margin-bottom:20px;

}

.infoProducto button{

    width:100%;

    padding:15px;

    border:none;

    border-radius:10px;

    background:#111;

    color:white;

    cursor:pointer;

    transition:.3s;

}

.infoProducto button:hover{

    background:#d4af37;

    color:#111;

}

/* ==========================================
   OFERTAS
========================================== */

.ofertas{

    background:#222;

    color:white;

}

.contenedorOferta{

    margin-top:25px;

    background:#d4af37;

    color:#111;

    border-radius:20px;

    padding:45px;

    text-align:center;

}

.contenedorOferta h3{

    font-size:40px;

    margin-bottom:20px;

}

/* ==========================================
   FOOTER
========================================== */

footer{

    background:#111;

    color:white;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:40px;

    padding:60px 8%;

}

footer h3{

    color:#d4af37;

    margin-bottom:20px;

}

footer p{

    margin-bottom:10px;

}