/* GLOBAL SAFETY */
* {
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* HEADER */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: relative;
  z-index: 10;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border: none;
  background: none;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: black;
}

.header-icons {
  display: flex;
  
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  height: 100%;
  background: #fff;
  transform: translateX(-100%);
  transition: none;
  overflow: hidden;
   z-index: 9999;
   
}
.js-ready .mobile-menu {
  transition: transform 0.3s ease;
}
.mobile-menu.open {
  transform: translateX(0);

}
#closeMenu {
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
}
.menu-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  transition: transform 0.3s ease;
}
.menu-panel nav {
  padding: 0 20px;
}
.sub-panel {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.submenu-active .main-panel {
  transform: translateX(-100%);
}

.mobile-menu.submenu-active .sub-panel {
  transform: translateX(0);
}
.menu-header {
  display: flex;
  align-items: center;
   justify-content: flex-end;
  padding: 15px 20px;

  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}
ul {
  list-style: none;
  padding: 0;
}
/* TOP BAR */
.top-bar {
  background: #111;
  color: #fff;
  text-align: center;
  font-size: 12px;
  padding: 8px 10px;
}

/* DESKTOP NAV (hidden by default) */
.desktop-nav {
  display: none;
}

/* ===== DESKTOP ===== */
@media (min-width: 768px) {

  .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 30px;

    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .menu-toggle {
    display: none;
  }

  .logo {
    font-size: 30px;
  }

  .desktop-nav {
    display: flex;
    justify-content: center;
  }

  .desktop-nav ul {
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
  }

  .desktop-nav a {
    text-decoration: none;
    color: #222;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    position: relative;
  }

  .desktop-nav a:hover {
    color: #000;
  }

  .desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: #000;
    transition: width 0.25s ease;
  }

  .desktop-nav a:hover::after {
    width: 100%;
  }

  .header-icons {
    display: flex;
    gap: 18px;
    font-size: 18px;
    align-items: center;
  }

  .mobile-menu {
    display: none;
  }
}
@media (min-width: 768px) {

  .has-dropdown {
    position: relative;
  }

  .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #eee;
    padding: 10px 0;
    min-width: 180px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
  }

  .dropdown a {
    display: block;
    padding: 10px 20px;
    color: #222;
    text-decoration: none;
    font-size: 14px;
  }

  .dropdown a:hover {
    background: #f5f5f5;
  }

  .has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

}
@media (min-width: 768px) {

  /* Improve dropdown positioning */
  .dropdown {
    margin-top: 12px; /* space from nav */
    border-radius: 4px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  }

  /* Add invisible hover buffer (important UX trick) */
  .has-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 12px;
  }

  /* Improve dropdown item spacing */
  .dropdown a {
    padding: 12px 20px;
  }

}
/* Better mobile list styling */
.mobile-menu ul {
  margin: 0;
}

.mobile-menu li {
  border-bottom: 1px solid #eee;
}

.mobile-menu a,
.mobile-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  height: 56px;

  padding: 0 10px;

  font-size: 16px;
  text-decoration: none;
  color: #222;

  background: none;
  border: none;
}

/* Remove default button look */
.mobile-menu button {
  cursor: pointer;
}
.mobile-menu button span:last-child {
  font-size: 18px;
}
.main-panel {
  z-index: 2;
}

.sub-panel {
  z-index: 1;
}
.mobile-menu.submenu-active .main-panel {
  z-index: 1;
}

.mobile-menu.submenu-active .sub-panel {
  z-index: 2;
}
.mobile-menu {
  z-index: 9999;
}
.mobile-menu.open {
  top: 0;
}

