* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #e74c3c;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
  min-width: 18px;
  text-align: center;
}
.purchase-badge {
  position: absolute;
  background-color: red;
  color: white;
  top: 1px; /* Move the badge up */
  right: 40px;
  font-weight: bold;
  font-size: 10px;
  border-radius: 50%;
  padding: 1px 3px;
  display: inline-block;
}
.purchase-container {
  position: relative;
  display: inline-block;
  font-size: 20px;
}
.cart {
  position: relative;
  display: inline-block;
}
.cart a {
  text-decoration: none;
  color: inherit;
}
header {
  background-color: #7D0A0A;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-bottom {
  background-color: #00cfc9;
}
.nav-button {
  display: flex;
}
.nav-button span{
  display: none;
}
.logo img {
  width: 100px;
  margin-left: 25px;
  height: 60px;
}
nav {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
}
nav ul {
  margin-top: 10px;
}
nav ul li {
  display: inline-block;
  list-style: none;
  margin: 10px 20px;
}
.icons .fa-solid {
  display: inline-block;
  color: white;
}
.icons {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-right: 20px;
}
nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  position: relative;
  text-align: center;
}
.auth-buttons {
  background-color: #00cfc9;
  position: sticky;
  top: 0;
  z-index: 1001;
}
.fa-cart-shopping {
  color: #000;
}
.auth-buttons .sign-in-btn {
  background-color: #000;
  color: #fff;
  padding: 8px 15px;
  text-decoration: none;
  border-radius: 5px;
  align-items: end;
  margin: 3px;
  margin-right: 10px;
  cursor: pointer;
}
.auth-buttons i {
  font-size: 20px;
  padding-top: 10px;
  margin-right: 10px;
  cursor: pointer;
}
.welcome {
  margin-top: 12px;
  font-weight: 700;
}
.auth {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}
main {
  flex-grow: 1;
  justify-content: center;
  align-items: center;
  padding: 20px;
  min-height: calc(100vh - 200px);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-section {
  flex: 1;
  min-height: 60vh;
}
.header2 {
  background-color: #00cfc9;
  height: 30px;
}
#bike-3d-viewer {
  width: 50%;
  height: 30px; /* Adjust the height as needed */
  position: relative;
}
.footer {
  background-color: black;
  color: white;
  padding: 10px 10px 0px 10px;
  /* display: flex;
  justify-content: space-around;
  align-items: center; */
  text-align: center;
  flex-wrap: wrap;
  position: relative;
  clear: both;
  margin-top: auto;
}
.footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: auto;
}
.footer-bottom {
  color: #aaa;
  border-top: 1px solid white;
  text-align: center;
}
.footer-bottom p {
  font-size: 15px;
}
.footer-contact {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 20px;
    }

    .footer-contact h3 {
      margin: 0 0 5px;
      font-size: 25px;
      font-weight: bold;
    }

    .contact-item {
      display: flex;
      align-items: center;
      gap: 10px;
      color: #ccc;
    }

    .contact-item img {
      width: 20px;
      height: 20px;
    }
