/*
Theme Name: Baba Computer Store
Theme URI: https://example.com/
Author: OpenAI
Description: A lightweight, Flipkart-inspired ecommerce storefront for BABA COMPUTER. Install WooCommerce separately for real products, cart, checkout, and orders.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: baba-computer-store
*/
:root{--blue:#1769d2;--yellow:#ffdf00;--ink:#172337;--muted:#64748b;--bg:#f1f3f6}
*{box-sizing:border-box}body{margin:0;background:var(--bg);font-family:Arial,Helvetica,sans-serif;color:var(--ink)}a{color:inherit;text-decoration:none}.topbar{background:var(--blue);color:#fff;padding:14px 4%;display:flex;gap:18px;align-items:center;flex-wrap:wrap}.brand{font-size:24px;font-weight:800;letter-spacing:.3px;color:#fff}.brand small{display:block;font-size:11px;color:#dceaff;font-weight:400}.search{flex:1;min-width:190px;display:flex}.search input{width:100%;padding:12px;border:0;border-radius:4px 0 0 4px;font-size:15px}.search button{background:var(--yellow);border:0;padding:0 18px;border-radius:0 4px 4px 0;font-weight:bold}.toplinks{display:flex;gap:15px;font-weight:bold}.nav{background:#fff;padding:13px 4%;display:flex;justify-content:center;gap:28px;flex-wrap:wrap;box-shadow:0 2px 6px #0000000c;font-weight:600;font-size:14px}.wrap{max-width:1200px;margin:18px auto;padding:0 12px}.hero{background:linear-gradient(115deg,#0c4eaa,#2489e8);border-radius:8px;color:white;padding:34px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:205px}.hero h1{font-size:clamp(27px,4vw,42px);margin:0 0 12px}.hero p{font-size:16px;line-height:1.5;max-width:600px}.hero .cta{display:inline-block;background:var(--yellow);padding:12px 18px;border-radius:4px;color:#15233a;font-weight:bold}.hero-art{font-size:74px;white-space:nowrap}.section{background:white;margin-top:18px;padding:18px;border-radius:7px}.section h2{font-size:22px;margin:0 0 16px}.cats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.cat{background:#f8fafc;border:1px solid #e7edf5;border-radius:7px;padding:18px 10px;text-align:center;font-weight:bold}.cat span{display:block;font-size:34px;margin-bottom:8px}.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.product{border:1px solid #e8edf3;border-radius:7px;padding:14px;text-align:center;min-width:0}.product .pic{height:110px;display:grid;place-items:center;font-size:52px;background:#f8fafc;border-radius:5px;margin-bottom:12px}.product h3{font-size:15px;min-height:35px}.price{font-weight:bold;font-size:18px;color:#15803d}.note{font-size:12px;color:var(--muted)}.button{display:inline-block;background:var(--blue);color:#fff;padding:10px 13px;border-radius:4px;font-weight:bold;margin-top:8px}.footer{background:#142238;color:#d8e1ef;padding:26px 5%;margin-top:24px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.footer strong{color:white}.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.woocommerce ul.products li.product{width:auto!important;float:none!important;background:#fff;padding:14px;border-radius:7px}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--blue);color:#fff}.content{background:white;padding:20px;border-radius:7px;margin-top:18px}@media(max-width:700px){.topbar{gap:12px}.brand{font-size:20px}.toplinks{font-size:13px}.hero{padding:24px 18px}.hero-art{font-size:48px}.cats{grid-template-columns:repeat(2,1fr)}.products,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.nav{gap:14px}.wrap{margin-top:12px}}