.hero {
  padding: 140px 20px;
  text-align: center;

  background-image: url('../images/ebike1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: #fff;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.featured {
  padding: 40px 20px;
  padding-bottom: 20px;
}

.products {
  display: flex;
  gap: 20px;
}

.product-card {
  padding: 20px;
  border: 1px solid #eee;
}

.hero-inner {
  max-width: 700px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 36px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 16px;
  margin-bottom: 25px;
}
.btn {
  display: inline-block;
  padding: 12px 25px;

  background: #fff;   /* change from black */
  color: #000;        /* inverse text */

  text-decoration: none;
  font-size: 14px;
  font-weight: 600;

  border-radius: 3px;
}
.btn:hover {
  background: #eee;
}
.categories {
   padding: 60px 20px;
}

.categories-inner {
  display: flex;
  gap: 20px;

  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.category-card {
  flex: 1 1 0;
  min-width: 0; /* important */

   aspect-ratio: 4 / 3.5;
   border-radius: 6px;

  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 15px;

  border: 1px solid #eee;
  text-decoration: none;
  color: #000;
  font-weight: 600;
}
.category-card {
  position: relative;
  overflow: hidden;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: #fff;
   box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* Individual images */
.category-card:nth-child(1) {
  background-image: url('../images/ebike2.jpg');
   background-position: center left;
}

.category-card:nth-child(2) {
  background-image: url('../images/spare-parts.jpg');
   background-position: center;
}

.category-card:nth-child(3) {
  background-image: url('../images/accessories.jpg');
  background-position: center right;
}
.category-card span {
  position: relative;
  z-index: 2;
  font-size: 20px;
  letter-spacing: 0.3px;
   font-weight: 600;
}
.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  z-index: 1;
}
@media (max-width: 768px) {
  
  .category-card {
    aspect-ratio: auto;   /* THIS is the missing piece */
    height: 220px;        /* clean visible size */
  }

}
@media (max-width: 768px) {

  .categories-inner {
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 15px;
    padding-bottom: 10px;
  }

}
@media (max-width: 768px) {

  .category-card {
    flex: 0 0 75%;   /* each card takes ~75% of screen */
  }

}
.categories-inner {
  scroll-behavior: smooth;
}
.category-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
@media (min-width: 768px) {
  .category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  }
}
.category-card::before {
  transition: background 0.25s ease;
}

@media (min-width: 768px) {
  .category-card:hover::before {
    background: rgba(0,0,0,0.15);
  }
}
.category-card span {
  transition: transform 0.25s ease;
}

@media (min-width: 768px) {
  .category-card:hover span {
    transform: translateY(-2px);
  }
}
.section-title {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 25px;
  text-align: center;
}
.features {
  padding: 70px 20px;
  text-align: center;
}

.features-grid {
  max-width: 1100px;
  margin: 40px auto 0;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature h3 {
  font-size: 14px;
  margin: 15px 0 10px;
}

.feature p {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}


.section-title {
  display: block;
  text-align: center;
  margin: 0 0 20px;
}


.categories {
  padding: 40px 20px 30px;   /* less bottom space */
}

.categories,
.features,
.featured,
.reviews {
  padding: 60px 20px;
}
.section-title {
  margin-bottom: 20px;
}
.feature .icon {
  margin-bottom: 10px;
}

.feature .icon i {
  font-size: 42px;
  color: #b89c6d;
}
.site-footer {
  background: #111;
  color: #ddd;
  padding: 60px 20px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col h4 {
  font-size: 14px;
  margin-bottom: 15px;
  color: #fff;
}

.footer-col a {
  display: block;
  color: #bbb;
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 8px;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col p {
  font-size: 13px;
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}
.footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;

  max-width: 1200px;
  margin: 0 auto 40px;

  text-align: center;
  font-size: 13px;
  color: #bbb;
}
.footer-bottom {
  border-top: 1px solid #222;
  margin-top: 40px;
  padding-top: 20px;

  text-align: center;
  font-size: 12px;
  color: #777;
}
.footer-col h4 {
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #fff;
}
.footer-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-feature i {
  font-size: 26px;
  color: #b89c6d;
}

.footer-feature span {
  font-size: 13px;
  color: #bbb;
}
.desktop-nav a.active {
  color: #000;
}

.desktop-nav a.active::after {
  width: 100%;
}
.header-icons a {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 36px;
  height: 36px;

  text-decoration: none;
  color: #222;
}

.header-icons i {
  font-size: 20px;
}

.header-icons a:hover {
  opacity: 0.6;
}
/* HEADER LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;

  text-decoration: none;
  color: #111;

  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.logo span {
  display: inline-block;
}

.logo:hover {
  opacity: 0.8;
}

.header-icons a {
  text-decoration: none;
  color: #111;
}
.header-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-icons a {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 30px;
  height: 30px;
}

.header-icons i {
  font-size: 22px; /* stronger presence */
}
.header-icons a:hover {
  opacity: 0.6;
}
/* ===== REVIEWS SECTION ===== */
/* ===== REVIEWS SECTION (CLEAN) ===== */

.reviews {
  padding: 60px 20px;
  text-align: center;
}

/* VIEWPORT */
.reviews-viewport {
  position: relative; /* important */
  overflow: hidden;
  max-width: 700px;
  margin: 40px auto 0;
}

/* TRACK */
.reviews-track {
  display: flex;
  transition: transform 0.5s ease;
}

/* SLIDE */
.review {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  
}

/* CARD (this is the actual visual block) */
.review-card {
  width: 100%;
  max-width: 520px;

  background: #fff;
  border-radius: 14px;

  padding: 35px 28px;

  border: 1px solid #eee;

  box-shadow: 0 20px 50px rgba(0,0,0,0.08);

  text-align: center;

  position: relative;
}

/* TOP */
.review-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}

.review-top-meta {
  text-align: center;
}

/* AVATAR */
.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

/* TEXT */
.review-stars {
  font-size: 14px;
  color: #b89c6d;
}

.review-name {
  font-size: 14px;
  color: #111;
}

.review-text {
  font-size: 15px;
  color: #333;
  line-height: 1.5;
  margin-bottom: 12px;
}

.review-date {
  font-size: 12px;
  color: #777;
}
.review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);

  width: 40px;
  height: 3px;

  background: #b89c6d;
  border-radius: 2px;
}
.review-avatar {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
}

