/* =========================
   GLOBAL RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

body{
    background:#f5f5f5;
}

/* =========================
   HEADER (same as home)
========================= */

.header{
    background:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 5%;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
    position:sticky;
    top:0;
    z-index:1000;
}

.logo{
    font-size:24px;
    font-weight:bold;
    color:#d63384;
}

.nav{
    display:flex;
    gap:15px;
}

.nav a{
    text-decoration:none;
    color:#333;
    font-weight:600;
    transition:0.3s;
}

.nav a:hover{
    color:#d63384;
}

/* =========================
   SEARCH BAR
========================= */

.search-box{
    display:flex;
    align-items:center;
}

.search-box input{
    padding:8px;
    border:1px solid #ddd;
    border-radius:6px 0 0 6px;
    outline:none;
}

.search-box button{
    background:#d63384;
    border:none;
    color:#fff;
    padding:8px 12px;
    border-radius:0 6px 6px 0;
    cursor:pointer;
}

.search-box button:hover{
    background:#b6256d;
}

/* =========================
   CART BUTTON
========================= */

.cart-area{
    position:fixed;
    right:20px;
    top:100px;
    z-index:999;
}

.cart-btn{
    background:#fff;
    border:none;
    padding:10px 15px;
    border-radius:50px;
    box-shadow:0 4px 10px rgba(0,0,0,0.15);
    cursor:pointer;
    font-size:18px;
    position:relative;
}

.cart-btn span{
    background:red;
    color:#fff;
    border-radius:50%;
    padding:3px 7px;
    font-size:12px;
    position:absolute;
    top:-8px;
    right:-8px;
}

/* =========================
   PRODUCTS SECTION
========================= */

.products{
    padding:60px 5%;
    text-align:center;
}

.products h2{
    font-size:32px;
    margin-bottom:30px;
    color:#333;
}

/* GRID */

.products-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
    gap:20px;
}

/* CARD */

.product-card{
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 4px 15px rgba(0,0,0,0.1);
    transition:0.3s;
}

.product-card:hover{
    transform:translateY(-8px);
}

/* IMAGE */

.product-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    transition:0.3s;
}

.product-card img:hover{
    transform:scale(1.1);
}

/* TEXT */

.product-card h3{
    margin:10px 0;
    font-size:20px;
}

.product-card p{
    font-size:14px;
    color:#666;
    padding:0 10px;
}

.price{
    font-weight:bold;
    color:#d63384;
    margin:10px 0;
}

/* =========================
   BUTTONS
========================= */

.add-to-cart,
.buy-now{
    width:80%;
    margin:5px auto;
    display:block;
    padding:10px;
    border:none;
    border-radius:8px;
    cursor:pointer;
    font-weight:bold;
    transition:0.3s;
}

.add-to-cart{
    background:#d63384;
    color:#fff;
}

.add-to-cart:hover{
    background:#b6256d;
    transform:scale(1.05);
}

.buy-now{
    background:#333;
    color:#fff;
}

.buy-now:hover{
    background:#000;
    transform:scale(1.05);
}

/* WHATSAPP BUTTON */

.whatsapp-order{
    display:block;
    text-align:center;
    background:#25D366;
    color:#fff;
    padding:10px;
    margin:10px;
    border-radius:8px;
    text-decoration:none;
    font-weight:bold;
    transition:0.3s;
}

.whatsapp-order:hover{
    background:#1ebe5d;
    transform:scale(1.05);
}

/* =========================
   SOCIAL MEDIA
========================= */

.social-section{
    text-align:center;
    padding:50px 5%;
    background:#fff;
    margin-top:40px;
}

.social-icons{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-top:20px;
}

.social-icons a{
    font-size:25px;
    color:#333;
    transition:0.3s;
}

.social-icons a:hover{
    color:#d63384;
    transform:scale(1.2);
}

/* =========================
   FOOTER
========================= */

footer{
    background:#222;
    color:#fff;
    text-align:center;
    padding:20px;
    margin-top:30px;
}

/* =========================
   RESPONSIVE DESIGN
========================= */

@media(max-width:768px){

.header{
    flex-direction:column;
    gap:10px;
}

.search-box{
    width:100%;
}

.search-box input{
    width:100%;
}

.products h2{
    font-size:24px;
}

}
.cart-sidebar{
    position:fixed;
    top:0;
    right:-400px;
    width:350px;
    height:100%;
    background:#fff;
    box-shadow:-5px 0 20px rgba(0,0,0,0.15);
    transition:0.4s;
    z-index:9999;
    overflow-y:auto;
}

.cart-sidebar.active{
    right:0;
}

.cart-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px;
    background:#d63384;
    color:#fff;
}

.cart-header button{
    background:none;
    border:none;
    color:white;
    font-size:20px;
    cursor:pointer;
}

#cartItems{
    padding:15px;
}

.cart-item{
    border-bottom:1px solid #eee;
    padding:10px 0;
}

.cart-footer{
    padding:20px;
}

#checkoutBtn{
    width:100%;
    padding:12px;
    border:none;
    background:#25D366;
    color:white;
    border-radius:8px;
    cursor:pointer;
}