* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  background: #050505;
}
header,
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
}
:root {
  --nav-height: 80px;
}

@media (max-width: 768px) {
  :root {
    --nav-height: 96px;
  }
}
.hero-wrapper {
  width: 100%;
  padding-top: var(--nav-height);
  background: #fff;
}
.hero-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.hero-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background: #000;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;          /* 🔥 KEY */
  object-position: center;
}

@media (max-width: 768px) {
  .hero-banner {
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .hero-banner {
    border-radius: 10px;
  }
}
@media (max-width: 768px) {
  .hero-video {
    object-position: center top;  /* keeps logo/bike */
  }
 .hero-wrapper {
margin-top:10px;
}
}
.hero-wrapper {
  width: 100%;
  padding-top: var(--nav-height, 90px);
  background: #fff;
  margin-top: 20px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.hero-banner {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #000;
  border-radius: 14px;
  padding-top: 40px;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-video.active {
  opacity: 1;
  z-index: 2;
}

.category-filter .btn {
  border-radius: 20px;
  padding: 6px 16px;
}

.category-filter .btn-outline-light:hover {
  background: white;
  color: black;
}
.discount-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #d52027;           /* orange */
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 999px;          /* pill shape */
  text-transform: uppercase;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 10;
}

/* PRODUCT CARD MOBILE FIX */
@media (max-width: 768px) {

  .category-filter a {
    margin-bottom: 6px;
  }

  .product-card {
    border-radius: 10px;
  }

  .product-card img {
    height: 160px !important;
  }

  .card-body {
    padding: 12px;
  }

  .card-title {
    font-size: 15px;
  }

  .card-body p {
    font-size: 13px;
  }

  .btn {
    font-size: 14px;
    padding: 8px;
  }
}

/* EXTRA SMALL */
@media (max-width: 480px) {

  .product-card img {
    height: 140px !important;
  }

  .btn {
    font-size: 13px;
  }
}
@media (max-width: 576px) {
  .row {
    margin-left: -6px;
    margin-right: -6px;
  }

  .col-6 {
    padding-left: 6px;
    padding-right: 6px;
  }
}

/* ======================
   CART PAGE – PREMIUM
   ====================== */

.cart-page {
  max-width: 900px;
  margin-top: 90px;
  color: #f8fafc;
}

.cart-title {
    
  font-weight: 700;
  margin-bottom: 20px;
}

/* Card wrapper */
.cart-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  padding: 10px 0;
}

/* Table */
.cart-table {
  margin-bottom: 0;
}

.cart-table thead th {
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
  color: #f9fbff;
  font-weight: 600;
}

.cart-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
}

.cart-table tbody tr:last-child {
  border-bottom: none;
}

/* Product name */
.cart-product-name {
  font-weight: 600;
  color: #f9fbfd;
}

/* Qty badge */
.cart-qty {
  display: inline-block;
  min-width: 36px;
  padding: 4px 10px;
  border-radius: 20px;
  background: #f1f5f9;
  font-weight: 600;
}

/* Price */
.cart-price {
  font-weight: 600;
  color: #0f172a;
}

/* Summary box */
.cart-summary {
  margin-top: 24px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  padding: 20px 24px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 600;
}

.summary-total {
  color: #22c55e;
}

/* Checkout button */
.checkout-btn {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-weight: 600;
  padding: 14px;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
}

.checkout-btn:hover {
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #fff;
}

/* Empty cart */
.empty-cart {
  text-align: center;
  padding: 60px 20px;
  background: #f8fafc;
  border-radius: 14px;
}

/* MOBILE */
@media (max-width: 768px) {

  .cart-page {
    padding: 0 10px;
  }

  .cart-title {
    font-size: 20px;
  }

  .cart-table thead {
    display: none;
  }

  .cart-table tbody tr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 14px;
  }

  .cart-table td {
    border: none;
  }

  .cart-summary {
    padding: 18px;
  }
}
/* Navbar fixed height */
.navbar {
  height: 80px;
  padding: 0 24px;
}

/* Logo wrapper */
.logo-wrap {
  height: 100%;
  display: flex;
  align-items: center;
}

/* Logo styling */
.logo-wrap img {
  height: 70px;              /* visually big */
  width: auto;
  transform: translateY(6px); /* drops logo slightly like AutoGo */
  object-fit: contain;
}


.nav-link {
  font-weight: 500;
}
.nav-link:hover {
  color: #facc15 !important;
}
@media (max-width: 991px) {
  .navbar-collapse {
    background: #000;
    padding: 16px;
    border-radius: 12px;
    margin-top: 10px;
    transition: all 0.35s ease;
  }
}
.navbar {
  z-index: 9999;
}
.navbar {
  position: fixed;
  top: 0;
  z-index: 9999;

  /* IMPORTANT: allow Bootstrap animations */
  transform: none;
}
/* MOBILE ONLY */
@media (max-width: 991px) {

  .navbar .container {
    position: relative;
  }

  .navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
  }

  .navbar-toggler {
    margin-left: auto;
  }
}
#home {
  scroll-margin-top: 90px; /* adjust to your navbar height */
}
.category-filter .btn {
  margin: 4px;
}
