/* ======================
   WOMEN HEADER
====================== */

.women-header{

    background:#111;
    color:white;

    text-align:center;

    padding:80px 20px;

}


.women-header h1{

    font-size:48px;

    margin-bottom:10px;

}


.women-header p{

    font-size:18px;

}





/* ======================
   CATEGORY BUTTONS
====================== */

.categories{

    display:flex;

    justify-content:center;

    gap:15px;

    margin:40px 0;

    flex-wrap:wrap;

}


.categories button{

    padding:12px 25px;

    border:none;

    border-radius:30px;

    background:#111;

    color:white;

    cursor:pointer;

    transition:.3s;

}


.categories button:hover{

    background:#b88a44;

}

.categories button.active{

    background:#b88a44;

}






/* ======================
   PRODUCTS GRID
====================== */


.women-products{

    width:90%;

    margin:auto;

    padding-bottom:60px;

}



.products-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}





/* ======================
   PRODUCT CARD
====================== */


.product-card{

    background:white;

    padding:20px;

    border-radius:15px;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

    text-align:center;

    transition:.3s;

    position:relative;

}



.product-card:hover{

    transform:translateY(-5px);

}




/* IMAGE */


.product-card img{

    width:100%;

    height:320px;

    object-fit:cover;

    border-radius:12px;

}





/* TITLE */


.product-card h3{

    margin:15px 0 10px;

    font-size:20px;

}





/* PRICE */


.product-card p{

    color:#777;

    font-size:18px;

    margin-bottom:15px;

}





/* ======================
   ADD CART BUTTON
====================== */


.add-cart-btn{

    display:block;

    width:100%;

    padding:12px;

    margin:15px auto 0;

    border:none;

    background:#111;

    color:white;

    border-radius:8px;

    cursor:pointer;

    transition:.3s;

    text-align:center;

}



.add-cart-btn:not(:disabled):hover{

    background:#b88a44;

}





/* ======================
   WISHLIST
====================== */


.wishlist-btn{

    position:absolute;

    top:20px;

    right:20px;

    cursor:pointer;

    font-size:20px;

}





/* ======================
   LOGO
====================== */


.logo a{

    text-decoration:none;

    color:#111;

    font-size:30px;

    font-weight:bold;

    letter-spacing:2px;

}


body.dark .logo a{

    color:white;

}


.back-btn{
    
    padding: 10px 15px;
    background-color: black;
    color:white;
    border:none;
    border-radius: 100px;
    cursor:pointer;
    font-family: inherit;
    font-size: 14px;
    transition: background 0.3 ease;
}

.back-btn:hover{
    background-color: #b88a44;
}

/* ======================
   ADD CART SUCCESS
====================== */

.add-cart-btn.added{

    background:#27ae60 !important;

    color:white !important;

    cursor:default;

}

/* ======================
   OUT OF STOCK PRODUCT
====================== */


.product-card.out-stock{

    opacity:0.55;

    filter:grayscale(30%);

}



.product-card.out-stock img{

    filter:grayscale(100%);

}



.product-card.out-stock .availability{

    color:#b88a44;

    font-weight:bold;

}



.product-card.out-stock .add-cart-btn{

    background:#999 !important;

    color:white !important;

    cursor:not-allowed;

}



.product-card.out-stock:hover{

    transform:none;

}




/* ======================
   RESPONSIVE
====================== */


@media(max-width:1100px){


    .products-grid{

        grid-template-columns:repeat(3,1fr);

    }

}



@media(max-width:800px){


    .products-grid{

        grid-template-columns:repeat(2,1fr);

    }


}



@media(max-width:500px){


    .products-grid{

        grid-template-columns:1fr;

    }


}