/* =========================
   RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Montserrat',sans-serif;
    background:#fff;
    color:#111;
    line-height:1.5;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}

/* =========================
   HEADER
========================= */

.header{
    height:80px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 50px;
    border-bottom:1px solid #e5e5e5;
    background:#fff;
    position:sticky;
    top:0;
    z-index:999;
}

.logo a{
    font-size:34px;
    font-weight:700;
    letter-spacing:4px;
}

.nav ul{
    display:flex;
    gap:35px;
}

.nav a{
    font-size:14px;
    font-weight:500;
    transition:.3s;
}

.nav a:hover{
    color:#777;
}

.active{
    font-weight:700;
}

.header-actions{
    display:flex;
    align-items:center;
    gap:12px;
}


.login-link{
    font-size:14px;
    font-weight:500;
    padding:8px 4px;
}

.cart-link{
    display:flex;
    align-items:center;
    gap:6px;
    font-size:14px;
    font-weight:600;
    padding:8px 6px;
}

.cart-link:hover,
.login-link:hover{
    opacity:.7;
}

.header-actions a{
    font-size:14px;
}

.btn-mini{
    border:1px solid #111;
    padding:8px 15px;
    transition:.3s;
}

.btn-mini:hover{
    background:#111;
    color:#fff;
}

/* =========================
   HERO HOME
========================= */

.hero{
    width:100%;
}

.hero-slider{
    position:relative;
    height:700px;
}

.hero-slider img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.hero-content{
    position:absolute;
    top:50%;
    left:80px;
    transform:translateY(-50%);
    background:rgba(255,255,255,.9);
    padding:40px;
    max-width:450px;
}

.hero-content h1{
    font-size:48px;
    margin-bottom:15px;
}

.hero-content p{
    margin-bottom:20px;
}

.hero-buttons{
    display:flex;
    gap:15px;
}

.hero-buttons a{
    border:1px solid #111;
    padding:12px 24px;
    transition:.3s;
}

.hero-buttons a:hover{
    background:#111;
    color:#fff;
}

/* =========================
   TITLES
========================= */

section h2{
    font-size:28px;
    margin-bottom:25px;
}

/* =========================
   CATEGORIES HOME
========================= */

.categories{
    width:90%;
    margin:80px auto;
}

.category-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.category-card{
    text-align:center;
}

.category-card img{
    height:450px;
    object-fit:cover;
    width:100%;
}

.category-card span{
    display:block;
    margin-top:15px;
    font-weight:600;
}

/* =========================
   BENEFITS
========================= */

.benefits{
    width:90%;
    margin:80px auto;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
    text-align:center;
}

.benefit{
    border:1px solid #e5e5e5;
    padding:30px;
}

.benefit h4{
    margin-bottom:10px;
}

/* =========================
   FEATURED PRODUCTS
========================= */

.featured-products{
    width:90%;
    margin:80px auto;
}

.product-grid,
.products-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.product-card{
    transition:.3s;
}

.product-card:hover{
    transform:translateY(-5px);
}

.product-card img{
    width:100%;
    height:420px;
    object-fit:cover;
}

.product-card h3{
    margin-top:12px;
    font-size:16px;
}

.product-card p{
    margin-top:5px;
    font-weight:600;
}

/* =========================
   MEMBERSHIP
========================= */

.membership-banner{
    width:90%;
    margin:80px auto;
    background:url(../imagenes/member.png);
    background-size:cover;
    background-position:center;
    height:350px;
    position:relative;
}

.membership-content{
    position:absolute;
    left:60px;
    top:50%;
    transform:translateY(-50%);
    background:rgba(255,255,255,.9);
    padding:35px;
    max-width:450px;
}

.membership-content h2{
    margin-bottom:15px;
}

.membership-content p{
    margin-bottom:20px;
}

.membership-content a{
    border:1px solid #111;
    padding:12px 22px;
    display:inline-block;
}

/* =========================
   INSPIRATION
========================= */

