/* =========================================
   SHOP.CSS
   Luxury Candle Website
========================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    background:#F8F5F0;
    color:#111;
    font-family:'Inter',sans-serif;

}

/* ================= NAVBAR ================= */

header{

    position:sticky;
    top:0;

    background:rgba(248,245,240,.95);

    backdrop-filter:blur(10px);

    border-bottom:1px solid #ddd;

    z-index:1000;

}

.navbar{

    max-width:1400px;

    margin:auto;

    padding:22px 60px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logo{

    font-size:2rem;

    font-family:'Cormorant Garamond',serif;

    letter-spacing:3px;

}

.nav-links{

    list-style:none;

    display:flex;

    gap:45px;

}

.nav-links a{

    text-decoration:none;

    color:#111;

    transition:.3s;

}

.nav-links a:hover,
.nav-links .active{

    color:#777;

}

.nav-icons{

    display:flex;

    gap:15px;

}

.nav-icons button{

    border:none;

    background:none;

    cursor:pointer;

    font-size:1.1rem;

    transition:.3s;

}

.nav-icons button:hover{

    transform:translateY(-3px);

}

/* ================= HERO ================= */

.shopHero{

    padding:100px 30px;

    text-align:center;

}

.shopHero h1{

    font-family:'Cormorant Garamond',serif;

    font-size:4rem;

    margin-bottom:20px;

}

.shopHero p{

    max-width:700px;

    margin:auto;

    color:#666;

}

/* ================= SEARCH ================= */

.searchSection{

    display:flex;

    justify-content:center;

    gap:15px;

    margin-bottom:50px;

}

.searchSection input{

    width:420px;

    max-width:90%;

    padding:15px;

    border-radius:50px;

    border:1px solid silver;

    background:white;

}

.searchSection button{

    padding:15px 35px;

    border:none;

    border-radius:50px;

    background:#111;

    color:white;

    cursor:pointer;

    transition:.3s;

}

.searchSection button:hover{

    background:#444;

}

/* ================= FILTERS ================= */

.filters{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:15px;

    margin-bottom:60px;

}

.filter{

    padding:12px 25px;

    border-radius:40px;

    border:1px solid silver;

    background:white;

    cursor:pointer;

    transition:.3s;

}

.filter:hover,
.filter.active{

    background:#111;

    color:white;

}

/* ================= PRODUCTS ================= */

.products{

    max-width:1400px;

    margin:auto;

    padding:0 50px 100px;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:35px;

}

.productCard{

    background:white;

    border-radius:25px;

    overflow:hidden;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

    transition:.35s;

}

.productCard:hover{

    transform:translateY(-10px);

}

.productImage{

    height:330px;

    background:#E5E1DB;

    display:flex;

    justify-content:center;

    align-items:center;

    color:#777;

    font-size:1rem;

}

.productCard h2{

    font-family:'Cormorant Garamond',serif;

    font-size:2rem;

    padding:25px 30px 10px;

}

.productCard p{

    padding:0 30px;

    color:#666;

}

.productCard h3{

    padding:25px 30px 10px;

    font-size:1.3rem;

}

.buttons{

    display:flex;

    justify-content:space-between;

    padding:30px;

}

.wishlist{

    width:55px;

    height:55px;

    border-radius:50%;

    border:none;

    background:#F4F4F4;

    cursor:pointer;

    transition:.3s;

    font-size:20px;

}

.wishlist:hover{

    background:#111;

    color:white;

}

.cart{

    flex:1;

    margin-left:15px;

    border:none;

    border-radius:50px;

    background:#111;

    color:white;

    cursor:pointer;

    transition:.3s;

}

.cart:hover{

    background:#444;

}

/* ================= NEWSLETTER ================= */

.newsletter{

    padding:100px 30px;

    background:#F2EEE8;

    text-align:center;

}

.newsletter h2{

    font-family:'Cormorant Garamond',serif;

    font-size:3rem;

}

.newsletter p{

    color:#666;

    margin:20px 0;

}

.newsletter input{

    width:350px;

    max-width:90%;

    padding:15px;

    border-radius:50px;

    border:1px solid silver;

}

.newsletter button{

    margin-top:20px;

    padding:15px 35px;

    border:none;

    border-radius:50px;

    background:#111;

    color:white;

    cursor:pointer;

}

/* ================= FOOTER ================= */

footer{

    padding:60px;

    text-align:center;

}

.footerLogo{

    font-family:'Cormorant Garamond',serif;

    font-size:2rem;

    margin-bottom:25px;

}

.footerLinks{

    display:flex;

    justify-content:center;

    gap:30px;

    margin-bottom:25px;

}

.footerLinks a{

    text-decoration:none;

    color:#111;

}

footer p{

    color:#777;

}

/* ================= MOBILE ================= */

@media(max-width:900px){

.navbar{

flex-direction:column;

gap:20px;

}

.nav-links{

flex-wrap:wrap;

justify-content:center;

}

.products{

padding:20px;

}

.shopHero h1{

font-size:3rem;

}

.searchSection{

flex-direction:column;

align-items:center;

}

}