.contact-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}
.contact-item img{
  width: 30px;
  height: 30px;
  margin-left: 10px;
}
.col1 img {
  width: 150px;
  height: 150px;
  margin-right: 10px;
}
.footer-column {
  flex: 1;
  min-width: 200px;
}
.footer-column h3 {
  font-size: 12px;
}
.footer-column p {
  font-size: 12px;
  color: #696969;
  line-height: 1.5;
}
.footer a {
  color: white;
  text-decoration: none;
}
.fa-tiktok {
  margin-right: 5px;
}
.footer a:hover {
  text-decoration: underline;
}
.footer-bottom {
  text-align: center;
  font-size: 10px;
  padding-top: 10px;
  background-color: #000;
  color: #fff;
  padding-bottom: 10px;
}
nav .fa-solid {
  display: none;
}
.icons .fa-bars {
  display: none;
}
.fa-solid,
.fa-regular {
  cursor: pointer;
}
#preloader {
  background: #f1f1f1 url(/image/bike_preloader.gif) no-repeat center center;
  height: 100vh;
  background-size: contain;
  background-size: 20%;
  width: 100%;
  position: fixed;
  z-index: 100;
}
.fa-user {
  color: #000;
}
.btn-submit {
  color: #fff;
  cursor: pointer;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.animation {
  display: none;
}
@media (max-width: 768px) {
  header .logo {
    flex-direction: column;
    align-items: flex-start;
  }
  .icons .fa-bars {
    display: block;
    cursor: pointer;
  }
  .icons {
    display: flex;
    justify-content: center;
  }
  nav .fa-solid {
    display: block;
    font-size: 25px;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
  }
  nav .logo {
    width: 70px;
    height: 40;
  }
  nav ul {
    position: fixed;
    top: 0;
    right: -200px;
    width: 200px;
    height: 100vh;
    background-color: #ffffff;
    text-align: left;
    z-index: 2;
    transition: 0.5s;
    margin-top: 0;
  }
  nav ul li {
    display: block;
    margin: 0;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    width: 100%;
    box-sizing: border-box;
    text-align: left;
  }
  nav ul li a {
    color: #000000;
    font-size: 20px;
    text-align: left;
    display: block;
    padding: 0;
    width: 100%;
  }
  nav ul .fa-solid {
    position: absolute;
    top: 25px;
    left: 25px;
    cursor: pointer;
  }
  .nav-button span {
    display: flex;
    
  }
  .auth-section {
    flex-direction: column;
  }
  .auth-section .sign-in,
  .auth-section .sign-up {
    width: 100%;
  }
  .footer {
    flex-direction: column;
    padding: 10px;
  }
  .footer-wrapper {
    align-items: start;
    flex-direction: column;
  }
  .footer-bottom {
    text-align: center;
  }
  .footer-bottom p {
    font-size: 13px;
  }
  .contact-wrapper {
    align-items: start;
    gap: 20px;
    flex-direction: column;
  }
  .nav-button {
    flex-direction: column;
    margin-top: 12vh;
    padding-left: 1vh;
  }
  .header-button {
    display: flex;
    position: relative;
  }
  .header-button span {
    position: absolute;
    top: 27%;
    font-size: 1rem;
  }
  .header-dropdown {
    display: flex;
    position: relative;
  }
  .header-dropdown span {
    position: absolute;
    top: 27%;
    font-size: 1rem;
  }
  .nav-dropdown-menu a {
    padding-left: 40px;
    font-size: 18px;
  }
  #sidemenu .fa-square-xmark {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 28px;
    color: #000000;
    cursor: pointer;
    z-index: 2100;
  }
  nav ul {
    max-width: 300px;
  }
}
@media (max-width: 480px) {
  .auth-buttons {
    flex-direction: column;
    align-items: flex-end;
  }
  .auth-buttons .sign-in-btn {
    margin-top: 5px;
  }
}
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-dropdown-toggle i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle i {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #7D0A0A;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1001;
  border-radius: 4px;
  overflow: hidden;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-dropdown-menu a:last-child {
  border-bottom: none;
}

.nav-dropdown-menu a:hover {
  background-color: #5a0808;
}

/* Mobile responsive for navigation dropdown */
@media (max-width: 768px) {
  .nav-dropdown {
    position: static;
    display: block;
    line-height: 2;
    width: 100%;
    margin: 0;
  }

  .nav-dropdown-toggle {
    display: none;
  }

  .nav-dropdown-menu {
    position: static;
    background-color: transparent;
    box-shadow: none;
    display: block;
    padding-left: 0;
    min-width: auto;
    margin: 0;
  }

  .nav-dropdown-menu a {
    border-bottom: none;
    color: black;
    margin: 0;
    text-align: left;
    display: block;
    padding: 0;
    font-size: 18px;
  }
  .nav-dropdown-menu a:hover {
    background-color: transparent;
  }
}