:root {
  --navy: #071833;
  --navy-2: #0c274c;
  --navy-3: #143a6b;
  --gold: #d4af37;
  --gold-2: #f0d78c;
  --ink: #122033;
  --muted: #5b6b80;
  --line: #e6ebf2;
  --bg: #f4f7fb;
  --white: #fff;
  --danger: #c0392b;
  --ok: #1e8e5a;
  --shadow: 0 12px 40px rgba(7, 24, 51, .12);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container-bfs { width: min(1240px, calc(100% - 32px)); margin: 0 auto; }

.topbar {
  background: var(--navy);
  color: #d7e4f5;
  font-size: 13px;
  padding: 8px 0;
}
.topbar a { color: var(--gold-2); }
.header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-main, .nav-row, .topbar-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.header-main { padding: 10px 0; }
.topbar-row { flex-wrap: wrap; }
.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(240px, 48vw);
  background: #fff;
  border-radius: 12px;
  padding: 4px 8px;
  line-height: 0;
}
.logo img {
  display: block;
  width: auto;
  height: clamp(28px, 5.6vw, 52px);
  max-width: 100%;
  object-fit: contain;
}
.footer .logo,
.logo-footer {
  max-width: min(280px, 100%);
  margin-bottom: 14px;
}
.footer .logo img,
.logo-footer img {
  height: clamp(40px, 8vw, 58px);
}
.search-wrap { flex: 1; position: relative; min-width: 0; }
.search-wrap input {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 12px 48px 12px 18px;
  font: inherit;
}
.search-wrap button {
  position: absolute; right: 6px; top: 5px;
  border: 0; background: var(--navy); color: var(--gold);
  width: 38px; height: 38px; border-radius: 50%;
}
.suggest {
  position: absolute; left: 0; right: 0; top: 52px;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow);
  display: none; overflow: hidden; z-index: 20;
}
.suggest a { display: block; padding: 10px 14px; font-size: 14px; }
.suggest a:hover { background: #f7f1de; }
.icon-btn { color: var(--navy); font-size: 14px; text-align: center; position: relative; flex: 0 0 auto; }
.icon-btn i { font-size: 20px; display: block; }
.badge-count {
  position: absolute; top: -6px; right: 4px;
  background: var(--gold); color: var(--navy); font-size: 10px; font-weight: 800;
  min-width: 18px; height: 18px; border-radius: 99px; display: grid; place-items: center;
}
.nav-row {
  border-top: 1px solid var(--line);
  padding: 8px 0;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
}
.nav-row a:hover, .nav-row a.active { color: var(--gold); }
.btn-gold, .btn-navy, .btn-line {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 11px 20px; font-weight: 700; border: 0; cursor: pointer;
}
.btn-gold { background: linear-gradient(90deg, #f0d78c, #d4af37); color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-line { background: #fff; border: 1px solid var(--line); color: var(--navy); }
.hero { padding: 24px 0 8px; }
.hero-slide {
  min-height: 420px; border-radius: 24px; overflow: hidden; position: relative;
  background: var(--navy) center/cover no-repeat; color: #fff;
}
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,24,51,.88) 0%, rgba(7,24,51,.25) 70%);
}
.hero-copy { position: relative; z-index: 1; padding: 72px 56px; max-width: 640px; }
.hero-copy h1,
.hero-copy .hero-title {
  font-size: clamp(28px, 4.6vw, 48px);
  line-height: 1.12;
  margin: 8px 0 16px;
  font-weight: 800;
}
.eyebrow { color: var(--gold); letter-spacing: .2em; font-size: 12px; font-weight: 800; }
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-card {
  background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow);
}
.cat-card img { height: 110px; width: 100%; object-fit: cover; }
.cat-card p { margin: 0; padding: 10px; font-weight: 700; font-size: 14px; }
.section { padding: 36px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 18px; }
.section-head h2 { margin: 0; font-size: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product-card {
  background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.product-card img { height: 210px; width: 100%; object-fit: cover; background: #eee; }
.product-card .body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card h3 { font-size: 15px; margin: 0; min-height: 40px; }
.muted { color: var(--muted); font-size: 13px; }
.price { font-weight: 800; color: var(--navy); }
.old { text-decoration: line-through; color: #99a; font-weight: 500; margin-left: 6px; }
.disc { background: #fff4d4; color: #8a6d12; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 99px; }
.stars { color: var(--gold); font-size: 13px; }
.flash-box {
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  color: #fff; border-radius: 24px; padding: 22px;
}
.countdown { display: flex; gap: 10px; }
.countdown b {
  background: var(--gold); color: var(--navy); min-width: 58px; padding: 10px;
  border-radius: 12px; text-align: center; display: block;
}
.promo, .app-promo {
  border-radius: 24px; overflow: hidden; min-height: 220px; color: #fff;
  background: var(--navy) center/cover no-repeat; position: relative;
}
.promo > *, .app-promo > * { position: relative; z-index: 1; padding: 36px; }
.promo::after, .app-promo::after {
  content: ""; position: absolute; inset: 0; background: rgba(7,24,51,.55);
}
.footer { background: var(--navy); color: #c9d7ea; padding: 48px 0 20px; margin-top: 40px; }
.footer h4 { color: var(--gold); }
.footer a { color: #c9d7ea; display: block; margin: 6px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
.copy { border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; padding-top: 14px; font-size: 13px; }
.toast-wrap { position: fixed; right: 16px; bottom: 86px; z-index: 80; display: grid; gap: 8px; }
.toast {
  background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 12px;
  border-left: 4px solid var(--gold); box-shadow: var(--shadow); min-width: 240px;
}
.mobile-bottom {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; background: #fff;
  border-top: 1px solid var(--line); z-index: 60;
  grid-template-columns: repeat(5, 1fr); padding: 8px 0 10px; text-align: center; font-size: 11px;
}
.filters { background: #fff; border-radius: 18px; padding: 16px; box-shadow: var(--shadow); }
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 22px; }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; }
.table th, .table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.dash { display: grid; grid-template-columns: 240px 1fr; gap: 20px; }
.side {
  background: var(--navy); color: #d7e4f5; border-radius: 20px; padding: 18px; min-height: 70vh;
}
.side a { display: block; padding: 10px 12px; border-radius: 10px; margin: 4px 0; }
.side a.active, .side a:hover { background: rgba(212,175,55,.18); color: var(--gold-2); }
.stat { background: #fff; border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.form input, .form select, .form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px; font: inherit; margin-bottom: 12px;
}
.wish { border: 0; background: transparent; color: #c0392b; font-size: 18px; cursor: pointer; }
.page-hero {
  background: linear-gradient(135deg, var(--navy), #1a4b86);
  color: #fff; border-radius: 24px; padding: 36px; margin: 18px 0 24px;
}
.demo-note { background: #fff8e4; border: 1px solid #f0d78c; color: #6b5410; padding: 10px 14px; border-radius: 12px; font-size: 13px; }
.cart-item { display: grid; grid-template-columns: 90px 1fr auto; gap: 12px; background: #fff; padding: 12px; border-radius: 16px; margin-bottom: 10px; }
.cart-item img { width: 90px; height: 90px; object-fit: cover; border-radius: 12px; }
.h-scroll { display: flex; gap: 12px; overflow: auto; padding-bottom: 8px; }
.h-scroll .cat-chip {
  white-space: nowrap; background: #fff; border-radius: 999px; padding: 10px 16px; font-weight: 700; box-shadow: var(--shadow);
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 200;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus { left: 16px; }
.seo-intro { background: #fff; border-radius: 24px; padding: 28px 32px; box-shadow: var(--shadow); }
.seo-intro h2 { margin: 0 0 12px; font-size: 26px; }
.seo-intro p { margin: 0 0 12px; color: var(--ink); line-height: 1.65; }
.seo-intro a { color: var(--navy-3); font-weight: 700; text-decoration: underline; }
.urdu-seo { font-size: 18px; line-height: 1.8; color: var(--navy); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust-grid h3 { margin: 0 0 8px; font-size: 17px; }
.city-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.city-pills span {
  background: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: var(--shadow);
}
.faq-wrap details {
  background: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
}
.faq-wrap summary { font-weight: 700; cursor: pointer; }
.faq-wrap details p { margin: 10px 0 0; color: var(--muted); line-height: 1.6; }