.review-stars {
  margin-bottom: 6px;
}

.review-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}

.review-text {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.review-date {
  font-size: 12px;
  color: #888;
}
/* ===== REVIEW CONTROLS ===== */

.reviews-controls {
  display: flex;

  gap: 12px;
  margin: 10px 0 20px;
}

.reviews-controls button {
  width: 34px;
  height: 34px;

  border: 1px solid #ddd;
  background: #fff;

  font-size: 18px;
  line-height: 1;

  cursor: pointer;
}

/* hover only on desktop */
@media (min-width: 768px) {
  .reviews-controls button:hover {
    background: #f5f5f5;
  }
}
/* ===== REVIEW ARROWS (MODERN SIDE POSITION) ===== */

.review-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 44px;
  height: 44px;

  border-radius: 50%;
  border: none;

  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);

  box-shadow: 0 8px 20px rgba(0,0,0,0.1);

  font-size: 20px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.25s ease;
}


.review-arrow {
  z-index: 5;
}
/* hover */
@media (min-width: 768px) {
  .review-arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
  }
}
/* ===== MOBILE FIX FOR REVIEW ARROWS ===== */
@media (max-width: 768px) {

  .reviews-viewport {
    overflow: hidden; /* allow arrows outside */
  }

  .review-arrow {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  /* ===== FINAL ARROW POSITIONING ===== */


 
}
/* ===== FINAL ARROW POSITIONING ===== */

.review-arrow.left {
  left: 10px;
}

.review-arrow.right {
  right: 10px;
}
/* ===== REVIEWS SUMMARY BLOCK ===== */

.reviews-summary {
  padding: 20px 20px 30px;
  background: #f5f5f5;
  margin-top: -20px; /* pulls it closer to reviews */
}
.reviews-summary-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}


.reviews-summary h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.reviews-summary p {
   font-size: 15px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 10px;
}

/* TAGS */
.summary-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  
}

.summary-tags span {
  background: #59b373;
  border: 1px solid #569c6a;
  color: black;
  font-size: 15px;
  padding: 10px 14px;
  border-radius: 20px;
}

/* tighten spacing between reviews and footer */
.reviews {
  padding-bottom: 30px;
}
.summary-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.summary-tags i {
  font-size: 20px;
  color: #b8d8c1;
  opacity: 0.7;

}
/* =========================
   LEGAL / INFO PAGES
========================= */

.info-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

/* section spacing */
.info-section {
  margin-bottom: 50px;
}
/* center main titles on info pages */
.info-section h1 {
  text-align: center;
}
/* =========================
   HEADINGS
========================= */

.info-section h1 {
  font-size: 26px;
  margin-bottom: 10px;
}

.info-section h2 {
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 10px;
}

.info-section h3 {
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 8px;
}

/* =========================
   TEXT
========================= */

.info-section p {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 12px;
}

/* =========================
   LISTS (if any appear)
========================= */

.info-section ul {
  padding-left: 18px;
  margin-bottom: 12px;
}

.info-section li {
  font-size: 14px;
  margin-bottom: 6px;
}

/* =========================
   TABLES (IMPORTANT)
========================= */

