/* ==========================================================
   bdtyres.com — main stylesheet
   ========================================================== */

:root {
  --navy: #0B1A33;
  --navy-light: #16294a;
  --blue: #0D6EFD;
  --blue-dark: #0b5ed7;
  --price: #E8501E;
  --ink: #1a1f2b;
  --muted: #6b7280;
  --line: #e6e8ec;
  --bg: #f5f6f8;
  --radius: 10px;
}

* { box-sizing: border-box; }

body {
  font-family: 'Poppins', 'Hind Siliguri', sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  margin: 0;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
.container-xxl { max-width: 1320px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); padding: 14px 0; }

.brand-logo {
  font-size: 22px; font-weight: 700; color: #fff;
  letter-spacing: -0.5px; white-space: nowrap;
}
.brand-logo span { color: var(--blue); font-weight: 400; font-size: 15px; }

.search-wrap { position: relative; flex: 1; max-width: 560px; }
.search-wrap input {
  width: 100%; height: 42px; border: 0; border-radius: 6px;
  padding: 0 52px 0 16px; font-size: 13px; outline: none;
}
.search-wrap button {
  position: absolute; right: 0; top: 0; height: 42px; width: 46px;
  border: 0; background: var(--blue); color: #fff;
  border-radius: 0 6px 6px 0; cursor: pointer;
}

