body{font-family:Arial;margin:0;background:#f1f3f6}
header{background:#007bff;color:#fff;padding:12px;font-size:18px;font-weight:bold}
.container{padding:10px}
.card{background:#fff;border-radius:10px;padding:10px;margin-bottom:10px;box-shadow:0 2px 6px rgba(0,0,0,0.1)}
.product{display:flex;gap:10px}
.product img{width:90px;height:70px;border-radius:6px}
.title{font-weight:bold;font-size:14px}
.rating{color:#ffa500;font-size:13px}
.price-row{display:flex;justify-content:space-between;align-items:center;margin-top:8px}
.price{font-size:18px;font-weight:bold;color:#007bff}
.btn{background:#28a745;color:#fff;padding:6px 10px;border-radius:5px;text-decoration:none;font-size:12px}
.store-row{display:flex;gap:8px;margin-top:8px}
.store{flex:1;background:#f8f9fa;padding:6px;border-radius:6px;text-align:center;font-size:12px}
.badge{background:red;color:#fff;font-size:10px;padding:2px 5px;border-radius:3px}
.compare{margin-top:6px;font-size:12px}

/* Responsive Brand Grid */
.brand-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
@media(min-width:768px){
  .brand-grid{grid-template-columns:repeat(3,1fr)}
}

.compare-container{
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 6px 18px rgba(0,0,0,0.08);
  margin-top:15px;
}

.compare-header{
  display:flex;
  background:#f8fbff;
  border-bottom:2px solid #eee;
}

.compare-header div{
  flex:1;
  text-align:center;
  padding:10px;
  font-size:12px;
  font-weight:bold;
}

.compare-title{
  flex:1.2;
  text-align:left;
  padding:10px;
  font-weight:bold;
  font-size:12px;
}

.spec-row{
  display:flex;
  border-bottom:1px solid #eee;
}

.spec-name{
  flex:1.2;
  padding:10px;
  font-size:12px;
  color:#555;
}

.spec{
  flex:1;
  padding:10px;
  text-align:center;
  font-size:12px;
}

.highlight{
  background:#e8f5e9;
  font-weight:bold;
}

.section{
  background:#fafafa;
  padding:8px 10px;
  font-size:12px;
  font-weight:bold;
  border-top:1px solid #ddd;
}

.final-box{
  background:#ffffff;
  padding:15px;
  border-radius:12px;
  box-shadow:0 6px 18px rgba(0,0,0,0.08);
  margin-top:15px;
}

/* TITLE */
.final-title{
  font-size:15px;
  font-weight:bold;
  margin-bottom:8px;
}

/* TEXT */
.final-text{
  font-size:13px;
  line-height:1.6;
  color:#333;
  margin-bottom:10px;
}
  
/* TIPS */
.tips{
  background:#f1f8ff;
  padding:10px;
  border-radius:8px;
  font-size:12px;
  margin-bottom:12px;
}

/* BUTTON GRID */
.buy-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}

/* BUTTON */
.buy-btn{
  text-align:center;
  padding:10px;
  border-radius:6px;
  color:#fff;
  font-size:12px;
  text-decoration:none;
  font-weight:bold;
}

/* BRAND COLORS */
.amazon{background:#007bff;}
.flipkart{background:#0a58ca;}
.croma{background:#FFA500;}
.reliance{background:#28a745;}

.product-top{
  display:flex;
  gap:10px;
  background:#fff;
  padding:10px;
  border-radius:12px;
  box-shadow:0 6px 16px rgba(0,0,0,0.08);
  margin-bottom:10px;
}

.product-card{
  flex:1;
  text-align:center;
}

.product-card img{
  width:100%;
  max-width:140px;
  height:auto;
  margin-bottom:6px;
}

.product-name{
  font-size:12px;
  font-weight:bold;
  margin-bottom:4px;
}

.product-price{
  font-size:13px;
  color:#2e7d32;
  font-weight:bold;
  margin-bottom:6px;
}

.top-buy{
  display:inline-block;
  padding:6px 10px;
  background:#ff5722;
  color:#fff;
  font-size:11px;
  border-radius:6px;
  text-decoration:none;
}
