/* assets/css/style.css */
:root {
    --primary: #2874f0; /* Flipkart Blue */
    --accent: #fb641b;  /* Action Orange */
    --text: #212121;
    --bg: #f1f3f6;
    --white: #ffffff;
}

body { font-family: 'Roboto', sans-serif; margin: 0; padding: 0; background: var(--bg); color: var(--text); }
a { text-decoration: none; color: inherit; }

/* NAVBAR */
.navbar { background: var(--primary); padding: 15px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 4px rgba(0,0,0,.2); }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }
.brand { color: var(--white); font-size: 24px; font-weight: bold; font-style: italic; }
.nav-links a { color: var(--white); margin-left: 20px; font-weight: 500; }
.login-btn { background: var(--white); color: var(--primary) !important; padding: 5px 20px; border-radius: 2px; }

/* LAYOUT */
.container { max-width: 1200px; margin: 20px auto; padding: 0 10px; }

/* PRODUCT GRID */
.section-title { font-size: 22px; font-weight: 600; margin-bottom: 15px; border-bottom: 1px solid #ddd; padding-bottom: 10px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }

.product-card { background: var(--white); padding: 15px; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); transition: transform 0.2s; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 4px 8px rgba(0,0,0,0.2); }
.product-card img { width: 100%; height: 180px; object-fit: contain; margin-bottom: 10px; }
.product-title { font-size: 14px; font-weight: 500; height: 40px; overflow: hidden; margin-bottom: 5px; }
.price-row { display: flex; align-items: baseline; gap: 10px; }
.current-price { font-size: 18px; font-weight: 600; color: #000; }
.old-price { font-size: 14px; color: #878787; text-decoration: line-through; }
.discount { color: #388e3c; font-size: 13px; font-weight: 500; }

/* BUTTONS */
.btn { display: inline-block; padding: 12px 20px; border-radius: 2px; text-align: center; cursor: pointer; border: none; font-size: 16px; font-weight: 500; width: 100%; }
.btn-primary { background: var(--accent); color: white; }
.btn-cart { background: #ff9f00; color: white; }

/* FORMS */
.auth-box { background: white; max-width: 400px; margin: 50px auto; padding: 30px; border-radius: 4px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; }
.form-control { width: 100%; padding: 12px; border: 1px solid #e0e0e0; border-radius: 4px; box-sizing: border-box; }