.info-section table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

/* header row */
.info-section th {
  text-align: left;
  padding: 10px;
  background: #f5f5f5;
  font-weight: 600;
  border: 1px solid #e5e5e5;
}

/* table cells */
.info-section td {
  padding: 10px;
  border: 1px solid #e5e5e5;
  vertical-align: top;
}

/* zebra rows */
.info-section tr:nth-child(even) {
  background: #fafafa;
}

/* =========================
   SMALL DETAILS
========================= */

/* bold inline labels */
.info-section strong {
  font-weight: 600;
}

/* links */
.info-section a {
  color: #111;
  text-decoration: underline;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .info-page {
    padding: 30px 16px 40px;
  }

  .info-section h1 {
    font-size: 22px;
  }

  .info-section h2 {
    font-size: 18px;
  }

  .info-section h3 {
    font-size: 15px;
  }

  .info-section p,
  .info-section li,
  .info-section td,
  .info-section th {
    font-size: 13px;
  }

  /* make tables scrollable */
  .info-section table {
    display: block;
    overflow-x: auto;
  }

}
/* =========================
   LEGAL PANEL (SECOND SUBMENU)
========================= */

.legal-panel {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
  background: #fff;

  transform: translateX(100%);
  transition: transform 0.3s ease;

  z-index: 1;
}
/* when LEGAL is open */
.mobile-menu.legal-active .main-panel {
  transform: translateX(-100%);
   z-index: 1;
}

.mobile-menu.legal-active .legal-panel {
  transform: translateX(0);
  z-index: 2;
}
/* ===== LEGAL PANEL Z-INDEX FIX ===== */
.mobile-menu.legal-active .legal-panel {
  z-index: 2;
}
/* =========================
   SUPPORT PAGE
========================= */

.support-page {
  background: #f7f7f7;
}

/* shared container */
.support-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}


/* =========================
   CONTACT SECTION
========================= */

.support-contact h1 {
  text-align: center;
  font-size: 48px;
  margin-bottom: 20px;
}

.support-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  color: #666;
  line-height: 1.6;
}

.support-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
}

/* FORM */
.support-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 14px;
  background: #fff;
  box-sizing: border-box;
}
.support-form textarea {
  grid-column: span 2;
  min-height: 140px;
}

.support-form button {
  grid-column: span 2;
}

/* full width elements */
.support-form textarea {
  grid-column: span 2;
  min-height: 120px;
  resize: vertical;
}

.support-form button {
  grid-column: span 2;
  margin-top: 10px;
  padding: 14px;
  border: none;
  border-radius: 30px;
  background: #b89c74;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
}
.support-form button {
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease;
  cursor: pointer;
}

.support-form button:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.support-form button:active {
  transform: translateY(0);
}

/* INFO SIDE */
.support-info {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #eee;
}

.support-info h3 {
  margin-bottom: 10px;
}

.support-info p {
  color: #555;
  margin-bottom: 8px;
}


/* =========================
   FAQ SECTION
========================= */

.support-faqs {
  background: #fff;
}

.support-faqs h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #eee;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 0;
  font-size: 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 500;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding-bottom: 15px;
  color: #666;
  line-height: 1.6;
}

/* open state */
.faq-item.active .faq-answer {
  max-height: 200px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .support-container {
    padding: 40px 16px; /* ← THIS fixes edge touching */
  }

  .support-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .support-form {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .support-form textarea,
  .support-form button {
    grid-column: span 1;
  }

}
/* =========================
   SUPPORT PANEL
========================= */

.support-panel {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
  background: #fff;

  transform: translateX(100%);
  transition: transform 0.3s ease;

  z-index: 1;
}
/* SUPPORT ACTIVE STATE */

.mobile-menu.support-active .main-panel {
  transform: translateX(-100%);
  z-index: 1;
}

.mobile-menu.support-active .support-panel {
  transform: translateX(0);
  z-index: 2;
}
/* =========================
   EBIKES PAGE (CLEAN FINAL)
========================= */

.ebikes-page {
  padding: 40px 40px;
}

/* TOP BAR */
.ebikes-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
}

.sort-btn {
  background: #b89b72;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 30px;
  cursor: pointer;
}