.topbar-link { color: #fff; font-size: 12px; display: flex; align-items: center; gap: 8px; }
.topbar-link small { color: #9fb0c9; display: block; font-size: 11px; }
.topbar-link i { font-size: 18px; }

.count-badge {
  position: absolute; top: -6px; right: -8px;
  background: var(--price); color: #fff;
  font-size: 10px; line-height: 1; padding: 3px 5px; border-radius: 20px;
}

/* ---------- Nav bar ---------- */
.navbar-main { background: var(--navy-light); }
.cat-btn {
  background: var(--blue); color: #fff; border: 0;
  padding: 12px 18px; font-size: 12px; font-weight: 500;
  display: flex; align-items: center; gap: 10px; cursor: pointer;
}
.nav-link-main {
  color: #fff; font-size: 12px; font-weight: 500;
  padding: 12px 14px; display: inline-block; text-transform: uppercase;
}
.nav-link-main:hover { color: #8fbaff; }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy) center/cover no-repeat;
  color: #fff; padding: 70px 0 130px; position: relative;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,26,51,.92) 40%, rgba(11,26,51,.4));
}
.hero .container-xxl { position: relative; z-index: 2; }
.hero h1 { font-size: 48px; font-weight: 700; line-height: 1.1; margin-bottom: 16px; }
.hero p { color: #c5d0e0; font-size: 15px; margin-bottom: 26px; }
.btn-shop {
  background: var(--blue); color: #fff; border: 0;
  padding: 12px 26px; border-radius: 6px; font-size: 13px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-shop:hover { background: var(--blue-dark); color: #fff; }

/* ---------- Find your tyre ---------- */
.finder {
  background: #fff; border-radius: var(--radius);
  box-shadow: 0 6px 30px rgba(11,26,51,.12);
  margin-top: -70px; position: relative; z-index: 5;
}
.finder-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; gap: 10px;
}
.finder-head h6 { margin: 0; font-size: 14px; font-weight: 600; }
.finder-tabs { display: flex; background: var(--bg); border-radius: 6px; padding: 3px; }
.finder-tabs button {
  border: 0; background: transparent; font-size: 12px;
  padding: 7px 18px; border-radius: 4px; color: var(--muted); cursor: pointer;
}
.finder-tabs button.active { background: var(--blue); color: #fff; }
.finder-body { padding: 20px 22px; }
.finder-body select {
  height: 44px; border: 1px solid var(--line); border-radius: 6px;
  font-size: 13px; padding: 0 12px; width: 100%; color: var(--ink);
}
.btn-find {
  height: 44px; background: var(--blue); color: #fff; border: 0;
  border-radius: 6px; font-size: 13px; font-weight: 500; width: 100%;
}
.btn-find:hover { background: var(--blue-dark); }

/* ---------- Feature badges ---------- */
.badges { border-top: 1px solid var(--line); padding: 18px 22px; }
.badge-item { display: flex; align-items: center; gap: 12px; }
.badge-item i { font-size: 22px; color: var(--muted); }
.badge-item strong { display: block; font-size: 12px; font-weight: 600; }
.badge-item span { font-size: 11px; color: var(--muted); }

/* ---------- Section heading ---------- */
.section { padding: 40px 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px;
}
.section-head h2 { font-size: 15px; font-weight: 600; text-transform: uppercase; margin: 0; letter-spacing: .3px; }
.section-head a { font-size: 12px; color: var(--muted); }

/* ---------- Brand strip ---------- */
.brand-card {
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
  height: 74px; display: flex; align-items: center; justify-content: center;
  padding: 12px; transition: border-color .15s;
}
.brand-card:hover { border-color: var(--blue); }
.brand-card img { max-height: 34px; object-fit: contain; }
.brand-card span { font-size: 13px; font-weight: 600; color: var(--navy); }

/* ---------- Vehicle type ---------- */
.vtype-card {
  background: var(--bg); border-radius: 8px; padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 108px; transition: background .15s;
}
.vtype-card:hover { background: #e9edf3; }
.vtype-card h6 { font-size: 13px; font-weight: 600; margin: 0 0 3px; text-transform: uppercase; }
.vtype-card small { color: var(--muted); font-size: 11px; }
.vtype-card img { max-height: 62px; }

/* ---------- Product card ---------- */
.product-card {
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
  padding: 12px; height: 100%; display: flex; flex-direction: column;
  transition: box-shadow .15s, border-color .15s;
}
.product-card:hover { border-color: #cfd6e0; box-shadow: 0 4px 18px rgba(11,26,51,.08); }
.product-thumb { position: relative; text-align: center; padding: 8px 0 12px; }
.product-thumb img { height: 132px; object-fit: contain; }
.off-badge {
  position: absolute; top: 4px; left: 4px; background: var(--price); color: #fff;
  font-size: 10px; font-weight: 600; padding: 3px 7px; border-radius: 3px;
}
.product-brand { height: 20px; margin-bottom: 8px; }
.product-brand img { max-height: 18px; object-fit: contain; }
.product-brand span { font-size: 11px; font-weight: 600; color: var(--navy); text-transform: uppercase; }
.product-name {
  font-size: 13px; font-weight: 500; line-height: 1.35; margin: 0 0 3px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-size { font-size: 11px; color: var(--muted); margin-bottom: 7px; }
.product-price { font-size: 16px; font-weight: 600; color: var(--price); }
.product-price del { font-size: 11px; color: var(--muted); font-weight: 400; margin-left: 5px; }
.product-rating { font-size: 11px; color: #f6a821; margin: 6px 0 4px; }
.product-rating span { color: var(--muted); margin-left: 4px; }
.stock-yes { font-size: 11px; color: #17a34a; }
.stock-no { font-size: 11px; color: #dc2626; }
.product-actions { display: flex; gap: 6px; margin-top: 10px; }
.btn-compare {
  flex: 1; border: 1px solid var(--line); background: #fff; color: var(--muted);
  font-size: 11px; padding: 7px 0; border-radius: 5px; cursor: pointer;
}
.btn-compare:hover { border-color: var(--blue); color: var(--blue); }
.btn-cart {
  flex: 1; border: 0; background: var(--blue); color: #fff;
  font-size: 11px; padding: 7px 0; border-radius: 5px; cursor: pointer;
}
.btn-cart:hover { background: var(--blue-dark); }

/* ---------- Service strip ---------- */
.service-strip { background: var(--navy); color: #fff; padding: 26px 0; }
.service-item { display: flex; align-items: center; gap: 14px; }
.service-item i { font-size: 26px; color: #8fbaff; }
.service-item strong { display: block; font-size: 13px; font-weight: 600; }
.service-item span { font-size: 11px; color: #9fb0c9; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--blue); color: #fff; padding: 34px 0; }
.cta-band h3 { font-size: 20px; font-weight: 600; margin: 0 0 6px; }
.cta-band p { margin: 0; font-size: 13px; color: #dce9ff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c4d4; padding: 46px 0 0; font-size: 13px; }
.site-footer h6 {
  color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 16px; text-transform: uppercase;
}
.site-footer a { color: #b9c4d4; display: block; padding: 5px 0; }
.site-footer a:hover { color: #fff; }
.footer-social a {
  display: inline-flex; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.1); align-items: center; justify-content: center; margin-right: 8px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 34px;
  padding: 18px 0; font-size: 12px; color: #8494a8;
}

/* ---------- Mobile bottom nav ---------- */
.mobile-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1030;
  background: #fff; border-top: 1px solid var(--line); padding: 6px 0;
}
.mobile-nav a {
  flex: 1; text-align: center; font-size: 10px; color: var(--muted); position: relative;
}
.mobile-nav a i { display: block; font-size: 17px; margin-bottom: 3px; }
.mobile-nav a.active { color: var(--blue); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .hero { padding: 46px 0 110px; }
  .hero h1 { font-size: 32px; }
  .finder { margin-top: -60px; }
}

@media (max-width: 767px) {
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 13px; }
  .product-thumb img { height: 104px; }
  .mobile-nav { display: flex; }
  body { padding-bottom: 62px; }
  .section { padding: 26px 0; }
}
