h1, h2, h3, h4, h5, h6,
p, a, li, ul, ol,
span, strong, b, em, i,
small, label,
button, input, textarea, select, option,
blockquote, pre, code,
table, thead, tbody, tfoot,
tr, th, td,
div, section, article, aside, header, footer,
nav, main, form,
figure, figcaption,
caption {
    font-family: 'Axiforma', sans-serif !important;
}

/* ================= THEME VARIABLES (new design) =================
   Ye variables agar tumhari common.css me pehle se defined hain to
   is block ko wahan move kar dena / duplicate hata dena.            */
:root {
  --bg: #090909;
  --surface: #111111;
  --surface2: #181818;
  --line: #2a2a2a;
  --text: #ffffff;
  --muted: #a4a4a4;
  --accent: #e30613;
  --accent2: #ff2633;
  --shadow: 0 25px 70px rgba(0, 0, 0, .38);
}

[data-theme="light"] {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface2: #f4f4f4;
  --line: #dddddd;
  --text: #111111;
  --muted: #666666;
  --accent: #e30613;
  --accent2: #c9000b;
  --shadow: 0 20px 55px rgba(0, 0, 0, .10);
}

.container {
  width: min(1220px, calc(100% - 40px));
  margin: auto
}

body,
header,
.header,
.nav a {
  transition: background-color .2s ease, color .2s ease
}

/* ---- form fields: theme ke hisaab se consistent font/weight/color ---- */
input,
select,
textarea,
button {
  font-weight: 600;
  color: var(--text);
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 1;
  font-weight: 500;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
}

/* ---- topbar ---- */
.topbar {
  height: 38px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase
}

.topbar span {
  margin-left: 10px;
  font-weight: 600;
  opacity: .8;
  text-transform: none;
  letter-spacing: 0
}

/* ---- header ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 9, 11, .86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line)
}

[data-theme="light"] .header {
  background: rgba(244, 245, 242, .9)
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(1280px, calc(100% - 40px));
  margin: auto
}

.logo img,
.auth-logo-img {
  height: 50px;
  width: auto;
  display: block
}

.nav {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto
}

.nav a {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700
}

.nav a:hover,
.nav a.active {
  color: var(--text)
}

.header-actions {
  display: flex;
  gap: 9px;
  align-items: center
}

.icon-btn,
.outline-btn,
.fill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--muted);
  background: transparent;
  color: var(--text);
  height: 40px;
  padding: 0 15px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  position: relative
}

.outline-btn:hover {
  border-color: var(--text);
  background: rgba(128, 128, 128, .08)
}

.fill-btn {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff
}

.fill-btn:hover {
  background: var(--accent2);
  border-color: var(--accent2)
}

.icon-btn {
  width: 40px;
  padding: 0
}

.icon-btn:hover {
  border-color: var(--text)
}

.icon-btn #cartCount {
  position: absolute;
  top: -6px;
  right: -6px;
  font-size: 9px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  padding: 2px 5px
}

.menu-btn {
  display: none
}

/* ---- mobile ---- */
@media(max-width:1000px) {
  .nav {
    display: none
  }

  .menu-btn {
    display: block
  }

  .header-actions .outline-btn {
    display: none
  }
}

@media(max-width:650px) {
  .header-inner {
    width: min(100% - 24px, 1220px);
    height: 68px
  }

  .logo img,
  .auth-logo-img {
    height: 31px
  }

  .topbar {
    font-size: 9px
  }

  .topbar span {
    display: block;
  }

  .header-actions {
    margin-left: auto
  }
}


/* search bar working css */
.v2-search-results {
  background: #141416;
  border: 1px solid #2a1618;
  border-radius: 12px;
  max-height: 420px;
  overflow-y: auto;
  display: none;
  z-index: 9999;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
  text-align: left;
}

.v2-search-results.open {
  display: block;
}

.v2-search-group-label {
  font-size: 11px;
  letter-spacing: .08em;
  color: #9a9a9f;
  text-transform: uppercase;
  padding: 12px 16px 6px;
  font-weight: 700;
}

.v2-search-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: inherit;
}

.v2-search-row:hover {
  background: rgba(255, 255, 255, .05);
}

.v2-search-row-main {
  flex: 1;
  min-width: 0;
}

.v2-search-thumb {
  width: 50px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, #232326, #18181a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #c9c9cc;
  flex-shrink: 0;
  border: 1px solid #26262a;
}

.v2-search-thumb img {
  object-fit: initial !important;
}

.v2-search-row-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v2-search-row-meta {
  font-size: 12px;
  color: #9a9a9f;
  margin-top: 2px;
}

.v2-search-tag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid;
  flex-shrink: 0;
  margin-left: auto;
}

.v2-search-tag.brand {
  color: #e81c1c;
  border-color: #e81c1c;
}

.v2-search-tag.model {
  color: #4f8cff;
  border-color: #4f8cff;
}

.v2-search-tag.kit {
  color: #ffbf47;
  border-color: #ffbf47;
}

.v2-search-empty {
  padding: 26px 16px;
  text-align: center;
  color: #9a9a9f;
  font-size: 14px;
}

/* search bar working css */

/* header searchbar css */
.global-search-wrap {
  position: relative;
}

.v2-search-results.v2-search-results--nested {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  left: 0 !important;
  width: 100% !important;
  right: auto !important;
}

/* header searchbar css */





/* ================= HEADER RESPONSIVE POLISH ================= */
@media (max-width: 480px) {
  .header-inner {
    height: 56px;
    gap: auto;
  }

  .auth-logo-img {
    height: 28px;
  }

  .theme-toggle {
    width: 32px;
    height: 32px;
    font-size: .85rem;
  }

  .btn-header-fill {
    padding: .32rem .7rem;
    font-size: .78rem;
  }

  .nav-toggle {
    padding: .3rem;
  }

  .pricing-banner {
    padding: .5rem 1rem;
  }

  .pricing-banner-left strong {
    font-size: .82rem;
  }
}

@media (max-width: 380px) {
  .header-inner {
    padding: 0 .7rem;
  }

  .btn-header-fill span,
  .btn-header-outline {
    display: none;
  }
}

/* Hide bottom-nav duplicate items on desktop where site-nav already shows them */
@media (min-width: 769px) {
  .bottom-nav {
    display: none !important;
  }
}