/* GRID */
.ebikes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.bike-card {
  background: #f7f7f7;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* IMAGE */
.bike-image {
  position: relative;
  height: 260px;           /* fixed strong height */
  display: flex;
  align-items: center;
  justify-content: center;
             
  background: #f5f5f5;
  padding: 20px;
}

.bike-image img {
  width: 100%;
  height: 100%;
      /* keeps bike proportions clean */
  max-width: 100%;
}
.bike-card {
  background: #f5f5f5;
  border-radius: 16px;
  overflow: hidden;
}
.bike-info {
  padding: 16px 18px 20px;
}
/* BADGE */
.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #e63946;
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* INFO */
.bike-info {
  padding: 20px;
}

.bike-info h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

/* PRICE */
.price {
  margin-bottom: 12px;
}

.price .new {
  display: block;
  color: #e63946;
  font-weight: 700;
  font-size: 18px;
}

.price .old {
  text-decoration: line-through;
  color: #999;
  font-size: 13px;
}

/* SPECS */
.specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;

  background: #fff;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #eee;

  font-size: 12px;
}

.specs div {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* HOVER */
@media (min-width: 768px) {
  .bike-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  }

  .bike-card:hover img {
    transform: scale(1.05);
  }
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .ebikes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ebikes-page {
    padding: 30px 16px;
  }

  .ebikes-grid {
    grid-template-columns: 1fr;
  }
}
.bike-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
/* =========================
   PRODUCT PAGE
========================= */

.product-page {
  padding: 50px 30px;
  max-width: 1300px;
  margin: 0 auto;
}

/* LAYOUT */
.product-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: start;
}

/* =========================
   LEFT: GALLERY
========================= */

.product-gallery {
  display: flex;
  gap: 15px;
}

.product-thumbs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-thumbs img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid #eee;
}

.product-main {
  height: 420px;          /* fixed container height */
  background: #f5f5f5;
  border-radius: 16px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

.product-main img {
  width: 100%;
  height: 100%;
   object-fit: contain;
}

/* =========================
   RIGHT: INFO
========================= */

.product-info h1 {
  font-size: 26px;
  margin-bottom: 10px;
}

.product-rating {
  font-size: 14px;
  color: #888;
  margin-bottom: 15px;
}

.product-desc {
  color: #555;
  margin-bottom: 20px;
}

/* PRICE */
.product-price {
  margin-bottom: 20px;
}

.product-price .new {
  font-size: 22px;
  font-weight: 600;
  color: #e63946;
  margin-right: 10px;
}

.product-price .old {
  text-decoration: line-through;
  color: #999;
}

/* OPTIONS */
.product-options {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}

.product-options button {
  padding: 10px 16px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  border-radius: 6px;
}

.product-options button.active {
  border: 2px solid #000;
}

/* CTA */
.add-to-cart {
  width: 100%;
  padding: 16px;
  background: #b89b72;
  color: #fff;
  border: none;
  border-radius: 40px;
  font-size: 16px;
  margin-bottom: 15px;
  cursor: pointer;
}

.buy-now {
  width: 100%;
  padding: 16px;
  border: 1px solid #b89b72;
  border-radius: 40px;
  background: transparent;
  cursor: pointer;
}

/* EXTRA INFO */
.product-extra {
  margin-top: 25px;
  border-top: 1px solid #eee;
}

.product-extra div {
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

/* =========================
   SPECS (BOTTOM)
========================= */

.product-specs {
  margin-top: 60px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-specs div {
  background: #f5f5f5;
  padding: 18px;
  border-radius: 10px;
  text-align: center;
  font-size: 14px;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

  .product-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-gallery {
    flex-direction: column;
  }

  .product-thumbs {
    flex-direction: row;
  }

  .product-thumbs img {
    width: 60px;
    height: 60px;
  }

.product-main {
    height: 280px;
  }

  .product-specs {
    grid-template-columns: repeat(2, 1fr);
  }

}
@media (max-width: 900px) {

  .product-gallery {
    flex-direction: column;
  }

  .product-thumbs {
    flex-direction: row;        /* horizontal instead of vertical */
    gap: 10px;
    overflow-x: auto;           /* scroll if needed */
    padding-bottom: 5px;
  }

  .product-thumbs img {
    width: 50px;
    height: 50px;
    flex-shrink: 0;             /* prevents squishing */
  }

  .product-main {
    height: 240px;
  }

  .product-thumbs img {
    width: 48px;
    height: 48px;
  }

}
.product-thumbs img.active {
  border: 2px solid #000;
}
.payment-box {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fafafa;
}

.payment-box p {
  font-size: 14px;
  margin-bottom: 8px;
}

.payment-box img {
  height: 26px;
}
.product-options .option {
  border: 1px solid #ddd;
  background: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
}

.product-options .option.active {
  border: 2px solid #000;
  background: #fff;
}
/* IMAGE NAV BUTTONS */
.product-main {
  position: relative;
}

.img-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 42px;
  height: 42px;

  border-radius: 50%;
  border: none;

  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);

  box-shadow: 0 8px 20px rgba(0,0,0,0.1);

  font-size: 22px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 2;
}

.img-nav.left {
  left: 10px;
}

.img-nav.right {
  right: 10px;
}

/* hover only desktop */
@media (min-width: 768px) {
  .img-nav:hover {
    transform: translateY(-50%) scale(1.1);
  }
}
@media (max-width: 900px) {

  .img-nav {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

}
/* CART COUNT BADGE */
#cartIcon {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;

  background: #e63946;
  color: #fff;

  font-size: 10px;
  font-weight: 600;

  padding: 3px 6px;
  border-radius: 50%;

  line-height: 1;
}
/* =========================
   CART PANEL
======================

/* HEADER */
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.cart-header h3 {
  margin: 0;
  font-size: 16px;
}

#closeCart {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

/* ITEMS */
.cart-items {
  padding: 20px;
}

.cart-item {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;

  font-size: 14px;
  line-height: 1.4;
}

/* =========================
   MOBILE
========================= */
/* CLEAN CART PANEL */
.cart-panel {
  position: fixed;
  top: 0;
  right: 0;

  width: 100%;
  max-width: 350px;

  height: 100vh;
  background: #fff;

  display: flex;
  flex-direction: column;

  transform: translateX(100%);
  transition: transform 0.3s ease;

  z-index: 9999;
}

.cart-panel.open {
  transform: translateX(0);
}
@media (max-width: 768px) {
  .cart-panel {
    width: 100%;
  }
}
/* =========================
   CART PANEL ITEMS
========================= */

.cart-items {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 12px;
  border-radius: 10px;
  background: #f8f8f8;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-title {
  font-weight: 600;
  font-size: 14px;
}

.cart-meta {
  font-size: 13px;
  color: #777;
}

.cart-qty {
  font-size: 13px;
  font-weight: 500;
}
/* IMAGE */
.cart-img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 8px;
}

