/*
Theme Name: ElectricityBikes Enhanced
Author: ElectricityBikes
Description: Modern responsive theme for Electric Bikes, Petrol Bikes & Moto News with professional header & footer
Version: 2.0
*/

/* ================= CSS VARIABLES ================= */
:root {
  --primary-color: #4F46E5;
  --primary-dark: #4338CA;
  --primary-light: #818CF8;
  --bg-color: #f4f6f8;
  --card-bg: #ffffff;
  --text-primary: #111827;
  --text-secondary: #6b7280;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --radius: 12px;
}

/* ================= RESET & BASE ================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: 'Lato', 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 14px; /* BikeWale base size */
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ================= HEADER (Picuki-style) ================= */
.site-header {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: 1200px; /* Match main container width */
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* Header Logo */
.header-logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 22px;
  color: var(--text-primary);
}

.header-logo svg {
  flex-shrink: 0;
}

/* Header Navigation */
.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.nav-item:hover {
  background: #f1f5f9;
  color: var(--primary-color);
}

.nav-item svg {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.action-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.action-btn:hover {
  background: #f1f5f9;
  color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
}

.btn-primary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--primary-color);
  color: white;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: white;
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-nav.active {
  max-height: 300px;
}

.mobile-nav a {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-color);
  font-weight: 500;
  color: var(--text-secondary);
}

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

/* Search Overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.search-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.search-container {
  background: var(--card-bg);
  padding: 32px;
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  position: relative;
}

.search-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-close:hover {
  background: #e2e8f0;
  transform: rotate(90deg);
}

.search-container form {
  display: flex;
  gap: 12px;
}

.search-container input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: 16px;
  transition: border-color 0.2s ease;
}

.search-container input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.search-container button {
  padding: 14px 24px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-container button:hover {
  background: var(--primary-dark);
}

/* ================= FOOTER (Picuki-style) ================= */
.site-footer {
  background: var(--card-bg);
  border-top: 1px solid var(--border-color);
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px; /* Match main container width */
  margin: 0 auto;
  padding: 60px 24px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

/* Mobile Footer Grid - Show as regular grid on desktop */
.footer-mobile-grid {
  display: contents; /* Makes children act as direct children of footer-container */
}

/* Desktop only section - show on desktop, hide on mobile */
.footer-desktop-only {
  display: block;
}

/* Footer Logo & About */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px; /* BikeWale footer logo size */
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 14px; /* BikeWale tagline size */
  line-height: 1.7;
  max-width: 400px;
}

/* Footer Links */
.footer-col h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--primary-color);
}

/* Social Links */
.social-links li a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-links li a svg {
  width: 20px;
  height: 20px;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 24px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

/* ================= CONTAINER ================= */
.container {
  max-width: 1200px; /* Match bikewale.com width - narrower than before */
  margin: 0 auto;
  padding: 24px;
}

/* ================= SECTIONS ================= */
.home-section {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.home-section h1 {
  font-size: 24px; /* BikeWale H1 size */
  margin-bottom: 16px;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.3;
}

.home-section h2 {
  font-size: 20px; /* BikeWale H2 size */
  margin-bottom: 20px;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.4;
}

.home-section p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
  font-size: 14px; /* BikeWale paragraph size */
}

/* ================= BIKE SLIDER ================= */
.bike-slider-wrapper {
  position: relative;
}

.bike-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-color) transparent;
}

.bike-slider::-webkit-scrollbar {
  height: 6px;
}

.bike-slider::-webkit-scrollbar-track {
  background: transparent;
}

.bike-slider::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

.slider-item {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  z-index: 10;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

.slider-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.slider-btn.left { left: -24px; }
.slider-btn.right { right: -24px; }

/* ================= BIKE CARD ================= */
.bike-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.bike-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.bike-link {
  display: block;
  height: 100%;
}

.bike-image {
  background: linear-gradient(135deg, #f0f4f8 0%, #e8eef3 100%);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
}

.bike-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.bike-card:hover .bike-image img {
  transform: scale(1.05);
}

.bike-info {
  padding: 20px;
}

.bike-title {
  font-size: 16px; /* BikeWale card title size */
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
  line-height: 1.4;
}

.bike-spec {
  font-size: 13px; /* BikeWale spec size */
  font-weight: 600;
  margin-top: 6px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.bike-spec:first-of-type {
  color: var(--primary-color);
  font-size: 15px; /* BikeWale price size */
  font-weight: 700;
}

/* ================= VIEW ALL CARD ================= */
.view-all-card {
  flex: 0 0 280px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-align: center;
  box-shadow: var(--shadow-md);
  color: white;
  min-height: 320px;
  transition: all 0.3s ease;
}

.view-all-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.view-all-card span {
  font-size: 36px;
  margin-bottom: 8px;
}

/* ================= AUTOBIKE-STYLE CARDS (Professional Design) ================= */
.autobike-card {
  flex: 0 0 300px;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  border: 1px solid #f1f5f9;
}

.autobike-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.06);
  border-color: #e2e8f0;
}

/* Card Title Link */
.card-title-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.card-title-link:hover {
  opacity: 0.8;
}

.card-title-link:hover .autobike-card-title {
  color: var(--primary-color);
}

/* Card Title */
.autobike-card-title {
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
  padding: 18px 20px;
  margin: 0;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  line-height: 1.4;
  transition: color 0.2s ease;
}

/* Image Link */
.autobike-image-link {
  display: block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.autobike-image-link::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  pointer-events: none;
}

.autobike-image-link:hover::after {
  background: rgba(0, 0, 0, 0.03);
}

/* Image Section */
.autobike-image {
  position: relative;
  background: #fafafa;
  padding: 32px 20px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f1f5f9;
}

.autobike-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.autobike-card:hover .autobike-image img,
.autobike-image-link:hover .autobike-image img {
  transform: scale(1.03);
}

/* Specifications Grid (2x2) */
.autobike-specs {
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}

.spec-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 0;
}

