:root { --primary: #005a42; --orange: #f26522; --text: #333; --bg: #f9fbf4; }
* { margin: 0; padding: 0; box-sizing: border-box; font-family: sans-serif; }
body { color: var(--text); background: #fff; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 20px; }
.btn { background: var(--primary); color: white; padding: 12px; border: none; cursor: pointer; width: 100%; font-weight: bold; border-radius: 4px; }
.btn:hover { opacity: 0.9; }

/* Header */
header { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; border-bottom: 1px solid #eee; position: sticky; top: 0; background: #fff; z-index: 100; }
.logo { height: 40px; font-weight: bold; color: var(--orange); font-size: 24px; }
.cart-icon { cursor: pointer; position: relative; font-size: 24px; }
.cart-count { position: absolute; top: -8px; right: -10px; background: var(--orange); color: white; border-radius: 50%; width: 20px; height: 20px; display: flex; justify-content: center; align-items: center; font-size: 12px; }

/* Product Grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px; margin-top: 30px; }
.card { border: 1px solid #eee; padding: 15px; text-align: center; border-radius: 8px; transition: 0.3s; }
.card:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.card img { width: 100%; height: 200px; object-fit: contain; }
.card h3 { font-size: 16px; margin: 15px 0 10px; color: var(--primary); }
.price { font-weight: bold; margin-bottom: 15px; }

/* Single Product Page */
.prod-layout { display: flex; gap: 50px; margin-top: 40px; }
.prod-img { flex: 1; background: var(--bg); padding: 20px; border-radius: 8px; text-align: center; }
.prod-img img { max-width: 100%; height: auto; }
.prod-details { flex: 1; }
.prod-title { font-size: 28px; color: var(--text); margin-bottom: 10px; }
.mrp { font-size: 24px; color: #66b5aa; margin: 15px 0; }
.qty-box { margin: 20px 0; display: flex; align-items: center; gap: 10px; }
.qty-box input { width: 50px; padding: 8px; text-align: center; border: 1px solid #ccc; }
.purchase-type { border: 1px solid #eee; padding: 15px; background: var(--bg); margin-bottom: 20px; }
.add-info { margin-top: 30px; border-top: 1px solid #eee; padding-top: 20px; }
.add-info summary { font-weight: bold; cursor: pointer; outline: none; }

/* Slide Cart */
.cart-sidebar { position: fixed; top: 0; right: -400px; width: 350px; height: 100%; background: white; box-shadow: -5px 0 15px rgba(0,0,0,0.1); transition: 0.4s; z-index: 1000; display: flex; flex-direction: column; }
.cart-sidebar.active { right: 0; }
.cart-header { padding: 20px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; font-weight: bold; }
.cart-items { flex: 1; overflow-y: auto; padding: 20px; }
.c-item { display: flex; gap: 15px; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.c-item img { width: 60px; height: 60px; object-fit: contain; }
.cart-footer { padding: 20px; border-top: 1px solid #eee; }
.overlay { position: fixed; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.5); z-index: 999; display: none; }
.overlay.active { display: block; }
@media (max-width: 768px) { .prod-layout { flex-direction: column; } .cart-sidebar { width: 100%; right: -100%; } }