/* RIGHT SIDE */
.cart-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

/* REMOVE BUTTON */
.cart-remove {
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  color: #999;
}

.cart-remove:hover {
  color: #e63946;
}

/* SCROLL */

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #f7f7f7;
  margin-bottom: 10px;

  text-decoration: none;   /* remove underline */
  color: inherit;          /* remove blue/purple */
}

.cart-item:hover {
  background: #f0f0f0;
}
.cart-item-info {
  flex: 1;
}

.cart-title {
  font-weight: 600;
  font-size: 14px;
}

.cart-meta {
  font-size: 12px;
  color: #777;
}

.cart-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.cart-qty {
  font-size: 12px;
  color: #444;
}

.cart-panel.open {
  right: 0;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
}

.cart-footer {
  border-top: 1px solid #eee;
  padding: 15px;
  background: #fff;
}
.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #f7f7f7;
  margin-bottom: 10px;
  align-items: center;
}

.cart-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item-info {
  flex: 1;
}

.cart-title {
  font-weight: 600;
  font-size: 14px;
}

.cart-meta {
  font-size: 13px;
  color: #777;
}

.cart-right {
  text-align: right;
}

.cart-qty {
  font-size: 13px;
  margin-bottom: 6px;
}

.cart-remove {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
}
.cart-footer {
  border-top: 1px solid #eee;
  padding: 15px;
  background: #fff;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  margin-bottom: 12px;
}

.cart-total strong {
  font-weight: 700;
}

