/* Ayush Mobile & Communication - core stylesheet (no external framework) */
:root{
  --brand:#0d6efd;
  --brand-dark:#0a4fb8;
  --accent:#ff7a00;
  --bg:#f5f7fb;
  --card:#ffffff;
  --text:#1c2230;
  --muted:#6b7280;
  --border:#e6e9f0;
  --success:#16a34a;
  --danger:#dc2626;
  --radius:14px;
}
[data-theme="dark"]{
  --bg:#0f1420;
  --card:#171d2b;
  --text:#e7ebf3;
  --muted:#98a2b8;
  --border:#262e40;
}
*{box-sizing:border-box}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;background:var(--bg);color:var(--text);padding-bottom:70px;transition:background .2s,color .2s}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{max-width:1180px;margin:0 auto;padding:0 16px}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:var(--card);border-bottom:1px solid var(--border)}
.header-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px}
.logo{display:flex;align-items:center;gap:8px;font-weight:800;font-size:1.15rem;color:var(--brand)}
.logo span.sub{display:block;font-size:.62rem;font-weight:600;color:var(--muted);letter-spacing:.04em}
.header-actions{display:flex;align-items:center;gap:10px}
.icon-btn{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--bg);border:1px solid var(--border);cursor:pointer;color:var(--text)}
.nav-desktop{display:none}
.search-bar{display:none}

@media(min-width:900px){
  .nav-desktop{display:flex;gap:22px;font-weight:600;font-size:.92rem}
  .nav-desktop a:hover{color:var(--brand)}
  .search-bar{display:flex;flex:1;max-width:360px;margin:0 20px}
  .search-bar input{width:100%;border:1px solid var(--border);border-radius:24px;padding:9px 16px;background:var(--bg);color:var(--text)}
}

/* Bottom nav (mobile) */
.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:60;background:var(--card);border-top:1px solid var(--border);display:flex;justify-content:space-around;padding:6px 0 max(6px,env(safe-area-inset-bottom))}
.bottom-nav a{flex:1;text-align:center;font-size:.68rem;color:var(--muted);padding:6px 0;font-weight:600}
.bottom-nav a.active{color:var(--brand)}
.bottom-nav svg{width:21px;height:21px;display:block;margin:0 auto 3px}
@media(min-width:900px){.bottom-nav{display:none}body{padding-bottom:0}}

/* Hero */
.hero{background:linear-gradient(135deg,var(--brand),#5aa1ff);color:#fff;padding:36px 16px 30px;border-radius:0 0 22px 22px}
.hero h1{font-size:1.5rem;margin:0 0 8px;line-height:1.3}
.hero p{opacity:.92;margin:0 0 18px;font-size:.92rem}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap}
@media(min-width:700px){.hero h1{font-size:2.1rem}}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:6px;padding:11px 18px;border-radius:10px;font-weight:700;font-size:.88rem;border:none;cursor:pointer;text-decoration:none}
.btn-primary{background:#fff;color:var(--brand-dark)}
.btn-outline{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.7)}
.btn-solid{background:var(--brand);color:#fff}
.btn-solid:hover{background:var(--brand-dark)}
.btn-whatsapp{background:#25d366;color:#fff}
.btn-block{width:100%;justify-content:center}
.btn-sm{padding:7px 12px;font-size:.78rem}

/* Sections */
.section{padding:26px 0}
.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.section-title h2{font-size:1.15rem;margin:0}
.section-title a{font-size:.82rem;color:var(--brand);font-weight:700}

/* Cards */
.grid{display:grid;gap:14px;grid-template-columns:repeat(2,1fr)}
@media(min-width:640px){.grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:960px){.grid{grid-template-columns:repeat(4,1fr)}}

.product-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column}
.product-card .img-wrap{aspect-ratio:1/1;background:#eef1f7;position:relative;overflow:hidden}
.product-card .img-wrap img{width:100%;height:100%;object-fit:cover}
.badge{position:absolute;top:8px;left:8px;background:var(--accent);color:#fff;font-size:.65rem;font-weight:700;padding:3px 8px;border-radius:6px}
.product-card .body{padding:10px 12px 12px;flex:1;display:flex;flex-direction:column}
.product-card .brand{font-size:.68rem;color:var(--muted);text-transform:uppercase;font-weight:700}
.product-card .name{font-size:.88rem;font-weight:700;margin:2px 0 6px;line-height:1.3}
.price-row{display:flex;align-items:baseline;gap:8px;margin-top:auto}
.price{font-weight:800;font-size:1rem}
.mrp{font-size:.76rem;color:var(--muted);text-decoration:line-through}
.discount{font-size:.72rem;color:var(--success);font-weight:700}
.emi-text{font-size:.72rem;color:var(--muted);margin-top:2px}

.benefit-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:16px;text-align:center}
.benefit-card .num{font-size:1.4rem;font-weight:800;color:var(--brand)}
.benefit-card .label{font-size:.78rem;color:var(--muted);margin-top:4px}

.form-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:20px;max-width:440px;margin:24px auto}
label{display:block;font-size:.82rem;font-weight:700;margin:12px 0 6px}
input,select,textarea{width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:9px;background:var(--bg);color:var(--text);font-size:.92rem}
.alert{padding:10px 12px;border-radius:8px;font-size:.85rem;margin-bottom:12px}
.alert-error{background:#fef2f2;color:var(--danger);border:1px solid #fecaca}
.alert-success{background:#f0fdf4;color:var(--success);border:1px solid #bbf7d0}

footer.site-footer{background:#111726;color:#c7cee0;padding:32px 16px;margin-top:30px;font-size:.85rem}
footer.site-footer a{color:#c7cee0}
footer.site-footer .cols{display:grid;gap:20px;grid-template-columns:1fr}
@media(min-width:700px){footer.site-footer .cols{grid-template-columns:repeat(4,1fr)}}
footer.site-footer h4{color:#fff;font-size:.85rem;margin:0 0 10px}
footer.site-footer li{margin-bottom:6px;list-style:none}
footer.site-footer ul{padding:0;margin:0}

.fab-whatsapp{position:fixed;right:16px;bottom:78px;z-index:55;background:#25d366;color:#fff;width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 14px rgba(0,0,0,.25)}
@media(min-width:900px){.fab-whatsapp{bottom:24px}}

.dash-grid{display:grid;gap:14px;grid-template-columns:repeat(2,1fr)}
@media(min-width:700px){.dash-grid{grid-template-columns:repeat(3,1fr)}}
.table-simple{width:100%;border-collapse:collapse;font-size:.86rem}
.table-simple th,.table-simple td{padding:9px 8px;border-bottom:1px solid var(--border);text-align:left}
.status-pill{display:inline-block;padding:3px 9px;border-radius:20px;font-size:.7rem;font-weight:700}
.status-requested{background:#fef3c7;color:#92400e}
.status-approved,.status-in_progress{background:#dbeafe;color:#1e40af}
.status-ready{background:#e0e7ff;color:#4338ca}
.status-completed{background:#dcfce7;color:#166534}
.status-cancelled,.status-rejected{background:#fee2e2;color:#991b1b}
