* { box-sizing: border-box; margin:0; padding:0; }
body { font-family: 'Segoe UI', Arial, sans-serif; background:#f5f6fa; color:#222; line-height:1.5; }
a { text-decoration:none; color:inherit; }
.container { max-width:1200px; margin:0 auto; padding:0 15px; }
img { max-width:100%; display:block; }

/* Header */
.top-bar { background:#1a237e; color:#fff; font-size:12px; }
.topbar-inner { display:flex; justify-content:space-between; padding:6px 15px; }
.topbar-inner a { color:#fff; }
.main-nav { display:flex; align-items:center; gap:20px; padding:15px; background:#fff; flex-wrap:wrap; }
.logo { font-size:24px; font-weight:800; color:#1a237e; }
.search-form { flex:1; display:flex; min-width:200px; }
.search-form input { flex:1; padding:10px 14px; border:2px solid #1a237e; border-right:none; border-radius:6px 0 0 6px; }
.search-form button { padding:0 18px; background:#1a237e; color:#fff; border:none; border-radius:0 6px 6px 0; cursor:pointer; }
.nav-icons { display:flex; gap:18px; align-items:center; font-size:22px; }
.cart-link { position:relative; }
.cart-badge { position:absolute; top:-8px; right:-12px; background:#e53935; color:#fff; font-size:11px; padding:2px 6px; border-radius:50%; }
.categories-nav { background:#1a237e; }
.categories-nav a { color:#fff; padding:12px 16px; display:inline-block; font-size:14px; }
.categories-nav a:hover { background:#283593; }

.page-content { min-height:60vh; padding:25px 15px; }

/* Buttons */
.btn { display:inline-block; background:#1a237e; color:#fff; padding:10px 20px; border-radius:6px; border:none; cursor:pointer; font-size:14px; font-weight:600; }
.btn:hover { background:#121858; }
.btn-outline { background:transparent; border:2px solid #1a237e; color:#1a237e; }
.btn-danger { background:#e53935; }
.btn-sm { padding:6px 12px; font-size:12px; }
.btn-success { background: #2e7d32; }

/* Banner */
.banner { background:linear-gradient(135deg,#1a237e,#3949ab); color:#fff; border-radius:10px; padding:50px 30px; margin-bottom:30px; text-align:center; }
.banner h1 { font-size:32px; margin-bottom:10px; }

/* Grid */
.section-title { font-size:22px; margin:25px 0 15px; border-left:5px solid #1a237e; padding-left:12px; }
.product-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:18px; }
.product-card { background:#fff; border-radius:10px; overflow:hidden; box-shadow:0 1px 6px rgba(0,0,0,.08); transition:.2s; }
.product-card:hover { box-shadow:0 4px 16px rgba(0,0,0,.15); transform:translateY(-2px); }
.product-card img { height:180px; object-fit:contain; padding:15px; background:#fafafa; }
.product-card .info { padding:12px 14px; }
.product-card .info h3 { font-size:14px; font-weight:600; height:38px; overflow:hidden; }
.price { font-size:17px; font-weight:700; color:#1a237e; }
.price .old { text-decoration:line-through; color:#999; font-size:13px; font-weight:400; margin-left:6px; }
.badge-stock { font-size:11px; padding:3px 8px; border-radius:4px; background:#e8f5e9; color:#2e7d32; }
.badge-out { background:#ffebee; color:#c62828; }

/* Category chips */
.cat-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); gap:14px; margin-bottom:30px; }
.cat-card { background:#fff; border-radius:10px; text-align:center; padding:18px 10px; box-shadow:0 1px 6px rgba(0,0,0,.08); }
.cat-card img { height:60px; object-fit:contain; margin:0 auto 8px; }

/* Forms */
.form-box { max-width:480px; margin:20px auto; background:#fff; padding:30px; border-radius:10px; box-shadow:0 1px 8px rgba(0,0,0,.08); }
.form-box h2 { margin-bottom:20px; }
.form-group { margin-bottom:15px; }
.form-group label { display:block; margin-bottom:5px; font-size:14px; font-weight:600; }
.form-group input, .form-group select, .form-group textarea { width:100%; padding:10px 12px; border:1px solid #ccc; border-radius:6px; font-size:14px; }
.alert { padding:12px 15px; border-radius:6px; margin-bottom:15px; font-size:14px; }
.alert-error { background:#fdecea; color:#b71c1c; }
.alert-success { background:#e8f5e9; color:#2e7d32; }

/* Product detail */
.product-detail { display:grid; grid-template-columns:1fr 1fr; gap:35px; background:#fff; padding:25px; border-radius:10px; }
.product-detail img { border:1px solid #eee; border-radius:8px; }
.qty-box { display:flex; align-items:center; gap:10px; margin:15px 0; }
.qty-box button { width:32px; height:32px; border:1px solid #ccc; background:#fff; cursor:pointer; }

/* Cart */
.cart-table { width:100%; background:#fff; border-collapse:collapse; border-radius:8px; overflow:hidden; }
.cart-table th, .cart-table td { padding:12px; border-bottom:1px solid #eee; text-align:left; font-size:14px; }
.cart-table img { width:60px; height:60px; object-fit:contain; }

/* Checkout QR */
.qr-payment-box { background:#fff; border:2px dashed #1a237e; border-radius:10px; padding:25px; text-align:center; }
.qr-payment-box img { max-width:220px; margin:15px auto; border:1px solid #eee; padding:10px; }
.upi-id { font-size:16px; font-weight:700; background:#f0f2f5; padding:8px 15px; border-radius:6px; display:inline-block; margin:10px 0; }

/* Footer */
.site-footer { background:#0d133d; color:#cfd3f5; margin-top:40px; padding:35px 0 0; }
.footer-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:25px; padding-bottom:25px; }
.footer-grid h4 { color:#fff; margin-bottom:10px; }
.footer-grid a { color:#cfd3f5; line-height:2; }
.footer-bottom { text-align:center; padding:15px; background:#080b28; font-size:13px; }

.whatsapp-float { position:fixed; bottom:25px; right:25px; background:#25d366; color:#fff; width:55px; height:55px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:28px; box-shadow:0 2px 10px rgba(0,0,0,.3); z-index:99; }

/* Admin */
.admin-body { display:flex; min-height:100vh; background:#f0f2f5; font-family:'Segoe UI',Arial,sans-serif; }
.admin-sidebar { width:230px; background:#1a237e; color:#fff; padding:20px 0; flex-shrink:0; }
.admin-sidebar h2 { padding:0 20px 20px; font-size:18px; border-bottom:1px solid rgba(255,255,255,.15); margin-bottom:10px; }
.admin-sidebar a { display:block; padding:11px 20px; color:#dcdcf5; font-size:14px; }
.admin-sidebar a:hover, .admin-sidebar a.active { background:#283593; color:#fff; }
.admin-content { flex:1; padding:25px; overflow-x:auto; }
.admin-topbar { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; }
.cards-row { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:15px; margin-bottom:25px; }
.stat-card { background:#fff; padding:20px; border-radius:10px; box-shadow:0 1px 6px rgba(0,0,0,.08); }
.stat-card .num { font-size:26px; font-weight:700; color:#1a237e; }
.admin-table { width:100%; background:#fff; border-collapse:collapse; border-radius:8px; overflow:hidden; box-shadow:0 1px 6px rgba(0,0,0,.06); }
.admin-table th { background:#1a237e; color:#fff; text-align:left; padding:12px; font-size:13px; }
.admin-table td { padding:10px 12px; border-bottom:1px solid #eee; font-size:13px; }
.admin-table img { width:45px; height:45px; object-fit:contain; }
.status-pill { padding:3px 10px; border-radius:20px; font-size:11px; font-weight:600; }
.status-pending { background:#fff3e0; color:#e65100; }
.status-verified, .status-delivered { background:#e8f5e9; color:#2e7d32; }
.status-failed, .status-cancelled { background:#ffebee; color:#c62828; }
.status-processing, .status-shipped { background:#e3f2fd; color:#1565c0; }
.admin-card { background:#fff; padding:25px; border-radius:10px; box-shadow:0 1px 6px rgba(0,0,0,.06); margin-bottom:20px; }

@media(max-width:768px){
  .product-detail { grid-template-columns:1fr; }
  .admin-body { flex-direction:column; }
  .admin-sidebar { width:100%; }
}

/* Logo, Find us (Google map + rating) */
.logo-img { height:46px; width:auto; max-width:220px; object-fit:contain; }
.find-us { margin-top:35px; }
.find-us-grid { display:grid; grid-template-columns:1fr 1.4fr; gap:20px; background:#fff; border-radius:10px; padding:20px; box-shadow:0 1px 6px rgba(0,0,0,.08); }
.find-us-grid:has(.find-us-map) { align-items:stretch; }
.find-us-info p { color:#555; margin:8px 0 12px; }
.find-us-map iframe { width:100%; height:100%; min-height:300px; border:0; border-radius:8px; }
.find-us-actions { display:flex; gap:8px; flex-wrap:wrap; margin-top:14px; }
.g-rating { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin:10px 0; }
.g-badge { background:#4285f4; color:#fff; font-weight:700; width:24px; height:24px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; font-size:13px; }
.g-score { font-size:22px; font-weight:700; }
.g-stars { color:#fbbc04; letter-spacing:1px; }
.g-count { color:#777; font-size:13px; }
@media(max-width:768px){ .find-us-grid { grid-template-columns:1fr; } }

/* Slider */
.slider { position:relative; border-radius:10px; overflow:hidden; margin-bottom:25px; background:#e8eaf6; aspect-ratio:16/5; }
.slide { position:absolute; inset:0; opacity:0; transition:opacity .6s; display:block; }
.slide.active { opacity:1; z-index:1; }
.slide img { width:100%; height:100%; object-fit:cover; }
.slide-title { position:absolute; left:20px; bottom:20px; background:rgba(0,0,0,.55); color:#fff; padding:8px 16px; border-radius:6px; font-size:18px; }
.slider-dots { position:absolute; bottom:10px; right:15px; z-index:2; display:flex; gap:6px; }
.slider-dots span { width:9px; height:9px; border-radius:50%; background:rgba(255,255,255,.55); }
.slider-dots span.on { background:#fff; }
.topbar-links a { margin-right:12px; }
@media(max-width:600px){ .slider { aspect-ratio:16/8; } }

/* Product page extras */
.price-box { background:#f5f7ff; border:1px solid #dfe3f7; border-radius:8px; padding:12px 16px; margin:12px 0; }
.price-box .row { display:flex; justify-content:space-between; padding:3px 0; font-size:14px; }
.price-box .row.big { font-size:18px; font-weight:700; color:#1a237e; border-top:1px dashed #b9c0ea; margin-top:5px; padding-top:8px; }
.tool-card { background:#fff; border-radius:10px; padding:18px; box-shadow:0 1px 6px rgba(0,0,0,.08); margin-top:18px; }
.chips { display:flex; gap:6px; flex-wrap:wrap; margin:8px 0; }
.chip { padding:6px 12px; border:1px solid #1a237e; border-radius:20px; cursor:pointer; font-size:13px; background:#fff; color:#1a237e; }
.chip.on { background:#1a237e; color:#fff; }
.spec-table { width:100%; border-collapse:collapse; }
.spec-table td { padding:8px 10px; border-bottom:1px solid #eee; font-size:14px; vertical-align:top; }
.spec-table td:first-child { color:#666; width:40%; }
.listing-layout { display:grid; grid-template-columns:220px 1fr; gap:25px; }
@media(max-width:768px){ .listing-layout { grid-template-columns:1fr; } }
@media(max-width:768px){ .cart-bottom { grid-template-columns:1fr !important; } .co-grid { grid-template-columns:1fr !important; } }

/* ===== Stylish footer ===== */
.trust-strip { background:linear-gradient(90deg,#eef0ff,#f7f8ff); border-top:1px solid #e1e4f5; margin-top:40px; }
.trust-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; padding:20px 15px; }
.trust-grid > div { display:grid; grid-template-columns:auto 1fr; column-gap:12px; align-items:center; }
.trust-grid span { grid-row:span 2; font-size:28px; width:50px; height:50px; background:#fff; border-radius:14px; display:flex; align-items:center; justify-content:center; box-shadow:0 2px 8px rgba(26,35,126,.12); }
.trust-grid b { color:#1a237e; font-size:14px; }
.trust-grid small { color:#667; font-size:12px; }
.site-footer { position:relative; margin-top:0; background:linear-gradient(160deg,#0d133d 0%,#1a237e 55%,#283593 100%); color:#cfd3f5; padding:46px 0 0; overflow:hidden; }
.footer-glow { position:absolute; top:-120px; right:-80px; width:340px; height:340px; border-radius:50%; background:radial-gradient(circle,rgba(121,134,255,.35),transparent 70%); pointer-events:none; }
.site-footer .footer-grid { position:relative; display:grid; grid-template-columns:1.5fr 1fr 1fr 1.4fr; gap:34px; padding-bottom:34px; }
.site-footer h4 { color:#fff; font-size:15px; margin-bottom:14px; letter-spacing:.4px; position:relative; padding-bottom:8px; }
.site-footer h4::after { content:""; position:absolute; left:0; bottom:0; width:34px; height:3px; border-radius:3px; background:#ffca28; }
.f-name { color:#fff; font-size:24px; margin-bottom:10px; }
.f-logo { max-height:54px; max-width:200px; margin-bottom:10px; background:#fff; padding:6px 10px; border-radius:10px; }
.f-brand p { font-size:13.5px; line-height:1.7; color:#b9bfe8; }
.f-pill { display:inline-block; margin-top:12px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.2); padding:5px 12px; border-radius:20px; font-size:12px; color:#fff; }
.f-social { display:flex; gap:10px; margin-top:16px; }
.f-social a { width:40px; height:40px; border-radius:50%; background:rgba(255,255,255,.1); display:flex; align-items:center; justify-content:center; font-size:18px; transition:.25s; border:1px solid rgba(255,255,255,.15); }
.f-social a:hover { background:var(--c,#fff); transform:translateY(-3px); box-shadow:0 6px 14px rgba(0,0,0,.3); }
.f-links { list-style:none; }
.f-links li { margin-bottom:9px; }
.f-links a { color:#cfd3f5; font-size:14px; display:inline-block; transition:.2s; }
.f-links a::before { content:"›"; color:#ffca28; margin-right:7px; transition:.2s; }
.f-links a:hover { color:#fff; transform:translateX(4px); }
.f-contact { list-style:none; }
.f-contact li { display:flex; gap:10px; font-size:13.5px; margin-bottom:10px; line-height:1.5; color:#d6daf7; }
.f-contact li span { flex-shrink:0; }
.f-rating { display:flex; align-items:center; gap:10px; margin-top:12px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.18); border-radius:12px; padding:10px 14px; color:#fff; transition:.25s; }
.f-rating:hover { background:rgba(255,255,255,.18); }
.f-rating b { font-size:18px; }
.f-rating small { display:block; font-size:11px; color:#b9bfe8; }
.footer-bottom { position:relative; border-top:1px solid rgba(255,255,255,.12); background:rgba(0,0,0,.22); }
.fb-inner { display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; padding:14px 15px; font-size:13px; }
.f-pay { display:flex; gap:6px; flex-wrap:wrap; }
.f-pay i { font-style:normal; font-size:11px; padding:3px 10px; border-radius:20px; background:rgba(255,255,255,.12); color:#fff; }
.to-top { position:fixed; bottom:92px; right:30px; width:42px; height:42px; border-radius:50%; background:#1a237e; color:#fff; display:flex; align-items:center; justify-content:center; font-size:20px; box-shadow:0 3px 10px rgba(0,0,0,.3); opacity:0; pointer-events:none; transition:.3s; z-index:98; }
.to-top.show { opacity:1; pointer-events:auto; }
@media(max-width:900px){ .site-footer .footer-grid { grid-template-columns:1fr 1fr; } .trust-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:560px){ .site-footer .footer-grid { grid-template-columns:1fr; } .trust-grid { grid-template-columns:1fr; } .fb-inner { justify-content:center; text-align:center; } }
.site-footer .footer-bottom { padding:0; text-align:left; }