.checkout-btn {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: none;
  background: #b89667;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}

.checkout-btn:hover {
  opacity: 0.9;
}
.checkout-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.checkout-panel.open {
  display: flex;
}

.checkout-box {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  text-align: center;
}

.checkout-note {
  font-size: 14px;
  color: #666;
  margin: 15px 0 20px;
}

.checkout-whatsapp{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    width:100%;
    padding:15px 18px;

    background:#25D366;
    color:#fff;
    text-decoration:none;

    border-radius:10px;

    font-size:16px;
    font-weight:600;

    margin-bottom:16px;   /* add this back */

    transition:.2s ease;
}

.checkout-whatsapp i{
    font-size:15px;
    line-height:1;
    flex-shrink:0;
}

.checkout-whatsapp:hover{
    background:#20ba5a;
}

.checkout-box {
  background: #fff;
  padding: 28px 22px 22px;
  border-radius: 14px;
  width: 90%;
  max-width: 380px;
  text-align: center;
  position: relative;
}

/* CLOSE */
.checkout-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: #f2f2f2;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}

/* TITLE */
.checkout-box h2 {
  margin-bottom: 10px;
  font-size: 20px;
}

/* NOTE */
.checkout-note {
  font-size: 13px;
  color: #777;
  line-height: 1.4;
  margin-bottom: 22px;
}
.add-to-cart,
.buy-now {
  transition: all 0.2s ease;
}

/* hover */
.add-to-cart:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.buy-now:hover {
  background: #f5f5f5;
}

/* click press */
.add-to-cart:active,
.buy-now:active {
  transform: scale(0.97);
}
/* =========================
   FEATURED SECTION
========================= */

.featured {
  padding: 60px 0px;
}

.featured-wrapper {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 16px;

  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;

  background: #fff;
  border-radius: 14px;

  padding: 20px; /* reduced */
}

/* IMAGE */
.featured-main img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 10px;
}
.featured-info h3 {
  font-size: 28px;
  font-weight: 600;
}
.add-to-cart {
  width: 100%;
  padding: 16px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  transition: 0.2s ease;
}
.featured-thumbs img {
  width: 55px;
  height: 55px;
  opacity: 0.6;
}

.featured-thumbs img.active {
  opacity: 1;
}
.add-to-cart:hover {
  transform: scale(1.02);
}
.featured-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* THUMBS */
.featured-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;

  overflow-x: auto;
  padding-bottom: 5px;
}

.featured-thumbs img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
}

.featured-thumbs img.active {
  border-color: #000;
}

