* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background:#f5f5f5; color:#333; }
.container { max-width:1200px; margin:0 auto; padding:20px; }
.admin-container { max-width:1200px; margin:0 auto; padding:20px; }

/* Navbar */
.navbar { background:#1a1a2e; padding:0 20px; box-shadow:0 2px 10px rgba(0,0,0,.3); }
.nav-container { max-width:1200px; margin:0 auto; display:flex; justify-content:space-between; align-items:center; height:60px; }
.nav-brand { color:#e94560; font-size:1.4em; font-weight:bold; text-decoration:none; }
.nav-links { display:flex; gap:20px; }
.nav-links a { color:#eee; text-decoration:none; font-size:.95em; }
.nav-links a:hover { color:#e94560; }

/* Hero */
.hero { text-align:center; padding:40px 20px; background:linear-gradient(135deg,#1a1a2e,#16213e); color:#fff; border-radius:12px; margin-bottom:30px; }
.hero h1 { font-size:2.2em; margin-bottom:10px; }
.hero p { font-size:1.1em; color:#aaa; }

/* Filter bar */
.filter-bar { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:20px; }
.filter-btn { padding:8px 16px; border-radius:20px; background:#fff; color:#333; text-decoration:none; border:1px solid #ddd; font-size:.9em; }
.filter-btn.active, .filter-btn:hover { background:#e94560; color:#fff; border-color:#e94560; }

/* Product grid */
.product-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(250px, 1fr)); gap:20px; }
.product-card { background:#fff; border-radius:10px; overflow:hidden; box-shadow:0 2px 8px rgba(0,0,0,.08); transition:transform .2s; display:flex; flex-direction:column; }
.product-card:hover { transform:translateY(-3px); }
.product-card a { text-decoration:none; color:inherit; }
.product-image { height:200px; overflow:hidden; background:#f0f0f0; display:flex; align-items:center; justify-content:center; }
.product-image img { width:100%; height:100%; object-fit:cover; }
.no-image { font-size:4em; }
.product-info { padding:15px; flex:1; }
.product-info h3 { font-size:1em; margin:5px 0; }
.product-condition { font-size:.75em; color:#666; text-transform:uppercase; letter-spacing:.5px; }
.price { font-size:1.3em; color:#e94560; font-weight:bold; }
.in-stock { color:#27ae60; font-size:.85em; }
.out-of-stock { color:#e74c3c; font-size:.85em; }
.product-card .btn { margin:0 15px 15px; text-align:center; }

/* Product detail */
.product-detail { display:grid; grid-template-columns:1fr 1fr; gap:30px; margin-top:20px; }
.product-gallery img { width:100%; border-radius:10px; }
.product-gallery .thumbs { display:flex; gap:10px; margin-top:10px; }
.product-gallery .thumbs img { width:60px; height:60px; object-fit:cover; border-radius:6px; cursor:pointer; border:2px solid transparent; }
.product-gallery .thumbs img.active { border-color:#e94560; }

/* Buttons */
.btn { display:inline-block; padding:10px 20px; border-radius:6px; text-decoration:none; border:none; cursor:pointer; font-size:.95em; transition:background .2s; }
.btn-primary { background:#e94560; color:#fff; }
.btn-primary:hover { background:#d63851; }
.btn-secondary { background:#555; color:#fff; }
.btn-secondary:hover { background:#444; }
.btn-danger { background:#e74c3c; color:#fff; }
.btn-danger:hover { background:#c0392b; }
.btn-small { padding:5px 12px; font-size:.85em; }
.btn-lg { padding:14px 28px; font-size:1.1em; }

/* Forms */
.form-group { margin-bottom:15px; }
.form-group label { display:block; margin-bottom:5px; font-weight:500; font-size:.9em; }
.form-control { width:100%; padding:10px 12px; border:1px solid #ddd; border-radius:6px; font-size:.95em; }
.form-control:focus { border-color:#e94560; outline:none; box-shadow:0 0 0 2px rgba(233,69,96,.15); }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:15px; }

/* Cards */
.card { background:#fff; border-radius:10px; padding:25px; box-shadow:0 2px 8px rgba(0,0,0,.08); margin-bottom:20px; }

/* Tables */
.table { width:100%; border-collapse:collapse; background:#fff; border-radius:10px; overflow:hidden; box-shadow:0 2px 8px rgba(0,0,0,.08); }
.table th { background:#1a1a2e; color:#fff; padding:12px 15px; text-align:left; font-size:.85em; text-transform:uppercase; }
.table td { padding:12px 15px; border-bottom:1px solid #eee; font-size:.9em; }
.table tr:hover { background:#f8f8f8; }

/* Dashboard */
.dashboard-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(180px, 1fr)); gap:20px; margin-top:20px; }
.dash-card { background:#fff; border-radius:10px; padding:25px; text-align:center; box-shadow:0 2px 8px rgba(0,0,0,.08); }
.dash-card h3 { font-size:.9em; color:#666; margin-bottom:10px; }
.dash-number { font-size:2em; font-weight:bold; color:#1a1a2e; margin-bottom:15px; }

/* Badges */
.badge { padding:4px 10px; border-radius:12px; font-size:.8em; font-weight:500; }
.badge-pending { background:#fff3cd; color:#856404; }
.badge-paid { background:#d4edda; color:#155724; }
.badge-shipped { background:#cce5ff; color:#004085; }
.badge-delivered { background:#d4edda; color:#155724; }
.badge-cancelled { background:#f8d7da; color:#721c24; }

/* Checkout */
.checkout-grid { display:grid; grid-template-columns:1fr 380px; gap:30px; margin-top:20px; }
.order-summary { background:#fff; border-radius:10px; padding:25px; box-shadow:0 2px 8px rgba(0,0,0,.08); position:sticky; top:20px; height:fit-content; }
.summary-item { display:flex; justify-content:space-between; padding:8px 0; font-size:.95em; }
.summary-item.total { font-size:1.2em; font-weight:bold; }
.shipping-options, .payment-options { display:flex; flex-direction:column; gap:10px; margin-bottom:20px; }
.shipping-option, .payment-option { display:flex; align-items:center; gap:10px; padding:12px; border:1px solid #ddd; border-radius:8px; cursor:pointer; }
.shipping-option:hover, .payment-option:hover { border-color:#e94560; }

/* Cart */
.cart-item { display:grid; grid-template-columns:80px 1fr auto auto; gap:15px; align-items:center; padding:15px 0; border-bottom:1px solid #eee; }
.cart-item img { width:80px; height:80px; object-fit:cover; border-radius:6px; }
.qty-controls { display:flex; align-items:center; gap:8px; }
.qty-controls button { width:30px; height:30px; border:1px solid #ddd; border-radius:4px; background:#fff; cursor:pointer; font-size:1em; }

/* Auth */
.auth-page { display:flex; justify-content:center; padding:40px 20px; }
.auth-card { background:#fff; border-radius:10px; padding:40px; box-shadow:0 2px 8px rgba(0,0,0,.08); width:100%; max-width:450px; }
.auth-card h1 { text-align:center; margin-bottom:25px; }

/* Account */
.account-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:20px; }

/* Alerts */
.alert { padding:12px 16px; border-radius:8px; margin-bottom:15px; }
.alert-danger { background:#f8d7da; color:#721c24; border:1px solid #f5c6cb; }
.alert-success { background:#d4edda; color:#155724; border:1px solid #c3e6cb; }

/* Footer */
footer { background:#1a1a2e; color:#aaa; text-align:center; padding:20px; margin-top:40px; font-size:.85em; }
footer a { color:#e94560; }

/* Responsive */
@media(max-width:768px) {
  .product-detail, .checkout-grid, .account-grid, .form-row { grid-template-columns:1fr; }
  .nav-links { gap:10px; font-size:.85em; }
  .hero h1 { font-size:1.6em; }
  .dashboard-grid { grid-template-columns:repeat(2, 1fr); }
}
.social-links {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social-links a {
  color: white;
  font-size: 18px;
  text-decoration: none;
}

.social-links a:hover {
  color: #00bcd4;
}
.contact-container {
  max-width: 600px;
  margin: 80px auto;
  padding: 20px;
  text-align: center;
}

.whatsapp-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #25D366;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.whatsapp-btn:hover {
  background: #1ebe5d;
}