.inspiration{
    width:90%;
    margin:80px auto;
}

.inspiration-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.inspiration-card img{
    height:350px;
    width:100%;
    object-fit:cover;
}

.inspiration-card p{
    margin-top:12px;
    text-align:center;
    font-weight:600;
}

/* =========================
   CATEGORY HERO
========================= */

.category-hero{
    position:relative;
    height:450px;
}

.category-hero img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.category-hero-content{
    position:absolute;
    left:80px;
    bottom:60px;
    background:rgba(255,255,255,.92);
    padding:30px;
}

.category-hero-content h1{
    font-size:40px;
    margin-bottom:10px;
}

/* =========================
   SEARCH
========================= */

.search-section{
    width:90%;
    margin:40px auto;
}

.search-container{
    display:flex;
    gap:10px;
}

.search-container input{
    flex:1;
    padding:15px;
    border:1px solid #ccc;
    font-size:15px;
}

.search-container button{
    border:none;
    background:#111;
    color:#fff;
    padding:15px 25px;
    cursor:pointer;
}

/* =========================
   QUICK CATEGORIES
========================= */

.quick-categories{
    width:90%;
    margin:50px auto;
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:20px;
}

.quick-category{
    text-align:center;
}

.quick-category img{
    width:60px;
    height:60px;
    object-fit:contain;
    margin:auto;
}

.quick-category span{
    display:block;
    margin-top:10px;
    font-size:14px;
}

/* =========================
   CATALOG
========================= */

.catalog-layout{
    width:90%;
    margin:60px auto;
    display:grid;
    grid-template-columns:280px 1fr;
    gap:40px;
}

/* =========================
   FILTERS
========================= */

.filters{
    border:1px solid #e5e5e5;
    padding:25px;
    height:fit-content;
}

.filters h3{
    margin-bottom:25px;
}

.filter-group{
    margin-bottom:30px;
}

.filter-group h4{
    margin-bottom:15px;
}

.filter-group label{
    display:block;
    margin-bottom:10px;
    font-size:14px;
}

/* =========================
   PRODUCTS AREA
========================= */

.products-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
}

.products-header select{
    padding:10px;
}

/* =========================
   PAGINATION
========================= */

.pagination{
    margin-top:50px;
    display:flex;
    justify-content:center;
    gap:10px;
}

.pagination a{
    border:1px solid #ddd;
    padding:10px 15px;
}

.active-page{
    background:#111;
    color:#fff;
}

/* =========================
   FOOTER
========================= */
.footer{
    margin-top:100px;
    padding:60px 60px 25px;
    background:#f7f7f7;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:40px;
}

.footer-column h3{
    margin-bottom:20px;
}

.footer-column li{
    margin-bottom:10px;
}

.footer-column a:hover{
    text-decoration:underline;
}

.footer-copy{
    grid-column:1 / -1;
    text-align:center;
    margin-top:20px;
    padding-top:20px;
    border-top:1px solid #ddd;
}

.footer-copy p{
    margin:0;
    font-size:15px;
    color:#666;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:1200px){

    .category-grid,
    .product-grid,
    .products-grid,
    .inspiration-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .quick-categories{
        grid-template-columns:repeat(3,1fr);
    }

}

@media(max-width:768px){

    .header{
        flex-direction:column;
        height:auto;
        padding:20px;
        gap:20px;
    }

    .nav ul{
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero-slider{
        height:500px;
    }

    .hero-content{
        left:20px;
        right:20px;
        max-width:none;
    }

    .hero-content h1{
        font-size:32px;
    }

    .category-grid,
    .product-grid,
    .products-grid,
    .benefits,
    .inspiration-grid{
        grid-template-columns:1fr;
    }

    .quick-categories{
        grid-template-columns:repeat(2,1fr);
    }

    .catalog-layout{
        grid-template-columns:1fr;
    }

    .products-header{
        flex-direction:column;
        gap:15px;
        align-items:flex-start;
    }

    .footer{
        grid-template-columns:1fr;
    }

}