.spec-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.spec-icon svg {
  width: 32px;
  height: 32px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.autobike-card:hover .spec-icon svg {
  opacity: 0.9;
}

.spec-content {
  flex: 1;
  min-width: 0;
}

.spec-value {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 3px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spec-label {
  font-size: 12px;
  color: #64748b;
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Footer with Price and Button */
.autobike-footer {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  gap: 16px;
}

.price-section {
  flex: 1;
}

.price-label {
  font-size: 10px;
  color: #64748b;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  font-weight: 600;
  text-transform: uppercase;
}

.price-value {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1;
  letter-spacing: -0.5px;
}

/* View More Button */
.view-more-btn {
  padding: 11px 24px;
  background: #EF4444;
  color: white;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 1px 2px rgba(239, 68, 68, 0.2);
}

.view-more-btn:hover {
  background: #DC2626;
  color: white;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
  transform: translateY(-1px);
}

/* Dark Mode Support */
body.dark-mode .autobike-card {
  background: #1e293b;
  border-color: #334155;
}

body.dark-mode .autobike-card-title {
  background: #1e293b;
  color: #f1f5f9;
  border-color: #334155;
}

body.dark-mode .autobike-image {
  background: #0f172a;
  border-color: #334155;
}

body.dark-mode .autobike-specs {
  background: #1e293b;
  border-color: #334155;
}

body.dark-mode .spec-value {
  color: #f1f5f9;
}

body.dark-mode .spec-label {
  color: #94a3b8;
}

body.dark-mode .autobike-footer {
  background: #1e293b;
}

body.dark-mode .price-label {
  color: #94a3b8;
}

body.dark-mode .price-value {
  color: #f1f5f9;
}

/* ================= RELATED BIKES ================= */
.related-section {
  overflow: hidden;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.related-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.related-link {
  display: block;
  height: 100%;
}

.related-image {
  background: linear-gradient(135deg, #f0f4f8 0%, #e8eef3 100%);
  padding: 20px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.related-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.related-info {
  padding: 16px;
}

.related-info h3 {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--text-primary);
}

.related-info .spec {
  font-size: 13px;
  font-weight: 600;
  margin-top: 6px;
  color: var(--text-secondary);
}

/* ================= SINGLE POST ================= */
.single-post {
  max-width: 1200px; /* Match site-wide container width */
  margin: 0 auto;
}

.single-post img,
.single-post .wp-post-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.single-featured-image {
  margin-bottom: 32px;
  max-width: 100%;
}

.single-post h1 {
  font-size: 28px; /* BikeWale post title size */
  margin-bottom: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.single-post p {
  font-size: 14px; /* BikeWale paragraph size */
  line-height: 1.8;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

/* Bike specifications table - wider layout */
.bike-specs-table {
  margin-bottom: 40px;
}

.bike-specs-table table {
  width: 100%;
  max-width: 900px; /* Narrower for better readability like bikewale.com */
}

/* Single post content area */
.single-post .home-section {
  padding: 40px;
}

.single-post .post-content {
  width: 100%; /* Full width like homepage */
  max-width: none; /* Remove restriction */
  margin: 0;
}

/* ================= RESPONSIVE DESIGN ================= */

@media (max-width: 1024px) {
  .header-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  /* Tablet Footer - Keep all columns visible */
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  /* Mobile grid still uses contents on tablet */
  .footer-mobile-grid {
    display: contents;
  }
  
  /* Show desktop about on tablet */
  .footer-desktop-only {
    display: block;
  }
}

@media (max-width: 768px) {
  .header-container {
    height: 60px;
    padding: 0 16px;
  }

  .logo-text {
    font-size: 18px;
  }

  .btn-primary {
    display: none;
  }

  .container {
    padding: 16px;
  }

  .home-section {
    border-radius: 0;
    padding: 20px 16px;
    margin-bottom: 20px;
  }

  .slider-item {
    flex: 0 0 82%;
  }

  .slider-btn {
    display: none;
  }

  .bike-image {
    height: 160px;
    padding: 16px;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .related-image {
    height: 140px;
    padding: 12px;
  }

  /* Mobile Footer - Logo at top, 2 columns below */
  .footer-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 32px 16px 24px;
  }

  /* Show logo and description on mobile - at the top */
  .footer-desktop-only,
  .footer-about.footer-desktop-only {
    display: block !important;
    width: 100%;
    margin-bottom: 16px;
  }

  /* Footer logo styling for mobile */
  .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
  }

  .footer-logo svg {
    width: 36px;
    height: 36px;
  }

  .footer-logo span {
    font-size: 18px;
  }

  /* Footer tagline for mobile */
  .footer-tagline {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 100%;
  }

  /* Show mobile grid with 2 columns side-by-side below logo */
  .footer-mobile-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
  }

  /* Footer column styling for mobile */
  .footer-col h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
  }

  .footer-col ul li {
    margin-bottom: 10px;
  }

  .footer-col ul li a {
    font-size: 14px;
    color: var(--text-secondary);
  }

  /* Social links styling for mobile */
  .social-links li a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
  }

  .social-links li a svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .single-post h1 {
    font-size: 24px;
  }

  /* Single post padding adjustment for mobile */
  .single-post .home-section {
    padding: 20px 16px;
  }

  /* Specs table mobile optimization */
  .bike-specs-table table {
    font-size: 14px;
  }

  .bike-specs-table td {
    padding: 12px 0;
  }

  /* Autobike Cards Mobile */
  .autobike-card {
    flex: 0 0 85%;
    margin-right: 12px;
  }
  
  /* Show partial next card on mobile */
  .bike-slider {
    gap: 0;
    padding-right: 20px;
    padding-left: 20px;
  }

  .autobike-card-title {
    font-size: 16px;
    padding: 16px 18px;
  }

  .autobike-image {
    height: 180px;
    padding: 24px 18px;
  }

  .autobike-specs {
    padding: 18px;
    gap: 16px;
  }

  .spec-icon {
    width: 28px;
    height: 28px;
  }

  .spec-icon svg {
    width: 28px;
    height: 28px;
  }

  .spec-value {
    font-size: 14px;
  }

  .spec-label {
    font-size: 11px;
  }

  .autobike-footer {
    padding: 18px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .price-value {
    font-size: 20px;
  }

  .view-more-btn {
    width: 100%;
    text-align: center;
    margin-top: 0;
    padding: 12px 24px;
  }
  
  /* Mobile slider buttons - make them more visible */
  .slider-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  }
  
  .slider-btn.left {
    left: 8px;
  }
  
  .slider-btn.right {
    right: 8px;
  }
}

@media (max-width: 480px) {
  .header-logo svg {
    width: 32px;
    height: 32px;
  }

  .logo-text {
    font-size: 16px;
  }

  .action-btn {
    width: 36px;
    height: 36px;
  }

  .home-section h1 {
    font-size: 22px;
  }

  .home-section h2 {
    font-size: 18px;
  }

  .slider-item {
    flex: 0 0 90%;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= DARK MODE ================= */
body.dark-mode {
  --bg-color: #0f172a;
  --card-bg: #1e293b;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --border-color: #334155;
}

body.dark-mode .bike-image,
body.dark-mode .related-image {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

body.dark-mode .view-all-card {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

/* ================= PRINT STYLES ================= */
@media print {
  .site-header,
  .site-footer,
  .slider-btn,
  .header-actions,
  .mobile-nav {
    display: none;
  }
}

/* ================= SINGLE POST PAGE STYLES ================= */

/* Container */
.single-bike-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.bike-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 48px 40px;
  border-radius: 16px;
  margin: 32px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.25);
}

.bike-hero-content {
  flex: 1;
}

/* Breadcrumb */
.bike-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
}

.bike-breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s ease;
}

.bike-breadcrumb a:hover {
  color: #ffffff;
}

.bike-breadcrumb span:last-child {
  color: rgba(255, 255, 255, 0.7);
}

/* Bike Title */
.bike-title {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

/* Hero Meta Badges */
.bike-hero-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.bike-make-badge,
.bike-category-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Price Box - Eye-Catching! */
.bike-price-box {
  background: #ffffff;
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  min-width: 280px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.price-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.price-amount {
  font-size: 42px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-note {
  font-size: 11px;
  color: #94a3b8;
  font-style: italic;
}

/* Quick Specs Bar */
.quick-specs-bar {
  display: flex;
  gap: 24px;
  padding: 24px 32px;
  background: #ffffff;
  border-radius: 12px;
  margin: 24px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #f1f5f9;
  overflow-x: auto;
}

.quick-spec-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 120px;
}

.quick-spec-item svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.quick-spec-content {
  flex: 1;
}

.quick-spec-value {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 4px;
}

.quick-spec-label {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* Content Wrapper - Two Column Layout */
.bike-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  margin: 32px 0;
}

/* Main Content Box */
.bike-main-content {
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #f1f5f9;
}

.bike-content-box h2 {
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
  margin: 32px 0 16px 0;
  line-height: 1.3;
}

.bike-content-box h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1e293b;
  margin: 24px 0 12px 0;
}

.bike-content-box p {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 16px;
}

.bike-content-box ul,
.bike-content-box ol {
  margin: 16px 0;
  padding-left: 24px;
}

.bike-content-box li {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 8px;
}

.bike-content-box img {
  border-radius: 8px;
  margin: 24px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Sidebar */
.bike-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Specs Box */
.specs-box {
  background: #ffffff;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #f1f5f9;
  position: sticky;
  top: 100px;
}

.specs-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 20px 0;
  padding-bottom: 16px;
  border-bottom: 2px solid #f1f5f9;
}

.specs-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
  gap: 16px;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-row-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.spec-row-value {
  font-size: 14px;
  color: #0f172a;
  font-weight: 600;
  text-align: right;
}

/* Compare Box */
.compare-box {
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
  padding: 28px;
  border-radius: 12px;
  border: 2px solid #e0e7ff;
}

.compare-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.compare-description {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 20px 0;
}

.compare-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compare-select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e7ff;
  border-radius: 8px;
  font-size: 14px;
  color: #0f172a;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.compare-select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.compare-btn {
  width: 100%;
  padding: 12px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.compare-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Related Bikes Section */
.related-bikes-section {
  margin: 64px 0;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 32px 0;
  text-align: center;
}

.related-bikes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.related-bike-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #f1f5f9;
}

.related-bike-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.related-bike-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.related-bike-image {
  background: #fafafa;
  padding: 24px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.related-bike-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.related-bike-card:hover .related-bike-image img {
  transform: scale(1.05);
}

.related-bike-content {
  padding: 20px;
}

.related-bike-title {
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.related-bike-specs {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.related-spec {
  font-size: 12px;
  color: #64748b;
  background: #f8fafc;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 500;
}

.related-bike-price {
  font-size: 20px;
  font-weight: 700;
  color: #667eea;
  margin-top: 12px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .bike-hero {
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
  }

  .bike-title {
    font-size: 28px;
  }

  .bike-price-box {
    width: 100%;
    min-width: auto;
  }

  .price-amount {
    font-size: 36px;
  }

  .quick-specs-bar {
    padding: 20px;
    gap: 16px;
  }

  .bike-content-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .bike-main-content {
    padding: 24px;
  }

  .specs-box {
    position: static;
  }

  .related-bikes-grid {
    grid-template-columns: 1fr;
  }
}

/* Dark Mode Support */
body.dark-mode .bike-hero {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

body.dark-mode .bike-price-box {
  background: #1e293b;
  border-color: #334155;
}

body.dark-mode .price-label {
  color: #94a3b8;
}

body.dark-mode .price-amount {
  color: #f1f5f9;
  background: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.dark-mode .price-note {
  color: #64748b;
}

body.dark-mode .quick-specs-bar,
body.dark-mode .bike-main-content,
body.dark-mode .specs-box,
body.dark-mode .related-bike-card {
  background: #1e293b;
  border-color: #334155;
}

body.dark-mode .quick-spec-value,
body.dark-mode .spec-row-value,
body.dark-mode .related-bike-title,
body.dark-mode .specs-title,
body.dark-mode .section-title {
  color: #f1f5f9;
}

body.dark-mode .quick-spec-label,
body.dark-mode .spec-row-label,
body.dark-mode .compare-description {
  color: #94a3b8;
}

body.dark-mode .compare-select {
  background: #0f172a;
  border-color: #334155;
  color: #f1f5f9;
}

body.dark-mode .related-spec {
  background: #0f172a;
  color: #94a3b8;
}

/* ================= BIKEWALE-STYLE SINGLE POST ================= */

/* Container */
.bikewale-single-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
}

/* Header Section */
.bike-header-section {
  margin-bottom: 20px;
}

.bike-main-title {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.bike-rating-section {
  display: flex;
  align-items: center;
  gap: 16px;
}

.star-rating {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stars {
  color: #10b981;
  font-size: 18px;
  letter-spacing: 2px;
}

.rating-count {
  color: #0891b2;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.rating-count:hover {
  text-decoration: underline;
}

/* Horizontal Tab Navigation */
.bike-nav-tabs {
  display: flex;
  gap: 0;
  background: #ffffff;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.bike-nav-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  padding: 16px 24px;
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s ease;
  letter-spacing: 0.3px;
}

.tab-btn:hover {
  color: #0f172a;
}

.tab-btn.active {
  color: #0f172a;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: #0891b2;
}

/* Hero Grid */
.bike-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

/* Image Section */
.bike-image-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px;
  border: 1px solid #e2e8f0;
}

.main-bike-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  margin-bottom: 24px;
}

.main-bike-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.placeholder-image {
  text-align: center;
  color: #94a3b8;
}

.placeholder-image svg {
  margin: 0 auto 16px;
}

.placeholder-image p {
  font-size: 14px;
  color: #94a3b8;
}

.image-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.image-action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.image-action-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.image-action-btn svg {
  color: #64748b;
}

/* Price Section */
.bike-price-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  height: fit-content;
}

/* Selector Row */
.selector-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.selector-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.selector-box:hover {
  border-color: #cbd5e1;
}

.selector-label {
  font-size: 11px;
  color: #64748b;
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.selector-value {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
}

.selector-value svg {
  color: #64748b;
}

/* Price Display */
.price-display-box {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.main-price {
  font-size: 36px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 12px;
}

.view-detailed-price {
  color: #0891b2;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 8px;
}

.view-detailed-price:hover {
  text-decoration: underline;
}

.price-location {
  font-size: 13px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* EMI Section */
.emi-section {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.emi-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.emi-label {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.emi-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.emi-btn {
  padding: 10px 20px;
  border: 2px solid #0891b2;
  background: #ffffff;
  color: #0891b2;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.emi-btn:hover {
  background: #f0f9ff;
}

.emi-calculator-link {
  color: #0891b2;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.emi-calculator-link:hover {
  text-decoration: underline;
}

/* CTA Button */
.buying-assistance-btn {
  width: 100%;
  padding: 16px;
  background: #EF4444;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.buying-assistance-btn:hover {
  background: #DC2626;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

/* Tab Content */
.tab-content-wrapper {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px;
  border: 1px solid #e2e8f0;
  margin-bottom: 32px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.section-heading {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 24px 0;
  padding-bottom: 16px;
  border-bottom: 2px solid #f1f5f9;
}

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
}

.main-content-col h2 {
  font-size: 22px;
  font-weight: 600;
  color: #0f172a;
  margin: 24px 0 16px 0;
}

.main-content-col h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin: 20px 0 12px 0;
}

.main-content-col p {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 16px;
}

.main-content-col img {
  border-radius: 8px;
  margin: 20px 0;
  max-width: 100%;
  height: auto;
}

/* Key Specs Box */
.key-specs-box {
  background: #f8fafc;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  position: sticky;
  top: 100px;
}

.box-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 20px 0;
}

.key-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.key-spec-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 12px;
  border-radius: 8px;
}

.spec-icon-box {
  font-size: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border-radius: 8px;
  flex-shrink: 0;
}

.spec-label {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 600;
  margin-bottom: 4px;
}

.spec-value {
  font-size: 14px;
  color: #0f172a;
  font-weight: 700;
}

/* Price Breakdown Table */
.price-breakdown-table {
  background: #f8fafc;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.price-breakdown-table table {
  width: 100%;
  border-collapse: collapse;
}

.price-breakdown-table tr {
  border-bottom: 1px solid #e2e8f0;
}

.price-breakdown-table tr:last-child {
  border-bottom: none;
}

.price-breakdown-table td {
  padding: 16px 20px;
  font-size: 15px;
  color: #475569;
}

.price-breakdown-table .price-value {
  text-align: right;
  font-weight: 600;
  color: #0f172a;
}

.price-breakdown-table .total-row {
  background: #f1f5f9;
}

.price-breakdown-table .total-row td {
  font-size: 17px;
}

/* Specs Table */
.specs-table {
  background: #f8fafc;
  border-radius: 8px;
  padding: 4px;
  border: 1px solid #e2e8f0;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: #ffffff;
  margin-bottom: 4px;
  border-radius: 6px;
}

.spec-row:last-child {
  margin-bottom: 0;
}

.spec-row .spec-label {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
  text-transform: none;
}

.spec-row .spec-value {
  font-size: 15px;
  color: #0f172a;
  font-weight: 600;
}

/* Mileage Cards */
.mileage-info-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.mileage-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}

.mileage-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.mileage-value {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.mileage-label {
  font-size: 14px;
  color: #64748b;
  font-weight: 600;
}

/* Comparison Selector */
.comparison-selector form {
  display: flex;
  gap: 12px;
  max-width: 600px;
}

.compare-dropdown {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 15px;
  color: #0f172a;
  background: #ffffff;
  cursor: pointer;
}

.compare-dropdown:focus {
  outline: none;
  border-color: #0891b2;
}

.compare-submit-btn {
  padding: 12px 32px;
  background: #0891b2;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.compare-submit-btn:hover {
  background: #0e7490;
}

/* Images Gallery */
.images-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

/* Related Section */
.related-section {
  margin-top: 48px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 24px 0;
}

.related-bikes-slider {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.related-bike-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
}

.related-bike-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.related-thumb {
  margin-bottom: 16px;
  text-align: center;
}

.related-thumb img {
  max-width: 100%;
  height: auto;
}

.related-title {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.related-price {
  font-size: 18px;
  font-weight: 700;
  color: #0891b2;
  margin-bottom: 4px;
}

.related-mileage {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .bikewale-single-container {
    padding: 16px 12px;
  }

  .bike-main-title {
    font-size: 24px;
  }

  .bike-nav-tabs {
    gap: 8px;
    padding: 0 4px;
    border-bottom: 1px solid #e2e8f0;
  }

  .tab-btn {
    padding: 12px 16px;
    font-size: 12px;
  }

  .bike-hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .bike-image-section {
    padding: 20px;
  }

  .main-bike-image {
    min-height: 200px;
  }

  .image-actions {
    flex-wrap: wrap;
    gap: 8px;
  }

  .image-action-btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .selector-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .main-price {
    font-size: 28px;
  }

  .tab-content-wrapper {
    padding: 20px 16px;
    overflow-x: hidden;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .main-content-col {
    overflow-x: hidden;
  }

  .main-content-col img {
    max-width: 100%;
    height: auto;
  }

  .main-content-col p,
  .main-content-col h2,
  .main-content-col h3,
  .main-content-col div {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .key-specs-box {
    position: static;
  }

  .key-specs-grid {
    grid-template-columns: 1fr;
  }

  .key-spec-item {
    flex-direction: row;
    align-items: center;
  }

  .price-breakdown-table {
    overflow-x: auto;
  }

  .price-breakdown-table table {
    min-width: 100%;
  }

  .specs-table {
    overflow-x: hidden;
  }

  .spec-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .spec-row .spec-value {
    text-align: left;
  }

  .mileage-info-box {
    grid-template-columns: 1fr;
  }

  .comparison-selector form {
    flex-direction: column;
  }

  .related-bikes-slider {
    grid-template-columns: 1fr;
  }

  /* Prevent horizontal scroll */
  body {
    overflow-x: hidden;
  }

  .bikewale-single-container {
    overflow-x: hidden;
    width: 100%;
  }

  .bike-description,
  .bike-content-box {
    overflow-x: hidden;
    max-width: 100%;
  }

  .bike-description p {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .bike-description img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Fix table overflow */
  .bike-description table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Dark Mode */
body.dark-mode .bike-main-title,
body.dark-mode .section-heading,
body.dark-mode .box-title,
body.dark-mode .main-price,
body.dark-mode .spec-value {
  color: #f1f5f9;
}

body.dark-mode .bike-nav-tabs,
body.dark-mode .bike-image-section,
body.dark-mode .bike-price-section,
body.dark-mode .tab-content-wrapper,
body.dark-mode .related-bike-item {
  background: #1e293b;
  border-color: #334155;
}

body.dark-mode .tab-btn {
  color: #94a3b8;
}

body.dark-mode .tab-btn.active {
  color: #f1f5f9;
}

body.dark-mode .selector-box,
body.dark-mode .key-specs-box,
body.dark-mode .price-breakdown-table,
body.dark-mode .specs-table,
body.dark-mode .mileage-card {
  background: #0f172a;
  border-color: #334155;
}

body.dark-mode .key-spec-item,
body.dark-mode .spec-row {
  background: #1e293b;
}

/* Additional Mobile Fixes */
@media (max-width: 768px) {
  * {
    max-width: 100%;
  }

  img {
    max-width: 100% !important;
    height: auto !important;
  }

  .bike-description * {
    max-width: 100%;
  }

  /* Ensure content doesn't overflow */
  .section-heading {
    font-size: 20px;
    word-wrap: break-word;
  }

  .main-content-col h2 {
    font-size: 20px;
  }

  .main-content-col h3 {
    font-size: 17px;
  }

  /* Fix spec items on mobile */
  .key-spec-item {
    width: 100%;
  }

  .spec-icon-box {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  /* Fix price display on mobile */
  .price-display-box {
    text-align: center;
  }

  /* Fix EMI section on mobile */
  .emi-section {
    text-align: center;
  }

  .emi-info {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  /* Ensure tables are scrollable */
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Fix related bikes on mobile */
  .related-bike-item {
    width: 100%;
  }
}

/* Tablet specific */
@media (min-width: 769px) and (max-width: 1024px) {
  .bike-hero-grid {
    grid-template-columns: 1fr;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .key-specs-box {
    position: static;
  }
}
/* ===============================================
   UNIVERSAL BIKE POST TEMPLATE STYLES
   SEO-Optimized | Clean | Modern | Responsive
   =============================================== */

/* Container */
.universal-bike-template {
  background: #fafafa;
  min-height: 100vh;
}

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

/* ============ BREADCRUMBS ============ */
.breadcrumb-nav {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 12px 0;
  margin-bottom: 24px;
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 0;
  font-size: 13px;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-list li:not(:last-child)::after {
  content: '›';
  color: #9ca3af;
}

.breadcrumb-list a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-list a:hover {
  color: #0891b2;
}

.breadcrumb-list .current {
  color: #0f172a;
  font-weight: 500;
}

/* ============ HERO SECTION ============ */
.bike-hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  padding: 48px;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2);
}

.bike-main-h1 {
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 20px 0;
  line-height: 1.2;
}

.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
}

.badge-category {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.rating-display {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 20px;
}

.stars-svg {
  color: #fbbf24;
  font-size: 16px;
  letter-spacing: 2px;
}

.rating-text {
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
}

.last-updated {
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 500;
}

/* Key Highlights Grid */
.key-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.highlight-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  transition: all 0.3s ease;
}

.highlight-card:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.highlight-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.highlight-info {
  flex: 1;
}

.highlight-label {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.highlight-value {
  display: block;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
}

/* Hero CTA Buttons */
.hero-cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: #EF4444;
  color: #ffffff;
}

.btn-primary:hover {
  background: #DC2626;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Hero Right - Image */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.placeholder-image-hero {
  text-align: center;
  padding: 48px 24px;
  color: rgba(255, 255, 255, 0.7);
}

.placeholder-image-hero svg {
  margin: 0 auto 16px;
}

.placeholder-image-hero p {
  font-size: 14px;
  font-weight: 500;
}

/* ============ MAIN LAYOUT ============ */
.main-content-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 32px;
  margin-bottom: 48px;
}

/* ============ ARTICLE CONTENT ============ */
.article-content {
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Table of Contents */
.table-of-contents {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
}

.toc-heading {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px 0;
}

.toc-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.toc-links li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: #475569;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.toc-links li a:hover {
  background: #f1f5f9;
  color: #0891b2;
  border-color: #0891b2;
}

/* Content Sections */
.content-section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #f1f5f9;
}

.content-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.section-heading {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 24px 0;
  padding-bottom: 16px;
  border-bottom: 3px solid #0891b2;
}

.subsection-heading {
  font-size: 20px;
  font-weight: 600;
  color: #1e293b;
  margin: 24px 0 16px 0;
}

.section-intro {
  font-size: 16px;
  color: #64748b;
  margin-bottom: 24px;
}

.section-body {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
}

.section-body h2 {
  font-size: 22px;
  font-weight: 600;
  color: #0f172a;
  margin: 32px 0 16px 0;
}

.section-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin: 24px 0 12px 0;
}

.section-body p {
  margin-bottom: 16px;
}

.section-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 24px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Price Section */
.price-highlight-box {
  background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  margin-bottom: 32px;
  box-shadow: 0 8px 24px rgba(8, 145, 178, 0.3);
}

.price-main-display {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.price-label {
  color: rgba(255, 255, 255, 0.95);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-amount {
  color: #ffffff;
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
}

.price-disclaimer {
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-style: italic;
}

/* Price Table */
.price-breakdown {
  background: #f8fafc;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
}

.price-table thead {
  background: #f1f5f9;
}

.price-table th {
  padding: 14px 20px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-table td {
  padding: 14px 20px;
  border-top: 1px solid #f1f5f9;
  font-size: 15px;
  color: #475569;
}

.price-table .total-row {
  background: #f8fafc;
}

.price-table .total-row td {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
}

/* EMI Calculator */
.emi-calculator-box {
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
  border: 2px solid #bae6fd;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.emi-result {
  margin-bottom: 20px;
}

.emi-label {
  display: block;
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.emi-amount {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: #0891b2;
  margin-bottom: 6px;
}

.emi-tenure {
  display: block;
  font-size: 13px;
  color: #64748b;
}

.btn-emi {
  background: #0891b2;
  color: #ffffff;
  width: 100%;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-emi:hover {
  background: #0e7490;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(8, 145, 178, 0.3);
}

/* Specs Accordion */
.specs-accordion-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.specs-accordion-item {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.specs-accordion-item.active {
  border-color: #0891b2;
  box-shadow: 0 4px 16px rgba(8, 145, 178, 0.1);
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: #ffffff;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.accordion-header:hover {
  background: #f8fafc;
}

.accordion-title {
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
  text-align: left;
}

.accordion-icon {
  color: #64748b;
  transition: transform 0.3s ease;
}

.specs-accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: #0891b2;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.specs-accordion-item.active .accordion-content {
  max-height: 1000px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  padding: 24px;
}

.spec-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spec-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.spec-value {
  font-size: 16px;
  color: #0f172a;
  font-weight: 700;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: #0891b2;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(8, 145, 178, 0.15);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.feature-title {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.feature-desc {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

/* Pros & Cons */
.pros-cons-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pros-column,
.cons-column {
  background: #f8fafc;
  border-radius: 12px;
  padding: 24px;
}

.pros-heading,
.cons-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 20px 0;
}

.pros-heading {
  color: #10b981;
}

.cons-heading {
  color: #ef4444;
}

.pros-list,
.cons-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pros-list li,
.cons-list li {
  padding-left: 24px;
  margin-bottom: 12px;
  position: relative;
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
}

.pros-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
}

.cons-list li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: #ef4444;
  font-weight: 700;
}

/* Comparison Form */
.comparison-form {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
}

.form-row {
  margin-bottom: 16px;
}

.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 8px;
}

.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 15px;
  color: #0f172a;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-select:focus {
  outline: none;
  border-color: #0891b2;
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

/* FAQ Section */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: #0891b2;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: #ffffff;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  transition: all 0.2s ease;
}

.faq-question:hover {
  background: #f8fafc;
}

.faq-icon {
  color: #64748b;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: #0891b2;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer > div {
  padding: 0 24px 20px 24px;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
  margin: 0;
}

/* ============ STICKY SIDEBAR ============ */
.sticky-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
  align-self: start;
}

.sidebar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.sidebar-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
}

/* Quick Specs */
.quick-specs {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.quick-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.quick-spec-row:last-child {
  border-bottom: none;
}

.qs-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.qs-value {
  font-size: 15px;
  color: #0f172a;
  font-weight: 700;
}

/* CTA Card */
.cta-card {
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
  border: 2px solid #bae6fd;
}

.cta-desc {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.btn-cta-primary {
  width: 100%;
  background: #EF4444;
  color: #ffffff;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.btn-cta-primary:hover {
  background: #DC2626;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.btn-cta-secondary {
  width: 100%;
  background: #ffffff;
  color: #0891b2;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid #0891b2;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
  background: #f0f9ff;
}

/* Share Card */
.share-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.share-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.share-facebook {
  background: #1877f2;
  color: #ffffff;
}

.share-facebook:hover {
  background: #145dbf;
  transform: scale(1.1);
}

.share-twitter {
  background: #1da1f2;
  color: #ffffff;
}

.share-twitter:hover {
  background: #1a8cd8;
  transform: scale(1.1);
}

.share-whatsapp {
  background: #25d366;
  color: #ffffff;
}

.share-whatsapp:hover {
  background: #1eb855;
  transform: scale(1.1);
}

.share-link {
  background: #6b7280;
  color: #ffffff;
}

.share-link:hover {
  background: #4b5563;
  transform: scale(1.1);
}

/* ============ RELATED BIKES ============ */
.related-bikes-section {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 2px solid #e5e7eb;
}

.related-heading {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 32px 0;
  text-align: center;
}

.related-bikes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.related-bike-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
}

.related-bike-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  border-color: #0891b2;
}

.related-image {
  background: #f8fafc;
  padding: 24px;
  text-align: center;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.related-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.related-content {
  padding: 20px;
}

.related-title {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.related-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.related-price {
  font-size: 20px;
  font-weight: 700;
  color: #0891b2;
}

.related-mileage {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
}

.view-details-link {
  color: #0891b2;
  font-size: 14px;
  font-weight: 600;
}

/* ============ MOBILE RESPONSIVE ============ */
@media (max-width: 1024px) {
  .main-content-layout {
    grid-template-columns: 1fr;
  }

  .sticky-sidebar {
    position: static;
    grid-row: 2;
  }
}

@media (max-width: 768px) {
  .container-1200 {
    padding: 0 16px;
  }

  .bike-hero-section {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 32px;
  }

  .bike-main-h1 {
    font-size: 28px;
  }

  .hero-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .key-highlights-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta-buttons {
    flex-direction: column;
  }

  .hero-cta-buttons .btn {
    width: 100%;
  }

  .article-content {
    padding: 24px 20px;
  }

  .toc-links {
    grid-template-columns: 1fr;
  }

  .section-heading {
    font-size: 24px;
  }

  .price-amount {
    font-size: 36px;
  }

  .emi-amount {
    font-size: 28px;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .pros-cons-container {
    grid-template-columns: 1fr;
  }

  .related-bikes-grid {
    grid-template-columns: 1fr;
  }

  /* Prevent horizontal overflow */
  .universal-bike-template {
    overflow-x: hidden;
  }

  .section-body img {
    max-width: 100% !important;
    height: auto !important;
  }

  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Dark Mode Support */
body.dark-mode .universal-bike-template {
  background: #0f172a;
}

body.dark-mode .breadcrumb-nav,
body.dark-mode .article-content,
body.dark-mode .sidebar-card,
body.dark-mode .related-bike-card {
  background: #1e293b;
  border-color: #334155;
}

body.dark-mode .bike-main-h1,
body.dark-mode .section-heading,
body.dark-mode .sidebar-card-title,
body.dark-mode .related-title {
  color: #f1f5f9;
}

body.dark-mode .breadcrumb-list a,
body.dark-mode .toc-links a,
body.dark-mode .section-body {
  color: #cbd5e1;
}

body.dark-mode .table-of-contents,
body.dark-mode .specs-accordion-item,
body.dark-mode .feature-card,
body.dark-mode .faq-item {
  background: #0f172a;
  border-color: #334155;
}
/* ===============================================
   CLEAN WHITE BIKEWALE-STYLE TEMPLATE
   Plain White Background | Dynamic Navigation
   =============================================== */

/* Container */
.white-bike-template {
  background: #ffffff;
  min-height: 100vh;
}

.container-1200 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
}

/* ============ HEADER SECTION ============ */
.bike-header-section {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.bike-main-title {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.bike-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.star-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stars {
  color: #10b981;
  font-size: 16px;
  letter-spacing: 2px;
}

.rating-count {
  color: #0891b2;
  font-size: 14px;
  font-weight: 600;
}

.category-badge {
  background: #f1f5f9;
  color: #0f172a;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #e2e8f0;
}

.last-updated {
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
}

/* ============ NAVIGATION TABS ============ */
.bike-nav-tabs {
  display: flex;
  gap: 0;
  background: #ffffff;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: thin;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.bike-nav-tabs::-webkit-scrollbar {
  height: 4px;
}

.bike-nav-tabs::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.bike-nav-tabs::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 2px;
}

.tab-btn {
  padding: 16px 24px;
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s ease;
  letter-spacing: 0.3px;
}

.tab-btn:hover {
  color: #0f172a;
}

.tab-btn.active {
  color: #0f172a;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: #0891b2;
}

/* ============ HERO GRID ============ */
.bike-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

/* Image Section */
.bike-image-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px;
  border: 1px solid #e2e8f0;
}

.main-bike-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  background: #fafafa;
  border-radius: 8px;
}

.main-bike-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.placeholder-image {
  text-align: center;
  color: #94a3b8;
}

.placeholder-image svg {
  margin: 0 auto 16px;
}

.placeholder-image p {
  font-size: 14px;
  color: #94a3b8;
}

/* Price Section */
.bike-price-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  height: fit-content;
}

/* Selector Row */
.selector-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.selector-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.selector-box:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
}

.selector-label {
  font-size: 11px;
  color: #64748b;
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.selector-value {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
}

.selector-value svg {
  color: #64748b;
}

/* Price Display */
.price-display-box {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  margin-bottom: 20px;
}

.main-price {
  font-size: 36px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 12px;
}

.view-detailed-price {
  color: #0891b2;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 8px;
}

.view-detailed-price:hover {
  text-decoration: underline;
}

.price-location {
  font-size: 13px;
  color: #64748b;
}

/* EMI Section */
.emi-section {
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 20px 0;
  margin-bottom: 20px;
}

.emi-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.emi-label {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.emi-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.emi-btn {
  padding: 10px 20px;
  border: 2px solid #0891b2;
  background: #ffffff;
  color: #0891b2;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.emi-btn:hover {
  background: #f0f9ff;
}

.emi-calculator-link {
  color: #0891b2;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.emi-calculator-link:hover {
  text-decoration: underline;
}

/* CTA Button */
.buying-assistance-btn {
  width: 100%;
  padding: 16px;
  background: #EF4444;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.buying-assistance-btn:hover {
  background: #DC2626;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

/* Quick Specs Box */
.quick-specs-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px;
}

.quick-specs-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.quick-specs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quick-spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.qs-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.qs-value {
  font-size: 14px;
  color: #0f172a;
  font-weight: 700;
}

/* ============ CONTENT WRAPPER ============ */
.bike-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  margin-bottom: 48px;
}

/* Main Content */
.bike-main-content {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 40px;
}

.bike-main-content h2 {
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
  margin: 40px 0 20px 0;
  padding-top: 40px;
  border-top: 2px solid #f1f5f9;
}

.bike-main-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.bike-main-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1e293b;
  margin: 24px 0 12px 0;
}

.bike-main-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 16px;
}

.bike-main-content ul,
.bike-main-content ol {
  margin: 16px 0;
  padding-left: 24px;
}

.bike-main-content li {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 8px;
}

.bike-main-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 24px 0;
  border: 1px solid #e2e8f0;
}

.bike-main-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.bike-main-content table th {
  background: #f8fafc;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: #0f172a;
  border-bottom: 2px solid #e2e8f0;
}

.bike-main-content table td {
  padding: 12px 16px;
  color: #475569;
  border-bottom: 1px solid #f1f5f9;
}

/* Sidebar */
.bike-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Specs Box */
.specs-box {
  background: #ffffff;
  padding: 28px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  position: sticky;
  top: 100px;
}

.specs-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 20px 0;
  padding-bottom: 16px;
  border-bottom: 2px solid #f1f5f9;
}

.specs-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
  gap: 16px;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-row-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.spec-row-value {
  font-size: 14px;
  color: #0f172a;
  font-weight: 600;
  text-align: right;
}

/* Compare Box */
.compare-box {
  background: #f8fafc;
  padding: 24px;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
}

.compare-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.compare-description {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 16px 0;
}

.compare-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compare-select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  color: #0f172a;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.compare-select:focus {
  outline: none;
  border-color: #0891b2;
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

.compare-btn {
  width: 100%;
  padding: 12px 24px;
  background: #0891b2;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.compare-btn:hover {
  background: #0e7490;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(8, 145, 178, 0.3);
}

/* ============ RELATED BIKES ============ */
.related-bikes-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid #e5e7eb;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 32px 0;
}

.related-bikes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.related-bike-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.related-bike-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border-color: #0891b2;
}

.related-bike-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.related-bike-image {
  background: #fafafa;
  padding: 24px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.related-bike-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.related-bike-card:hover .related-bike-image img {
  transform: scale(1.05);
}

.related-bike-content {
  padding: 20px;
}

.related-bike-title {
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.related-bike-specs {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.related-spec {
  font-size: 12px;
  color: #64748b;
  background: #f8fafc;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 500;
  border: 1px solid #e2e8f0;
}

.related-bike-price {
  font-size: 20px;
  font-weight: 700;
  color: #0891b2;
  margin-top: 8px;
}

/* ============ MOBILE RESPONSIVE ============ */
@media (max-width: 768px) {
  .container-1200 {
    padding: 16px 12px;
  }

  .bike-main-title {
    font-size: 24px;
  }

  .bike-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .bike-nav-tabs {
    gap: 8px;
    padding: 0 4px;
  }

  .tab-btn {
    padding: 12px 16px;
    font-size: 12px;
  }

  .bike-hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .bike-image-section {
    padding: 20px;
  }

  .main-bike-image {
    min-height: 200px;
  }

  .selector-row {
    grid-template-columns: 1fr;
  }

  .main-price {
    font-size: 28px;
  }

  .bike-content-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .bike-main-content {
    padding: 24px 20px;
  }

  .specs-box {
    position: static;
  }

  .related-bikes-grid {
    grid-template-columns: 1fr;
  }

  /* Prevent horizontal scroll */
  .white-bike-template {
    overflow-x: hidden;
  }

  .bike-main-content img {
    max-width: 100% !important;
    height: auto !important;
  }

  .bike-main-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Dark Mode */
body.dark-mode .white-bike-template {
  background: #0f172a;
}

body.dark-mode .bike-header-section,
body.dark-mode .bike-nav-tabs {
  border-color: #334155;
}

body.dark-mode .bike-main-title,
body.dark-mode .specs-title,
body.dark-mode .compare-title,
body.dark-mode .section-title {
  color: #f1f5f9;
}

body.dark-mode .tab-btn {
  color: #94a3b8;
}

body.dark-mode .tab-btn.active {
  color: #f1f5f9;
}

body.dark-mode .bike-image-section,
body.dark-mode .bike-price-section,
body.dark-mode .bike-main-content,
body.dark-mode .specs-box,
body.dark-mode .related-bike-card {
  background: #1e293b;
  border-color: #334155;
}

body.dark-mode .selector-box,
body.dark-mode .price-display-box,
body.dark-mode .quick-specs-box,
body.dark-mode .compare-box {
  background: #0f172a;
  border-color: #334155;
}

body.dark-mode .main-price,
body.dark-mode .qs-value,
body.dark-mode .spec-row-value {
  color: #f1f5f9;
}

body.dark-mode .compare-select {
  background: #0f172a;
  border-color: #334155;
  color: #f1f5f9;
}

body.dark-mode .related-spec {
  background: #0f172a;
  border-color: #334155;
}

/* ============================================
   ICON-BASED SPECIFICATIONS SECTION
   ============================================ */

.icon-specs-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
}

.icon-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.icon-spec-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  background: #fafafa;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.icon-spec-card:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.icon-spec-icon {
  margin-bottom: 12px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.icon-spec-icon svg {
  width: 36px;
  height: 36px;
  stroke-width: 1.5;
}

.icon-spec-label {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
  margin-bottom: 6px;
  text-transform: capitalize;
}

.icon-spec-value {
  font-size: 17px;
  color: #0f172a;
  font-weight: 700;
  line-height: 1.2;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .icon-specs-section {
    padding: 20px 16px;
  }

  .icon-specs-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
  }

  .icon-spec-card {
    padding: 16px;
  }

  .icon-spec-icon svg {
    width: 36px;
    height: 36px;
  }

  .icon-spec-label {
    font-size: 12px;
  }

  .icon-spec-value {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .icon-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Dark Mode */
body.dark-mode .icon-specs-section {
  background: #1e293b;
  border-color: #334155;
}

body.dark-mode .icon-spec-card {
  background: #0f172a;
  border-color: #334155;
}

body.dark-mode .icon-spec-card:hover {
  background: #1e293b;
  border-color: #475569;
}

body.dark-mode .icon-spec-value {
  color: #f1f5f9;
}

/* ============================================
   HOMEPAGE RESPONSIVE IMPROVEMENTS
   ============================================ */

/* Professional Icon Styling for Homepage */
.spec-icon {
  color: #94a3b8 !important;
}

.spec-icon svg {
  stroke: currentColor;
  fill: none;
}

/* Improved Spec Item Layout */
.spec-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.spec-item:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.spec-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.spec-value {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spec-label {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Autobike Card Improvements */
.autobike-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.autobike-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

/* Card Title */
.autobike-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  padding: 16px 16px 8px 16px;
  line-height: 1.3;
}

.card-title-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-title-link:hover .autobike-card-title {
  color: #0891b2;
}

/* Image Section */
.autobike-image {
  background: #fafafa;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  max-height: 220px;
}

.autobike-image img {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.autobike-image-link:hover .autobike-image img {
  transform: scale(1.05);
}

/* Specs Grid */
.autobike-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 16px;
  flex: 1;
}

/* Footer Section */
.autobike-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  gap: 12px;
}

.price-section {
  flex: 1;
  min-width: 0;
}

.price-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-value {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.view-more-btn {
  padding: 10px 20px;
  background: #EF4444;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.view-more-btn:hover {
  background: #DC2626;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Slider Improvements */
.bike-slider {
  gap: 20px;
  padding: 8px;
}

.slider-item {
  min-width: 320px;
  max-width: 320px;
}

/* View All Card */
.view-all-card {
  min-width: 320px;
  max-width: 320px;
  background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  padding: 40px 20px;
  transition: all 0.3s ease;
  line-height: 1.4;
}

.view-all-card span {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.view-all-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(8, 145, 178, 0.3);
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablet: 768px - 1024px */
@media (max-width: 1024px) {
  .slider-item {
    min-width: 280px;
    max-width: 280px;
  }

  .view-all-card {
    min-width: 280px;
    max-width: 280px;
  }

  .autobike-image {
    min-height: 180px;
    max-height: 200px;
  }

  .autobike-image img {
    max-height: 160px;
  }
}

/* Mobile: ≤768px */
@media (max-width: 768px) {
  .slider-item {
    min-width: 280px;
    max-width: 280px;
  }

  .view-all-card {
    min-width: 280px;
    max-width: 280px;
  }

  .autobike-card-title {
    font-size: 16px;
    padding: 12px 12px 6px 12px;
  }

  .autobike-image {
    padding: 16px;
    min-height: 160px;
    max-height: 180px;
  }

  .autobike-image img {
    max-height: 140px;
  }

  .autobike-specs {
    padding: 12px;
    gap: 6px;
  }

  .spec-item {
    padding: 8px;
    gap: 8px;
  }

  .spec-icon svg {
    width: 28px;
    height: 28px;
  }

  .spec-value {
    font-size: 14px;
  }

  .spec-label {
    font-size: 10px;
  }

  .autobike-footer {
    padding: 12px;
    gap: 8px;
    flex-direction: column;
    align-items: stretch;
  }

  .price-value {
    font-size: 18px;
  }

  .view-more-btn {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  /* Slider adjustments for mobile */
  .bike-slider-wrapper {
    padding: 0;
  }

  .slider-btn {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
}

/* Small Mobile: ≤480px */
@media (max-width: 480px) {
  .slider-item {
    min-width: 260px;
    max-width: 260px;
  }

  .view-all-card {
    min-width: 260px;
    max-width: 260px;
    font-size: 18px;
    padding: 30px 16px;
  }

  .view-all-card span {
    font-size: 40px;
    margin-bottom: 12px;
  }

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

  .spec-value {
    font-size: 13px;
  }

  .price-value {
    font-size: 16px;
  }

  .view-more-btn {
    font-size: 12px;
    padding: 10px;
  }
}

/* Dark Mode for Homepage Cards */
body.dark-mode .autobike-card {
  background: #1e293b;
  border-color: #334155;
}

body.dark-mode .autobike-card-title {
  color: #f1f5f9;
}

body.dark-mode .spec-item {
  background: #0f172a;
  border-color: #334155;
}

body.dark-mode .spec-item:hover {
  background: #1e293b;
  border-color: #475569;
}

body.dark-mode .spec-value {
  color: #f1f5f9;
}

body.dark-mode .autobike-footer {
  background: #0f172a;
  border-color: #334155;
}

body.dark-mode .price-value {
  color: #f1f5f9;
}

body.dark-mode .autobike-image {
  background: #0f172a;
}

/* ============================================
   CLEAN TEMPLATE - NO PRICE/REVIEW ELEMENTS
   ============================================ */

/* Simple Header - Title Only */
.bike-simple-header {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}

.bike-simple-header .bike-main-title {
  font-size: 36px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
}

/* Full Width Hero Image */
.bike-hero-simple {
  margin-bottom: 32px;
}

.bike-image-section-full {
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  border: 1px solid #e2e8f0;
  text-align: center;
}

.bike-image-section-full .main-bike-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  background: #fafafa;
  border-radius: 8px;
}

.bike-image-section-full .main-bike-image img {
  max-width: 100%;
  max-height: 500px;
  height: auto;
  object-fit: contain;
}

/* Hide removed elements */
.bike-header-section,
.bike-price-section,
.bike-hero-grid {
  display: none !important;
}

/* Responsive - Clean Template */
@media (max-width: 768px) {
  .bike-simple-header .bike-main-title {
    font-size: 28px;
  }

  .bike-image-section-full {
    padding: 24px 16px;
  }

  .bike-image-section-full .main-bike-image {
    min-height: 250px;
  }

  .bike-image-section-full .main-bike-image img {
    max-height: 300px;
  }
}

/* Dark Mode - Clean Template */
body.dark-mode .bike-simple-header {
  border-color: #334155;
}

body.dark-mode .bike-simple-header .bike-main-title {
  color: #f1f5f9;
}

body.dark-mode .bike-image-section-full {
  background: #1e293b;
  border-color: #334155;
}

body.dark-mode .bike-image-section-full .main-bike-image {
  background: #0f172a;
}

/* ============================================
   CARHOYABIKE STYLE TEMPLATE
   ============================================ */

/* Container */
.carhoya-bike-template .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Hero Section - 2 Column Layout */
.hero-section {
  margin-bottom: 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

/* Image Gallery Section */
.image-gallery-section {
  position: relative;
}

.main-bike-image {
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 8px;
  overflow: hidden;
}

.main-bike-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.placeholder-image {
  text-align: center;
  color: #94a3b8;
}

.placeholder-image svg {
  margin-bottom: 10px;
}

.image-badge {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.image-badge svg {
  width: 16px;
  height: 16px;
  stroke: #ffffff;
}

/* Price & Details Section */
.price-details-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bike-title {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
}

.variant-selector-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

.variant-selector-row label {
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  min-width: 80px;
}

.variant-select {
  flex: 1;
  max-width: 300px;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  background: #ffffff;
  cursor: pointer;
}

.rating-section {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.rating-label {
  color: #64748b;
}

.stars {
  color: #d1d5db;
  font-size: 16px;
  letter-spacing: 2px;
}

.rating-count {
  color: #94a3b8;
  font-size: 13px;
}

.price-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.price-large {
  font-size: 36px;
  font-weight: 700;
  color: #0f172a;
}

.price-label {
  font-size: 13px;
  color: #64748b;
}

.onroad-price-link {
  margin-top: -10px;
}

.onroad-price-link a {
  font-size: 14px;
  color: #0891b2;
  text-decoration: underline;
}

.action-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}

.btn-enquire {
  background: #EF4444;
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}

.btn-enquire:hover {
  background: #DC2626;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-emi-calc {
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
}

/* Summary Section */
.summary-section {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  margin-bottom: 40px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 24px 0;
  padding-bottom: 15px;
  border-bottom: 1px solid #e5e7eb;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.summary-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  flex-shrink: 0;
}

.summary-icon svg {
  stroke: currentColor;
}

.summary-content small {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 4px;
}

.summary-content p {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
}

/* Specifications Section */
.specifications-section {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  margin-bottom: 40px;
}

.spec-accordion {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: #e5e7eb;
}

.accordion-item {
  background: #ffffff;
}

.accordion-header {
  width: 100%;
  padding: 18px 24px;
  background: #ffffff;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  text-align: left;
  transition: background 0.2s ease;
}

.accordion-header:hover {
  background: #f8fafc;
}

.accordion-header svg {
  transition: transform 0.3s ease;
  stroke: #64748b;
}

.accordion-item.active .accordion-header svg {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 1000px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

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

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

.spec-table td {
  padding: 12px 24px;
  font-size: 14px;
}

.spec-table td:first-child {
  color: #64748b;
  width: 50%;
}

.spec-table td:last-child {
  color: #0f172a;
  font-weight: 500;
}

/* Main Content Section */
.main-content-section {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  margin-bottom: 40px;
}

.content-area {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
}

.content-area h2 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin: 30px 0 15px 0;
}

.content-area h2:first-child {
  margin-top: 0;
}

.content-area p {
  margin-bottom: 15px;
}

.content-area ul,
.content-area ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

.content-area img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 20px 0;
}

/* Related Bikes Section */
.related-bikes-section {
  margin-bottom: 40px;
}

.related-bikes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-bike-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.related-bike-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.related-bike-card a {
  text-decoration: none;
  display: block;
}

.related-bike-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.related-bike-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
  padding: 15px 15px 8px 15px;
}

.related-price {
  font-size: 18px;
  font-weight: 700;
  color: #0891b2;
  margin: 0;
  padding: 0 15px 5px 15px;
}

.related-spec {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  padding: 0 15px 15px 15px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .summary-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .related-bikes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px;
  }
  
  .main-bike-image {
    height: 300px;
  }
  
  .bike-title {
    font-size: 24px;
  }
  
  .price-large {
    font-size: 28px;
  }
  
  .action-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-enquire {
    text-align: center;
  }
  
  .summary-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .summary-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .summary-icon {
    width: 40px;
    height: 40px;
  }
  
  .related-bikes-grid {
    grid-template-columns: 1fr;
  }
  
  .spec-table td {
    font-size: 13px;
    padding: 10px 15px;
  }
  
  .accordion-header {
    padding: 15px 18px;
    font-size: 15px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .carhoya-bike-template .container {
    padding: 10px;
  }
  
  .hero-grid,
  .summary-section,
  .specifications-section,
  .main-content-section {
    padding: 15px;
  }
  
  .section-title {
    font-size: 20px;
  }
  
  .main-bike-image {
    height: 250px;
  }
  
  .variant-select {
    max-width: 100%;
  }
}

/* Dark Mode Support */
body.dark-mode .carhoya-bike-template {
  background: #0f172a;
}

body.dark-mode .hero-grid,
body.dark-mode .summary-section,
body.dark-mode .specifications-section,
body.dark-mode .main-content-section,
body.dark-mode .accordion-item,
body.dark-mode .accordion-header,
body.dark-mode .related-bike-card {
  background: #1e293b;
  border-color: #334155;
}

body.dark-mode .bike-title,
body.dark-mode .price-large,
body.dark-mode .section-title,
body.dark-mode .accordion-header,
body.dark-mode .summary-content p,
body.dark-mode .spec-table td:last-child,
body.dark-mode .related-bike-card h4 {
  color: #f1f5f9;
}

body.dark-mode .main-bike-image {
  background: #0f172a;
}

body.dark-mode .content-area {
  color: #cbd5e1;
}

body.dark-mode .content-area h2 {
  color: #f1f5f9;
}

body.dark-mode .variant-select {
  background: #0f172a;
  border-color: #334155;
  color: #f1f5f9;
}

body.dark-mode .accordion-header:hover {
  background: #0f172a;
}

/* ============================================
   EMI CALCULATOR PAGE
   ============================================ */

.emi-calculator-page {
  background: #f8fafc;
  min-height: 100vh;
  padding: 40px 0;
}

.emi-calculator-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Page Header */
.page-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-header h1 {
  font-size: 36px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px 0;
}

.page-header .subtitle {
  font-size: 16px;
  color: #64748b;
  margin: 0;
}

/* Calculator Wrapper */
.emi-calculator-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
}

/* Calculator Inputs */
.calculator-inputs {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.input-group {
  margin-bottom: 30px;
}

.input-group:last-child {
  margin-bottom: 0;
}

.input-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 12px;
}

.input-field {
  position: relative;
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px 16px;
  transition: border-color 0.2s ease;
}

.input-field:focus-within {
  border-color: #0891b2;
  background: #ffffff;
}

.input-field.readonly {
  background: #f1f5f9;
  border-color: #e5e7eb;
}

.input-field input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  outline: none;
  padding: 0;
}

.input-field input[readonly] {
  cursor: not-allowed;
}

.input-field .currency,
.input-field .percentage,
.input-field .months-label {
  font-size: 16px;
  font-weight: 600;
  color: #64748b;
  margin-right: 8px;
}

.input-field .percentage,
.input-field .months-label {
  margin-right: 0;
  margin-left: 8px;
}

/* Sliders */
.input-with-slider {
  margin-bottom: 8px;
}

.input-with-slider input[type="range"] {
  width: 100%;
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  outline: none;
  margin-top: 15px;
  -webkit-appearance: none;
  appearance: none;
}

.input-with-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #0891b2;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(8, 145, 178, 0.3);
}

.input-with-slider input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #0891b2;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(8, 145, 178, 0.3);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12px;
  color: #94a3b8;
}

.help-text {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  margin-top: 8px;
}

/* Tenure Buttons */
.tenure-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 15px;
}

.tenure-btn {
  padding: 10px 16px;
  background: #f8fafc;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tenure-btn:hover {
  border-color: #0891b2;
  color: #0891b2;
}

.tenure-btn.active {
  background: #0891b2;
  border-color: #0891b2;
  color: #ffffff;
}

.mt-3 {
  margin-top: 15px;
}

/* Calculator Results */
.calculator-results {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* EMI Result Card */
.emi-result-card {
  background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(8, 145, 178, 0.2);
}

.emi-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
  margin-bottom: 10px;
}

.emi-amount {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 10px;
}

.emi-sublabel {
  font-size: 14px;
  opacity: 0.9;
}

/* Breakdown Summary */
.breakdown-summary {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.breakdown-item:last-child {
  border-bottom: none;
}

.breakdown-item.total {
  padding-top: 15px;
  margin-top: 5px;
  border-top: 2px solid #e5e7eb;
  border-bottom: none;
}

.breakdown-label {
  font-size: 14px;
  color: #64748b;
}

.breakdown-value {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.breakdown-value.highlight {
  color: #EF4444;
}

.breakdown-item.total .breakdown-label {
  font-weight: 600;
  color: #0f172a;
}

.breakdown-item.total .breakdown-value {
  font-size: 18px;
  color: #0891b2;
}

/* Chart Container */
.chart-container {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.chart-container canvas {
  max-height: 250px;
}

.chart-legend {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #475569;
}

.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 3px;
}

.legend-item strong {
  color: #0f172a;
}

/* Payment Schedule */
.payment-schedule {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.payment-schedule h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 20px 0;
}

.schedule-table-wrapper {
  overflow-x: auto;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
}

.schedule-table th {
  background: #f8fafc;
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  text-align: left;
  border-bottom: 2px solid #e5e7eb;
}

.schedule-table td {
  padding: 12px;
  font-size: 14px;
  color: #0f172a;
  border-bottom: 1px solid #f1f5f9;
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

.schedule-table tr:hover {
  background: #f8fafc;
}

/* Info Section */
.emi-info-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.info-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.info-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 15px 0;
}

.info-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 15px;
}

.info-card ul {
  margin: 0;
  padding-left: 20px;
}

.info-card li {
  font-size: 14px;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 8px;
}

.info-card li:last-child {
  margin-bottom: 0;
}

.info-card strong {
  color: #0f172a;
}

/* ============================================
   RESPONSIVE - EMI CALCULATOR
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .emi-calculator-wrapper {
    grid-template-columns: 1fr;
  }
  
  .emi-info-section {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .emi-calculator-page {
    padding: 20px 0;
  }
  
  .page-header h1 {
    font-size: 28px;
  }
  
  .calculator-inputs,
  .calculator-results > * {
    padding: 20px;
  }
  
  .emi-amount {
    font-size: 32px;
  }
  
  .tenure-options {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .chart-legend {
    flex-direction: column;
    gap: 10px;
  }
  
  .schedule-table th,
  .schedule-table td {
    font-size: 12px;
    padding: 8px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .page-header h1 {
    font-size: 24px;
  }
  
  .emi-calculator-page .container {
    padding: 0 10px;
  }
  
  .calculator-inputs,
  .calculator-results > * {
    padding: 15px;
  }
  
  .input-field input {
    font-size: 16px;
  }
  
  .emi-amount {
    font-size: 28px;
  }
  
  .breakdown-label,
  .breakdown-value {
    font-size: 13px;
  }
}

/* Dark Mode - EMI Calculator */
body.dark-mode .emi-calculator-page {
  background: #0f172a;
}

body.dark-mode .calculator-inputs,
body.dark-mode .breakdown-summary,
body.dark-mode .chart-container,
body.dark-mode .payment-schedule,
body.dark-mode .info-card {
  background: #1e293b;
  border-color: #334155;
}

body.dark-mode .page-header h1,
body.dark-mode .input-group label,
body.dark-mode .breakdown-label,
body.dark-mode .breakdown-value,
body.dark-mode .info-card h3,
body.dark-mode .payment-schedule h3 {
  color: #f1f5f9;
}

body.dark-mode .input-field {
  background: #0f172a;
  border-color: #334155;
}

body.dark-mode .input-field:focus-within {
  background: #1e293b;
  border-color: #0891b2;
}

body.dark-mode .input-field input {
  color: #f1f5f9;
}

body.dark-mode .tenure-btn {
  background: #0f172a;
  border-color: #334155;
  color: #cbd5e1;
}

body.dark-mode .tenure-btn:hover {
  border-color: #0891b2;
}

body.dark-mode .schedule-table th {
  background: #0f172a;
  color: #cbd5e1;
  border-color: #334155;
}

body.dark-mode .schedule-table td {
  color: #f1f5f9;
  border-color: #334155;
}

body.dark-mode .schedule-table tr:hover {
  background: #0f172a;
}

body.dark-mode .info-card p,
body.dark-mode .info-card li {
  color: #cbd5e1;
}