/* INFO */
.featured-info h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.featured-desc {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.featured-price {
  margin-bottom: 15px;
}

.featured-price .new {
  color: #e63946;
  font-weight: 600;
  margin-right: 8px;
}

.featured-price .old {
  text-decoration: line-through;
  color: #999;
}

/* OPTIONS */
.featured-options {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

/* MOBILE */
@media (max-width: 768px) {
  .featured-wrapper {
    grid-template-columns: 1fr;
  }

  .featured-main img {
    height: 240px;
  }
}
@media (max-width: 768px) {
  .featured-wrapper {
    padding: 16px;
  }
}

.featured-title {
  text-decoration: none;
}

.featured-title h3 {
  color: #111;
  text-decoration: none;
  transition: 0.2s;
}

.featured-title:hover h3 {
  color: #000;
}
.featured-options .option {
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: 0.2s ease;
}

/* ACTIVE */
.featured-options .option.active {
  border-color: #111;
  background: #111;
  color: #fff;
}

/* HOVER */
.featured-options .option:hover {
  border-color: #000;
}
@media (max-width: 768px) {

  .featured-wrapper {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

}
@media (max-width: 768px) {

  .featured-wrapper {
    grid-template-columns: 1fr;
    justify-items: center; /* 🔥 THIS is the real fix */
    text-align: left;
  }

  .featured-gallery,
  .featured-info {
    width: 100%;
    max-width: 460px;
  }

}
.featured-main {
  position: relative;
}

.featured-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 42px;
  height: 42px;

  border-radius: 50%;
  border: none;

  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);

  box-shadow: 0 8px 20px rgba(0,0,0,0.1);

  font-size: 20px;
  color: #000;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 2;
}
@media (max-width: 768px) {
  .featured-nav {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}
@media (min-width: 768px) {
  .featured-nav:hover {
    transform: translateY(-50%) scale(1.1);
    background: #fff;
  }
}

.featured-nav.left {
  left: 10px;
}

.featured-nav.right {
  right: 10px;
}
.header-search {
  display: none;
}
.header-search {
  margin-right: 2px;
}

.header-search input {
  width: 240px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid #ddd;
  border-radius: 999px;
  font-size: 14px;
  outline: none;
  background: #fff;
}

.header-search input:focus {
  border-color: #111;
}

/* Desktop only */
@media (min-width: 1024px) {

  .header-search {
    display: block;
  }

  .search-toggle {
    display: none;
  }

}
.mobile-search-btn {
  display: none;
  background: none;
  border: none;
  padding: 0;
  font-size: 22px;
  cursor: pointer;
}

@media (max-width: 768px) {

  .header-search {
    display: none;
  }

  .mobile-search-btn {
    display: block;
  }

}
.mobile-search-btn {
  color: #111;
}
.mobile-search-bar {
  display: none;
}
/* MOBILE SEARCH BUTTON */
.mobile-search-btn {
  display: none;
  background: none;
  border: none;
  padding: 0;
  font-size: 22px;
  cursor: pointer;
  color: #111;
}

/* MOBILE SEARCH BAR */
.mobile-search-bar {
  display: none;
  padding: 12px 16px;
  border-top: 1px solid #eee;
  background: #fff;
}

.mobile-search-bar form {
  display: flex;
  gap: 10px;
}

.mobile-search-bar input {
  flex: 1;
  height: 44px;
  border: 1px solid #ddd;
  padding: 0 14px;
  font-size: 15px;
  border-radius: 6px;
}

.mobile-search-bar button {
  height: 44px;
  padding: 0 18px;
  border: none;
  background: #111;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}

/* MOBILE */
@media (max-width: 900px) {

  .header-search {
    display: none;
  }

  .mobile-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

}
.toast-message {
  position: fixed;
  top: 20px;
  right: 20px;

  padding: 14px 18px;
  border-radius: 12px;

  color: #fff;
  font-size: 14px;
  font-weight: 500;

  z-index: 99999;

  animation: toastFade 4s forwards;

  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.toast-success {
  background: #1f9d55;
}

.toast-error {
  background: #d92d20;
}

@keyframes toastFade {

  0% {
    opacity: 0;
    transform: translateY(-10px);
  }

  10% {
    opacity: 1;
    transform: translateY(0);
  }

  85% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-10px);
  }

}

.checkout-phone {
  margin-top: 18px;
  text-align: center;
  font-size: 15px;
  color: #555;
}

.checkout-phone-info strong,
.checkout-phone-info strong a,
.checkout-phone-info strong a:link,
.checkout-phone-info strong a:visited{
    color:#111 !important;
    text-decoration:none !important;
    font-size:20px;
    font-weight:700;
}

.checkout-phone{
    margin-top:16px;
    padding:16px 18px;

    display:flex;
    align-items:center;
    gap:10px;

    background:#f7fdf9;
    border:1px solid #cfead9;
    border-radius:12px;
}

.checkout-phone i{
    font-size:24px;
    color:#25D366;
    flex-shrink:0;
}

.checkout-phone-info{
    display:flex;
    flex-direction:column;
}

.checkout-phone-info span{
    font-size:12px;
    font-weight:600;
    color:#666;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.checkout-phone-info strong{
    margin-top:2px;
    font-size:17px;
    font-weight:700;
    color:#111;
    letter-spacing:0;
}
.faq-answer{
    max-height:0;
    overflow:hidden;
    transition:max-height .3s ease;
}

.faq-item.active .faq-answer{
    max-height:200px;
}

/* =========================
   SORT DROPDOWN
========================= */

.ebikes-top{
    display:flex;
    align-items:center;
    margin-bottom:35px;
}

.sort{
    display:flex;
    align-items:center;
    gap:12px;
}

.sort span{
    font-size:16px;
    font-weight:600;
    color:#222;
    white-space:nowrap;
}

.sort-dropdown{
    position:relative;
}

.sort-btn{
    display:flex;
    align-items:center;
    gap:8px;

    background:#b89b72;
    color:#fff;

    border:none;
    border-radius:30px;

    padding:12px 20px;

    font-size:14px;
    font-weight:600;

    cursor:pointer;
}

.sort-btn i{
    margin-left:2px;
}

.sort-menu{
    position:absolute;
    top:calc(100% + 8px);
    left:0;

    min-width:220px;

    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:12px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    display:none;
    overflow:hidden;

    z-index:100;
}

.sort-menu.show{
    display:block;
}

.sort-menu button{
    width:100%;
    padding:12px 16px;

    border:none;
    background:#fff;

    text-align:left;

    font-size:14px;
    cursor:pointer;
}

.sort-menu button:hover{
    background:#f5f5f5;
}